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 keychain has an existing password for a non-existing "Nix Store" volume #959

Open
Yash-Garg opened this issue May 9, 2024 · 3 comments
Labels
MacOS Darwin/MacOS

Comments

@Yash-Garg
Copy link

Error

Error: 
   0: Planner error
   1: Error executing action
   2: Action `encrypt_apfs_volume` errored
   3: The keychain has an existing password for a non-existing "Nix Store" volume on disk `disk3`, consider removing the password with `sudo security delete-generic-password  -a "Nix Store" -s "Nix Store" -l "disk3 encryption password" -D "Encrypted volume password"`. Note that it's possible to have several passwords stored, so you may need to run this command several times until receiving the message `The specified item could not be found in the keychain.`

Metadata

key value
version 0.19.0
os macos
arch aarch64
@cole-h
Copy link
Member

cole-h commented May 9, 2024

Does running the command in the error message help you proceed any further?

@cole-h cole-h added the MacOS Darwin/MacOS label May 9, 2024
@cole-h cole-h changed the title <autogenerated-issue> The keychain has an existing password for a non-existing "Nix Store" volume May 9, 2024
@Yash-Garg
Copy link
Author

Yash-Garg commented May 9, 2024

@cole-h I completely reinstalled it on my Mac including resetting MacOS, since it was not working. Turned off filevault -> reinstalled and enabled again, seems to work now.

The error above came even though the Nix Store APFS volume was already deleted.

@cole-h
Copy link
Member

cole-h commented May 9, 2024

Right, the issue is not that the volume itself existed, but that a password for the non-existent volume (identified by the name and being on the same disk, I believe) existed in the keychain. We don't want to just go ahead and delete it in case you need it for some reason, so we suggest a command for you to run in that case.

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

No branches or pull requests

2 participants