Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
9073 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 8 25
2454
1
thg 5 25
2578
1
thg 4 25
3540
1
thg 4 25
4387
1
thg 4 25
1850