跳至内容
菜单
此问题已终结
2 回复
1201 查看

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

形象
丢弃
相关帖文 回复 查看 活动
1
8月 21
9282
0
8月 21
3803
1
2月 21
3615
1
12月 20
4337
0
11月 20
2