OpenERP - redirected to “Create a New Database” page when accessing Odoo application

随声附和 提交于 2019-12-05 23:34:14

You should also check the ownership of the database. If you restore it from psql, make sure you set the owner to your openerp user.

ALTER DATABASE your_db OWNER TO your_openerp_user

DB user & password are either specified from the CLI, i.e.

openerp-server --db_user=openerp --db_password=openerp

or they are specified in the configuration file usually located in :

/etc/openerp/openerp-server.conf

For that we must enter the administrator OpenERP database, one of the facilities provided to us in that menu is to restore the database from a backup, another option is to create a new database. A look created the database on the homepage of OpenERP can select the database with which we work and then insert the username and password.

What I did is I have backed up main database then restored it to a new database called TestA. When I opened Odoo web site, it picked up TestA database. Then I clicked on "Back to Login" option at the top right corner of the page and after that I was offered to chose between the two databases during login. I selected the main one and Odoo loaded successfully.

I had this same issue. I kept getting redirected to the login page even though the database was already created. What I did was change the admin password in the database using pgAdmin. At the page where the database creation is on there is a login option.

It's under the res_user table I just did this. After that I logged in I wasn't prompted with the database again.

Update res_user
Set password = 'your_password'
Where login = 'admin'
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!