当我运行命令./odoo-bin --config=/etc/odoo.conf
并尝试从浏览器访问时,我在 aws ec2 中配置了 odoo 并从 rds 连接 Postgresql,我收到以下错误:
ERROR odoo_db odoo.modules.loading: Database odoo_db not initialized, you can force it with `-i base`
File "/opt/odoo/odoo/odoo/modules/registry.py", line 176, in __getitem__
return self.models[model_name]
KeyError: 'ir.http' - - -
而且我也收到了这个错误:
STATEMENT: SELECT latest_version FROM ir_module_module WHERE name='base'
ERROR odoo_db odoo.sql_db: bad query: SELECT latest_version FROM ir_module_module WHERE name='base'
ERROR: relation "ir_module_module" does not exist