Title: Installing Armory on Ubuntu Post by: megashira1 on July 03, 2017, 05:52:09 AM I've tried to install both 32bit and 64bit versions on my Ubuntu machine. When I click 'install' nothing initiates .. advice?
Title: Re: Installing Armory on Ubuntu Post by: achow101 on July 03, 2017, 05:56:16 AM Open the terminal and go to the folder where the .deb file is downlaoded. Then run
Code: sudo dpkg -i <filename> Title: Re: Installing Armory on Ubuntu Post by: megashira1 on July 27, 2017, 07:40:18 PM Open the terminal and go to the folder where the .deb file is downlaoded. Then run Code: sudo dpkg -i <filename> Hi, attempting this again now. I get the following errors. Quote Unpacking armory:i386 (0.93.3-1) over (0.93.3-1) ... dpkg: dependency problems prevent configuration of armory:i386: armory:i386 depends on python (>= 2.6). armory:i386 depends on python-qt4. armory:i386 depends on python-twisted. armory:i386 depends on python-psutil. armory:i386 depends on libc6 (>= 2.11). dpkg: error processing package armory:i386 (--install): dependency problems - leaving unconfigured Processing triggers for bamfdaemon (0.5.3+17.04.20170406-0ubuntu1) ... Rebuilding /usr/share/applications/bamf-2.index... Processing triggers for gnome-menus (3.13.3-6ubuntu5) ... Processing triggers for desktop-file-utils (0.23-1ubuntu2) ... Processing triggers for mime-support (3.60ubuntu1) ... Errors were encountered while processing: armory:i386 Title: Re: Installing Armory on Ubuntu Post by: achow101 on July 27, 2017, 09:22:21 PM Open the terminal and go to the folder where the .deb file is downlaoded. Then run Code: sudo dpkg -i <filename> Hi, attempting this again now. I get the following errors. Quote Unpacking armory:i386 (0.93.3-1) over (0.93.3-1) ... dpkg: dependency problems prevent configuration of armory:i386: armory:i386 depends on python (>= 2.6). armory:i386 depends on python-qt4. armory:i386 depends on python-twisted. armory:i386 depends on python-psutil. armory:i386 depends on libc6 (>= 2.11). dpkg: error processing package armory:i386 (--install): dependency problems - leaving unconfigured Processing triggers for bamfdaemon (0.5.3+17.04.20170406-0ubuntu1) ... Rebuilding /usr/share/applications/bamf-2.index... Processing triggers for gnome-menus (3.13.3-6ubuntu5) ... Processing triggers for desktop-file-utils (0.23-1ubuntu2) ... Processing triggers for mime-support (3.60ubuntu1) ... Errors were encountered while processing: armory:i386 Code: sudo apt-get install -f Title: Re: Installing Armory on Ubuntu Post by: goatpig on July 27, 2017, 09:54:32 PM Are you trying to install the 32bit package on a 64bit machine? Linux isn't like Windows, you can't mix and match architectures like that.
Title: Re: Installing Armory on Ubuntu Post by: megashira1 on July 27, 2017, 10:47:56 PM Are you trying to install the 32bit package on a 64bit machine? Linux isn't like Windows, you can't mix and match architectures like that. You're right I should be using the 64bit package. Title: Re: Installing Armory on Ubuntu Post by: megashira1 on July 27, 2017, 10:50:59 PM Open the terminal and go to the folder where the .deb file is downlaoded. Then run Code: sudo dpkg -i <filename> Hi, attempting this again now. I get the following errors. Quote Unpacking armory:i386 (0.93.3-1) over (0.93.3-1) ... dpkg: dependency problems prevent configuration of armory:i386: armory:i386 depends on python (>= 2.6). armory:i386 depends on python-qt4. armory:i386 depends on python-twisted. armory:i386 depends on python-psutil. armory:i386 depends on libc6 (>= 2.11). dpkg: error processing package armory:i386 (--install): dependency problems - leaving unconfigured Processing triggers for bamfdaemon (0.5.3+17.04.20170406-0ubuntu1) ... Rebuilding /usr/share/applications/bamf-2.index... Processing triggers for gnome-menus (3.13.3-6ubuntu5) ... Processing triggers for desktop-file-utils (0.23-1ubuntu2) ... Processing triggers for mime-support (3.60ubuntu1) ... Errors were encountered while processing: armory:i386 Code: sudo apt-get install -f Quote !!! Armory installed successfully !!! Armory can be removed at any time, either through your package manager, or through the following command: sudo dpkg -r armory Processing triggers for libc-bin (2.24-9ubuntu2) ... root@ophidion-ThinkPad-T430:~# (Reading database ... 237367 files and directories currently installed.) Reading: command not found root@ophidion-ThinkPad-T430:~# Preparing to unpack .../armory_0.96-gcc5.4_amd64.deb ... Preparing: command not found root@ophidion-ThinkPad-T430:~# Unpacking armory (0.96-1) over (0.96-1) ... -bash: syntax error near unexpected token `(' root@ophidion-ThinkPad-T430:~# dpkg: dependency problems prevent configuration of armory: No command 'dpkg:' found, did you mean: Command 'dpkg' from package 'dpkg' (main) dpkg:: command not found root@ophidion-ThinkPad-T430:~# armory depends on python-qt4; however: /root Log file doesn't exist [yet] (ERROR) ArmoryUtils.py:1236 - Error getting system details: Traceback (most recent call last): File "/usr/local/lib/armory/armoryengine/ArmoryUtils.py", line 1234, in <module> SystemSpecs = GetSystemDetails() File "/usr/local/lib/armory/armoryengine/ArmoryUtils.py", line 1229, in GetSystemDetails out.HddAvailB = getHddSize(BTC_HOME_DIR) / (1024**3) File "/usr/local/lib/armory/armoryengine/ArmoryUtils.py", line 1226, in getHddSize s = os.statvfs(adir) OSError: [Errno 2] No such file or directory: '/root/.bitcoin/' (ERROR) ArmoryUtils.py:1237 - Skipping. (ERROR) ArmoryUtils.py:3747 - Unsupported language specified. Defaulting to English (en) /usr/local/lib/armory/armoryengine/Transaction.py:2790: SyntaxWarning: import * only allowed at module level def PyCreateAndSignTx_old(srcTxOuts, dstAddrsVals): "sni-qt/4833" WARN 18:48:22.295 void StatusNotifierItemFactory::connectToSnw() Invalid interface to SNW_SERVICE (ERROR) BDM.py:275 - setSatoshiDir: directory does not exist: /root/.bitcoin/ (ERROR) ArmoryQt.py:1840 - Failed to setup SDM Traceback (most recent call last): File "/usr/local/bin/../lib/armory/ArmoryQt.py", line 1835, in startBitcoindIfNecessary TheSDM.setupSDM(extraExeSearch=self.satoshiExeSearchPath) File "/usr/local/lib/armory/SDM.py", line 188, in setupSDM if self.failedFindExe: raise self.BitcoindError, 'bitcoind not found' BitcoindError: bitcoind not found (ERROR) BDM.py:275 - setSatoshiDir: directory does not exist: /root/.bitcoin/ (ERROR) ArmoryQt.py:1808 - Failed to start Armory database: Invalid blockdata path Traceback (most recent call last): File "/usr/local/bin/../lib/armory/ArmoryQt.py", line 1793, in startArmoryDBIfNecessary TheSDM.spawnDB(ARMORY_HOME_DIR, TheBDM.armoryDBDir) File "/usr/local/lib/armory/SDM.py", line 368, in spawnDB raise self.BadPath, "Invalid blockdata path" BadPath: Invalid blockdata path Title: Re: Installing Armory on Ubuntu Post by: goatpig on July 27, 2017, 10:57:34 PM Oh boy, are you actually logged in as root, or did you just su?
Title: Re: Installing Armory on Ubuntu Post by: megashira1 on July 27, 2017, 11:09:57 PM Oh boy, are you actually logged in as root, or did you just su? Yes, root. Title: Re: Installing Armory on Ubuntu Post by: goatpig on July 27, 2017, 11:17:30 PM Yeah don't. You might as well reinstall your OS at this point.
Title: Re: Installing Armory on Ubuntu Post by: megashira1 on July 27, 2017, 11:18:17 PM Yeah don't. You might as well reinstall your OS at this point. Why? Title: Re: Installing Armory on Ubuntu Post by: goatpig on July 27, 2017, 11:25:26 PM It's like Mordor man. You don't simply walk in there, and you don't simply log in a root, do a bunch of stuff, and expect your system to still be sane. If you don't trust me, at least trust in Sean Bean. He dies for your sin like every other year.
How do you even log as root on Ubuntu? I thought that was disabled entirely. Title: Re: Installing Armory on Ubuntu Post by: achow101 on July 27, 2017, 11:29:45 PM Quote !!! Armory installed successfully !!! Armory can be removed at any time, either through your package manager, or through the following command: sudo dpkg -r armory Processing triggers for libc-bin (2.24-9ubuntu2) ... root@ophidion-ThinkPad-T430:~# (Reading database ... 237367 files and directories currently installed.) Reading: command not found root@ophidion-ThinkPad-T430:~# Preparing to unpack .../armory_0.96-gcc5.4_amd64.deb ... Preparing: command not found root@ophidion-ThinkPad-T430:~# Unpacking armory (0.96-1) over (0.96-1) ... -bash: syntax error near unexpected token `(' root@ophidion-ThinkPad-T430:~# dpkg: dependency problems prevent configuration of armory: No command 'dpkg:' found, did you mean: Command 'dpkg' from package 'dpkg' (main) dpkg:: command not found root@ophidion-ThinkPad-T430:~# armory depends on python-qt4; however: /root Log file doesn't exist [yet] (ERROR) ArmoryUtils.py:1236 - Error getting system details: Traceback (most recent call last): File "/usr/local/lib/armory/armoryengine/ArmoryUtils.py", line 1234, in <module> SystemSpecs = GetSystemDetails() File "/usr/local/lib/armory/armoryengine/ArmoryUtils.py", line 1229, in GetSystemDetails out.HddAvailB = getHddSize(BTC_HOME_DIR) / (1024**3) File "/usr/local/lib/armory/armoryengine/ArmoryUtils.py", line 1226, in getHddSize s = os.statvfs(adir) OSError: [Errno 2] No such file or directory: '/root/.bitcoin/' (ERROR) ArmoryUtils.py:1237 - Skipping. (ERROR) ArmoryUtils.py:3747 - Unsupported language specified. Defaulting to English (en) /usr/local/lib/armory/armoryengine/Transaction.py:2790: SyntaxWarning: import * only allowed at module level def PyCreateAndSignTx_old(srcTxOuts, dstAddrsVals): "sni-qt/4833" WARN 18:48:22.295 void StatusNotifierItemFactory::connectToSnw() Invalid interface to SNW_SERVICE (ERROR) BDM.py:275 - setSatoshiDir: directory does not exist: /root/.bitcoin/ (ERROR) ArmoryQt.py:1840 - Failed to setup SDM Traceback (most recent call last): File "/usr/local/bin/../lib/armory/ArmoryQt.py", line 1835, in startBitcoindIfNecessary TheSDM.setupSDM(extraExeSearch=self.satoshiExeSearchPath) File "/usr/local/lib/armory/SDM.py", line 188, in setupSDM if self.failedFindExe: raise self.BitcoindError, 'bitcoind not found' BitcoindError: bitcoind not found (ERROR) BDM.py:275 - setSatoshiDir: directory does not exist: /root/.bitcoin/ (ERROR) ArmoryQt.py:1808 - Failed to start Armory database: Invalid blockdata path Traceback (most recent call last): File "/usr/local/bin/../lib/armory/ArmoryQt.py", line 1793, in startArmoryDBIfNecessary TheSDM.spawnDB(ARMORY_HOME_DIR, TheBDM.armoryDBDir) File "/usr/local/lib/armory/SDM.py", line 368, in spawnDB raise self.BadPath, "Invalid blockdata path" BadPath: Invalid blockdata path Armory should be installed now anyways and you should be able to run it with just Code: armory How do you even log as root on Ubuntu? I thought that was disabled entirely. Code: sudo su Title: Re: Installing Armory on Ubuntu Post by: megashira1 on July 27, 2017, 11:32:22 PM Quote !!! Armory installed successfully !!! Armory can be removed at any time, either through your package manager, or through the following command: sudo dpkg -r armory Processing triggers for libc-bin (2.24-9ubuntu2) ... root@ophidion-ThinkPad-T430:~# (Reading database ... 237367 files and directories currently installed.) Reading: command not found root@ophidion-ThinkPad-T430:~# Preparing to unpack .../armory_0.96-gcc5.4_amd64.deb ... Preparing: command not found root@ophidion-ThinkPad-T430:~# Unpacking armory (0.96-1) over (0.96-1) ... -bash: syntax error near unexpected token `(' root@ophidion-ThinkPad-T430:~# dpkg: dependency problems prevent configuration of armory: No command 'dpkg:' found, did you mean: Command 'dpkg' from package 'dpkg' (main) dpkg:: command not found root@ophidion-ThinkPad-T430:~# armory depends on python-qt4; however: /root Log file doesn't exist [yet] (ERROR) ArmoryUtils.py:1236 - Error getting system details: Traceback (most recent call last): File "/usr/local/lib/armory/armoryengine/ArmoryUtils.py", line 1234, in <module> SystemSpecs = GetSystemDetails() File "/usr/local/lib/armory/armoryengine/ArmoryUtils.py", line 1229, in GetSystemDetails out.HddAvailB = getHddSize(BTC_HOME_DIR) / (1024**3) File "/usr/local/lib/armory/armoryengine/ArmoryUtils.py", line 1226, in getHddSize s = os.statvfs(adir) OSError: [Errno 2] No such file or directory: '/root/.bitcoin/' (ERROR) ArmoryUtils.py:1237 - Skipping. (ERROR) ArmoryUtils.py:3747 - Unsupported language specified. Defaulting to English (en) /usr/local/lib/armory/armoryengine/Transaction.py:2790: SyntaxWarning: import * only allowed at module level def PyCreateAndSignTx_old(srcTxOuts, dstAddrsVals): "sni-qt/4833" WARN 18:48:22.295 void StatusNotifierItemFactory::connectToSnw() Invalid interface to SNW_SERVICE (ERROR) BDM.py:275 - setSatoshiDir: directory does not exist: /root/.bitcoin/ (ERROR) ArmoryQt.py:1840 - Failed to setup SDM Traceback (most recent call last): File "/usr/local/bin/../lib/armory/ArmoryQt.py", line 1835, in startBitcoindIfNecessary TheSDM.setupSDM(extraExeSearch=self.satoshiExeSearchPath) File "/usr/local/lib/armory/SDM.py", line 188, in setupSDM if self.failedFindExe: raise self.BitcoindError, 'bitcoind not found' BitcoindError: bitcoind not found (ERROR) BDM.py:275 - setSatoshiDir: directory does not exist: /root/.bitcoin/ (ERROR) ArmoryQt.py:1808 - Failed to start Armory database: Invalid blockdata path Traceback (most recent call last): File "/usr/local/bin/../lib/armory/ArmoryQt.py", line 1793, in startArmoryDBIfNecessary TheSDM.spawnDB(ARMORY_HOME_DIR, TheBDM.armoryDBDir) File "/usr/local/lib/armory/SDM.py", line 368, in spawnDB raise self.BadPath, "Invalid blockdata path" BadPath: Invalid blockdata path Armory should be installed now anyways and you should be able to run it with just Code: armory How do you even log as root on Ubuntu? I thought that was disabled entirely. Code: sudo su Only copying the output to paste it here and show you. No intention of running the output. Title: Re: Installing Armory on Ubuntu Post by: achow101 on July 27, 2017, 11:36:56 PM Only copying the output to paste it here and show you. No intention of running the output. The output you pasted shows you running the output.Title: Re: Installing Armory on Ubuntu Post by: megashira1 on July 27, 2017, 11:41:19 PM Only copying the output to paste it here and show you. No intention of running the output. The output you pasted shows you running the output.Oh, must had been a misclick or something. Anyways. Armory is now installed but it is stuck at "Preparing Databases". I am in the process of downloading the blockchain via Bitcoin Core. Once downloaded will this fix things? Title: Re: Installing Armory on Ubuntu Post by: achow101 on July 27, 2017, 11:42:34 PM Oh, must had been a misclick or something. Possibly. Wait for Bitcoin Core to sync before trying to run Armory.Anyways. Armory is now installed but it is stuck at "Preparing Databases". I am in the process of downloading the blockchain via Bitcoin Core. Once downloaded will this fix things? Title: Re: Installing Armory on Ubuntu Post by: megashira1 on July 30, 2017, 06:18:48 PM Oh, must had been a misclick or something. Possibly. Wait for Bitcoin Core to sync before trying to run Armory.Anyways. Armory is now installed but it is stuck at "Preparing Databases". I am in the process of downloading the blockchain via Bitcoin Core. Once downloaded will this fix things? Ok, So Armory has been installed successfully. Bitcoin Core installed successfully. Now I get this error in terminal: Quote (ERROR) ArmoryUtils.py:3747 - Unsupported language specified. Defaulting to English (en) "sni-qt/17617" WARN 13:24:55.387 void StatusNotifierItemFactory::connectToSnw() Invalid interface to SNW_SERVICE (ERROR) ArmoryQt.py:1851 - Failed to setup SDM Traceback (most recent call last): File "/usr/bin/../lib/armory/ArmoryQt.py", line 1846, in startBitcoindIfNecessary TheSDM.setupSDM(extraExeSearch=self.satoshiExeSearchPath) File "/usr/lib/armory/SDM.py", line 188, in setupSDM if self.failedFindExe: raise self.BitcoindError, 'bitcoind not found' BitcoindError: bitcoind not found (WARNING) SDM.py:403 - Spawning DB with command:ArmoryDB --db-type="DB_FULL" --cookie --satoshi-datadir="/root/.bitcoin/" --datadir="/root/.armory/" --dbdir="/root/.armory/databases" -ERROR - : (StringSockets.cpp:351) FcgiSocket::writeAndRead FcgiError: unexpected fcgi header version In the Armory client 'Scanning Transaction History' gets stuck at 99% Title: Re: Installing Armory on Ubuntu Post by: achow101 on July 30, 2017, 07:47:56 PM Ok, Go to File > Settings and uncheck the box for "Let Armory run Bitcoin Core in the background". Now stop Armory and Bitcoin Core. Start Bitcoin Core, wait for it to be fully up. Then start Armory. What this does is that it makes it so that you have to start Bitcoin Core manually instead of letting Armory start it for you. I recommend that you do this as it does fix several potential problems.So Armory has been installed successfully. Bitcoin Core installed successfully. Now I get this error in terminal: Quote (ERROR) ArmoryUtils.py:3747 - Unsupported language specified. Defaulting to English (en) "sni-qt/17617" WARN 13:24:55.387 void StatusNotifierItemFactory::connectToSnw() Invalid interface to SNW_SERVICE (ERROR) ArmoryQt.py:1851 - Failed to setup SDM Traceback (most recent call last): File "/usr/bin/../lib/armory/ArmoryQt.py", line 1846, in startBitcoindIfNecessary TheSDM.setupSDM(extraExeSearch=self.satoshiExeSearchPath) File "/usr/lib/armory/SDM.py", line 188, in setupSDM if self.failedFindExe: raise self.BitcoindError, 'bitcoind not found' BitcoindError: bitcoind not found (WARNING) SDM.py:403 - Spawning DB with command:ArmoryDB --db-type="DB_FULL" --cookie --satoshi-datadir="/root/.bitcoin/" --datadir="/root/.armory/" --dbdir="/root/.armory/databases" -ERROR - : (StringSockets.cpp:351) FcgiSocket::writeAndRead FcgiError: unexpected fcgi header version In the Armory client 'Scanning Transaction History' gets stuck at 99% Title: Re: Installing Armory on Ubuntu Post by: megashira1 on July 30, 2017, 10:43:52 PM Ok, Go to File > Settings and uncheck the box for "Let Armory run Bitcoin Core in the background". Now stop Armory and Bitcoin Core. Start Bitcoin Core, wait for it to be fully up. Then start Armory. What this does is that it makes it so that you have to start Bitcoin Core manually instead of letting Armory start it for you. I recommend that you do this as it does fix several potential problems.So Armory has been installed successfully. Bitcoin Core installed successfully. Now I get this error in terminal: Quote (ERROR) ArmoryUtils.py:3747 - Unsupported language specified. Defaulting to English (en) "sni-qt/17617" WARN 13:24:55.387 void StatusNotifierItemFactory::connectToSnw() Invalid interface to SNW_SERVICE (ERROR) ArmoryQt.py:1851 - Failed to setup SDM Traceback (most recent call last): File "/usr/bin/../lib/armory/ArmoryQt.py", line 1846, in startBitcoindIfNecessary TheSDM.setupSDM(extraExeSearch=self.satoshiExeSearchPath) File "/usr/lib/armory/SDM.py", line 188, in setupSDM if self.failedFindExe: raise self.BitcoindError, 'bitcoind not found' BitcoindError: bitcoind not found (WARNING) SDM.py:403 - Spawning DB with command:ArmoryDB --db-type="DB_FULL" --cookie --satoshi-datadir="/root/.bitcoin/" --datadir="/root/.armory/" --dbdir="/root/.armory/databases" -ERROR - : (StringSockets.cpp:351) FcgiSocket::writeAndRead FcgiError: unexpected fcgi header version In the Armory client 'Scanning Transaction History' gets stuck at 99% Quote (ERROR) ArmoryUtils.py:3747 - Unsupported language specified. Defaulting to English (en) "sni-qt/2517" WARN 18:28:14.461 void StatusNotifierItemFactory::connectToSnw() Invalid interface to SNW_SERVICE (WARNING) SDM.py:403 - Spawning DB with command:ArmoryDB --db-type="DB_FULL" --cookie --satoshi-datadir="/root/.bitcoin/" --datadir="/root/.armory/" --dbdir="/root/.armory/databases" (ERROR) ArmoryQt.py:1194 - 3 attempts to load blockchain failed. Remove mempool.bin. (ERROR) ArmoryQt.py:1199 - File mempool.bin does not exist. Nothing deleted. Both Armory and Core are run in Root. I have ran Core not in Root and it started to download the blockchain again which I closed. Could this be causing problems? I think there are installed 2 bitcoin core directory's. Title: Re: Installing Armory on Ubuntu Post by: gangtraet on July 31, 2017, 01:04:48 PM You should most certainly not run anything as root, unless you absolutely have to!
Start Bitcoin Core as a normal user. Then once it has updated the blockchain, start Armory as a normal user. Title: Re: Installing Armory on Ubuntu Post by: megashira1 on July 31, 2017, 02:34:25 PM You should most certainly not run anything as root, unless you absolutely have to! Start Bitcoin Core as a normal user. Then once it has updated the blockchain, start Armory as a normal user. How do I move the blockchain from /root into non root? Title: Re: Installing Armory on Ubuntu Post by: megashira1 on August 01, 2017, 05:39:42 PM So it seems I was able to get Core to sync as well as Armory. Even had armory display my watch only account balances.
However now, I get this error in terminal: Quote -ERROR - : (StringSockets.cpp:351) FcgiSocket::writeAndRead FcgiError: unexpected fcgi header version EDIT: Deleted /.bitcoin/database folder and now everything seems to be working fine. Terminal displays the following however. Quote (python2:23573): Gtk-CRITICAL **: IA__gtk_progress_configure: assertion 'value >= min && value <= max' failed BDM is ready! |