Skip to content

Heroku Images Get Deleted #1

Description

@brandy

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)

  1. Upload custom avatar
  2. Deploy site
  3. See broken images

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions