Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
6951 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ

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

Tác giả Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 3 23
3235
0
thg 3 15
5384
1
thg 3 15
5888
Installing Odoo14 Đã xử lý
2
thg 3 24
2501
0
thg 2 22
3918