pull down to refresh

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.
reply
Did you try to unloadwallet -> loadwallet wallet?
reply
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.
reply
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.
reply
65 sats \ 1 reply \ @optimism 10h
No seed phrases in bitcoin core!!! (at least it was last time I was awake which was in 2017 lol)
reply
You're right! It's been a few years since I last reinstalled Bitcoin Core. I totally forgot about that.
reply
Yes, I've opted for the pruned version. It's probably solved now. The loaded wallet name defaulted to "" somehow.
reply
21 sats \ 0 replies \ @optimism 10h
I think that's because wallet.dat used to be the default back when you could only have 1 wallet per node.
reply
listwallets will give you a name (maybe ["wallet"], I actually never tested this part myself)
and then unloadwallet <walletnamefromlist>
reply
reply
21 sats \ 9 replies \ @optimism 10h
ok try unloadwallet ""
reply
{ }
load wallet.dat now, it's taking some time
reply
42 sats \ 7 replies \ @optimism 10h
yeah it will rescan. looks like that worked.