Skip to Content
Menu
This question has been flagged
3 Replies
1053 Views

Hello 


i have a fresh installation of odoo community 17 and it launch correctly with this command line

python3 odoo-bin --addons-path="addons" -d odoo17 -w myuser -r mypsw

but whith this conf file i have password authentifcation error 

cmd 

python3 odoo-bin -c odoo.conf

odoo.conf file

[options]
admin_passwd = admin
db_host = localhost
db_port = 5432
db_name = odoo17
db_user = myuser
db_password = mypsw
addons_path = ../odoo17/addons, ../akerdis-addons
xmlrpc_port = 8017

an idea of ​​the source of the problem

Avatar
Discard
Best Answer

Hello AIT YAHIA Idir,


I hope you’re doing well!


Could you please set the password to False in the config.cfg file as follows:

    db_password = False


To proceed, please open the terminal and run the following commands:


1. Install PostgreSQL and its client:-

    sudo apt install postgresql postgresql-client

   

2. Create the PostgreSQL user:-

    sudo -u postgres createuser --createdb --username postgres --no-createrole --no-superuser --pwprompt odoo


    Alternatively, you can use:-


    sudo -u postgres psql -c "\du"

    sudo -u postgres createuser --createdb --password odoo

    sudo -u postgres createdb your_database_name -O odoo


3. Finally, restart PostgreSQL:

    sudo systemctl restart postgresql


I Hope this information proves helpful to you.

Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari


Avatar
Discard
Author Best Answer

i have removed the spaces but i still get the same issue, in two different machine, (i am under Ubuntu)

Avatar
Discard
Author

I'm fine and thank you for your response, i followed your instructions, I changed the db_user and db_name options to odoo, now i get an other error bellow
psycopg2.OperationalError: .... fe_sendauth: no password supplied

Best Answer
addons_path = ../odoo17/addons,../akerdis-addons

Please remove extra space from addons_path
Avatar
Discard