Skip to Content
Menu
This question has been flagged
2 Replies
2110 Views

I am running odoo 16 on a linode server.  DNS servers are pointing to the server from the domain ready4rehab(dot)com. I am trying to use nginx as reverse proxy.

The odoo service is starting, and nginx is starting too.  As far as I can tell, Odoo is not binding to port 8069.  I have double and triple checked my nginx site conf file. (I will post it below), but I think it is correct.  I also will post my odoo-server.conf and nginx.conf files and the error logs below.  Please help me figure out what is wrong with my configuration.


Thanks for your help!

Avatar
Discard
Best Answer

If you can’t access Odoo at localhost:8069 after starting it, there could be several potential issues to troubleshoot. Here are some common reasons and solutions to try:

  1. Docker Container Not Running or Misconfigured:
    • Verify that your Odoo Docker container is running with docker ps. If it’s not, start the container using docker start <container_name_or_id>.
    • Make sure Odoo is configured to listen on port 8069. Check your docker-compose.yml or Docker run command for proper port mapping, like -p 8069:8069.
  2. Firewall or Security Rules:
    • If you’re on a server with firewalls, such as Ubuntu with UFW (Uncomplicated Firewall), allow traffic on port 8069. Run sudo ufw allow 8069 and check connectivity again.
    • If Odoo is hosted on a cloud service, ensure that the server's security group or firewall settings allow traffic on port 8069.
  3. PostgreSQL Connection Issues:
    • Odoo relies on PostgreSQL. Ensure PostgreSQL is running and accessible to Odoo. If you’re using Docker Compose, check the PostgreSQL service configuration in the docker-compose.yml file and confirm it is properly linked to the Odoo service.
  4. Configuration Issues in odoo.conf:
    • If you have an odoo.conf file, confirm it is configured to bind to 0.0.0.0 or localhost and port 8069. The line should look like: xmlrpc_port = 8069.
  5. Checking Odoo Logs for Errors:
    • Run docker logs <odoo_container_name> to review logs for errors during startup. This can reveal issues like missing dependencies or misconfigurations.
  6. Network Bridge Issues in Docker:
    • If there are network issues with Docker’s bridge network, restart the Docker service with sudo systemctl restart docker or recreate the containers with docker-compose down && docker-compose up.

By following these steps, you can identify what might be preventing access to Odoo on port 8069. Let me know if any logs or further details are needed to diagnose the issue further.

Avatar
Discard