You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could not create encrypted APFS volume during installation.
Metadata
key
value
version
0.32.2
os
macos
arch
aarch64
Console output
INFO Step: Create an encrypted APFS volume `Nix Store` for Nix on `disk3` and add it to `/etc/fstab` mounting on `/nix`
ERROR Error saving receipt: RecordingReceipt("/nix", Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" })
ERROR
0: Install failure
1: Error executing action
2: Action `create_nix_volume` errored
3: Action `encrypt_apfs_volume` errored
4: Failed to execute command `"/usr/sbin/diskutil" "mount" "Nix Store"`
stdout:
stderr: Volume on disk3s7 failed to mount
4: exited with status code: 1
4:
Location:
src/cli/subcommand/install.rs:259
Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
# --- snip GitHub report URL ----
Installation failure, offering to revert...
Nix uninstall plan (v0.32.2)
Planner: macos (with default settings)
Planned actions:
* Remove the APFS volume `Nix Store` on `disk3`
Proceed? ([Y]es/[n]o/[e]xplain): y
INFO Revert: Remove directory `/nix/temp-install-dir`
INFO Revert: Configure upstream Nix daemon service
INFO Revert: Create a `launchctl` plist to put Nix into your PATH
INFO Revert: Configuring zsh to support using Nix in non-interactive shells
INFO Revert: Configure Nix
INFO Revert: Configure Time Machine exclusions
INFO Revert: Create build users (UID 351-382) and group (GID 350)
INFO Revert: Provision Nix
INFO Revert: Create an encrypted APFS volume `Nix Store` for Nix on `disk3` and add it to `/etc/fstab` mounting on `/nix`
Error:
0: Multiple errors
Location:
src/cli/subcommand/install.rs:291
Error:
0: Action `encrypt_apfs_volume` errored
1: Failed to execute command `"/usr/bin/security" "delete-generic-password" "-a" "Nix Store" "-s" "Nix Store" "-l" "disk3 encryption password" "-D" "Encrypted volume password" "-j" "Added automatically by the Nix installer for use by /Library/LaunchDaemons/org.nixos.darwin-store.plist"`
stdout:
stderr: security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.
1: exited with status code: 44
1:
Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
The text was updated successfully, but these errors were encountered:
Error
Could not create encrypted APFS volume during installation.
Metadata
Console output
The text was updated successfully, but these errors were encountered: