Archive Cleanup
Last updated
Was this helpful?
Over time, Chamilo accumulates temporary files in its cache and archive directories. Regular cleanup prevents disk space issues.
Symfony cache — Compiled templates, cached configuration, and routing data
Temporary files — Files generated during export, import, and other operations
Session data — Expired PHP session files
Log files — Old log files that are no longer needed
Navigate to Archive cleanup in the administration panel. Click the cleanup button to remove temporary files.
For more control, use Symfony console commands:
# Clear the Symfony cache
php bin/console cache:clear
# Clear only the production cache
php bin/console cache:clear --env=prodSchedule regular cleanups — Set up a weekly or monthly cron job to clear temporary files
Monitor disk usage — Keep an eye on the var/ directory size, as it grows with cache and log files
Be careful with logs — Before deleting log files, check if they contain information you might need for troubleshooting
Last updated
Was this helpful?
Was this helpful?