Skip to content

Administration

Troubleshooting

Common problems and how to fix them.

๐Ÿฉบ Start with Doctor

System โ†’ Doctor checks the most common causes of problems โ€” services, nginx -t, permissions, disk, memory, stuck deploys, broken site folders โ€” and shows a fix for each. Most issues below show up there first.

๐Ÿš€ Deploys

"Populate it with APP_KEY, DB_*โ€ฆ"

The site's shared/.env is empty. Fill it in with the .env Editor (at least APP_KEY and the DB_* values from the site's Database tab), then deploy again.

Composer stops with a PHP version error

The lock file needs a newer PHP than the site uses (for example requires php ^8.2, found 8.1). Switch the site's PHP version in Deploy Settings and deploy again. โœจ Diagnose with AI on the failed deploy explains errors like this in plain language.

Private repository: authentication failed

Add or replace the Git Access Token in Deploy Settings. On GitHub use a fine-grained token with Contents: read on the repository.

The deploy was rolled back automatically

The health check failed after the switch โ€” the new release returned errors (5xx) or did not answer. Open View log, check Laravel Logs for the exception, fix it and deploy again. To deploy without the check temporarily, turn off Enable health check after deploy.

"Deploy may be stuck"

A deploy has run for more than 10 minutes. It is stopped automatically after 25 minutes (DEPLOY_TIMEOUT_MS); an admin can Cancel it earlier. Long front-end builds on small servers are the usual cause โ€” add swap or build assets in CI.

Push-to-deploy does nothing

  • In GitHub's webhook settings, check Recent Deliveries: the content type must be application/json and the secret must be the same token as in the URL.
  • Only pushes to the site's configured branch deploy.
  • A push that arrives while a deploy is running is skipped.

๐Ÿ”’ SSL

Certificate issuing fails

  • The domain's A record must point to the site's server โ€” check with dig +short example.com.
  • Port 80 must be reachable from the internet.
  • Behind Cloudflare, temporarily set the record to DNS only if validation keeps failing, then turn the proxy back on.
  • Let's Encrypt limits how often you can request certificates for the same domain; wait an hour after repeated failures.

๐ŸŒ Sites

502 Bad Gateway

PHP-FPM for the site's PHP version is not running or the vhost points to the wrong socket. Restart PHP-FPM in Monitoring โ†’ Service control, check Config Files โ†’ Nginx Config, and run Doctor.

Changes in .env have no effect

Laravel caches its configuration during deploys. Deploy again, or run Artisan โ†’ config:cache.

Queue jobs are not processed

Check Workers (start them if they are stopped) and System โ†’ Cron & queues. After the overdue ladder's Stop workers step, workers stay stopped until you start them again.

๐Ÿ“ก Servers and fleet

Adding an SSH server fails

  • The public key must be in ~/.ssh/authorized_keys of the SSH user on the server.
  • If the server was rebuilt on the same address, its host key changed and the panel refuses it. Remove the server from the panel and add it again.
  • A non-root user needs passwordless sudo for privileged actions and to install the agent.

The agent does not connect

  • Check the service on the server: systemctl status orchestrator-agent and journalctl -u orchestrator-agent -f.
  • The server must reach the panel over HTTPS (outbound port 443).
  • An install token is valid for one hour and one use; generate a new command if it expired.
  • After revoking a key, reinstall the agent with a new token.

"Confirm with your 2FA code first"

The action needs a step-up. Enable 2FA on your account if you have not, then enter a fresh code.

๐Ÿ  Panel

"A password is required" on System actions

The panel's service user needs passwordless sudo for those commands โ€” see System โ†’ Permissions.

Locked out of 2FA

Another admin, or someone with shell access to the panel host, has to reset two-factor for your account.

The panel does not load after an update

See Panel update for restoring the previous build. Hosted sites keep running regardless.