I've installed enterprise version of odoo15 in Linux VPS Server . I just want to know where does the attachments are stored in the server(directory), Can anyone assist me with this?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
By default, attachments are stored outside the database, as binary files on the server.
The default location for databases hosted on a server are defined in the server configuration file.
From https://www.odoo.com/documentation/15.0/developer/misc/other/cmdline.html#cmdoption-odoo-bin-D
-D,--data-dir
directory path where to store Odoo data (eg. filestore, sessions). If not specified, Odoo will fallback to a predefined path. On Unix systems its one defined in $XDG_DATA_HOME environmental variable or ~/.local/share/Odoo or /var/lib/Odoo.
A database specific location can be set via the System Parameter ir_attachment.location as discussed at https://www.odoo.com/forum/help-1/where-are-document-attachments-stored-529 although the default location for attachments has been the database since version 8 (they were stored in the database prior to that).
If you do not provide a location in the configuration file or the database, Odoo will default to:
.local/share/Odoo/filestore
this folder is created in the home folder of the User who is starting the Odoo process.
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
2
Aug 24
|
6741 | ||
|
0
Dec 23
|
284 | ||
|
0
Apr 23
|
836 | ||
|
1
Feb 23
|
957 | ||
|
0
Feb 23
|
157 |
This depends on your installation method.
I've followed the yethene script on github and installed it outside root directory in a seperate folder.