跳至内容
菜单
此问题已终结

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!

形象
丢弃
最佳答案

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

形象
丢弃
相关帖文 回复 查看 活动
1
7月 23
5340
1
3月 15
4894
0
6月 24
1163
0
5月 24
871
1
6月 24
1615