Author Topic: Restoring wallet backup throws assert exception  (Read 2312 times)

0 Members and 1 Guest are viewing this topic.

Offline vikram

Re: Restoring wallet backup throws assert exception
« Reply #15 on: March 02, 2015, 07:09:34 pm »
I had a similar issue when trying to restore a wallet from a json in the 6.0 gui:

Failed to restore wallet backup. Your original wallet has been restored. Error: invalid password (20001) Invalid Password!

The password I used was correct, I have never changed it.....

Are there instructions somewhere for restoring a wallet from a json backup using the console?

Anyone else still having this problem?

I can only access a recently saved wallet, all my other back-ups return this error (even though the passwords are correct) so I'm unable to access the majority of my BTS.

I have been trying to track this down but still cannot reproduce or find anything that might have changed in the code involving backup import.

The workaround for now is to temporarily use 0.5.3 to import the backup, then upgrade to 0.6.x.

Offline Empirical1.2

  • Hero Member
  • *****
  • Posts: 1366
    • View Profile
Re: Restoring wallet backup throws assert exception
« Reply #16 on: March 02, 2015, 09:06:49 pm »
I had a similar issue when trying to restore a wallet from a json in the 6.0 gui:

Failed to restore wallet backup. Your original wallet has been restored. Error: invalid password (20001) Invalid Password!

The password I used was correct, I have never changed it.....

Are there instructions somewhere for restoring a wallet from a json backup using the console?

Anyone else still having this problem?

I can only access a recently saved wallet, all my other back-ups return this error (even though the passwords are correct) so I'm unable to access the majority of my BTS.

I have been trying to track this down but still cannot reproduce or find anything that might have changed in the code involving backup import.

The workaround for now is to temporarily use 0.5.3 to import the backup, then upgrade to 0.6.x.

That worked. Thanks for the quick response.
If you want to take the island burn the boats

Offline ElMato

  • Sr. Member
  • ****
  • Posts: 288
    • View Profile
Re: Restoring wallet backup throws assert exception
« Reply #17 on: March 03, 2015, 10:01:04 am »
I had a similar issue when trying to restore a wallet from a json in the 6.0 gui:

Failed to restore wallet backup. Your original wallet has been restored. Error: invalid password (20001) Invalid Password!

The password I used was correct, I have never changed it.....

Are there instructions somewhere for restoring a wallet from a json backup using the console?

Anyone else still having this problem?

I can only access a recently saved wallet, all my other back-ups return this error (even though the passwords are correct) so I'm unable to access the majority of my BTS.

I'm experiencing the exact same problem when i try to restore an old backup.


Code: [Select]
(wallet closed) >>> wallet_backup_restore
json_filename: my_old_wallet.json
wallet_name: my_old_wallet
imported_wallet_passphrase:
Upgrading wallet...
Backing up wallet...
Wallet automatically backed up to: [edited]...version_upgrade.json
Please unlock your wallet to complete the upgrade...
wallet_name: [edited]20001 invalid_password: invalid password
Invalid password!
    {}
    th_a  wallet.cpp:1263 unlock

    {"timeout_seconds":3600}
    th_a  wallet.cpp:1285 unlock

    {"filename":"[edited]","wallet_name":"[edited]"}
    th_a  wallet.cpp:1158 create_from_json

    {}
    th_a  common_api_client.cpp:3195 wallet_backup_restore

    {"command":"wallet_backup_restore"}
    th_a  cli.cpp:626 execute_command






Offline ElMato

  • Sr. Member
  • ****
  • Posts: 288
    • View Profile
Re: Restoring wallet backup throws assert exception
« Reply #18 on: March 05, 2015, 05:05:55 pm »
Bump,

I still have some funds unavailable.

I tried the 0.5.2 workaround (restore was ok),  but one of my accounts in the wallet has some missing CNY (~90%).
I also tried regenerating keys and rescaning the blockchain without success.

-- edit
1) restore old backup (2014-10-28) using v0.5.3 => OK.
2) create new backup with v0.5.3 of the recently restored wallet => OK
3) restore new backup with v0.6.2 => "Invalid Password!" error
« Last Edit: March 05, 2015, 05:23:08 pm by ElMato »

Offline vikram

Re: Restoring wallet backup throws assert exception
« Reply #19 on: March 05, 2015, 05:50:50 pm »
Bump,

I still have some funds unavailable.

I tried the 0.5.2 workaround (restore was ok),  but one of my accounts in the wallet has some missing CNY (~90%).
I also tried regenerating keys and rescaning the blockchain without success.

-- edit
1) restore old backup (2014-10-28) using v0.5.3 => OK.
2) create new backup with v0.5.3 of the recently restored wallet => OK
3) restore new backup with v0.6.2 => "Invalid Password!" error

After you import the backup into 0.5.3, just upgrade directly to 0.6.2 without making a new backup. Then wait until fully synced and try regenerate + rescan.

Offline ElMato

  • Sr. Member
  • ****
  • Posts: 288
    • View Profile
Re: Restoring wallet backup throws assert exception
« Reply #20 on: March 15, 2015, 07:53:20 am »
Thanks for you help @vikram.

Just wanted to let you know this.

The 0.5.2 workaround worked fine, but CNY funds were still missing. (about 90% of the balance)

Just 1 minute ago i was buying USD with BTS using this "problematic" account.
After i submitted the ask and typed "balance" to see the new USD ...  magically all the CNY appeared (apart from the recently purchased USD).

strange ... but all funds are ok. :)