Bitcoin Forum
April 23, 2024, 04:48:11 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin Core help / Deletet Path warning  (Read 80 times)
StyriaTrading (OP)
Newbie
*
Offline Offline

Activity: 12
Merit: 2


View Profile
May 19, 2021, 04:16:54 PM
Merited by ABCbits (1)
 #1

I created a wallet at a customized path after Bitcoin Core installation. Then I decided to delete this folder manually and to create a wallet at the standard path.

Now I am getting warning messages (see picture) everytime I am starting Bitcoin Core regarding this deleted, customized path.

How can I get rid of them?

https://ibb.co/3BwQkNj
If you want to be a moderator, report many posts with accuracy. You will be noticed.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713890891
Hero Member
*
Offline Offline

Posts: 1713890891

View Profile Personal Message (Offline)

Ignore
1713890891
Reply with quote  #2

1713890891
Report to moderator
1713890891
Hero Member
*
Offline Offline

Posts: 1713890891

View Profile Personal Message (Offline)

Ignore
1713890891
Reply with quote  #2

1713890891
Report to moderator
BitMaxz
Legendary
*
Offline Offline

Activity: 3234
Merit: 2942


Block halving is coming.


View Profile WWW
May 19, 2021, 05:51:13 PM
 #2

That's the error if you already deleted the existing path including the wallet.dat file.

To solve this put the folder back including the wallet file or if you want it to another path you can use -wallet=(Path)

Here's the sample

Code:
C:> bitcoin-qt -wallet=c:\Users\ZZZ\Documents\wallet1.dat

Only if you have a backup wallet.dat file if you don't have a wallet.dat file then try this one below

Use this command:

Code:
$ bitcoin-wallet -wallet=wallet.dat create

And this
Code:
Then start the bitcoin-core by specifying the wallets, for instance:

$ bitcoind -server -walletdir=/home/netsamir/.bitcoin/wallets/wallet.dat
Source: https://bitcoin.stackexchange.com/questions/24383/how-can-i-create-a-new-wallet-on-bitcoin-core

Let me know if this one works.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
NotATether
Legendary
*
Offline Offline

Activity: 1582
Merit: 6677


bitcoincleanup.com / bitmixlist.org


View Profile WWW
May 19, 2021, 07:22:32 PM
Merited by BitMaxz (1), ABCbits (1), Husna QA (1)
 #3

You need to open your settings.json file and remove the offending path from the wallet key.

Erasing the settings file with just brackets remaining {} will also work but this will also wipe the rest of your settings.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
May 20, 2021, 12:34:30 AM
 #4

Bitcoin Core defaults to opening the last wallet that you had open when you shut it down. If you shut down Bitcoin Core (without explicitly closing the wallet file first, using "File -> Close Wallet") and then subsequently deleted the wallet file, then Bitcoin Core will be attempting to automatically re-open a (now) non-existant file. Undecided

If NotATether's solution doesn't work, also make sure that there isn't a "wallet=" line in the bitcoin.conf file... although, I concur with NotATether that the most likely culprit will be the "wallet" value in your settings.json file (which should be located in your Bitcoin Core datadir)

If you want to prevent this from happening again in the future... whenever you are planning to delete a wallet.dat file... make sure that you use the "File -> Close Wallet" option in Bitcoin Core to make sure the wallet file has been properly "closed" before you shutdown Bitcoin Core... Bitcoin Core will then remove it from the settings.json record and will not attempt to re-open the wallet when the application is re-started.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
NotATether
Legendary
*
Offline Offline

Activity: 1582
Merit: 6677


bitcoincleanup.com / bitmixlist.org


View Profile WWW
May 20, 2021, 04:44:36 AM
Merited by HCP (2)
 #5

If NotATether's solution doesn't work, also make sure that there isn't a "wallet=" line in the bitcoin.conf file... although, I concur with NotATether that the most likely culprit will be the "wallet" value in your settings.json file (which should be located in your Bitcoin Core datadir)

There shouldn't be a wallet folder in the bitcoin.conf, as this is strictly a Bitcoin QT problem (bitcoind doesn't does not use the settings.json AFAIK).

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
StyriaTrading (OP)
Newbie
*
Offline Offline

Activity: 12
Merit: 2


View Profile
May 20, 2021, 07:30:28 PM
Merited by HCP (1)
 #6

You need to open your settings.json file and remove the offending path from the wallet key.

Erasing the settings file with just brackets remaining {} will also work but this will also wipe the rest of your settings.

Thank you all - this one solved it in seconds Smiley
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!