Community mailing list archives

community@mail.odoo.com

Re: Got error after run ~$ /opt/odoo/openerp-server

by
Harsh Dhaduk
- 08/16/2015 06:26:42
Hi Erwin,

sudo mkdir /opt/odoo/.local 

And start odoo service 

Thanks 
Harsh Dhaduk 
(harsh.dhaduk) skype 


From:"Jay Vora (SerpentCS)" <vora.jay@serpentcs.com>
Date:Sun, Aug 16, 2015 at 3:23 PM
Subject:Re: Got error after run ~$ /opt/odoo/openerp-server

It says, under opt/odoo you don't hv access to allow creation of new file/directory.

Thanks,
Regards,
Jay Vora.
Serpent Consulting Services Pvt Ltd.
M : 091-9879354457


-------- Original Message --------
From:Erwin Tanjung <erwin.tandjung@gmail.com>
Sent:Sun, 16 Aug 2015 15:12:47 +0530
To:Community <community@mail.odoo.com>
Subject:Got error after run ~$ /opt/odoo/openerp-server

Dears,

Now i try to install Odoo in Ubuntu 14.04

When i running this command :

~$ sudo su - odoo -s /bin/bash
~$ /opt/odoo/openerp-server

I got this error.. how to fix error like this ?

Traceback (most recent call last):
  File "/opt/odoo/openerp-server", line 5, in <module>
    openerp.cli.main()
  File "/opt/odoo/openerp/cli/__init__.py", line 68, in main
    o.run(args)
  File "/opt/odoo/openerp/cli/server.py", line 180, in run
    main(args)
  File "/opt/odoo/openerp/cli/server.py", line 140, in main
    openerp.tools.config.parse_config(args)
  File "/opt/odoo/openerp/tools/config.py", line 360, in parse_config
    openerp.modules.module.initialize_sys_path()
  File "/opt/odoo/openerp/modules/module.py", line 96, in initialize_sys_path
    dd = tools.config.addons_data_dir
  File "/opt/odoo/openerp/tools/config.py", line 685, in addons_data_dir
    os.makedirs(d, 0700)
  File "/usr/lib/python2.7/os.py", line 150, in makedirs
    makedirs(head, mode)
  File "/usr/lib/python2.7/os.py", line 150, in makedirs
    makedirs(head, mode)
  File "/usr/lib/python2.7/os.py", line 150, in makedirs
    makedirs(head, mode)
  File "/usr/lib/python2.7/os.py", line 150, in makedirs
    makedirs(head, mode)
  File "/usr/lib/python2.7/os.py", line 157, in makedirs
    mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/opt/odoo/.local'

Thank you

Note : sorry my previous email left blank the subject so i make a new one.

--
Best Regards

Erwin Tanjung

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe