This question has been flagged
2 Replies
2682 Views

i have install well my odoo in my computer now if i tried to open session aand create data base i have this error plse help me .

Traceback (most recent call last): File "/opt/openerp/odoo/openerp/http.py", line 476, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/opt/openerp/odoo/openerp/http.py", line 495, in dispatch result = self._call_function(**self.params) File "/opt/openerp/odoo/openerp/http.py", line 312, in _call_function return self.endpoint(*args, **kwargs) File "/opt/openerp/odoo/openerp/http.py", line 685, in __call__ return self.method(*args, **kw) File "/opt/openerp/odoo/openerp/http.py", line 360, in response_wrap response = f(*args, **kw) File "/opt/openerp/odoo/addons/web/controllers/main.py", line 757, in create params['create_admin_pwd']) File "/opt/openerp/odoo/openerp/http.py", line 759, in proxy_method result = dispatch_rpc(self.service_name, method, args) File "/opt/openerp/odoo/openerp/http.py", line 93, in dispatch_rpc result = dispatch(method, params) File "/opt/openerp/odoo/openerp/service/db.py", line 70, in dispatch return fn(*params) File "/opt/openerp/odoo/openerp/service/db.py", line 87, in exp_create_database _create_empty_database(db_name) File "/opt/openerp/odoo/openerp/service/db.py", line 82, in _create_empty_database cr.execute("""CREATE DATABASE "%s" ENCODING 'unicode' TEMPLATE "%s" """ % (name, chosen_template)) File "/opt/openerp/odoo/openerp/sql_db.py", line 155, in wrapper return f(self, *args, **kwargs) File "/opt/openerp/odoo/openerp/sql_db.py", line 230, in execute res = self._obj.execute(query, params) ProgrammingError: permission denied to create database

Avatar
Discard

Please explain us how did you installed your odoo. Maybe you have misconfiguration on your config file. Or maybe you don't have that user on postgresql.

Author Best Answer

I install all the restepectant http://getopenerp.com/install-Odoo-v8-ubuntu-github/ directions while correcting small errors in the files

Avatar
Discard
Best Answer

Hi Olivier.
Your error is about database creation. Openerp does not create the database. Surely you've made ​​a mistake when installing Odoo.
Please follow a good tutorial to install odoo. Those links below can help you :

Best regards.

Avatar
Discard
Author

i have use http://getopenerp.com/install-Odoo-v8-ubuntu-github/