Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
6836 Vistas

Hi,

..... /trunk/nightly/deb/

It fail to work under ubuntu 13.10 .. , all the package install fine but it fail to run ..

I use the same procedure to install under ubuntu for the 7.0 deb repository but the trunk for openERP8 fail and appear to be permission problem ... what is different between repository that the same procedure work with one but fail with the other ,,,

I know OpenERP 8 is still no final release but it minimum suppose to work at this time ..

Traceback (most recent call last): File "/usr/bin/openerp-server", line 2, in <module> import openerp File "/usr/lib/pymodules/python2.7/openerp/__init__.py", line 72, in <module> import http File "/usr/lib/pymodules/python2.7/openerp/http.py", line 1299, in <module> root = Root() File "/usr/lib/pymodules/python2.7/openerp/http.py", line 1081, in __init__ path = openerp.tools.config.session_dir File "/usr/lib/pymodules/python2.7/openerp/tools/config.py", line 652, in session_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: '/.local'

sincerely Angel Rodriguez

Avatar
Descartar
Mejor respuesta

Hi, It looks like the openerp user have't read or write permission,have you add some extra modules (as in a module not supplied in the .deb) on the addons document?you must put them in a directory (eg /opt/openerp/addons) that the openerp user and/or group has permission to read and write to and update the addon_path in the config file.

Avatar
Descartar

Try this: deluser openerp ; adduser --system --quiet --shell=/bin/bash --home=/opt/openerp --gecos 'OpenERP' --group openerp

Autor Mejor respuesta

Thanks ..

that fix the problem with the deb install by trunk repository ...

deluser openerp ; adduser --system --quiet --shell=/bin/bash --home=/opt/openerp --gecos 'OpenERP' --group openerp

sincerely Angel Rodriguez

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
mar 23
3099
0
mar 15
5262
1
mar 15
5767
2
mar 24
2360
0
feb 22
3696