Ask coding questions

← Back to all posts
repl fall asleep without saving data
Lolo6666 (0)

I have a problem. I make right now a larger project ( when my repl fall asleep data is deleted. can someone help me?

OldWizard209 (1618)

Your repl fall sasleep because you don't have enough storage. With your current plan, you can only have 500MB of storage. This repl alone is 211 MB and adding the total space taken by all your repls, you may have over 500MB used. If you want to have more storage, you will need to upgrade to Hacker Plan

Baconman321 (1103)

@OldWizard209 That's also a bug with the program writing to files, they delete the data if you don't view the file it wrote to :/

OldWizard209 (1618)

really? didnt know that. It gets really annoying sometimes. @Baconman321

Baconman321 (1103)

@OldWizard209 Yeah, replit DB has too low storage for me and I'm worried that my wiki pages won't work in there. I also have minimal access to the database contents (except for retrieval by key) meaning it is harder to see the contents than by simply viewing the file I use to store the info, so I use a .json file to store my wiki pages. The problem is editing doesn't really work well because everytime I or someone else edits the page I have to go to the repl and the specific file for it to save :(

I mean, I could use a browser emulator to watch the file and make sure it saves, but for now it's just annoying >:(

OldWizard209 (1618)

yeah, especially when you have to change computers and want the code in both places, you need replit but the files are not loaded. Every good thing has a bad thing so we can't really do much. @Baconman321