filestore/tmp cleanup

95 views
Skip to first unread message

Giuseppe Giacomini

unread,
Sep 19, 2017, 4:10:37 AM9/19/17
to resour...@googlegroups.com
Hi,
i have a simple question:
Can I cleanup the content of directory filestore/tmp manually?  
(i.e. rm -rf filestore/tmp/*)

Thank you

--
Giacomini Giuseppe
Università Ca' Foscari Venezia


Allison Stec

unread,
Sep 19, 2017, 8:20:33 AM9/19/17
to resour...@googlegroups.com, Giuseppe Giacomini
In general, using the tools scripts ‘database_prune.php’ and ‘prune_filestore.php’ is the preferred way of maintaining the filestore.

For handling the tmp folder, use the config option below. Although it’s not clearly mentioned, I believe the age is in days.

# Option for the system to empty the configured temp folder of old files when it is creating new temporary files there.
# Set to 0 (off) by default.
# Please use with care e.g. make sure your IIS/Apache service account doesn't have write access to the whole server
$purge_temp_folder_age=0;

Allison Stec


--
ResourceSpace: Open Source Digital Asset Management
http://www.resourcespace.com
---
You received this message because you are subscribed to the Google Groups "ResourceSpace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to resourcespac...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages