openstax / openstax-cms

The OpenStax CMS, built using Wagtail on top of Django.
https://openstax.org
GNU Affero General Public License v3.0
99 stars 15 forks source link

assets uploaded in CMS can't be downloaded #1328

Closed nathanstitt closed 2 years ago

nathanstitt commented 2 years ago

After uploading either a document or image to the CMS, they fail to download.

S3 reports access denied: image.png

RoyEJohnson commented 2 years ago

@nathanstitt I don't see that there's an SVG of this. There's a webp (created by uploading a PNG) https://assets.openstax.org/oscms-prodcms/media/images/kinetic-full-black-logo.original.webp

nathanstitt commented 2 years ago

sorry, I deleted the file and re-uploaded it again to help @Dantemss test. it was happening with any newly uploaded file though. You can test by uploading and seeing if you get a preview of the file after uploading. I know @Dantemss made a PR to fix this so maybe it's been deployed

RoyEJohnson commented 2 years ago

@nathanstitt Michael just deployed a hotfix that looks like it's probably for this issue. https://openstax.slack.com/archives/C69BU01RC/p1659043204644869