Wallet not loaded #27982

issue n1kcha openend this issue on June 27, 2023
  1. n1kcha commented at 6:46 am on June 27, 2023: none

    Is there an existing issue for this?

    • I have searched the existing issues

    Current behaviour

    Suddenly wallet not loaded. I was resyncing blockchain (now synced). The wallet is old and has balance. Yesterday there was no problem. Recently updated for V24 to V25. All was working ok until today. Node is not pruned.

    Disk that blocks are stored is external Toshiba with USB connection, i have just a soft link between .bitcoin/blocks to blocks at Toshiba. I have repaired this disk a couple of times using windows disk tools. I did a repair because bitcoincore wanted to reindex blockchain. After the repair bitcoinore was ok (not asking for reindex) and continue syncing. Tried this command: bitcoin-cli listaccounts and get error code: -32601/ Method not found error message

    Expected behaviour

    load my wallet

    Steps to reproduce

    run bitcoin-qt or bitcoind, all working ok except wallet loading

    Relevant log output

    “Wallet disabled!” from bitcoind running messages

    How did you obtain Bitcoin Core

    Pre-built binaries

    What version of Bitcoin Core are you using?

    v25.0

    Operating system and version

    Fedora Linux 38

    Machine specifications

    intel 8265U i5 cpu/16g ram/samsung evo 850 ssd drive/ external usb disk for blocks storage

  2. carnhofdaki commented at 8:10 am on June 27, 2023: contributor

    I think this behavior is expected. Have a look at f0758d8a66 and maybe some older related changes when the default wallet creation and loading is disabled.

    It makes sense for nodes that run the released binary but do not operate their own wallet (or do it differently than using the Bitcoin Core’s wallet - straight via RPC calls, for example scantxoutset to get the list of UTXOs).

  3. n1kcha commented at 8:20 am on June 27, 2023: none
    I have another full node v25 (similarly recently updated from v24) to a different computer. No problems there. But how to see my wallet/wallets again, downgrade to v24?
  4. maflcko commented at 8:27 am on June 27, 2023: member

    “Wallet disabled!” from bitcoind running messages

    You shouldn’t be passing -disablewallet if you want to keep the wallet enabled.

    Related code:

    0    if (args.GetBoolArg("-disablewallet", DEFAULT_DISABLE_WALLET)) {
    1        LogPrintf("Wallet disabled!\n");
    2        return;
    3    }
    
  5. maflcko added the label Wallet on Jun 27, 2023
  6. maflcko added the label Questions and Help on Jun 27, 2023
  7. n1kcha commented at 8:32 am on June 27, 2023: none

    i did nothing different, nothing changed in configuration file. Just opened a terminal and run bitcoin-qt as i am doing for years… How this -disablewallet parameter is passed?

    Tried to my other node V25 bitcoin-qt -disablewallet and get no wallet as expected. But on the “problem node” i just type bitcoin-qt

  8. maflcko commented at 8:38 am on June 27, 2023: member

    Options can be passed on the command line, or in the conf file.

    You can unusually find the conf file in the datadir. Or with the gui, via “Settings”, “Options”, “Open Conf File”.

    You can pass -nodisablewallet to overwrite a previous setting.

  9. n1kcha commented at 8:41 am on June 27, 2023: none
    ok thanks, i will check conf file. Checked conf file. Yes, probably wasabi wallet made a change there main.disablewallet = 0
  10. n1kcha closed this on Jun 27, 2023

  11. bitcoin locked this on Jun 26, 2024

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-12-30 15:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me