Skip to content

Cannot init file wallet #58

Closed
Closed

Description

@vafanassieff

With the latest v0.1.26-beta I cannot generate a wallet using files.

lndinit init-wallet --secret-source=file --init-type=file --file.seed=/seed --file.wallet-password=/password --init-file.output-wallet-dir=/home/ito/.lnd/data/chain/bitcoin/mainnet --init-file.validate-password


2025-06-05 08:16:42.107 [INF]: LNDINIT Version 0.1.26-beta commit=v0.1.26-beta, debuglevel=
2025-06-05 08:16:42.108 [INF]: LNDINIT Reading seed from file
2025-06-05 08:16:42.108 [INF]: LNDINIT Reading wallet password from file
2025-06-05 08:16:42.165 [INF]: LNDINIT Creating new wallet in /home/ito/.lnd/data/chain/bitcoin/mainnet
2025-06-05 08:16:42.165 [ERR]: LNDINIT Runtime error: error creating wallet from seed: invalid arguments to bdb.Create -- expected database path, no-freelist-sync, timeout option and read-only flag

Woking fine with v0.1.5-beta

Best

Activity

  1. guggero commented on Jun 5, 2025

    @guggero
    Contributor

    Thanks for the report. Created a fix here: #59.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions