OpenERP-重定向到“创建新数据库"访问Odoo应用程序时的页面 [英] OpenERP - redirected to "Create a New Database" page when accessing Odoo application

查看:190
本文介绍了OpenERP-重定向到“创建新数据库"访问Odoo应用程序时的页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试访问Odoo 8应用程序时,我被重定向到数据库管理"菜单和创建新数据库"页面.但是,系统中有一个数据库,我可以通过pgAdmin很好地看到它,直到现在它一直都在工作.据我所知,我没有做任何改动.

When I try to access my Odoo 8 application I am redirected to Database Management menu and page "Create a New Database". However, there is a database in the system, I can see it through pgAdmin fine, and it worked all the time until now. As far as I know I have not changed anything.

如何像以前一样使Odoo 8重新连接到已经存在的数据库?

How I can make Odoo 8 connecting to already present database again as it did before?

感谢您的帮助!

推荐答案

您还应该检查数据库的所有权.如果要从psql还原它,请确保将所有者设置为openerp用户.

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

数据库用户&密码是通过CLI指定的,即

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

这篇关于OpenERP-重定向到“创建新数据库"访问Odoo应用程序时的页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆