Bitcoin Forum
May 24, 2024, 08:33:12 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: armory refuses to use nonstandard dir  (Read 1660 times)
visdude
Legendary
*
Offline Offline

Activity: 1081
Merit: 1001


View Profile
June 22, 2016, 08:22:09 PM
 #21

yep, thanks guys

I copied those funky quotes directly from the troubleshooting page

it looks like it is working now

do I delete the folder in appdata now?

I'm glad that you got it to finally work. However, the default folder for Armory is "Armory" and not "armorydb". So in your arg above, it should be "--datadir=”D:\Armory" instead of "--datadir=”D:\armorydb". I suspect that it is still using the default directory so don't delete anything yet. If this is the case, just move the Armory folder from the default directory to D:\, replace the wallet in it with yours and change your arg appropriately as indicated.


kevinp
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
June 24, 2016, 02:20:44 PM
Last edit: June 24, 2016, 02:55:00 PM by kevinp
 #22

This thread helped me solved a problem with moving the huge Bitcoin Core and Armory databases (150 GB total !!!) off my laptop and onto an external drive.

I am using Windows UNC paths to refer to both locations.

For Bitcoin Core, I modified the shortcut to become:
Code:
"C:\Program Files\Bitcoin\bitcoin-qt.exe" -datadir=\\myserver.mycompany.com\DriveE\Bitcoin

For Armory QT, I modified the shortcut to become:

Code:
"C:\Program Files (x86)\Armory\ArmoryQt.exe" --satoshi-datadir="\\myserver.mycompany.com\DriveE\Bitcoin" --datadir="\\myserver.mycompany.com\DriveE\Armory"

Note that the Armory shortcut needed to have double quotes for some reason.

This now works perfectly and I was able to delete the original Bitcoin and Armory folders.

Free space at last!  Free space at last!
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3668
Merit: 1347

Armory Developer


View Profile
June 24, 2016, 03:13:34 PM
 #23

Free space at last!  Free space at last!

Upgrade to 0.94

Right13
Sr. Member
****
Offline Offline

Activity: 473
Merit: 252


Cricetus cricetus


View Profile
June 25, 2016, 08:59:39 PM
 #24

Feature request: please add a config file option --satoshi-datadir.
In current version it's used only when Armory manage bitcoind. But i want to run Bitcoin-qt and Armory same time.
And it's not comfortable to run Armory from terminal with --satoshi-datadir.
Thanks for your work on Armory anyway.
P.S. My OS - Ubuntu 14.04.

BTC: 19SqQ58wue4v4n9zpdK9KdtXGUUEP3qvsp
Carlton Banks
Legendary
*
Offline Offline

Activity: 3430
Merit: 3074



View Profile
June 25, 2016, 10:20:56 PM
 #25

Feature request: please add a config file option --satoshi-datadir.
In current version it's used only when Armory manage bitcoind. But i want to run Bitcoin-qt and Armory same time.
And it's not comfortable to run Armory from terminal with --satoshi-datadir.
Thanks for your work on Armory anyway.
P.S. My OS - Ubuntu 14.04.


Feature exists already, if you don't like using the command line every time, then you can use the command line to solve that problem Grin


From the Terminal:
Code:
sudo vi /usr/share/applications/armory.desktop

or use nano/emacs if you don't like vi


then edit this line

Code:
Exec=/usr/bin/armory %u

to say this instead

Code:
Exec=/usr/bin/armory --satoshi-datadir=<your path to the .bitcoin directory you'd like>



Save the file, and possibly reboot the machine, please confirm in the thread if a reboot is necessary to pick up the new config (I don't use Linux in anything except VM's... so my system is a little different). If anyone knows an alternative command/script that feeds the new config file to application menu GUI (i.e. removing the necessity of a reboot), please let us know.

Vires in numeris
Right13
Sr. Member
****
Offline Offline

Activity: 473
Merit: 252


Cricetus cricetus


View Profile
June 26, 2016, 07:35:52 AM
 #26

It's strange, but doesn't work for me.

BTC: 19SqQ58wue4v4n9zpdK9KdtXGUUEP3qvsp
Carlton Banks
Legendary
*
Offline Offline

Activity: 3430
Merit: 3074



View Profile
June 26, 2016, 08:45:18 AM
 #27

It's strange, but doesn't work for me.

You did something wrong.

Are you familiar with Linux text editors? Are you certain you saved the armory.desktop file when you finished editing it?

Vires in numeris
Right13
Sr. Member
****
Offline Offline

Activity: 473
Merit: 252


Cricetus cricetus


View Profile
June 26, 2016, 11:25:12 AM
 #28

There is another armory.desktop file at /usr/local/share/applications
Work now. Thanks for advice.
P.S. Reboot unnecessary.

BTC: 19SqQ58wue4v4n9zpdK9KdtXGUUEP3qvsp
Carlton Banks
Legendary
*
Offline Offline

Activity: 3430
Merit: 3074



View Profile
June 26, 2016, 11:31:14 AM
 #29

Excellent, glad to help, and thanks for answering my question about the reboot, and telling us all how you solved the issue ultimately. All useful info for other Ubuntu users.

Vires in numeris
Pages: « 1 [2]  All
  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!