-
Notifications
You must be signed in to change notification settings - Fork 45
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 are showing broken in media viewer #1050
Comments
Instant thumbnail lambda has been broken since Aug 21 (4.0 release) when the lambdas were last deployed. Looks like incorrect node version was used when it was built during 4.0 release. Builds fine on macs with correct node version. Redeployed the lambdas to staging, prerelease and prod just now and it is working fine now. We will need to come up with some solution to create thumbnails for the images uploaded between Aug 21 and today. A list of these file names has been generated. |
@1t5j0y have created a card for the above: avniproject/avni-media#161 |
Describe the bug
Thumbnails are showing broken in media viewer
Login to AchalaB@rwbnitiuat
click on media viewer
you can see the broken tumbnel
To Reproduce
Steps to reproduce the behavior:
2.click on media viewer
3.you can see the broken thumbnail
Expected behavior
Thumbnail should show up
Cloudwatch logs:
Something went wrong installing the \"sharp\" module\n\nCannot find module
But the lambda zip in avni-lambdas s3 bucket has sharp node module.
Analysis details
In rwbnitiuat folder inside prod-user-media, on Sep 29, 4 media are available, but inside prod-user-media/rwbnitiuat/thumbnails - there are no images generate on Sep 29 though lambda trigger of S3CreateEvent is available on prod-user-media.
The text was updated successfully, but these errors were encountered: