Common Errors Reference
A comprehensive list of error codes and messages you may encounter in OEC.sh, with quick solutions.
Deployment Errors
DEP001: Build Failed
Message: Build process failed
Cause: Error during Docker image build.
Solution:
- Check deployment logs for specific error
- Verify
requirements.txthas valid packages - Ensure Dockerfile (if custom) is valid
- See Deployment Failures
DEP002: Git Clone Failed
Message: Failed to clone repository
Cause: Cannot access Git repository.
Solution:
- Verify Git connection is active: Settings → Git Connections
- Check repository URL is correct
- Ensure branch exists
- Regenerate access token if expired
DEP003: Container Start Failed
Message: Container failed to start
Cause: Odoo container crashed on startup.
Solution:
- Check Odoo logs for specific error
- Verify environment variables
- Ensure database is accessible
- Check for port conflicts
DEP004: Health Check Failed
Message: Health check timed out
Cause: Odoo didn't respond within timeout period.
Solution:
- Check if Odoo started successfully in logs
- Verify server has sufficient resources
- Increase health check timeout if needed
- Check for long-running startup operations
Database Errors
DB001: Connection Refused
Message: Could not connect to database server
Cause: PostgreSQL is not accessible.
Solution:
- Verify database container is running
- Check database credentials
- Restart the environment
- See Database Errors
DB002: Authentication Failed
Message: Password authentication failed for user
Cause: Invalid database credentials.
Solution:
- Check
DB_USERandDB_PASSWORDin environment variables - Verify user exists in database
- Reset database password if needed
DB003: Database Does Not Exist
Message: Database "dbname" does not exist
Cause: Target database hasn't been created.
Solution:
- OEC.sh creates databases automatically
- Check environment configuration
- Try redeploying the environment
- Contact support if persists
DB004: Out of Memory
Message: FATAL: out of memory
Cause: PostgreSQL ran out of allocated memory.
Solution:
- Increase RAM allocation: Environment → Settings → Resources
- Enable PgBouncer for connection pooling
- Optimize memory-heavy queries
- Check for memory leaks in custom code
DB005: Lock Wait Timeout
Message: Lock wait timeout exceeded
Cause: Transaction blocked by another transaction.
Solution:
- Check for long-running transactions
- Identify blocking queries
- Kill stuck transactions if safe
- Review application transaction handling
Backup Errors
BKP001: Backup Creation Failed
Message: Failed to create backup
Cause: Error during database dump or filestore backup.
Solution:
- Check disk space on server
- Verify database is accessible
- Check backup logs for specific error
- See Backup Issues
BKP002: Upload Failed
Message: Failed to upload backup to storage
Cause: Cannot upload to configured storage provider.
Solution:
- Verify storage provider credentials
- Test connection: Settings → Storage Providers → Test
- Check network connectivity
- Verify bucket/container exists
BKP003: Restore Failed
Message: Failed to restore backup
Cause: Error during backup restoration.
Solution:
- Verify backup file is not corrupted
- Check target has sufficient disk space
- Ensure Odoo versions are compatible
- See Restore Issues
BKP004: Invalid Backup Format
Message: Invalid or corrupted backup file
Cause: Backup file is damaged or incompatible.
Solution:
- Download and verify backup locally
- Try a different backup
- Check storage provider for issues
- Contact support with backup details
Domain/SSL Errors
SSL001: Certificate Issuance Failed
Message: Failed to issue SSL certificate
Cause: Let's Encrypt couldn't verify domain ownership.
Solution:
- Verify DNS points to correct server
- Wait for DNS propagation
- Check domain isn't rate-limited
- See SSL Errors
SSL002: Certificate Expired
Message: SSL certificate has expired
Cause: Auto-renewal failed.
Solution:
- Check domain configuration
- Verify DNS is still correct
- Force renewal: Environment → Domains → Refresh SSL
- Contact support if issue persists
DNS001: Domain Verification Failed
Message: Could not verify domain ownership
Cause: DNS records don't match expected configuration.
Solution:
- Compare DNS records with required configuration
- Remove conflicting records
- Wait for DNS propagation
- See DNS Issues
Resource Errors
RES001: Insufficient CPU
Message: CPU limit exceeded
Cause: Environment needs more CPU resources.
Solution:
- Scale up CPU: Environment → Settings → Resources
- Optimize CPU-intensive operations
- Consider running during off-peak hours
RES002: Insufficient Memory
Message: Memory limit exceeded
Cause: Environment needs more RAM.
Solution:
- Scale up RAM: Environment → Settings → Resources
- Enable PgBouncer to reduce memory usage
- Check for memory leaks
- Reduce worker count if needed
RES003: Disk Space Full
Message: No space left on device
Cause: Server disk is full.
Solution:
- Check disk usage: Server → Metrics
- Remove unused environments
- Clean up old backups
- Scale up disk allocation
RES004: Quota Exceeded
Message: Organization quota exceeded
Cause: Reached plan limits.
Solution:
- Check current usage: Settings → Usage
- Delete unused resources
- Upgrade plan: Settings → Billing
Permission Errors
AUTH001: Unauthorized
Message: Authentication required
Cause: User not logged in or session expired.
Solution:
- Log in again
- Check if session timed out
- Clear browser cookies and retry
AUTH002: Permission Denied
Message: You don't have permission to perform this action
Cause: User lacks required permission.
Solution:
- Check your role in the organization
- Contact organization admin for access
- See Teams & Permissions
AUTH003: Organization Access Denied
Message: You are not a member of this organization
Cause: Trying to access organization you're not part of.
Solution:
- Request invitation from organization admin
- Check you're logged into correct account
- Switch to correct organization if member of multiple
API Errors
API001: Rate Limited
Message: Too many requests
Cause: Exceeded API rate limit.
Solution:
- Wait before retrying
- Reduce request frequency
- Contact support for higher limits
API002: Invalid Request
Message: Invalid request parameters
Cause: API request has invalid data.
Solution:
- Check request body format
- Verify required fields are present
- Check data types match schema
API003: Resource Not Found
Message: Resource not found
Cause: Requested resource doesn't exist.
Solution:
- Verify resource ID is correct
- Check resource wasn't deleted
- Ensure you have access to the resource
Server Errors
SRV001: Connection Failed
Message: Could not connect to server
Cause: SSH connection to server failed.
Solution:
- Verify server is online
- Check SSH credentials
- Test connection: Server → Test Connection
- Check firewall allows port 22
SRV002: Server Unreachable
Message: Server is unreachable
Cause: Network connectivity issue.
Solution:
- Verify server IP is correct
- Check server is powered on
- Verify network/firewall configuration
- Contact hosting provider if needed
SRV003: Docker Error
Message: Docker operation failed
Cause: Error executing Docker command.
Solution:
- Check server has Docker installed
- Verify Docker daemon is running
- Check disk space for Docker
- Review Docker logs on server
Quick Reference Table
| Error Code | Category | Quick Fix |
|---|---|---|
| DEP001 | Deployment | Check build logs |
| DEP002 | Deployment | Verify Git connection |
| DEP003 | Deployment | Check Odoo logs |
| DB001 | Database | Restart environment |
| DB002 | Database | Check credentials |
| DB004 | Database | Increase RAM |
| BKP001 | Backup | Check disk space |
| BKP002 | Backup | Test storage connection |
| SSL001 | SSL | Verify DNS |
| RES003 | Resources | Free disk space |
| AUTH002 | Permission | Contact org admin |
Still Having Issues?
If you encounter an error not listed here or need additional help:
- Note the Error Code - Include it in your support request
- Collect Logs - Download relevant logs from the dashboard
- Contact Support - Email support@oec.sh
Pro and Agency plans include priority support with faster response times.