Hundreds of 0 byte advagg_in and advagg_out files in default/files

Created on 11 July 2023, 12 months ago

Problem/Motivation

Temporary files are not being removed properly.

Steps to reproduce

Run Advagg.

Proposed resolution

It appears that the _destruct() method of advagg_ext_minify\Asset\Minifier is not being called.

I'm having the same issues as Ivbeck in Advagg generate lot of empty files in root of public file directory β†’ At that time it was stated to be resolved, perhaps this is a regression?

Drupal: 9.5.10
PHP: 8.1.13
Advagg: 5.0.0
External Minification module is enabled, but is not turned on for CSS nor JS minification in its admin panel.

Using Yui compression for CSS (I expect this is why the External Minification is being called at all.)

All of the files are owned by www_data so Drupal should have no problem cleaning them up (It certainly has no problem writing them.)

I also wonder if this is linked to the issue reported in Cache files not being cleared on cron run β†’ as I certainly have hundreds of files in the css directory as well.

πŸ› Bug report
Status

Active

Version

5.0

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada jodavidson

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024