Skip to Content
Menu
This question has been flagged
2 Replies
14708 Views

Am getting this error everytime i try to start odoo. 

ENV:

odoo 10, ubuntu 18.04, user odoo 

OSError: [Errno 13] Permission denied: '/home/administrator/.local/share'

2018-08-22 12:30:34,314 11498 INFO ? werkzeug: 127.0.0.1 - - [22/Aug/2018 12:30:34] "GET /favicon.ico HTTP/1.1" 500 -

2018-08-22 12:30:34,322 11498 ERROR ? werkzeug: Error on request:

Traceback (most recent call last):

  File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 270, in run_wsgi

    execute(self.server.app)

  File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 258, in execute

    application_iter = app(environ, start_response)

  File "/home/odoo/odoo-dev/odoo/odoo/service/server.py", line 245, in app

    return self.app(e, s)

  File "/home/odoo/odoo-dev/odoo/odoo/service/wsgi_server.py", line 186, in application

Please help 
Avatar
Discard
Author Best Answer

Interesting enough when i switch to odoo user and then fire odoo. It works

Avatar
Discard

This is normal. Odoo in /etc/init.d/odoo should started as daemon with --chuid $USER:$USER

Author

but in my setup, odoo user has sudo access

>man sudo

read about home dir, especialy in Ubuntu

Best Answer

Look at this:

odoo 10, ubuntu 18.04, user odoo
OSError: [Errno 13] Permission denied: '/home/administrator/.local/share'

User odoo probably should work in the directory /home/odoo/...
Verify your installation (see USER=??? in /etc/init.d/odoo, and home dir for user odoo in linux - if exist, if no ... this is the bug)

PS. The best way is to install Odoo from linux package, see: http://nightly.odoo.com/

Avatar
Discard