Skip to content

Nothing saving (Heroku) #3758

Answered by bpmct
Po-rygon asked this question in Q&A
Jul 9, 2021 · 2 comments · 3 replies
Discussion options

You must be logged in to vote

Hey @BinaryEgypt.

With Heroku and many other app platforms, there is no concept of a persistent filesystem. This means anything that is not defined in the image (e.g Dockerfile and files copied from the github repo) will be lost. In Heroku's case, the app shuts down when inactive, so every 3 hours or so totally makes sense.

This is documented in "persist your filesystem with rclone": https://github.com/cdr/deploy-code-server/tree/main/deploy-container#-persist-your-filesystem-with-rclone. With rclone, you will need to "push" your changes to the remote (google drive, s3, etc) using the command or button in VS Code.

Ideally, your source code itself is saved (and pushed to) the GitHub reposi…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@Po-rygon
Comment options

@jsjoeio
Comment options

Comment options

You must be logged in to vote
1 reply
@Po-rygon
Comment options

Answer selected by jsjoeio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #3755 on July 09, 2021 18:15.