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
Currently not able to create an issue, but I have the following problem:
Using php artisan media-library:regenerate --only-missing correctly generates the thumbnails, but the generated_conversions field stays empty as []
Using php artisan media-library:regenerate --ids={specific-media-id} correctly generates the thumbnails and also fills the generated_conversions
I currently have an importation command that generates Media entries, but does not upload files themselves. I then generate the thumbnails using the regenerate command.
I could rework the importation to use --ids instead, but it gives me less control over the whole process. Is this considered a bug or is it intended?
After more investigation, it seems the --only-missing argument checks if the thumbnail files exists and pay no attention to the generated_conversions field.
I got this edge case because the path was invalid, then it never finished the job (although the thumbnails were created).
I created a repair-conversions command that looks at the disk vs. the generated_conversions column if anyone would be interested.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Laravel v11.42
laravel-medialibrary v11.12.4
Currently not able to create an issue, but I have the following problem:
php artisan media-library:regenerate --only-missing
correctly generates the thumbnails, but thegenerated_conversions
field stays empty as[]
php artisan media-library:regenerate --ids={specific-media-id}
correctly generates the thumbnails and also fills thegenerated_conversions
I currently have an importation command that generates Media entries, but does not upload files themselves. I then generate the thumbnails using the
regenerate
command.I could rework the importation to use
--ids
instead, but it gives me less control over the whole process. Is this considered a bug or is it intended?After more investigation, it seems the
--only-missing
argument checks if the thumbnail files exists and pay no attention to thegenerated_conversions
field.I got this edge case because the path was invalid, then it never finished the job (although the thumbnails were created).
I created a
repair-conversions
command that looks at the disk vs. thegenerated_conversions
column if anyone would be interested.Beta Was this translation helpful? Give feedback.
All reactions