How to Fix Common Pterodactyl Panel Errors
Diagnose and fix pterodactyl errors including 502 Bad Gateway, Wings connection failures, database migration issues, and permission problems.
Troubleshooting Pterodactyl
Even a well-maintained panel hits snags. This guide covers the most common issues you will encounter and how to fix pterodactyl errors quickly so your servers get back online.
502 Bad Gateway
This means Nginx cannot reach the PHP-FPM process. Common causes:
- PHP-FPM not running:
sudo systemctl status php8.1-fpm. Restart it if it crashed. - Socket mismatch: Check that the Nginx config's
fastcgi_passmatches the socket path in/etc/php/8.1/fpm/pool.d/www.conf. - Permissions: The
www-datauser needs read access to the panel files.
Wings Not Connecting (Red Node)
When the panel shows a red indicator for a node:
- Verify Wings is running:
sudo systemctl status wings - Check the token in
/etc/pterodactyl/config.ymlagainst the panel's node configuration tab. - Confirm the FQDN resolves to the correct IP and ports 8080/443 are open.
- Read the Wings log for specific errors:
sudo journalctl -u wings --no-pager -n 50
Database Migration Failed
After updating the panel, php artisan migrate can fail if a previous migration was partially applied. To fix pterodactyl errors related to migrations:
cd /var/www/pterodactyl
php artisan migrate:status
Look for migrations marked No. If a table already exists but the migration did not record it, you may need to manually mark it as run in the migrations table.
Permission Denied Errors
If the panel shows "Permission Denied" when creating or editing servers:
sudo chown -R www-data:www-data /var/www/pterodactyl/storage /var/www/pterodactyl/bootstrap/cache
sudo chmod -R 755 /var/www/pterodactyl/storage /var/www/pterodactyl/bootstrap/cache
Server Stuck on "Installing"
This usually means the egg install script failed. Check the install log on the Wings node:
sudo cat /srv/daemon-data/SERVER_UUID/install.log
Common causes are a broken download URL in the egg or a missing dependency in the install container. Update the egg's install script and reinstall the server from the panel.
Queue Worker Not Processing
If emails, server installs, or other background jobs stall, the queue worker may have stopped:
sudo systemctl restart pteroq
Verify with sudo systemctl status pteroq.
Most issues that require you to fix pterodactyl errors come down to services not running, permission mismatches, or stale configs. When in doubt, check logs first. For SSL-specific problems, see our SSL guide.
See a professionally hosted server: Astroworld MC, IP play.astroworldmc.com, Java + Bedrock.