Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
1882 มุมมอง

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


อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

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

Thanks

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
Installation odoo 14 แก้ไขแล้ว
1
ส.ค. 21
10056
0
ส.ค. 21
4585
1
ก.พ. 21
4178
1
ธ.ค. 20
4833
0
พ.ย. 20
2