Bitcoin Forum
March 30, 2024, 08:37:14 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Can't get new Core client to recognize old wallet  (Read 135 times)
firetreeactual (OP)
Legendary
*
Offline Offline

Activity: 952
Merit: 1003



View Profile
January 30, 2018, 12:47:39 AM
 #1

I lost my Ubuntu 16.04LTS hard drive a couple of days ago, but was able to get all the data without any issues. New SSD system drive, new clean install of 16.04LTS; but I find I'm installing my Bitcoin Core from the Software Center via Snap. No problem. It installed and synced...but does not recognize my wallet.dat file (from my backup), has its own wallet file called Documents.dat, but still shows nothing in transactions (there's two years of records in there).

Anyway...I'm sure someone's run into this and I would really like to not have to reinvent the wheel.

FWIW...I'm running a Phenom 8-core with 16GB of RAM, tons of storage space. The current version I just installed is defined as "v0.15.1.0-7b57bc9-dirty (64-bit)" in the Help menu. The previous client (and wallet) were under v0.13.2.

I'm thinking I may have to do some moving around in the terminal, but I'm inclined to ask for help first. There wasn't a lot in the wallet in terms of value, but a whole lotta tx info I'd like to keep.

Thanks in advance.

To infinity and beyond...on two 741s and one of only 3...nope, make that 4...full nodes in Hawaii...on <30A. (I have other gear on the Hoth ice planet)
According to NIST and ECRYPT II, the cryptographic algorithms used in Bitcoin are expected to be strong until at least 2030. (After that, it will not be too difficult to transition to different algorithms.)
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1711787834
Hero Member
*
Offline Offline

Posts: 1711787834

View Profile Personal Message (Offline)

Ignore
1711787834
Reply with quote  #2

1711787834
Report to moderator
1711787834
Hero Member
*
Offline Offline

Posts: 1711787834

View Profile Personal Message (Offline)

Ignore
1711787834
Reply with quote  #2

1711787834
Report to moderator
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3346
Merit: 6475


Just writing some code


View Profile WWW
January 30, 2018, 12:53:09 AM
 #2

It installed and synced...but does not recognize my wallet.dat file (from my backup), has its own wallet file called Documents.dat
What do you mean "has its own wallet file called Documents.dat"? Bitcoin Core does not create a file called Documents.dat. The only way that would be created is if you have configured Bitcoin Core to create a wallet file named such.

What are the contents of your bitcoin.conf file?

Welsh
Staff
Legendary
*
Offline Offline

Activity: 3248
Merit: 4110


View Profile
January 30, 2018, 01:05:43 AM
 #3

If it's created a file named Documents.data then you should probably think about verifying the installation via PGP to assure you haven't complied from a malicious source. 

Where are you putting the wallet.dat file? If you could navigate to the default folder ~/.bitcoin/ unless you have changed it to use a custom location and list whats in there using the
Code:
ls
command and post that here maybe we could make some sense out of this.

firetreeactual (OP)
Legendary
*
Offline Offline

Activity: 952
Merit: 1003



View Profile
January 30, 2018, 02:10:31 AM
 #4

Well...I think I solved my own problem. Apps running in the snap environment are new to me. OTOH, I discovered by accident that the .conf and wallet.dat files aren't even created until the app has been running a bit syncing.

What I've had to do so far is start the app, let it work for a minute or two, and then I stopped it.

Then I moved my backed up wallet file (a copy, of course) into the snap's location where it had created it's wallet.dat, renamed that oldwallet.dat, and so my backed up wallet.dat is now the target.

I next then relaunched the app, and rather than going to a syncing and picking up where it was, it is showing "Verifying wallet(s)..." I have seen documentation from Core that older wallets than 15 are still supported.

It's been doing that for a few minutes now...but the wallet file is a bit over 65MB, so it could take a while.

Just be patient now, I guess.

Thanks for coming back to me.

To infinity and beyond...on two 741s and one of only 3...nope, make that 4...full nodes in Hawaii...on <30A. (I have other gear on the Hoth ice planet)
firetreeactual (OP)
Legendary
*
Offline Offline

Activity: 952
Merit: 1003



View Profile
January 31, 2018, 11:07:28 PM
 #5

Figured it out, FWIW. The wallet file from the failed HDD was corrupted, as was its backup. Didn't find that out until the sync was complete, restarted Core, and it went into the "Verifying wallet(s)..." thing for several hours.

It then popped up and detailed that the wallet file was corrupted, and tried to fix it. That part did not work well (it was over 65MB). I've had to start with a new Core and zero balance, but that isn't all bad...there was only .004BTC in it.

Thanks again for the responses.

To infinity and beyond...on two 741s and one of only 3...nope, make that 4...full nodes in Hawaii...on <30A. (I have other gear on the Hoth ice planet)
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!