跳至內容
選單
此問題已被標幟
4 回覆
14846 瀏覽次數

I've installed Odoo 9.0 Community version and cannot create the first database. Does anyone know what to do, should i reinstall again?

Odoo Server Error


Traceback (most recent call last):
  File "/odoo/odoo-server/openerp/http.py", line 546, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/odoo/odoo-server/openerp/http.py", line 583, in dispatch
    result = self._call_function(**self.params)
  File "/odoo/odoo-server/openerp/http.py", line 320, in _call_function
    return self.endpoint(*args, **kwargs)
  File "/odoo/odoo-server/openerp/http.py", line 812, in __call__
    return self.method(*args, **kw)
  File "/odoo/odoo-server/openerp/http.py", line 412, in response_wrap
    response = f(*args, **kw)
  File "/odoo/odoo-server/addons/web/controllers/main.py", line 703, in create
    params['create_admin_pwd'])
  File "/odoo/odoo-server/openerp/http.py", line 888, in proxy_method
    result = dispatch_rpc(self.service_name, method, args)
  File "/odoo/odoo-server/openerp/http.py", line 115, in dispatch_rpc
    result = dispatch(method, params)
  File "/odoo/odoo-server/openerp/service/db.py", line 65, in dispatch
    security.check_super(passwd)
  File "/odoo/odoo-server/openerp/service/security.py", line 32, in check_super
    raise openerp.exceptions.AccessDenied()
AccessDenied: Access denied.
頭像
捨棄
最佳答案

Check if the Postgresql user you are trying to connect through, has access to database creation,  in order to check login to the default Postgres database and select access rights of the user from pg_roles, if it does not have proper access rights try to assign it.i.e; 

ALTER ROLE  "your role name" WITH createdb;

Then try to create a database from Odoo interface.


頭像
捨棄
最佳答案

Dear ..

Try to add permission to Odoo folder

sudo chmod 777 -R /odoo

.... /odoo         refer to odoo directory path
restart the odoo service and check again.

I hope I helped you...

頭像
捨棄

That is for sure not recommendable from a security point of view.

Yes, can change to 755 only owner can write

相關帖文 回覆 瀏覽次數 活動
2
6月 18
2439
6
6月 16
5985
0
2月 16
2861
0
11月 15
3193
1
9月 15
3857