Wallet file verification failed. Refusing to load database. Data file '/Users/user/Library/Application Support/Bitcoin/wallets/wallet.dat' is already loaded.I got this error after removing the blockchain and resyncing. I obviously kept the wallets folder. I think this error appeared after i started resyncing.
I can't run any wallet commands now as the command line stays blank and doesn't throw any errors.
Which version? Also I think that this is a legacy (bdb) wallet.
27.1.0
Yeah could be, i must have installed it in late 2020.
Did you try to
unloadwallet->loadwallet wallet?error code: -18
error message:
Requested wallet does not exist or is not loaded
Listwallets returns an empty array.
And then when I load the wallet I get the original error message (top).
The file wallet.dat exists though.
listwalletswill give you a name (maybe["wallet"], I actually never tested this part myself)and then
unloadwallet <walletnamefromlist>[
""
]
ok try
unloadwallet ""{
}
load wallet.dat now, it's taking some time
You gotta have the seed phrase, right? It's easier to just wipe that one and re-import! I read that issue might be linked to pruned nodes.
Yes, I've opted for the pruned version. It's probably solved now. The loaded wallet name defaulted to "" somehow.
I think that's because
wallet.datused to be the default back when you could only have 1 wallet per node.No seed phrases in bitcoin core!!! (at least it was last time I was awake which was in 2017 lol)
You're right! It's been a few years since I last reinstalled Bitcoin Core. I totally forgot about that.
running multiple wallet instances at once?
no, i shouldnt