Search code examples
windowsserverodoo

Odoo server does not start in Windows 10


I download and install odoo 13 on its official community version page, then when I install everything fine and I start odoo, the browser opens with the localhost 8069 that is the odoo port and it doesn't open anything, the server just doesn't Starts

enter image description here

I running odoo-bin in this is my error logs:

enter image description here

enter image description here


Solution

  • Odoo could not connect to PostgreSQL, so you need to create a new user. You can check the PostgreSQL configuration when starting Odoo from source on Windows (Listed below).

    PostgreSQL

    Odoo uses PostgreSQL as database management system. Download and install PostgreSQL (supported version: 10.0 and later).

    By default, the only user is postgres but Odoo forbids connecting as postgres, so you need to create a new PostgreSQL user:

    1. Add PostgreSQL’s bin directory (by default: C:\Program Files\PostgreSQL<version>\bin) to your PATH.
    2. Create a postgres user with a password using the pg admin gui:

      1. Open pgAdmin.
      2. Double-click the server to create a connection.
      3. Select Object ‣ Create ‣ Login/Group Role.
      4. Enter the username in the Role Name field (e.g. odoo).
      5. Open the Definition tab and enter the password (e.g. odoo), then click Save.
      6. Open the Privileges tab and switch Can login? to Yes and Create database? to Yes.