You are looking at documentation for an older release. Not what you want? See the current release documentation.
With eXo Platform 4.4 version, a new file storage subsystem has been introduced besides JCR. It's currently used for wiki attachments and user and space profile pictures. Read more in File Storage. A property allows to indicate which file storage method should be used:
exo.files.binaries.storage.type=fs
Setting exo.files.binaries.storage.type
to rdbms means that files will be stored as BLOBs in the database.
Setting exo.files.binaries.storage.type
to fs means that files will be stored on the server file system.
Other properties related to file storage can be configured in exo.properties file:
exo.commons.FileStorageCleanJob.expression=0 0 11 ? * SUN
: defines the scheduling (a cron expression) of the job responsible to clean unused files.
exo.commons.FileStorageCleanJob.retention-time=30
: defines how long unused files should be retained before deletion. It is set to 30 days by default.
exo.commons.FileStorageCleanJob.enabled=true
: enables/disables the cron job. By default, the job is enabled i.e set to true.
In case you set exo.files.binaries.storage.type
to fs,
you can parameter the files storage location with this parameter: exo.files.storage.dir
.
Its default value is set to ${exo.data.dir}/files
The directory exo.files.storage.dir
should be shared in cluster mode.