Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
4 Trả lời
15217 Lượt xem

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.
Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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.


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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...

Ảnh đại diện
Huỷ bỏ

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

Yes, can change to 755 only owner can write

Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 6 18
2746
6
thg 6 16
6322
0
thg 2 16
3277
0
thg 11 15
3481
1
thg 9 15
4180