Troubleshooting
Common issues and their solutions for Hydrodactyl
Troubleshooting
This guide covers common issues users encounter with Hydrodactyl and their solutions.
Installation Issues
Docker Container Won't Start
Problem: Docker container exits immediately or fails to start.
Solutions:
-
Check container logs:
docker logs hydrodactyl-panel docker logs hydrodactyl-wings -
Verify port conflicts:
netstat -tulpn | grep :8080 netstat -tulpn | grep :443 -
Check docker-compose.yml configuration:
- Ensure volume paths exist
- Verify environment variables are correctly set
- Check network configuration
Database Connection Failed
Problem: Panel cannot connect to the database.
Solutions:
-
Verify database is running:
docker ps | grep database -
Check database credentials in
.env:DB_CONNECTION=mysql DB_HOST=database DB_PORT=3306 DB_DATABASE=hydrodactyl DB_USERNAME=hydrodactyl DB_PASSWORD=your-password -
Test database connection:
docker exec -it hydrodactyl-panel php artisan tinker >>> DB::connection()->getPdo()
Permission Errors
Problem: File permission errors during installation.
Solutions:
-
Set correct ownership:
sudo chown -R www-data:www-data /var/www/hydrodactyl sudo chmod -R 755 /var/www/hydrodactyl/storage sudo chmod -R 755 /var/www/hydrodactyl/bootstrap/cache -
Check SELinux status:
sudo setenforce 0
Panel Issues
502 Bad Gateway
Problem: Panel returns 502 error.
Solutions:
-
Check PHP-FPM status:
docker exec -it hydrodactyl-panel supervisorctl status php-fpm -
Restart services:
docker-compose restart panel -
Check nginx configuration:
docker exec -it hydrodactyl-panel nginx -t
Login Loop
Problem: Users get stuck in login loop after authentication.
Solutions:
-
Clear session cache:
docker exec -it hydrodactyl-panel php artisan cache:clear docker exec -it hydrodactyl-panel php artisan config:clear -
Check session configuration:
SESSION_DRIVER=database SESSION_SECURE_COOKIES=true -
Verify SSL certificate is valid.
Server Not Showing in Panel
Problem: Created servers don't appear in the panel.
Solutions:
-
Check Wings connection:
docker exec -it hydrodactyl-wings wings debug -
Verify daemon configuration:
- Check API token matches
- Ensure communication URL is accessible
- Verify SSL certificate
-
Restart Wings daemon:
docker-compose restart wings
Server Issues
Server Won't Start
Problem: Server creation succeeds but server won't start.
Solutions:
-
Check server logs in the panel
-
Verify server configuration:
- Memory allocation
- CPU allocation
- Disk space
- Port allocation
-
Check Docker container status:
docker exec -it hydrodactyl-wings docker ps -a -
Inspect server container logs:
docker logs [container-id]
Installation Stuck
Problem: Server installation process gets stuck.
Solutions:
- Check available disk space on the node
- Verify download URLs in egg configuration
- Check network connectivity
- Restart installation:
# From panel Settings → Server → Reinstall Server
Console Not Working
Problem: Server console doesn't update or respond to commands.
Solutions:
-
Check WebSocket connection:
- Open browser developer tools
- Check Network tab for WebSocket errors
-
Verify Wings daemon is running
-
Check firewall settings:
sudo ufw status sudo ufw allow 8080
Backup Issues
Backup Failed
Problem: Server backups fail to complete.
Solutions:
-
Check backup configuration:
BACKUP_DRIVER=s3 # or local -
Verify storage credentials
-
Check available disk space
-
Review backup logs:
docker exec -it hydrodactyl-wings tail -f /var/log/pterodactyl/backup.log
Large Backup Times
Problem: Backups take extremely long to complete.
Solutions:
- Use
.pyroignorefile to exclude large directories - Configure backup compression:
BACKUP_COMPRESSION_LEVEL=6 - Increase backup timeout:
BACKUP_TIMEOUT=3600
Performance Issues
Slow Panel Loading
Problem: Panel interface loads slowly.
Solutions:
-
Enable caching:
CACHE_DRIVER=redis -
Optimize database:
docker exec -it hydrodactyl-panel php artisan optimize:clear docker exec -it hydrodactyl-panel php artisan optimize -
Check resource usage:
docker stats hydrodactyl-panel
High Memory Usage
Problem: Panel or Wings using excessive memory.
Solutions:
-
Monitor resource usage:
docker stats --no-stream -
Adjust PHP memory limit:
PHP_MEMORY_LIMIT=256M -
Limit server allocations appropriately
Network Issues
Node Communication Failed
Problem: Panel cannot communicate with Wings nodes.
Solutions:
-
Test connectivity:
curl -k https://node-domain:8080/api/system -
Check firewall rules:
sudo ufw allow 8080/tcp -
Verify SSL certificates
-
Check DNS resolution
Port Allocation Issues
Problem: Unable to assign ports to servers.
Solutions:
-
Check available ports:
# From Wings node netstat -tulpn | grep :25565 -
Add more allocations:
- Admin → Nodes → Select Node → Allocations
- Add new port ranges
-
Check port conflicts with other services
Security Issues
SSL Certificate Errors
Problem: SSL/HTTPS certificate issues.
Solutions:
-
Check certificate validity:
openssl x509 -in /path/to/cert.pem -text -noout -
Renew Let's Encrypt certificate:
docker exec -it hydrodactyl-panel certbot renew -
Use self-signed certificates for development only
Authentication Issues
Problem: Users cannot authenticate properly.
Solutions:
-
Check 2FA configuration
-
Reset user passwords:
docker exec -it hydrodactyl-panel php artisan tinker >>> $user = App\Models\User::find(1); >>> $user->password = Hash::make('new-password'); >>> $user->save(); -
Verify email configuration for password resets
Debug Mode
Enabling Debug Mode
Warning: Only enable debug mode in development environments.
APP_DEBUG=true
APP_LOG_LEVEL=debugDebugging Steps
-
Check application logs:
docker exec -it hydrodactyl-panel tail -f storage/logs/laravel.log -
Monitor Wings logs:
docker exec -it hydrodactyl-wings tail -f /var/log/pterodactyl/wings.log -
Use browser developer tools:
- Network tab for API calls
- Console tab for JavaScript errors
- Application tab for storage issues
Getting Help
Discord Community
Join the Hydrodactyl Discord for community support.
GitHub Issues
Report bugs and feature requests at the GitHub repository.
Information to Include
When seeking help, please include:
- Hydrodactyl version
- Docker version
- Operating system
- Error messages (full logs)
- Steps to reproduce
- Configuration files (remove sensitive data)
Log Locations
- Panel logs:
storage/logs/laravel.log - Wings logs:
/var/log/Pterodactyl/wings.log - Nginx logs:
/var/log/nginx/error.log - PHP logs:
/var/log/php8.2-fpm.log