Skip to Content
Menu
This question has been flagged
2367 Views

Hello,

when I try to restore a database I get the following error:

ERROR test1 odoo.sql_db: bad query: SELECT latest_version FROM ir_module_module WHERE name='base'
ERROR: relation "ir_module_module" does not exist
LINE 1: SELECT latest_version FROM ir_module_module WHERE name='base...
  • application and db are running on the same server (ubuntu 20).
  • i am using a virtual python environment.
  • restore process is triggered via localhost:8089/web/database/restore using a zip file that is generated using localhost:8089/web/database/backup
  • psql version is 12.5

has anyone experienced similar issues?

kind regards

Avatar
Discard
Author

update: when I do the process manually (using psql and manual copy of filestore) it works, but the psql part takes forever. For a small test db with ~ 5MB