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.
I counted them , all 9511 numbers. HO~~~ They are alive, I can't find the way to finish them, will somebody tell me how to clean this plz?
btw:
In the operations page (/advagg/operations), I've all readly clicked CLEAR ALL CACHES and all other buttons , kill js files wrongly , /sites/default/files/advagg_js/ ***js files only cleaned.
HelllllllllllllllllllllllP P P P
2015-11-27 14:35:34
Solution:#12
Comment | File | Size | Author |
---|---|---|---|
#16 | advagg-2617138-15-fix-drush.patch | 6.27 KB | mikeytown2 |
#9 | advagg-2617138-9-temp-file-cleanup.patch | 6.2 KB | mikeytown2 |
#8 | advagg-2617138-7-report-rename-failures.patch | 3.71 KB | mikeytown2 |
1.jpg | 1010.46 KB | Cedar |
Comments
Comment #2
mikeytown2 CreditAttribution: mikeytown2 commentedWhat's the full path and filename to one of the js files? Don't forget to breathe.
Comment #3
mikeytown2 CreditAttribution: mikeytown2 commentedAh I see the attached image.
Files are created by drupal_tempnam() inside the advagg_save_data() function. Long story short you have a file permissions issue. AdvAgg can create the temp files but for some reason it can not rename/move them to the final location.
Comment #4
Cedar CreditAttribution: Cedar commentedThx @mikeytown2
/sites/default/files/file_advagg_W9xnpP.js
Breathing better now.
Comment #5
mikeytown2 CreditAttribution: mikeytown2 commentedI'll add in some checks so that these temp files get removed if a failure happens and log it as well. Also advagg_update_7204 has some code that is close to what you're looking for in terms of a bulk removal of these.
Comment #6
Cedar CreditAttribution: Cedar commentedWow, great man , great module , I will keep following this .
Comment #8
mikeytown2 CreditAttribution: mikeytown2 commentedFirst step is to have watchdog report rename errors. This patch has been committed.
Next step is to clean up the files that where left behind in you case.
Comment #9
mikeytown2 CreditAttribution: mikeytown2 commentedFollowing patch has been committed. Still need to work on drush support and fix plural wording. With the latest dev cron will clean it up (runs once every 24 hours) and there is a button on the operations page to do so under cron.
Comment #11
Cedar CreditAttribution: Cedar commentedGet it. Thanks very much.
Comment #12
Cedar CreditAttribution: Cedar commentedIt works.
Upgrade(or replace) the AdvAgg Version to 7.x-2.x-dev ,
Go to /admin/config/development/performance/advagg/operations ,
Chose " DELETE LEFTOVER TEMPORARY FILES ",
Done.
Comment #13
Cedar CreditAttribution: Cedar commentedComment #14
Cedar CreditAttribution: Cedar commentedComment #16
mikeytown2 CreditAttribution: mikeytown2 commentedFixed drush output with this commit
Comment #18
mikeytown2 CreditAttribution: mikeytown2 commentedThis commit uses format_plural
http://cgit.drupalcode.org/advagg/commit/?id=54fd850dac543c2f273d9abdb60...