Skip to Content
Menu
This question has been flagged
1748 Views
After a fresh instalation of Odoo. I cannot create database. The dbuser in my odoo-server.conf file has right to createdb, what could be wrong.
Traceback (most recent call last): File "/opt/odoo/openerp/http.py", line 546, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/opt/odoo/openerp/http.py", line 583, in dispatch result = self._call_function(**self.params) File "/opt/odoo/openerp/http.py", line 320, in _call_function return self.endpoint(*args, **kwargs) File "/opt/odoo/openerp/http.py", line 812, in __call__ return self.method(*args, **kw) File "/opt/odoo/openerp/http.py", line 412, in response_wrap response = f(*args, **kw) File "/opt/odoo/addons/web/controllers/main.py", line 703, in create params['create_admin_pwd']) File "/opt/odoo/openerp/http.py", line 888, in proxy_method result = dispatch_rpc(self.service_name, method, args) File "/opt/odoo/openerp/http.py", line 115, in dispatch_rpc result = dispatch(method, params) File "/opt/odoo/openerp/service/db.py", line 65, in dispatch security.check_super(passwd) File "/opt/odoo/openerp/service/security.py", line 32, in check_super raise openerp.exceptions.AccessDenied() AccessDenied: Access denied.
Avatar
Discard

Hello

donsegz

First of all check your version 8 code is latest one or not if not then clone latest code from the Git or Pull the latest code.

Please checked in your system weather PostgreSQL installed or not properly.

Restart the PostgreSQL server like this:- sudo service postgresql restart.

OR

I think you should re-installed the PostgreSQL in your system and try one more time.