You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched for this issue and found several that sounded similar, but all of them should have been fixed in the past, but despite having the newest version, I still see this issue and have no idea what I might be overlooking.
I'm using Media Library (with Pro) in version 11.10.1 (pro 6.1.0) and store all uploaded files in a separate local disk. Everything is apparently working fine. However, in my standard local disk (/storage/app/public) I find thousands of (mostly empty) folders named with a UUID such as a57898913f102140ad9cbee23d8bd5c9.
Apparently, for every upload, such a folder is created. Running artisan media-library:delete-old-temporary-uploads is not removing them. I cannot find corresponding entries in the media table in my database.
I'm not sure which setting might be helpful, so I quote a few here:
The text was updated successfully, but these errors were encountered:
fkerber
changed the title
A lot of empty folders is generated on local disk / public and not removed
A lot of empty folders are generated on local disk / public and not removed
Dec 5, 2024
I have searched for this issue and found several that sounded similar, but all of them should have been fixed in the past, but despite having the newest version, I still see this issue and have no idea what I might be overlooking.
I'm using Media Library (with Pro) in version 11.10.1 (pro 6.1.0) and store all uploaded files in a separate local disk. Everything is apparently working fine. However, in my standard local disk (/storage/app/public) I find thousands of (mostly empty) folders named with a UUID such as a57898913f102140ad9cbee23d8bd5c9.
Apparently, for every upload, such a folder is created. Running artisan media-library:delete-old-temporary-uploads is not removing them. I cannot find corresponding entries in the media table in my database.
I'm not sure which setting might be helpful, so I quote a few here:
'disk_name' => env('MEDIA_DISK', 'public'),
'media_model' => Media::class,
'temporary_upload_model' => Spatie\MediaLibraryPro\Models\TemporaryUpload::class,
'generate_thumbnails_for_temporary_uploads' => true,
'file_namer' => Spatie\MediaLibrary\Support\FileNamer\DefaultFileNamer::class,
'path_generator' => Spatie\MediaLibrary\Support\PathGenerator\DefaultPathGenerator::class,
'moves_media_on_update' => false,
'temporary_directory_path' => null,
Please let me know if you need any further info.
The text was updated successfully, but these errors were encountered: