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
Douglas Hahn from Texas A&M came across this odd behavior in a test Avalon 7.2.1 instance that is running in a docker environment. The avalon and worker containers share mounted volumes and the master file management strategy was set to 'delete'. Douglas and I did some debugging and found that after a file has been processed the delete strategy sets the file_location to empty string. When a user later attempts to change the thumbnail image it reports success on the Manage Files step but doesn't actually change the image.
The first issue we found is that the ExtractStillJob is getting the Rails root as the source location due to a test for nil? instead of blank? on the master file's file_location. It should be falling back to the 'high' derivative or an HLS stream.
After fixing this test, we found that the 'high'derivative was being used as the source file (since it was accessible via the mounted volume). The thumbnail generation still failed but it also deleted the derivative!
Expected behavior is thumbnails should be able to be regenerated after initial ingest no matter what master file management strategy is used and derivatives should definitely NOT be deleted as part of the process.
The text was updated successfully, but these errors were encountered:
Douglas Hahn from Texas A&M came across this odd behavior in a test Avalon 7.2.1 instance that is running in a docker environment. The avalon and worker containers share mounted volumes and the master file management strategy was set to 'delete'. Douglas and I did some debugging and found that after a file has been processed the delete strategy sets the
file_location
to empty string. When a user later attempts to change the thumbnail image it reports success on the Manage Files step but doesn't actually change the image.The first issue we found is that the
ExtractStillJob
is getting the Rails root as the source location due to a test fornil?
instead ofblank?
on the master file'sfile_location
. It should be falling back to the'high'
derivative or an HLS stream.After fixing this test, we found that the
'high'
derivative was being used as the source file (since it was accessible via the mounted volume). The thumbnail generation still failed but it also deleted the derivative!Expected behavior is thumbnails should be able to be regenerated after initial ingest no matter what master file management strategy is used and derivatives should definitely NOT be deleted as part of the process.
The text was updated successfully, but these errors were encountered: