BitShares Forum

Main => Technical Support => Topic started by: hadrian on August 07, 2014, 10:31:34 pm

Title: [RESOLVED]How should I bring my accounts into updated BTSX wallet?
Post by: hadrian on August 07, 2014, 10:31:34 pm
I just updated my BTSX wallet from 0.2.1 to 0.3.0, but can no longer see my registered accounts.
I tried importing config.json from my roaming folder and got the following message:

Failed to restore wallet backup. Your original wallet has been restored. Error: Bad Cast (7)
Invalid cast from object_type to Array

Can someone tell me what I've done wrong? I shouldn't do this stuff when I'm tired, but it's the only chance I get! Sorry to be a pain.

Edit: do I need to do a re-scan or something? Can't remember how...
Title: Re: How should I bring my accounts into updated BTSX wallet?
Post by: Riverhead on August 07, 2014, 10:34:23 pm
The new client should reference the old data directory.  You shouldn't have to do anything.  You can try a wallet_rescan_blockchain.  Question: When you launched the client did you have to put in your password or was it like you were starting from scratch?
Title: Re: How should I bring my accounts into updated BTSX wallet?
Post by: hadrian on August 07, 2014, 10:40:04 pm
The new client should reference the old data directory.  You shouldn't have to do anything.  You can try a wallet_rescan_blockchain.  Question: When you launched the client did you have to put in your password or was it like you were starting from scratch?

It was like I was starting from scratch...
Title: Re: How should I bring my accounts into updated BTSX wallet?
Post by: hadrian on August 07, 2014, 10:46:44 pm
Yeah, it was 19 days behind. That's when BTSX launched isn't it? Maybe the wallet isn't working from the roaming data files somehow?

Edit: I've done a rescan - still no sign of my accounts. Maybe I should reinstall the client again. Thanks for your help so far Riverhead, perhaps I can pay you by voting for you!

Gotta get some sleep now, so I'll come back to this later...
Title: Re: How should I bring my accounts into updated BTSX wallet?
Post by: Riverhead on August 07, 2014, 10:58:11 pm
Ya that's pretty much it. Try and locate the pre update files and put them where it created the new ones.
Title: Re: How should I bring my accounts into updated BTSX wallet?
Post by: Riverhead on August 07, 2014, 10:58:31 pm
.
Title: Re: How should I bring my accounts into updated BTSX wallet?
Post by: hadrian on August 08, 2014, 04:47:36 am
Well, thank Nakamoto (or should that be Larimer) I had a backup.
I don't know what exactly happened. I didn't think it was supposed to overwrite the roaming files. I uninstalled the old client, installed the newer one, and when I ran it, it was as if the old stuff was never there.
As you suggested Riverhead, I needed to replace the json with a copy of the old one!

I shall never update without double checking my backups.

Thanks Riverhead, I will be voting for you (99.57% reliability!)...
Title: Re: [RESOLVED]How should I bring my accounts into updated BTSX wallet?
Post by: Riverhead on August 08, 2014, 10:53:42 am
Awesome!!  Glad you got it sorted  8) .


My setup isn't fancy but it is stable.