I have odoo installed on my machine. I want the database to be connected to amazon RDS. I created the postgreSQL database on RDS and edited the conf file as follows:
; This is the password that allows database operations:
admin_passwd = MYADMINPASSWD
db_host = DATABASE-NAME.cAbC7aXWw6aE.us-east-2.rds.amazonaws.com
db_port = 5432
db_user = ODOO12
db_password = ODOO12PASSWORD
addons_path = /opt/odoo12/odoo/addons,/opt/odoo12/odoo-custom-addonsenter
The above does not work, and I get the following err:
Internal Server Error The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
Edit: When I go to RDS AWS log err file it shows the following message at the moment odoo attempts to connect to database:
ERROR: relation "ir_module_module" does not exist at character 28
2019-02-17 23:33:47 UTC:XXXXX.virtua.com.br(XXXX):odoo12@odoo12:[20563]:STATEMENT: SELECT latest_version FROM ir_module_module WHERE name='base'