Community mailing list archives


Re: About Attachment File Location (again)

gunnar wagner
- 03/02/2015 20:10:54

On 1/31/2015 8:12 PM, Antony Lesuisse wrote:
<blockquote cite="" type="cite">
Under Linux or any other freedesktop compliant distribution the data is 
$HOME/.local/Odoo and can be override with --data-dir=

probably --data-dir=   would be used to change the filestore location if you start your odoo server by using `python` command.

    python --data-dir=/path/to/filestore


Two questions

... how can you change location of filestore if you start odoo with a startup script like `sudo su - odoo /opt/odoo/odoo-server/openerp-server --config=/etc/odoo-server.conf`? Would adding a line `data-dir=/path/to/filestore` in you /etc/odoo.conf do that?
What happens with the existing files in $HOME/.local/Odoo/filestore once you change the data-dir? How can you move them over to the new location?

(ok that where 4 questions ...)


Gunnar Wagner | Iris Germanica Ltd. | JinQian Gong Lu 385, 8-201 | FengXian Qu, 201404 Shanghai | P.R. CHINA
+86 159 0094 1702 | +49 (0)176 7808 9090 | skype: professorgunrad |