Community mailing list archives

community@mail.odoo.com

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

by
erwin.tandjung
- 08/16/2015 06:02:16
Thank Jay for the reply,

Directory /opt/odoo owned by root, and of course all the fle in the directory owned by root, it is ok ?

the only user (except postgres) is odoo, so i need to change owner /opt/odoo to odoo and all the file inside ?



Erwin Tanjung <erwin.tandjung@gmail.com>

4:57 PM (1 minute ago)
to Odoo
Hi Ruben,

Thank for the reply,

There is no command for  la -la  in Ubuntu 14.04

Directory /opt/odoo owned by root, and of course all the fle in the directory owned by root, it is ok ?

Rubén Cabrera rcabrera@bisnesmart.com via mail.odoo.com 

4:48 PM (9 minutes ago)
to Community

This is a permissions issue. Try 
$ la -la
And check if odoo is the owner or belongs to the group that owns it


On Sun, Aug 16, 2015 at 4:53 PM, Jay Vora (SerpentCS) <vora.jay@serpentcs.com> wrote:
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




--
Best Regards

Erwin Tanjung