CorefinityCorefinityDocs
Open the Control PanelControl Panel
Create and manage · 5 of 7

Run your platform's own maintenance commands on a site, such as a cache flush, a reindex or an admin password reset.

On this page

Before you start

  • You can open the site in Managed Websites. Anyone who can open a site can run its tools.
  • Each environment has its own tools: choose Production or Staging in the site header first.
  • One tool runs at a time on a site. While one runs, the other buttons are greyed out and name it.

Run a tool

  1. Open the platform's section

    Go to Managed Websites, choose the site, then the section named after its platform, below Overview: WordPress, Magento 2, Laravel or Shopware.

  2. Choose the tool

    Each tool says what it does and what visitors see, such as Applies straight away or Maintenance page while it runs. Choose its button.

  3. Confirm, if asked

    A button ending in … opens a dialog first. Read what the tool will do, set its options, then choose the button that names the tool.

The result opens in a drawer with the command's output. Recent results opens it again, and every run is listed in Activity with the person who ran it.

A new password or login link is shown once: copy it before you close the dialog. A tool that changes the site's data offers Take a snapshot first, which takes a backup you can restore.

What each platform offers

PlatformTools
WordPressCheck versions and install updates for core, plugins and themes; Reset a password…; Create admin user…; Log in to wp-admin with a one-time link valid for 10 minutes; Debug logging.
Magento 2Flush Magento cache, Reindex, Run setup:upgrade, Unlock stuck cron, Reset admin password, Turn on admin two-factor, Repair Magento cache settings.
LaravelClear caches, Reload queue workers, Run migrations, Link storage.
ShopwareRebuild the indexes, compile the theme, install assets, reload the queue workers, generate the sitemap and thumbnails, and create or reset an admin user.

Every platform also has the Cache and reload card.

ToolWhat visitors see
Flush cache, Reset OPcacheNothing: the site stays online.
Reload PHP…An error for a few seconds, at most.
Start the environment again…The site does not answer visitors for about a minute.
Purge Cloudflare cacheNothing. It needs your organisation's Cloudflare account: see Connect Cloudflare.

Automate this

Platform tools

Runs one of the site's tools with its inputs in the body, and "confirm": true where the tool asks for it.

POST/api/corestack/sites/{site}/functions/{function}
curl -X POST https://manage.corefinity.com/api/corestack/sites/1042/functions/flush_cache \
  -H "Authorization: Bearer $COREFINITY_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{}'
Was this helpful?
Open in ClaudeOpen in ChatGPT