Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thumbnails not being generated when using non-s3 storage and delete master file management strategy #4931

Closed
cjcolvar opened this issue Oct 25, 2022 · 0 comments
Assignees

Comments

@cjcolvar
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants