Skip to content
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

Lost user data after updating #75

Open
tauraloke opened this issue Oct 13, 2022 · 0 comments
Open

Lost user data after updating #75

tauraloke opened this issue Oct 13, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@tauraloke
Copy link
Owner

Describe the bug
Removing /storage folder and db.sqlite3 after update because Electron-update cleans an application directory.

To Reproduce
Steps to reproduce the behavior:

  1. Install the application v1.0.2.
  2. Upload a file.
  3. Check an application folder for file db.sqlite3 and dir storage/ (you can see these ones).
  4. Check updates and wait for downloading.
  5. Close the application and wait for installation.
  6. Check an application folder again. User data is lost.

Expected behavior
User data shouldn't be lost.

Desktop (please complete the following information):

  • OS: Win10
  • Version: 1.0.2 => 1.0.3

Possible solution
Backup user data before a migration.

@tauraloke tauraloke added the bug Something isn't working label Oct 13, 2022
@tauraloke tauraloke self-assigned this Oct 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant