Use the System page
Check the background worker and job queue, retry failed jobs, read today's log, switch on maintenance mode, block sign-up domains and apply database updates.
On this page
The System page is the health check for your installation. It shows whether background work is running, what has failed, how much disk space is used, and holds the platform-wide switches.
In the admin sidebar, click System.
The four cards
- Background worker: Running if the worker was seen in the last 3 minutes, otherwise Not running, with the time it last ran. See Set up the background worker.
- Jobs waiting: jobs queued or running now, and when the oldest one was due. A number that keeps growing means the worker is not keeping up or is not running.
- Failed jobs: jobs that gave up after 3 attempts.
- Storage used: the size of the uploads, logs and sessions folders.
Failed jobs
The table lists the 30 most recent failed jobs with the job's name, the error and when it was created.
- Read the error and fix its cause, for example a wrong key or an outside service that was down.
- Click Retry on one job, or Retry all, to queue them again. They run on the worker's next pass.
- To clear jobs you do not want to run again, click the bin icon on one job, or Delete all and confirm. The work those jobs held is lost.
Failed jobs older than 30 days are removed automatically.
Today's log
Today’s log shows the last 80 lines of today's application log, storage/logs/app- plus the date .log. Times are in UTC. Errors from failed jobs, email and gateway tests are written there.
Older days and PHP's own error log (storage/logs/php-error.log) are on the server; read them over SSH.
Maintenance mode
Maintenance mode closes the app to customers while you work on the server.
- In Controls, tick Maintenance mode.
- Optionally type a Message customers see (up to 300 characters). If you leave it empty, customers see "We’re doing some maintenance and will be back shortly. Your messages are still being received."
- Click Save controls.
While it is on:
- Customers see your message instead of their workspace.
- Incoming messages and webhooks are still received.
- Platform admins can still use the admin panel and can still sign in as a customer.
- A Maintenance on badge shows on this page and a red warning shows on Overview.
To end it, untick Maintenance mode and click Save controls.
This is different from the We’re updating page shown during a software update, which appears and disappears on its own.
Block email domains from signing up
In Controls, type one domain per line in Email domains that can’t sign up, for example mailinator.com, and click Save controls. People with an email address on a listed domain cannot create an account. This is useful against throwaway addresses.
Database updates
Database updates shows Up to date, or how many updates are waiting with their names.
The background worker applies waiting updates by itself within a minute, and so does the software updater. If updates are still listed, click Apply updates.
You can do the same over SSH, from the application folder:
php bin/migrate.php
It prints Applied: followed by the names, or Database is already up to date.
Versions
The Versions card lists the installed version, the PHP version, the database type and version, and PHP's upload and memory limits. Have these ready when you ask for support.
Common problems
Background worker shows "Not running"
The cron job is missing or failing. See Set up the background worker.
The same job fails again after Retry
The cause is still there. Read the full error in Today’s log, which holds more of the message than the table.
Customers are still locked out after you finished
Maintenance mode is still ticked. Untick it and click Save controls.