Internal server error when accessing odoo running in docker
If you're setting up Odoo in Docker for the first time and hit an "Internal Server Error" when visiting http://localhost:8069, don’t panic — your setup might actually be fine.
This issue usually happens because:
🔄 Odoo needs a few moments to initialize the database on first launch.
When Docker starts Odoo, it begins creating:
- The PostgreSQL database
- Default admin user
- Addon metadata
- Web assets
This takes 15–60 seconds depending on your system. If you hit the browser too soon, the server isn’t ready and throws an error. Wait 30–60 seconds after docker-compose up -d before opening the browser and visiting http://localhost:8069
Published on: Jun 27, 2025, 12:53 AM