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

"The encrypted data directory is not empty" error #42

Closed
aureliuspublius opened this issue Jun 3, 2022 · 4 comments
Closed

"The encrypted data directory is not empty" error #42

aureliuspublius opened this issue Jun 3, 2022 · 4 comments

Comments

@aureliuspublius
Copy link

Situation:
My Linux partition was basically bricked a few days ago. All files intact, and I accessed them from new Linux partition, including vaults files.

  • I placed the (gocryptfs) vault files into the correct place, all files intact. (home/name/.var/app/io.github.mpobaschnig.Vaults)
  • Downloaded and installed gocryptfs back-end.
  • I have the correct password to open the files.
  • The "unlock" icon on Vaults lights up. I press it, enter my password, and the error "The encrypted data directory is not empty" appears.

I hope I came to ask at the right place. What does this error mean? and how to solve it?

@mpobaschnig
Copy link
Owner

How did you add your vaults? It basically means that when you add a new vault, the data directory (where the encrypted files are stored) should be empty.

Can you try removing the vault within Vaults, then importing it again?

@aureliuspublius
Copy link
Author

I have now emptied the vault folders of all content, the same error, claiming it is not empty, persists.

@mpobaschnig
Copy link
Owner

How did you add it? Via + -> Import Vault?

@aureliuspublius
Copy link
Author

aureliuspublius commented Jun 3, 2022

Wait, I see now. There were some empty folders within the mount directory. This caused it to be considered not empty. With "Import Vault" it worked perfectly now.

Everything is back to running smoothly. Thank you for the great application.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants