Bitcoin Forum

Bitcoin => Armory => Topic started by: underhood on December 20, 2016, 02:36:17 PM



Title: [RESOLVED] DB version mismatch. Use another dbdir!
Post by: underhood on December 20, 2016, 02:36:17 PM
Hi,

after update from 0.93.something to 0.95.1 i have following issue (DB version mismatch. Use another dbdir! ) I tried to delete /home/USERNAME/.armory/databases folder (after making backup) and starting Armory again. However i get the same error.

/home has over 100GB of free space
PC is Ubuntu 64bit 8core 32GB ram.
Deleting ~/Armory/databases doesn't help :/.  After start of Armory same error message is printed and empty folder ~/Armory/databases is created (without any files).

dbLog.txt
Log file opened at 1482243653: /home/USERNAME/.armory/dbLog.txt
-INFO  - 1482243653: (main.cpp:23) Running on 8 threads
-INFO  - 1482243653: (main.cpp:24) Ram usage level: 4
-INFO  - 1482243653: (BlockUtils.cpp:1338) blkfile dir: /home/USERNAME/.bitcoin/blocks
-INFO  - 1482243653: (BlockUtils.cpp:1339) lmdb dir: /home/USERNAME/.armory/databases
-INFO  - 1482243653: (lmdb_wrapper.cpp:388) Opening databases...
-ERROR - 1482243653: (lmdb_wrapper.cpp:433) DB version mismatch. Use another dbdir!


Any help/ideas?

Thanks


Title: Re: DB version mismatch. Use another dbdir!
Post by: goatpig on December 20, 2016, 02:41:59 PM
Make sure there is no ArmoryDB process running, then delete the databases folder and try again. If that fails, post dbLog.txt.


Title: Re: DB version mismatch. Use another dbdir!
Post by: underhood on December 20, 2016, 02:45:16 PM
Thanks. Seems better. There was ArmoryDB process stuck somehow. Funny Armory doesn't check that on startup (something like multiple instances running error would be nice :)

Anyway Thanks a Lot is rebuilding database now


Title: Re: DB version mismatch. Use another dbdir!
Post by: goatpig on December 20, 2016, 03:28:21 PM
Funny Armory doesn't check that on startup (something like multiple instances running error would be nice :)

That's planned for the next version