Bitcoin Forum
May 10, 2024, 07:41:04 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: New Armory installation with old data folders  (Read 142 times)
Nimrodel (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
May 18, 2020, 12:46:08 PM
 #1

Hello to all,

I'm trying to make a new Armory installation of a new PC run with my old data folders.

Currently running Armory 0.96.5 and Bitcoin Core 0.19.1

I have done this procedure once more in the past.

I have the Armory and Bitcoin data folders on an external drive and run Armory with  --satoshi-datadir=X:\bitcoin\bitcoin --datadir=X:\bitcoin\armory

Last time I was successful in making the Armory installation of a new laptop run with the same external drive (blockchain, wallets etc)
by deleting bitcoin.conf from bitcoin data folder and Armory settings and logs form the Armory data folder.

This time round, when trying to do the same thing to my new laptop, Armory doesn't open and stays frozen on the splash screen at 100%.

Tried running bitcoin core alone and it synchronizes without a problem.

Also, I can't see any problems on armorylog file.

I only get the following error (continuously to the point of the file reaching GBs in size if I don't end Armory task) on armorycpplog:

-ERROR - 15:39:34.688: (e:\users\goat\code\armory3\cppforswig\stringsockets.cpp:351) FcgiSocket::writeAndRead FcgiError: unexpected fcgi header version

Any pointers would be appreciated.

Thanks in advance!
The forum strives to allow free discussion of any ideas. All policies are built around this principle. This doesn't mean you can post garbage, though: posts should actually contain ideas, and these ideas should be argued reasonably.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3668
Merit: 1347

Armory Developer


View Profile
May 20, 2020, 07:10:15 AM
 #2

Run ArmoryDB.exe from the command prompt with that same arguments, what do you get?

Nimrodel (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
May 21, 2020, 05:39:00 PM
 #3

Hello goatpig,

and thanks for the reply.

Code:
-INFO  - 20:29:36.015: (e:\users\goat\code\armory3\cppforswig\main.cpp:32) Running on 8 threads
-INFO  - 20:29:36.015: (e:\users\goat\code\armory3\cppforswig\main.cpp:33) Ram usage level: 50
-INFO  - 20:29:36.015: (e:\users\goat\code\armory3\cppforswig\blockutils.cpp:915) blkfile dir: X:\bitcoin\bitcoin/blocks
-INFO  - 20:29:36.015: (e:\users\goat\code\armory3\cppforswig\blockutils.cpp:916) lmdb dir: X:\bitcoin\armory/databases
-INFO  - 20:29:36.015: (e:\users\goat\code\armory3\cppforswig\lmdb_wrapper.cpp:388) Opening databases...
-INFO  - 20:29:36.015: (e:\users\goat\code\armory3\cppforswig\bdm_server.h:263) Listening on port 9001
-ERROR - 20:29:36.015: (e:\users\goat\code\armory3\cppforswig\bdm_server.cpp:1277) There is already a process listening on 127.0.0.1:9001
-ERROR - 20:29:36.015: (e:\users\goat\code\armory3\cppforswig\bdm_server.cpp:1279) ArmoryDB cannot start under these conditions. Shutting down!
-ERROR - 20:29:36.015: (e:\users\goat\code\armory3\cppforswig\bdm_server.cpp:1280) Make sure to shutdown the conflicting process before trying again (most likely another ArmoryDB instance).

I tracked down 9001 to System and after some searching I found that Intel has started using port 9001 for some of their drivers.

Not sure what can be done for that from our side.

By the way goatpig,

thank you for your work!

goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3668
Merit: 1347

Armory Developer


View Profile
May 22, 2020, 11:36:29 AM
 #4

On the DB side, you can set the listen port with:

Code:
--fcgi-port

On the client side, you can set it using this:

https://github.com/goatpig/BitcoinArmory/blob/master/armoryengine/ArmoryUtils.py#L127

Keep in mind, you'll have to pair --armorydb-port with --force-fcgi on the client side.

Nimrodel (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
May 22, 2020, 12:46:43 PM
 #5

OK goatpig,

thank you once again!

Also, I found this regarding port 9001 https://superuser.com/questions/1548107/why-does-intel-graphic-command-center-leave-a-web-endpoint-listening-at-port-900

in case it needs to be changed by default.
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!