Bitcoin Forum
June 23, 2018, 08:51:02 PM *
News: Latest stable version of Bitcoin Core: 0.16.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Wallet passphrase works in bitcoin-qt but not bitcoind  (Read 4429 times)
miscreanity
Legendary
*
Offline Offline

Activity: 1288
Merit: 1005


View Profile
April 03, 2012, 03:43:44 AM
 #1

A wallet has been encrypted using the GUI client, bitcoin-qt. I've been having an issue where I can unlock the wallet using bitcoin-qt normally, but not at the command line with bitcoind.

Example:
Code:
bitcoind walletpassphrase mYpAS$w0Rd 60
error: {"code":-14,"message":"Error: The wallet passphrase entered was incorrect."}

The password has been entered using escape characters, but error -14 persists. Both versions have been compiled from the latest git.
The World's Betting Exchange

Bet with play money. Win real Bitcoin. 5BTC Prize Fund for World Cup 2018.

Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1529787062
Hero Member
*
Offline Offline

Posts: 1529787062

View Profile Personal Message (Offline)

Ignore
1529787062
Reply with quote  #2

1529787062
Report to moderator
1529787062
Hero Member
*
Offline Offline

Posts: 1529787062

View Profile Personal Message (Offline)

Ignore
1529787062
Reply with quote  #2

1529787062
Report to moderator
1529787062
Hero Member
*
Offline Offline

Posts: 1529787062

View Profile Personal Message (Offline)

Ignore
1529787062
Reply with quote  #2

1529787062
Report to moderator
miscreanity
Legendary
*
Offline Offline

Activity: 1288
Merit: 1005


View Profile
April 10, 2012, 05:59:57 AM
 #2

Wallet version was 59900 - current version should be 60000.

With no Bitcoin software running, executing the following upgraded the wallet to version 60000.

Code:
bitcoind -upgradewallet

After that, changing the wallet password using bitcoin-qt then unlocking and resetting it using bitcoind successfully corrected the issue.
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!