Community mailing list archives

community@mail.odoo.com

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

by
erwin.tandjung
- 08/16/2015 07:04:41
Lingga,

Thank you, if there is nothing problem for that respon, i will move  try some modification and start it

<span name="lingga.vv@gmail.com" class="gD" style="font-size:12.8000001907349px">lingga.vv@gmail.com via mail.odoo.com 

5:55 PM (5 minutes ago)
to Community
Hi Tanjung, 
Just make sure that you run the command as user Odoo, 
Try sudo su odoo -s bin/bash 
And run ./odoo.py

LINGGA
X-Vision
Jl. Jamin Ginting No. 898
Padang Bulan - Medan
Indonesia


Sent from my BlackBerry 10 smartphone.

On Sun, Aug 16, 2015 at 5:59 PM, Waspada Sinulingga <lingga.vv@gmail.com> wrote:
Tanjung,

You might use your ubuntu server IP address instead of localhost

Lingga

On Sun, Aug 16, 2015 at 5:50 PM, Waspada Sinulingga <lingga.vv@gmail.com> wrote:
Tanjung..

Good...

Just point your browser to http://localhost:8069
And try to create a Database with demo data,
:)

LINGGA

On Sun, Aug 16, 2015 at 5:34 PM, Erwin Tanjung <erwin.tandjung@gmail.com> wrote:
After i change owner, using this command :

$ sudo chown -R odoo:odoo /opt/odoo
$ cd /opt
$ sudo chown odoo:odoo odoo

and run the command :

~$ /opt/odoo/openerp-server

i got this respon, it is ok ?

2015-08-16 10:22:59,474 13993 INFO ? openerp: OpenERP version 8.0
2015-08-16 10:22:59,475 13993 INFO ? openerp: addons paths: ['/opt/odoo/.local/share/Odoo/addons/8.0', u'/opt/odoo/openerp/addons', u'/opt/odoo/addons']
2015-08-16 10:22:59,475 13993 INFO ? openerp: database hostname: localhost
2015-08-16 10:22:59,475 13993 INFO ? openerp: database port: 5432
2015-08-16 10:22:59,475 13993 INFO ? openerp: database user: odoo
2015-08-16 10:22:59,880 13993 INFO ? openerp.service.server: HTTP service (werkzeug) running on 0.0.0.0:8069



On Sun, Aug 16, 2015 at 5:13 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



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