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

Hi,

I was trying to install odoo 15 as I am used to do following the installation guide of odoo.

But this time, I am getting "Database creation error: Access Denied" after a successful installation and while trying to create the first database.

Any suggestiosn please?

Besides for odoo, please correct the installation guide:

# echo "deb http://nightly.odoo.com/13.0/nightly/deb/ ./" >> /etc/apt/sources.list.d/odoo.list
it shoud be replaced by 14.0 for the version 14 and 15.0 for the version 15.0
Avatar
Discard

Do you have a link to the installation guide you followed? I will try to see if I can reproduce the issue.

Do you enter the correct master password?

Database creation error: relation "ir_model" does not exist LINE 1: SELECT * FROM ir_model WHERE state='manual' ^

Best Answer

Hi,

This is a known issue in Odoo 15 and has been impacting dozens of people.
See also https://github.com/odoo/odoo/issues/78001 which is closely tied to it.
Odoo employees will come with a fix as soon as possible :)

Regards,
Yenthe


Avatar
Discard

Has this been sorted?

Best Answer

I don't think so. Just struggling to have it sorted with window 10.

But they've just released another version today!

Hope the problem is fixed.

Regards

Avatar
Discard
Best Answer

We saw what causes this error to occur. Let’s now see how our Support Engineers fix this error for our customers.

Recently, one of our customers approached us with the same error.

Our Support Engineers started troubleshooting the problem by checking if the admin_password in odoo.conf is correct. We saw the admin_password was displaying something like this,

admin_password = $pbkdf2-sha512$25000$15oTopRSSomREkLIeQ8hRA$QlTTxd4bqTTxSI0/u4g/yukO9jT2yFtTx4sAu46GtMKHnooPWT
So we won’t be able to know what is the DB-admin password.

But we can change it. So we changed it as below.

admin_passwd = 'new-password'
Then we restarted the odoo server using the command,

service odoo restart
And then we tried to recreate the DB again. This also didn’t work. So we checked for the parameters db_user and db_password in the odoo configuration file which is placed in /etc/odoo/odoo.conf.

The customer was using PostgreSQL with the specified user and password.

So we specified the same user and password in /etc/odoo/odoo.conf in parameters db_user and db_password.

Then we restarted the PostgreSQL using the command

/etc/init.d/postgresql restart
Finally, this fixed the error.


Regards,

Rachel Gomez

Avatar
Discard