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

Hello people, im starting up a server that i killed with "kill pid" and when i try to start it again, i get the error ir_attachment.py no such file or directory '/root/.local/share/Odoo/filestore/mtek01/....' and that because all files are in '/odoo/.local/....', im trying to start the server as root user

i have tried to change the odoorc file as postgres user to the correct path, but it dosnt seem to work


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

Hey Niyas
this is path in ~/.odoorc (as postgres user):
data_dir = /var/lib/odoo/.local/share/Odoo

and if i do it as root user in dir /etc/odoo/odoo.conf 
it has the same thing:
data_dir = /var/lib/odoo/.local/share/Odoo

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

Hi,

You can specify the filestore path in the configuration file using the key data_dir

Thanks

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 8 21
10060
0
thg 8 21
4586
1
thg 2 21
4178
1
thg 12 20
4834
0
thg 11 20
2