From 6050a2bb00194667d3460f02ca7eb6c66e6630fe Mon Sep 17 00:00:00 2001 From: "Antoine Vandevenne (anv)" Date: Mon, 1 Aug 2022 12:41:29 +0000 Subject: [PATCH] [IMP] install: guide the user through the login page Developers sometimes have a hard time making the difference between the PostgreSQL user and the internal user. They would try to log into Odoo's web client with their PostgreSQL credentials rather than with admin. See https://reddit.com/r/Odoo/comments/w8zubf/logging_in_on_source_install. closes odoo/documentation#2548 X-original-commit: 1ddfcc49f44ed3b25af7d01ba5b11147dc7d52cc Signed-off-by: Antoine Vandevenne (anv) --- content/administration/install/install.rst | 25 ++++++++++++++++------ 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/content/administration/install/install.rst b/content/administration/install/install.rst index 618a2dad7..84362081d 100644 --- a/content/administration/install/install.rst +++ b/content/administration/install/install.rst @@ -677,8 +677,8 @@ A typical way to run the server would be: C:\> python odoo-bin -r dbuser -w dbpassword --addons-path=addons -d mydb Where `CommunityPath` is the path of the Odoo Community installation, `dbuser` is the - PostgreSQL login, `dbpassword` is the PostgreSQL password and `mydb` is the default database - to serve on `localhost:8069`. + PostgreSQL login, `dbpassword` is the PostgreSQL password, and `mydb` is the name of the + PostgreSQL database. .. group-tab:: Linux @@ -687,8 +687,8 @@ A typical way to run the server would be: $ cd /CommunityPath $ python3 odoo-bin --addons-path=addons -d mydb - Where `CommunityPath` is the path of the Odoo Community installation and `mydb` is the default - database to serve on `localhost:8069`. + Where `CommunityPath` is the path of the Odoo Community installation, and `mydb` is the name + of the PostgreSQL database. .. group-tab:: Mac OS @@ -697,11 +697,22 @@ A typical way to run the server would be: $ cd /CommunityPath $ python3 odoo-bin --addons-path=addons -d mydb - Where `CommunityPath` is the path of the Odoo Community installation and `mydb` is the default - database to serve on `localhost:8069`. + Where `CommunityPath` is the path of the Odoo Community installation, and `mydb` is the name + of the PostgreSQL database. + +After the server has started (the INFO log `odoo.modules.loading: Modules loaded.` is printed), open +http://localhost:8069 in your web browser and log in with the base administrator account: Use +`admin` for the :guilabel:`Email` and, again, `admin` for the :guilabel:`Password`. That's it, you +just logged into your own Odoo database! + +.. tip:: + - From there, you can create and manage new :doc:`users + `. + - The user account you use to log into Odoo's web interface differs from the :option:`--db_user + ` CLI argument. .. seealso:: - - :doc:`The exhaustive list of arguments for odoo-bin `. + :doc:`The exhaustive list of CLI arguments for odoo-bin `. .. _setup/install/docker: