Skip to Content
Menu
This question has been flagged
1 Reply
7822 Views

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

Avatar
Discard
Best Answer

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

Avatar
Discard
Related Posts Replies Views Activity
1
Apr 25
2299
1
Apr 25
2993
1
Apr 25
690
4
Mar 25
5284
2
Feb 25
1616