跳至內容
選單
此問題已被標幟
1 回覆
9028 瀏覽次數

Hello everyone I have been using Odoo-16 for couple of weeks now, today I decided to create a new Database called "Test2" when I created it, It gave me an error like the database exists already but It didnt so I created another database called "Another database" and after that this error keeps showing up whenever I try to go to my localhost. 


and in the terminal looks like this:

2023-08-09 10:36:36,856 2952 INFO Test2 werkzeug: 127.0.0.1 - - [09/Aug/2023 10:36:36] "GET /web/image/website/1/favicon?unique=fbb416e HTTP/1.1" 500 - 1 0.000 0.180

2023-08-09 10:37:33,903 2952 ERROR Test2 odoo.sql_db: bad query: 

SELECT latest_version

FROM ir_module_module

WHERE name='base'


ERROR: relation "ir_module_module" does not exist

LINE 3: FROM ir_module_module

^


2023-08-09 10:37:33,903 2952 WARNING Test2 odoo.addons.base.models.ir_cron: Tried to poll an undefined table on database Test2. 

2023-08-09 10:37:34,909 2952 ERROR Test2 odoo.sql_db: bad query: 

SELECT latest_version

FROM ir_module_module

WHERE name='base'




Any help would be appreciated 

thank you 

best regards

頭像
捨棄
最佳答案

Hi,

Can you try with different solutions specified here in this thread:  https://github.com/odoo/odoo/issues/63802

Also in the command line, try passing -i base along with db name.


Thanks

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
3
8月 25
2326
1
5月 25
2548
1
4月 25
3517
1
4月 25
4344
1
4月 25
1823