Skip to Content
Menu
This question has been flagged

Hello everyone,

I recently installed Odoo on my system and encountered a difficulty when starting the application. After launching Odoo, I am facing the following error in the logs:


ERROR: Failed to load registry

Traceback (most recent call last):

  File "/path/to/your/odoo/instance/modules/sql_db.py", line XX, in execute

    res = self._obj.execute(query, params)

psycopg2.errors.DuplicateTable: ERROR: relation "base_registry_signaling" already exists



My Question:

How can I resolve this issue and allow Odoo to start properly? Should I manually delete this table or sequence, and if so, what are the recommended steps to do this safely?


Thank you in advance for your valuable assistance!

Avatar
Discard
Best Answer

Hi,
If there is some existing db's which is not relevant, can you drop the database from the command line or from PostgreSQL and try creating a fresh db again.

* Ensure odoo running user has access to addons directory
* Once all db is dropped, see if the DB manager page is accessible
* then try creating  a new db again

See:  How To Install Odoo 17 in Ubuntu Server


Thanks

Avatar
Discard
Related Posts Replies Views Activity
1
Jul 23
5113
1
Mar 15
4639
0
Jun 24
1020
0
May 24
727
1
Jun 24
1428