Image loss issue
-
@linan2332 do you use the Imgur upload?
-
Hmm, doesn't Heroku hibernate there packages if I'm correct? Maby it has something to do with this issue,
-
@linan2332 Heroku spins up and down dynos using what is called an "ephemeral file system". This means that the codebase is regenerated every time it is spun up, meaning the
public/uploads
directory, where you are uploading your assets, is being reset.You will need to upload your images to a CDN or some other hoster, and then paste those links in the config instead of uploading directly to your Heroku.
If you have the imgur plugin, post uploads will be ok as they are sent to Imgur.
-
@linan2332 after you install and activate imgur plugin, site logo and category image upload also uploads to imgur.
Copyright © 2024 NodeBB | Contributors