Context
The Heroku filesystem is ephemeral - that means that any changes to the filesystem whilst the dyno is running only last until that dyno is shut down or restarted. Each dyno boots with a clean copy of the filesystem from the most recent deploy. This is similar to how many container based systems, such as Docker, operate.
Expected Behavior
Images (User Avatars / Profile Pictures) need to stay
Current Behavior
Whenever a deployment server shutdown happens, files on the server get reset
Possible Solution(s)
Move to S3 and update active storage
Environment
N/A
Steps to Reproduce (for bugs)
- Upload custom avatar
- Deploy site
- See broken images
Context
The Heroku filesystem is ephemeral - that means that any changes to the filesystem whilst the dyno is running only last until that dyno is shut down or restarted. Each dyno boots with a clean copy of the filesystem from the most recent deploy. This is similar to how many container based systems, such as Docker, operate.
Expected Behavior
Images (User Avatars / Profile Pictures) need to stay
Current Behavior
Whenever a deployment server shutdown happens, files on the server get reset
Possible Solution(s)
Move to S3 and update active storage
Environment
N/A
Steps to Reproduce (for bugs)