Troubleshooting
Diagnose and resolve common issues with Aquadactyl Panel, web server configuration, database connections, and permissions.
When encountering errors, check this guide for common causes and resolutions.
Checking Panel Logs
Aquadactyl logs Laravel exceptions and application errors to /var/www/aquadactyl/storage/logs/:
tail -n 100 -f /var/www/aquadactyl/storage/logs/laravel-$(date +%F).log502 Bad Gateway
A 502 Bad Gateway error indicates Nginx cannot communicate with PHP-FPM.
- Verify PHP-FPM is running:
sudo systemctl status php8.5-fpm - Verify socket path:
Ensure the socket in
/etc/nginx/sites-available/aquadactyl.confmatches your installed PHP version:fastcgi_pass unix:/run/php/php8.5-fpm.sock; - Check socket permissions:
ls -la /run/php/php8.5-fpm.sock
Permission & Ownership Errors
Aquadactyl enforces a strict permission model: source files are owned by root:www-data (mode 0750 for directories, 0640 for files), while only storage/ and bootstrap/cache/ are writable by the web user.
To restore proper permissions without breaking security:
curl -fsSL https://raw.githubusercontent.com/Aquadactyl/Installer/main/deploy.sh | sudo bash -s -- permissionsNever use chmod 777 on panel files. It creates severe security
vulnerabilities and will fail Aquadactyl preflight checks.
CSRF Token Mismatch / Login Loop
If logging in redirects you immediately back to the login page without an error:
- Check
APP_URL: VerifyAPP_URLin.envmatches the exact URL in your browser, includinghttps://. - Cookie security: If testing over plain HTTP locally, set:
SESSION_SECURE_COOKIE=false - Clear session cookies and panel cache:
sudo -u www-data php artisan config:clear sudo -u www-data php artisan cache:clear
Queue Worker Issues
If server installations, emails, or user account emails are never sent:
- Inspect worker logs:
journalctl -u aquaq.service -f - Restart worker:
sudo systemctl restart aquaq.service - Check Redis:
redis-cli ping
Blueprint Extension Errors
If installing a Blueprint extension fails:
- Verify that
[email protected]andnode 24are installed and available inPATH. - Clean build cache:
cd /var/www/aquadactyl sudo pnpm store prune sudo -u www-data php artisan view:clear - Run the Blueprint repair/rebuild command:
sudo blueprint -build