-
Notifications
You must be signed in to change notification settings - Fork 445
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
No space to upgrade #5907
Comments
+1 on this. My disk also quickly ran out of space with 8 GB of state per version. Tribler has become too fat to run normally for me and I need to manually remove databases to run it 😞. |
I see only one reason to keep the old state directory: in case of migration failure, we can rollback to the previous version manually. If this is true, then we need only one old state directory (backup) and during a really short period of time. |
Well, it is time to design a dialog window that will show the user an option to clean up the previous config dirs... |
Do we really need such a dialog? Probably we can delete all previous directories except the previous one on startup. |
Sounds safe enough... |
Same problem here. I dont see the need to preserve multiple state directories, so no need to bother the user with this. Always keep only 1 "emergency" backup. |
I would also like to suggest to not upgrade if there's no space available to upgrade. |
At the moment, I've got multiple folders of presumably failed upgrade attempts that are prefixed with "unused..." |
What happens to the folders if you downgrade? |
Nothing. They remain in place. The policy is to possibly generate more folders and excess backups data, but never to delete stuff silently. |
Fixed by #7496 |
What is the best course of action if there is not enough storage to copy the previous version state directory and continue with the upgrade? (Reported in error reporter)
With monthly releases scheduled, this could be an issue for many. We should start removing old state directories.
The text was updated successfully, but these errors were encountered: