Hi @acabrera ,
Thank you very much for your detailed guideline! It worked fine on my debian bullseye.
Odoo / postgresql are up and running. I´ve changed a few things in the configuration to get a bit more “grip” on the database. The user odoo was origionally configured without password - which is OK for local environment.
Set password in psql:
ALTER ROLE odoo WITH PASSWORD 'yesApassword';
Change DB-Listener to all clients - not only localhost in
/etc/postgresql/13/main/postgresql.conf
listen_addresses = '*'
disable network-restrictions in
/etc/postgresql/13/main/pg_hba.conf
# IPv4 local connections:
host all all 0.0.0.0/0 md5
Change /etc/odoo/odoo.conf
[options]
db_host = localhost
db_port = 5432
db_user = odoo
db_password = yesApassword
db_name = odoodb
default_productivity_apps = True
admin_passwd = youDoNotNeedToKnow
addons_path = /etc/odoo/custom_addons
By the way: my initial choice to name the database “odooDB” was a bad idea. I advise using only lowercase letters.
The openEMS app in Odoo is running, but I got stuck saving devices because the field “name” is marked as read-only and required at the same time. Have you made any progress in the meantime?
This whole backend thing in connection with Odoo can be quite frustrating, right? ![]()
regards
klinki