Author

Topic: armory refuses to use nonstandard dir (Read 1736 times)

legendary
Activity: 3430
Merit: 3080
June 26, 2016, 06: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.
sr. member
Activity: 473
Merit: 252
Cricetus cricetus
June 26, 2016, 06:25:12 AM
#28
There is another armory.desktop file at /usr/local/share/applications
Work now. Thanks for advice.
P.S. Reboot unnecessary.
legendary
Activity: 3430
Merit: 3080
June 26, 2016, 03: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?
sr. member
Activity: 473
Merit: 252
Cricetus cricetus
June 26, 2016, 02:35:52 AM
#26
It's strange, but doesn't work for me.
legendary
Activity: 3430
Merit: 3080
June 25, 2016, 05: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=



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.
sr. member
Activity: 473
Merit: 252
Cricetus cricetus
June 25, 2016, 03: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.
legendary
Activity: 3766
Merit: 1364
Armory Developer
June 24, 2016, 10:13:34 AM
#23
Free space at last!  Free space at last!

Upgrade to 0.94
newbie
Activity: 13
Merit: 0
June 24, 2016, 09:20:44 AM
#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!
legendary
Activity: 1081
Merit: 1001
June 22, 2016, 03: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.


legendary
Activity: 3318
Merit: 4606
diamond-handed zealot
June 22, 2016, 01:26:08 AM
#20
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?
legendary
Activity: 1284
Merit: 1001
June 21, 2016, 02:52:55 PM
#19
good idea, it is probably a stupid syntax mistake, and I can change folder names once I get it working


"D:\Program Files (x86)\Armory\ArmoryQt.exe" --satoshi-datadir=“D:\Bitcoin” --datadir=”D:\armorydb”
I don't think you can use those funky sideways quote marks. Erase everything and copy this exactly:

Quote
"D:\Program Files (x86)\Armory\ArmoryQt.exe" --satoshi-datadir="D:\Bitcoin" --datadir="D:\armorydb"

Also, are the Bitcoin and Armory dirs the ones that contain the wallet file(s)? They should be.
newbie
Activity: 14
Merit: 8
June 21, 2016, 07:17:20 AM
#18
good idea, it is probably a stupid syntax mistake, and I can change folder names once I get it working


"D:\Program Files (x86)\Armory\ArmoryQt.exe" --satoshi-datadir=“D:\Bitcoin” --datadir=”D:\armorydb”

What's the difference between: "  “  ”

Look closely  Shocked
legendary
Activity: 3318
Merit: 4606
diamond-handed zealot
June 19, 2016, 09:05:58 PM
#17
why on earth would it not find it when D:\armorydb is right here staring me in the face...??

lol
staff
Activity: 3458
Merit: 6793
Just writing some code
June 19, 2016, 08:56:04 PM
#16
"Armory is using the default data directory because the data directory specified in the command line, could not be found and could not be created"
That error only appears if there is an issue not with Armory. The comment with that error is:
Code:
This is true if and only if the command line has a data dir that doesn't exist and can't be created.
which indicates it is probably not an issue with Armory.

0.93.3-beta-e59e10d38c
Try upgrading to the latest version, 0.94.1, downloadable from: https://github.com/goatpig/BitcoinArmory/releases/tag/v0.94.1
legendary
Activity: 3318
Merit: 4606
diamond-handed zealot
June 19, 2016, 08:48:47 PM
#15
"Armory is using the default data directory because the data directory specified in the command line, could not be found and could not be created"

0.93.3-beta-e59e10d38c

staff
Activity: 3458
Merit: 6793
Just writing some code
June 19, 2016, 08:26:42 PM
#14
good idea, it is probably a stupid syntax mistake, and I can change folder names once I get it working


"D:\Program Files (x86)\Armory\ArmoryQt.exe" --satoshi-datadir=“D:\Bitcoin” --datadir=”D:\armorydb”
I don't see any issues with that.

What is the exact error that you get?

Also, what version of Armory are you running?
legendary
Activity: 3318
Merit: 4606
diamond-handed zealot
June 19, 2016, 08:12:28 PM
#13
good idea, it is probably a stupid syntax mistake, and I can change folder names once I get it working


"D:\Program Files (x86)\Armory\ArmoryQt.exe" --satoshi-datadir=“D:\Bitcoin” --datadir=”D:\armorydb”
staff
Activity: 3458
Merit: 6793
Just writing some code
June 19, 2016, 08:06:06 PM
#12
yeah...I own the D drive...somethings fucky
Yeah, not sure what is wrong. I don't think it has anything to do with Armory though. Mind sharing your startup command?
legendary
Activity: 3318
Merit: 4606
diamond-handed zealot
June 19, 2016, 08:03:47 PM
#11
yeah...I own the D drive...somethings fucky
staff
Activity: 3458
Merit: 6793
Just writing some code
June 19, 2016, 08:00:07 PM
#10
ran as admin and still got "data directory specified in the command line, could not be found and could not be created"

but it's right there...pulling my hair out, thank you so much for your help though
Check the permission of the drive itself and make sure that any user can read and write to that drive.
legendary
Activity: 3318
Merit: 4606
diamond-handed zealot
June 19, 2016, 07:54:12 PM
#9
ran as admin and still got "data directory specified in the command line, could not be found and could not be created"

but it's right there...pulling my hair out, thank you so much for your help though
staff
Activity: 3458
Merit: 6793
Just writing some code
June 19, 2016, 07:48:27 PM
#8
and to be more specific, if I use the double dash in that syntax armory states that it is using the default path as the specified path can not be created
That syntax is correct. I think you have to create the empty folder first so that it already exists when Armory starts. Otherwise, that may be a permissions issue.
legendary
Activity: 3318
Merit: 4606
diamond-handed zealot
June 19, 2016, 07:44:43 PM
#7
and to be more specific, if I use the double dash in that syntax armory states that it is using the default path as the specified path can not be created
staff
Activity: 3458
Merit: 6793
Just writing some code
June 19, 2016, 07:43:24 PM
#6
you use the double dash before datadir...is that to indicate the endash or the emdash?
Neither. It is literally just two dashes (hyphens).

I did try that as well, and that is certainly NOT what displays in firefox on my system on the troubleshooting page

–satoshi-datadir=_“_F:\Bitcoin\new\home\dir_”_ –datadir=_”_F:\Armory\new\home\dir_”_

what I see displayed is;

en or emdashsatoshi-datadir=underscore"underscorepathunderscore"underscoreen or emdashdatadir=underscore"underscorepathunderscore"underscore
Ignore that. There are no em or en dashes and no underscores unless they are in your path. Those are wrong.

Just copy and paste what I give you below and change what you need to
Code:
--satoshi-datadir="F:\Bitcoin\path" --datadir="F:\Armory\path"
That is it. No underscores or other dashes except the double dash in front of each option and the dash in satoshi-datadir
legendary
Activity: 3318
Merit: 4606
diamond-handed zealot
June 19, 2016, 07:20:34 PM
#5
you use the double dash before datadir...is that to indicate the endash or the emdash?
Neither. It is literally just two dashes (hyphens).

I did try that as well, and that is certainly NOT what displays in firefox on my system on the troubleshooting page

–satoshi-datadir=_“_F:\Bitcoin\new\home\dir_”_ –datadir=_”_F:\Armory\new\home\dir_”_

what I see displayed is;

en or emdashsatoshi-datadir=underscore"underscorepathunderscore"underscoreen or emdashdatadir=underscore"underscorepathunderscore"underscore
staff
Activity: 3458
Merit: 6793
Just writing some code
June 19, 2016, 07:12:57 PM
#4
you use the double dash before datadir...is that to indicate the endash or the emdash?
Neither. It is literally just two dashes (hyphens).
legendary
Activity: 3318
Merit: 4606
diamond-handed zealot
June 19, 2016, 07:02:08 PM
#3
thank you so much knightdk!

yes, I started out with a direct paste from the troubleshooting page and then edited in my specific paths

I believe I have the required quotes in place

you use the double dash before datadir...is that to indicate the endash or the emdash?
staff
Activity: 3458
Merit: 6793
Just writing some code
June 19, 2016, 06:52:05 PM
#2
To change the armory data directory, you need to start Armory with the option
Code:
--datadir=
Where is your path. If you have spaces in your path, surround the whole thing with quotes.
legendary
Activity: 3318
Merit: 4606
diamond-handed zealot
June 19, 2016, 06:39:51 PM
#1
hey guys, I am probably an idiot, but I have been beating my head against this for 2 days.

my C: SSD is too small to hold the blockchain, I have been trying to follow the troubleshooting instructions...tried em dashes, en dashes, spaces for the underscores, whatever I do Armory just fills up the C: appdata folder and hangs when the drive is full.

OK, so I am an idiot.

can somebody please post the actual correct syntax that makes this work ??


yeah, the other system that used to work...bitcoind crashes when armory calls it, despite repeated complete deletions and redownloads...at my wits end

yes, my clocks are synced, thanks

please help
Jump to: