-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
castero crashed and cleared database file #178
Comments
I'm sorry that happened. My hypothesis for what happened is:
I'm not sure what caused the corruption in the first place, but I can try to think of a better way to handle backups. Also, although this is obviously unacceptable, you can enable the "restrict_memory_usage" setting which would make this class of problem impossible, since it does fs operations after every action rather than on close. |
I will definitely enable that setting, thanks. I've also set up a cron job to make regular git backups of the database files in case something similar happens again. thanks. |
I can say that I've experienced this issue when I my disk gets is full and I close castero. |
I'd like to add that from my experience, this happens to me when I restart my computer ONLY. If I add a feed and exit the app then open the app again, the feeds are still there. The same thing happens if I close the terminal and open it back up and run castero, the feeds are still there. However, with a reboot, the feeds never survive. I run Fedora 38, by the way, using KDE/Wayland |
I left castero running overnight and it crashed at some point. There were no error messages, and I needed to use
reset
to get a working terminal again. Relaunching castero showed no podcasts, and~/.local/share/castero/castero.db
as well ascastero.db.old
contained only the following:The text was updated successfully, but these errors were encountered: