Skip to content

Improve error message when Zebra crashes on startup #8617

Open

Description

When using a cache_dir that is a symlink to a storage drive, Zebra crashed. When using the actual path to the storage drive, Zebra runs normally.

Error

Opening database "/home/rav/.zebra/state/v25/testnet" failed: Error { message: "Failed to create RocksDB directory: `Os { code: 13, kind: PermissionDenied, message: \"Permission denied\" }`." }. Hint: Check if another zebrad process is running. Try changing the state cache_dir in the Zebra config.

Metadata

key value
version 1.7.0
Zcash network Testnet
running state version 25.3.0
initial disk state version creating.new.database
features default,getblocktemplate_rpcs,howudoin,indicatif,progress_bar,release_max_level_info
target triple x86_64-unknown-linux-gnu
rust compiler 1.79.0
rust release date 2024-06-10
optimization level 3
debug checks false
location /home/pitmutt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/zebra-state-1.0.0-beta.37/src/service/finalized_state/disk_db.rs:860:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    A-stateArea: State / database changesI-panicZebra panics with an internal error messageI-usabilityZebra is hard to understand or useP-Low ❄️

    Type

    No type

    Projects

    • Status

      Product Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions