Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Dokploy/dokploy/llms.txt
Use this file to discover all available pages before exploring further.
Common Issues
This guide covers common problems you might encounter when using Dokploy and their solutions.Installation Issues
Installation Script Fails
Docker not installed
Docker not installed
Port already in use
Port already in use
Insufficient permissions
Insufficient permissions
Deployment Issues
Build Failures
Build timeout
Build timeout
- Increase build timeout in application settings
- Optimize your build process (remove unnecessary dependencies)
- Check server resources (CPU, memory)
- Use Docker layer caching
Out of memory during build
Out of memory during build
Nixpacks build fails
Nixpacks build fails
- Ensure your project has the correct files (package.json, requirements.txt, etc.)
- Try using a different build provider (Buildpacks or Dockerfile)
- Check Nixpacks logs for specific errors
- Add a
nixpacks.tomlconfiguration file
Git clone fails
Git clone fails
- Verify repository URL is correct
- Check SSH key configuration for private repos
- Ensure branch name is correct
- Verify network connectivity
- Check Git provider authentication
Runtime Issues
Application won't start
Application won't start
- Check application logs in Dokploy dashboard
- Verify environment variables are set correctly
- Ensure the start command is correct
- Check if required ports are exposed
- Verify database connections
Application crashes immediately
Application crashes immediately
502 Bad Gateway
502 Bad Gateway
- Verify application is listening on the correct port
- Check if application is running:
docker ps - Ensure port is correctly configured in Dokploy
- Check Traefik logs for routing issues
- Verify health check endpoint exists
Database Issues
Cannot connect to database
Cannot connect to database
- Verify database is running: Check in Dokploy dashboard
- Ensure connection string is correct
- Check database credentials in environment variables
- Verify network connectivity between containers
- Use internal Docker network hostnames
Database backup fails
Database backup fails
- Check storage destination is configured correctly
- Verify S3/storage credentials
- Ensure sufficient disk space
- Check backup logs for specific errors
- Test manual backup first
Database migration fails
Database migration fails
- Run migrations manually first
- Check migration scripts for errors
- Verify database user has sufficient privileges
- Ensure migration command is correct in deployment settings
- Check application logs for migration errors
Docker Issues
Docker daemon not running
Docker daemon not running
Permission denied on Docker socket
Permission denied on Docker socket
Disk space issues
Disk space issues
Network & SSL Issues
SSL certificate not issued
SSL certificate not issued
- Verify domain DNS points to your server IP
- Wait for DNS propagation (can take up to 48 hours)
- Ensure ports 80 and 443 are open
- Check for rate limiting from Let’s Encrypt
- Verify email is configured correctly
Domain not accessible
Domain not accessible
- Verify DNS A record points to server IP
- Check domain configuration in Dokploy
- Ensure Traefik is running properly
- Check firewall rules allow ports 80/443
- Verify application is running
Traefik routing issues
Traefik routing issues
Performance Issues
High CPU usage
High CPU usage
- Check which containers are using CPU:
docker stats - Scale horizontally with multi-node setup
- Optimize application code
- Add CPU limits to containers
- Upgrade server resources
High memory usage
High memory usage
Slow deployments
Slow deployments
- Use Docker layer caching
- Optimize Dockerfile (multi-stage builds)
- Reduce image size
- Use faster storage (SSD)
- Upgrade network speed
- Pre-pull base images
API & Automation Issues
API authentication fails
API authentication fails
- Verify API token is correct
- Check token hasn’t expired
- Ensure Authorization header is properly formatted:
- Generate a new API token if needed
Webhook not triggering
Webhook not triggering
- Verify webhook URL is correct
- Check webhook logs in Git provider
- Ensure webhook secret matches (if configured)
- Test webhook manually with curl
- Check firewall allows incoming webhook requests
Multi-Node Issues
Node connection fails
Node connection fails
- Verify SSH access to remote server
- Check firewall rules on remote server
- Ensure Docker is installed on remote server
- Verify Docker Swarm is initialized
- Check network connectivity between nodes
Swarm mode issues
Swarm mode issues
Logging & Debugging
View Logs
Debug Mode
Enable verbose logging for troubleshooting:Getting Help
If you’re still experiencing issues:Discord Community
GitHub Issues
FAQ
Documentation
Reporting Issues
When reporting an issue, include:- Dokploy version: Check in dashboard settings
- Server details: OS, RAM, CPU
- Error messages: Complete error logs
- Steps to reproduce: What you did before the error
- Expected vs actual behavior: What should happen vs what happens
- Screenshots: If applicable