This question has been flagged
3 Replies
6517 Views

Hi,  I need to run an Odoo intance connected to a database hosted in the Cloud.
It looks that Odoo run fines if the database owner is the "odoo" user.
But if i change the database owner to "postgres", then i got the below error while Odoo backend loading :

Uncaught Error: QWeb2: Template 'PlannerLauncher' not found

Any idea how to fix it ? 
I need to keep it working with database owner "postgres".
Thanks and regards

Avatar
Discard
Best Answer

Hello

I am curious were you able to make it work at the end. And if yes can you tell me how?

Thanks

Avatar
Discard
Author Best Answer

I am using this DB in the cloud, so as i am on a cloud provider server, i am not admin.I cannot manage PostGres user so i am also not able to edit the pg_hba.conf. The goal would be to be able to use a cloud provider with odoo DB. Any idea why Odoo behavior is not the same if DB owner is "postgres" user ?

Avatar
Discard
Best Answer

Hi, 
did you try  to pass trust instead of md5 in your  /etc/postgresql/....../pg_hba.conf file ? like this:

host    all             all               trust


Avatar
Discard