Do sprites not have a persistent file system?

Every week or so my user’s home directory is getting wiped clean. Is that by design? I can’t seem to find documentation about this.

Do you mean in Sprites?

Perhaps you could show what commands you have run to get the home directory you’re referring to; if it turns out you’re using a regular Fly machine with no volume, then yes, home directories will reset to the base image on every restart. This is by design.

Yeah, sorry, in sprites. I think I used sprite create. I don’t see any options in the Sprites dashboard to attach volumes. Is that by design? It’s also not clear how to see/modify any of this from within my fly.io dashboard. Is that by design? Thanks!

Right. Sprites do in fact have a persistent file system, and you don’t need to attach a volume to achieve that. It is possible that Fly teething troubles may have affected your sprites, but without seeing the exact commands you ran, it is possible that you destroyed a sprite without intending to.

Maybe you could create a single sprite where you log in periodically to see that a file in /root/hello.txt is always there, and where you do nothing but sign in to either create or view that file.

Ohhh that’s horrible :confused:

Possibly, though I/you could not be certain that this bug applies to you.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.