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

[Bug]: macOS - New installation uses old / outdated database - asking for password with no option to reset desktop client #4772

Open
1 task done
ThisIssues opened this issue Aug 26, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@ThisIssues
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Platform

Mac

OS version

Sonoma 14.6.1

App version

6.0.3

Current Behavior

I installed the desktop client of SimpleX on my MacBook. I played with the desktop client many months ago and deleted it later. Now - after reinstalling the desktop client - it asks me for the password of the old database which I don't have access anymore and don't want to use it anyway. I have no option to reset the app to factory state. Uninstalling it with third party tools like Pearcleaner (tries to delete any remaining files of the program beside the .app file inside the programs folder of macOS) didn't worked.

Expected Behavior

If the desktop client has been deleted, the database should be deleted with it (with the exception of manually created backups by the user). If the user reinstalls the app in the future, the desktop client shouldn't use the old/outdated database again and asks the user the connect their devices again.

Steps To Reproduce

  1. Install the phone app + desktop client
  2. Connect the desktop client with your phone
  3. Remove the app on your phone and the desktop client
  4. Reinstall both again
  5. Setup a new profile in the app on your phone
  6. Desktop client asks for password of the old database of this first installation

Relevant log output

No response

@ThisIssues ThisIssues added bug Something isn't working triage labels Aug 26, 2024
@Narasimha-sc
Copy link
Collaborator

you can delete the database at ~/.local/share/simplex and ~/.config/simplex

@ThisIssues
Copy link
Author

you can delete the database at ~/.local/share/simplex and ~/.config/simplex

Thank you, it worked. Still, there should be in my opinion at least instructions on the website about how to delete the desktop client with the database properly. I would prefer a option in the desktop client to reset it back into factory state with a warning that everything is deleted once it's done.

@Narasimha-sc
Copy link
Collaborator

I agree, this needs to be improved

you can delete the database at ~/.local/share/simplex and ~/.config/simplex

Thank you, it worked. Still, there should be in my opinion at least instructions on the website about how to delete the desktop client with the database properly. I would prefer a option in the desktop client to reset it back into factory state with a warning that everything is deleted once it's done.

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

5 participants
@ThisIssues @Narasimha-sc and others