BanchanArt / banchan

The Co-Operative Commissions Platform
https://banchan.art
Other
163 stars 31 forks source link

Portfolio Images Not Saving #484

Closed skullbunnygalaxy closed 1 year ago

skullbunnygalaxy commented 1 year ago

I tried to add new images to an existing portfolio.

Screenshot 2023-07-13 at 6 49 34 PM

However, after hitting save, the image reloaded as just the X:

Screenshot 2023-07-13 at 6 49 47 PM

I did not see any error messages on the site itself. I did see the following errors in the Developer Tools after trying to add another image:

Screenshot 2023-07-13 at 6 49 05 PM

Removing and trying to re-add the image results in the same issue.

zkat commented 1 year ago

Check in after a minute or so. This might be the thumbnailer job being slow.

skullbunnygalaxy commented 1 year ago

10+ minutes later, of the two pieces I added to the portfolio, one of the loaded, and the other is still just an X.

zkat commented 1 year ago

I can't repro this

skullbunnygalaxy commented 1 year ago

I'll test this again after clearing cache and all that.

skullbunnygalaxy commented 1 year ago

Confirmed this is not a cache issue.

Replicated in Firefox Dev and Chrome Dev Browsers. The file is a jpg and only 917 kb.

Attaching file for replication.

Image

skullbunnygalaxy commented 1 year ago

After troubleshooting with Kat, we figured out that this is an issue with the dev server running out of memory when ImageMagick is trying to process thumbnails of the image in question.

I was able to test and confirm this is not an issue on our prod server. I will add some useful notes to our wiki based on info that became relevant to troubleshooting this.