Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
2649 Widoki

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


Awatar
Odrzuć
Autor Najlepsza odpowiedź

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

Awatar
Odrzuć
Najlepsza odpowiedź

Hi,

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

Thanks

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
sie 21
10759
0
sie 21
5423
1
lut 21
4738
1
gru 20
5384
0
lis 20
2