Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello,
I realized that advagg has created thousands of thousands of js files (~700,000! files) that start with file_advagg in my files directory. I was wondering if anyone else had the same problem and also if I could safely remove those files without breaking my website. Also I appreciate if someone could give me an idea on how to prevent this in the future.
Comment | File | Size | Author |
---|---|---|---|
#8 | advagg-2645582-8-test-file-writes-status-report.patch | 2.21 KB | mikeytown2 |
#6 | advagg-2645582-6-return-errors-on-file-write.patch | 14.44 KB | mikeytown2 |
Comments
Comment #2
amins CreditAttribution: amins commentedComment #3
mikeytown2 CreditAttribution: mikeytown2 commentedYou can safely remove them; advagg will do so on cron; you can also force it by going to admin/config/development/performance/advagg/operations and under Cron Maintenance Tasks click the Delete leftover temporary files button. Are there any advagg messages in watchdog/dblog? What operating system are you using? Function in question is advagg_save_data().
Comment #4
amins CreditAttribution: amins commentedThank you Mikey, I am using ubuntu. I don't see any advagg messages. I just deleted those files manually.
Comment #5
mikeytown2 CreditAttribution: mikeytown2 commentedI need to test this out on the status report - give the admin actionable things to do
Comment #6
mikeytown2 CreditAttribution: mikeytown2 commentedFirst step is to be able to get any errors that happened while the file write happened. This patch allows for this; it's been committed.
Comment #8
mikeytown2 CreditAttribution: mikeytown2 commentedMarking this as fixed; status report should let admin know if this is going on.