Pages:
Author

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

legendary
Activity: 3430
Merit: 3071
June 26, 2016, 07: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, 07: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: 3071
June 26, 2016, 04: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, 03:35:52 AM
#26
It's strange, but doesn't work for me.
legendary
Activity: 3430
Merit: 3071
June 25, 2016, 06: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, 04: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: 3640
Merit: 1345
Armory Developer
June 24, 2016, 11:13:34 AM
#23
Free space at last!  Free space at last!

Upgrade to 0.94
newbie
Activity: 13
Merit: 0
June 24, 2016, 10: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, 04: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: 3164
Merit: 4345
diamond-handed zealot
June 22, 2016, 02: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, 03: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, 08: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: 3164
Merit: 4345
diamond-handed zealot
June 19, 2016, 10: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: 3374
Merit: 6530
Just writing some code
June 19, 2016, 09: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: 3164
Merit: 4345
diamond-handed zealot
June 19, 2016, 09: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: 3374
Merit: 6530
Just writing some code
June 19, 2016, 09: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: 3164
Merit: 4345
diamond-handed zealot
June 19, 2016, 09: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: 3374
Merit: 6530
Just writing some code
June 19, 2016, 09: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: 3164
Merit: 4345
diamond-handed zealot
June 19, 2016, 09:03:47 PM
#11
yeah...I own the D drive...somethings fucky
staff
Activity: 3374
Merit: 6530
Just writing some code
June 19, 2016, 09: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.
Pages:
Jump to: