Skip to content

Troubleshooting

Find your symptom below. Each row links to the specific fix — you don't need to read a whole page to solve one problem.

By symptom

SymptomLikely causeGo to
502 Bad GatewayPHP-FPM crashed, wrong socket path, or a plugin/script fatally erroringServer Errors
503 Service UnavailablePHP-FPM pool overwhelmed, or a service was mid-restartServer Errors
500 Internal Server Error / white screenPHP fatal error — usually a plugin, theme, or .htaccess-equivalent issueServer Errors
504 Gateway TimeoutA request is taking longer than PHP-FPM's timeout to finishServer Errors
502 right after switching PHP versionsVhost still pointing at the old version's socketServer Errors
"This site can't be reached" / DNS errorDNS not pointed at the server, or hasn't propagated yetDomain & SSL Issues
Browser SSL warning on the panel (port 8443)Expected — the panel UI uses a self-signed certDomain & SSL Issues
Browser SSL warning on your actual siteSSL not installed yet, or the cert doesn't cover wwwDomain & SSL Issues
ssl:install fails with "challenge failed"Port 80 blocked, or DNS not propagatedDomain & SSL Issues
"Too many certificates" errorHit Let's Encrypt's rate limit while testingDomain & SSL Issues
Edited a post/menu but the live site didn't changeFastCGI Cache serving a stale pageCache & Performance
Site feels slow despite cache being onLow hit rate, or cache not actually enabled for that domainCache & Performance
Logged-in users seeing cached/stale contentExpected — logged-in traffic always bypasses cache, this is a different problemCache & Performance
"Error establishing a database connection"Wrong DB credentials in wp-config.php/.env, or MySQL/MariaDB is downPermissions & Database
Can't upload images / plugin install fails ("unable to create directory")File ownership wrong after a manual file transferPermissions & Database
403 ForbiddenPermission bits too restrictive, or an Nginx deny rule matching unexpectedlyPermissions & Database
site:delete --purge refuses to remove a userThe .aidipanel-managed marker is missing or was editedPermissions & Database

By area

Server & Gateway Errors → 502, 503, 500, 504 — the HTTP error codes that mean "something upstream broke."

Domain & SSL Issues → DNS propagation, certificate installation, browser warnings, rate limits.

Cache & Performance → Stale content, purge behavior, hit rate, and general speed troubleshooting.

Permissions & Database → File ownership, upload failures, database connection errors, guarded delete.

General first steps for anything

Before diving into a specific page, these two commands answer "is it actually broken, and where":

bash
# Is everything actually running?
aidipanel service:status

# What does this site's own error log say? (usually the fastest answer)
aidipanel log:tail --domain example.com --type error

The per-site error log especially — /var/log/nginx/<domain>-error.log — will usually name the exact problem (a missing PHP extension, a permission-denied path, a timeout) rather than leaving you to guess from just the HTTP status code.