0

I have OpenERP 7 and I am trying to get the attachments to be saved on the local file system

Configurations on OpenERP are done and are working, but it would only save the files to the installation path /opt/openerp/server/openerp/filestore. I only have 1.4 GB of storage left on the drive and it is not enough

I am trying to save them to /home2/filestore A symslink did work, but after few files it doesn't save them to the destination path. Does symlink break after time?

1 Answers1

0

In short, no symbolic links does not break after time. Hard to answer the question with the details specified. But from what I can gather, /opt and /home2 is different mount points? And you have hard-link as a tag.

Hard symbolic links does not work between different mount points, and hard links cannot link directories. See info coreutils ln for more information.

But back to your problem, just configure ir_attachment.location to point to /home2/filestore via Settings > Technical > Parameters > System Parameters. Read more in this stackoverflow answer: How to store attachments to local filesystem on 7.0? | Stack Overflow

mgor
  • 1,231