Community mailing list archives

community@mail.odoo.com

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

by
Naresh Soni
- 08/16/2015 06:31:13

Hi Erwin,

Give your odoo user the permission on /opt/odoo folder.

Thanks

On 16-Aug-2015 3:58 PM, "Erwin Tanjung" <erwin.tandjung@gmail.com> wrote:
Hi Jean,

Thanks for the respon, This is owner of all dir /opt/odoo and there is nothing .local folder in there.

Inline image 1

On Sun, Aug 16, 2015 at 5:08 PM, Jean Yves Randrianiaina <jeanyves.randria@gmail.com> wrote:

Hi,
Please verify the permission of .local folder in /opt/odoo/

Regards,

On Aug 16, 2015 12:43 PM, "Erwin Tanjung" <erwin.tandjung@gmail.com> wrote:
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




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