YunoHost-Apps / libreerp_ynh

LibreERP package for YunoHost
https://odoo.com
GNU Affero General Public License v3.0
16 stars 19 forks source link

The database manager has been disabled by the administrator #28

Closed discapacidad5 closed 2 years ago

discapacidad5 commented 2 years ago

open https://internet.noho.st/web/database/manager

mensenger: The database manager has been disabled by the administrator

ashworksco commented 2 years ago

I have the same issue. I can't log in, and the admin panel gives a database disabled error.

discapacidad5 commented 2 years ago

Edit etc/openerp-server.conf file

code: list_db = True

Then save ans restart openerp-server service.

This fixed the problem for me

ashworksco commented 2 years ago

@discapacidad5 I unfortunately do not see that in my /etc/ folder.

I do see /etc/libreerp/main.conf, however.

I am getting an error when I install it requesting I install "psycopg2-binary":

/var/www/libreerp/venv/lib/python3.7/site-packages/psycopg2/init.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use "pip install psycopg2-binary" instead. For details see: . """)

discapacidad5 commented 2 years ago

it is very likely that the file is with another place a long time ago that I did it and I don't remember exactly

What I am sure of is that it is the server.conf file that tries to locate them. show path is where all the server configurations are, such as the database password and the database address.

ashworksco commented 2 years ago

I checked the logs actually, and it looks like it's under /etc/libreerp/main.conf now. Thank you!