-
Notifications
You must be signed in to change notification settings - Fork 807
Closed
Labels
BugAn error, flaw, misbehavior or failure in the Monkey or Monkey Island.An error, flaw, misbehavior or failure in the Monkey or Monkey Island.Complexity: HighExpertIssue requires specific knowledge or access to internal resources and is not suitable for beginnersIssue requires specific knowledge or access to internal resources and is not suitable for beginnersImpact: HighRelease
Description
Describe the bug
New installations doesn't clean the database, so when users update, the monkey crashes, because of the old database.
To Reproduce
Steps to reproduce the behavior:
- Install 1.7
- Run monkey
- Update to 1.10
- Monkey tries to use 1.7 database and crashes
Expected behavior
On installation, database directory should be found and cleaned. Update: the whole data dir should probably be cleaned.
Screenshots
Machine version (please complete the following information):
- OS: Windows or Linux (unknown, likely both)
Tasks
Tasks:
- Alter MSI installers to remove the default
data_dir
on uninstall: - @VakarisZ - Add the below logic to ensure a smooth upgrade process for AppImage or MSI with custom
data_dir
- @VakarisZ
Pseudocode
def island_start():
if data_dir exists:
if data_dir/version exists and not my_version == data_dir/version:
rename data_dir
else if not data_dir/version exists:
rename data_dir
Metadata
Metadata
Assignees
Labels
BugAn error, flaw, misbehavior or failure in the Monkey or Monkey Island.An error, flaw, misbehavior or failure in the Monkey or Monkey Island.Complexity: HighExpertIssue requires specific knowledge or access to internal resources and is not suitable for beginnersIssue requires specific knowledge or access to internal resources and is not suitable for beginnersImpact: HighRelease