Bitcoin Forum
November 12, 2024, 04:28:23 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: DB version mismatch. Use another dbdir!  (Read 471 times)
Skag (OP)
Newbie
*
Offline Offline

Activity: 46
Merit: 0


View Profile
June 08, 2017, 07:21:17 PM
 #1

I'm getting this. Upgraded to 0.96, still got it. Downgraded to 0.95.1, still getting it.

Logs:
Code:
2017-06-08 20:14 (INFO) -- SDM.pyc:756 - Creating proxy in SDM: host=127.0.0.1, port=8332
2017-06-08 20:14 (INFO) -- ArmoryQt.py:5542 - Dashboard switched to auto-InitSync
2017-06-08 20:15 (INFO) -- ArmoryQt.py:2257 - setSatoshiPaths
2017-06-08 20:15 (INFO) -- ArmoryQt.py:2275 - Setting satoshi datadir = F:\Bitcoin
2017-06-08 20:15 (INFO) -- ArmoryUtils.pyc:651 - Executing popen: ['./ArmoryDB.exe', '--db-type="DB_FULL"', '--spawnId="ECnN6pbcuHk23ZM5fK6pzGbc8tMPNogkg1Cu9YFQqCmS"', u'--satoshi-datadir="F:\\Bitcoin\\blocks"', u'--datadir="F:\\Armory"', u'--dbdir="F:\\Armory\\databases"']
2017-06-08 20:15 (INFO) -- ArmoryQt.py:2307 - Setting netmode: 1
2017-06-08 20:15 (ERROR) -- BDM.pyc:184 - DB error: DB version mismatch. Use another dbdir!
2017-06-08 20:15 (INFO) -- ArmoryQt.py:2307 - Setting netmode: 0
2017-06-08 20:15 (INFO) -- ArmoryQt.py:2289 - loadBlockchainIfNecessary
2017-06-08 20:15 (INFO) -- ArmoryQt.py:6366 - BDM state is scanning -- force shutdown BDM
2017-06-08 20:15 (INFO) -- SDM.pyc:588 - Called stopBitcoind
2017-06-08 20:15 (INFO) -- ArmoryQt.py:6386 - Attempting to close the main window!
2017-06-08 20:15 (WARNING) -- SDM.pyc:679 - Overriding not-available state. This should happen 0-5 times
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1137 - C++ block utilities loaded successfully
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1247 -
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1248 -
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1249 -
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1250 - ************************************************************
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1251 - Invoked: C:\Program Files (x86)\Armory\ArmoryQt.exe --datadir=F:\Armory
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1252 - ************************************************************
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1253 - Loading Armory Engine:
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1254 -    Armory Version        : 0.95.1
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1255 -    Armory Build:         : 374672b751
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1256 -    PyBtcWallet  Version  : 1.35
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1257 - Detected Operating system: Windows
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1258 -    OS Variant            : 8-6.2.9200--Multiprocessor Free
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1259 -    User home-directory   : C:\Users\James\AppData\Roaming
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1260 -    Satoshi BTC directory : C:\Users\James\AppData\Roaming\Bitcoin\
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1261 -    Armory home dir       : F:\Armory
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1262 - Detected System Specs    :
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1263 -    Total Available RAM   : 8.00 GB
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1264 -    CPU ID string         : Intel64 Family 6 Model 15 Stepping 11, GenuineIntel
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1265 -    Number of CPU cores   : 4 cores
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1266 -    System is 64-bit      : True
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1267 -    Preferred Encoding    : cp1252
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1268 -    Machine Arch          : amd64
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1269 -    Available HDD (ARM)   : 333 GB
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1270 -    Available HDD (BTC)   : 243 GB
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1271 -
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1272 - Network Name: Main Network
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1273 - Satoshi Port: 8333
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1274 - Do wlt check: True
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1275 - Named options/arguments to armoryengine.py:
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1277 -     thread_count    : -1
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1277 -     rescan          : False
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1277 -     ignoreAllZC     : False
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1277 -     rescanBalance   : False
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1277 -     disableModules  : False
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1277 -     port            : None
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1277 -     interport       : 8223
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1277 -     skipStatsReport : False
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1277 -     forceWalletCheck: False
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1277 -     regtest         : False
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1277 -     rebuild         : False
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1277 -     nettimeout      : 2
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1277 -     datadir         : F:\Armory
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1277 -     clearMempool    : False
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1277 -     offline         : False
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1277 -     coverageOutputDir: None
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1277 -     armoryDBDir     : DEFAULT
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1277 -     armorydb_port   : 9001
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1277 -     satoshiPort     : DEFAULT
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1277 -     useTorSettings  : False
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1277 -     netlog          : False
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1277 -     keypool         : 100
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1277 -     coverageInclude : None
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1277 -     forceOnline     : False
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1277 -     skipAnnounceCheck: False
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1277 -     redownload      : False
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1277 -     armorydb_ip     : 127.0.0.1
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1277 -     multisigFile    : DEFAULT
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1277 -     ram_usage       : -1
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1277 -     testAnnounceCode: False
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1277 -     mtdebug         : False
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1277 -     logDisable      : False
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1277 -     settingsPath    : F:\Armory\ArmorySettings.txt
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1277 -     db_type         : DB_FULL
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1277 -     doDebug         : False
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1277 -     enableDetSign   : True
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1277 -     disableConfPermis: False
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1277 -     testnet         : False
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1277 -     rpcport         : DEFAULT
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1277 -     satoshiHome     : DEFAULT
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1277 -     satoshiRpcport  : DEFAULT
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1277 -     logFile         : F:\Armory\ArmoryQt.exe.log.txt
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1277 -     verbosity       : None
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1278 - Other arguments:
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1281 - ************************************************************
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:1684 - C++ block utilities loaded successfully
2017-06-08 20:16 (INFO) -- BDM.pyc:367 - Using the asynchronous/multi-threaded BlockDataManager.
2017-06-08 20:16 (INFO) -- BDM.pyc:368 - Blockchain operations will happen in the background.  
2017-06-08 20:16 (INFO) -- BDM.pyc:369 - Devs: check TheBDM.getState() before asking for data.
2017-06-08 20:16 (INFO) -- BDM.pyc:370 - Registering addresses during rescans will queue them for
2017-06-08 20:16 (INFO) -- BDM.pyc:371 - inclusion after the current scan is completed.
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:3597 - Using settings file: F:\Armory\ArmorySettings.txt
2017-06-08 20:16 (INFO) -- ArmoryQt.py:2485 - loadWalletsAndSettings
2017-06-08 20:16 (INFO) -- ArmoryQt.py:2539 - Loading wallets...
2017-06-08 20:16 (INFO) -- ArmoryQt.py:2598 - Number of wallets read in: 1
2017-06-08 20:16 (INFO) -- ArmoryQt.py:2603 -    Wallet (2FsSLLEDm):   "Primary Wallet                  "   (Encrypted)
2017-06-08 20:16 (INFO) -- ArmoryQt.py:2153 - Setting up networking...
2017-06-08 20:16 (INFO) -- ArmoryQt.py:1412 - setupUriRegistration
2017-06-08 20:16 (INFO) -- ArmoryQt.py:1480 - Armory already registered for current user.  Done!
2017-06-08 20:16 (INFO) -- ArmoryQt.py:546 - Usermode: Advanced
2017-06-08 20:16 (INFO) -- ArmoryQt.py:1708 - Changing usermode:
2017-06-08 20:16 (INFO) -- ArmoryQt.py:1709 -    From: Advanced
2017-06-08 20:16 (INFO) -- ArmoryQt.py:1717 -      To: Advanced
2017-06-08 20:16 (INFO) -- ArmoryQt.py:2217 - startBitcoindIfNecessary
2017-06-08 20:16 (INFO) -- ArmoryQt.py:2257 - setSatoshiPaths
2017-06-08 20:16 (INFO) -- ArmoryQt.py:2275 - Setting satoshi datadir = F:\Bitcoin
2017-06-08 20:16 (INFO) -- SDM.pyc:182 - Found bitcoind in the following places:
2017-06-08 20:16 (INFO) -- SDM.pyc:184 -    C:\Program Files\Bitcoin\daemon\bitcoind.exe
2017-06-08 20:16 (INFO) -- SDM.pyc:184 -    C:\Program Files\Bitcoin\daemon\bitcoind.exe
2017-06-08 20:16 (INFO) -- SDM.pyc:186 - Using: C:\Program Files\Bitcoin\daemon\bitcoind.exe
2017-06-08 20:16 (INFO) -- SDM.pyc:382 - Reading bitcoin.conf file
2017-06-08 20:16 (INFO) -- SDM.pyc:395 - Setting permissions on bitcoin.conf
2017-06-08 20:16 (INFO) -- SDM.pyc:404 - Setting permissions on bitcoin.conf
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:651 - Executing popen: [u'icacls', u'F:\\Bitcoin\\bitcoin.conf', u'/inheritance:r', u'/grant:r', u'James:F']
2017-06-08 20:16 (INFO) -- SDM.pyc:410 - icacls returned:
2017-06-08 20:16 (INFO) -- SDM.pyc:460 - Called startBitcoind
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:651 - Executing popen: [u'C:\\Program Files\\Bitcoin\\daemon\\bitcoind.exe', u'-datadir=F:\\Bitcoin']
2017-06-08 20:16 (INFO) -- SDM.pyc:574 - PID of bitcoind: 2644
2017-06-08 20:16 (INFO) -- SDM.pyc:575 - PID of armory:   3668
2017-06-08 20:16 (INFO) -- ArmoryUtils.pyc:651 - Executing popen: ['.\\guardian.exe', '3668', '2644']
2017-06-08 20:16 (INFO) -- SDM.pyc:756 - Creating proxy in SDM: host=127.0.0.1, port=8332
2017-06-08 20:16 (INFO) -- ArmoryQt.py:5542 - Dashboard switched to auto-InitSync




achow101
Staff
Legendary
*
Offline Offline

Activity: 3542
Merit: 6886


Just writing some code


View Profile WWW
June 08, 2017, 10:29:17 PM
 #2

If you are upgrading from any Armory version earlier than 0.95, you will need to build a new database as the database format changed. To do this, just go to the Armory datadir and delete the folder named "databases". Then start Armory.

Skag (OP)
Newbie
*
Offline Offline

Activity: 46
Merit: 0


View Profile
June 09, 2017, 03:50:28 PM
 #3

You mean the whole transaction database, 100gb ?
achow101
Staff
Legendary
*
Offline Offline

Activity: 3542
Merit: 6886


Just writing some code


View Profile WWW
June 09, 2017, 04:30:50 PM
 #4

You mean the whole transaction database, 100gb ?
Yes. Armory's database has both been significantly shrunk (down to only a few GB at most) and completely redesigned, so the old format is old, unused, and incompatible.

Skag (OP)
Newbie
*
Offline Offline

Activity: 46
Merit: 0


View Profile
June 09, 2017, 04:31:49 PM
 #5

I'll try that then, thanks.
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!