Bitcoin Forum

Bitcoin => Armory => Topic started by: YummyBees on August 24, 2018, 03:13:44 AM



Title: Stuck in Offline
Post by: YummyBees on August 24, 2018, 03:13:44 AM
My armory is stuck in offline mode, I have connection except it says offline in the bottom right corner, my wallet should have BTC in it but it doesn't. The transaction was confirmed to have gone through. I noticed an error consistently popping up in my logs though...

2018-08-23 20:52:06 (ERROR) -- BDM.pyc:197 - DB error: C:\Users\ben_000\AppData\Roaming/Bitcoin/blocks is not a valid path

Any help is much appreciated, thank you!


Title: Re: Stuck in Offline
Post by: HCP on August 24, 2018, 04:21:51 AM
Do you have Bitcoin Core installed and fully synced?

If so, did you set it up to use a "custom" data directory?
If not, Armory requires Bitcoin Core to be installed and fully synced to work properly.

Fully synced == Synced up to Block# 538198 (or higher) as of this message...


Title: Re: Stuck in Offline
Post by: bob123 on August 24, 2018, 09:10:31 AM
2018-08-23 20:52:06 (ERROR) -- BDM.pyc:197 - DB error: C:\Users\ben_000\AppData\Roaming/Bitcoin/blocks is not a valid path

This means that either:
1) Your data directory path of core is not in the standard directory (which would require you to change it to your custom directory in the settings) or
2) You don't have core installed at all.

Armory does retrieve all information from your local core installation. Core has to be synced and running for armory to be able to retrieve the current information regarding your transactions.
You will only be able to have armory 'synced' with core being synced and running.

As long as you have a backup of your private keys, your coins are safe. This is just a problem with armory trying to connect to core.


Do you have core installed ?


Title: Re: Stuck in Offline
Post by: YummyBees on August 26, 2018, 04:08:32 AM
2018-08-23 20:52:06 (ERROR) -- BDM.pyc:197 - DB error: C:\Users\ben_000\AppData\Roaming/Bitcoin/blocks is not a valid path
Do you have core installed ?

I do, it is fully synced too.


Title: Re: Stuck in Offline
Post by: bob123 on August 26, 2018, 11:56:06 AM
Did you set the path manually ?

2018-08-23 20:52:06 (ERROR) -- BDM.pyc:197 - DB error: C:\Users\ben_000\AppData\Roaming/Bitcoin/blocks is not a valid path

The slashes (/) seem to be wrong. Windows does use backslashes (\).


Title: Re: Stuck in Offline
Post by: goatpig on August 26, 2018, 12:06:28 PM
Windows can use both slashes, only caveat being that within a string literal you need to escape the backslash (\).

The issue is that he isn't pathing at all. What we are shown here is the default database folder resolved by Armory.


Title: Re: Stuck in Offline
Post by: HCP on August 27, 2018, 01:47:32 AM
I do, it is fully synced too.
What folder did you set your Bitcoin Data Directory to? What is the "datadir" path as shown by Bitcoin Core? (Help -> Debug Window -> Information):
https://talkimg.com/images/2023/11/15/ziLom.png


You will need to use that path... and the information here (https://btcarmory.com/docs/pathing) to get Armory to find your Bitcoin Core blocks folder correctly. Once that is setup properly, you will find that Armory will "find" your BTC.


Title: Re: Stuck in Offline
Post by: YummyBees on August 29, 2018, 01:53:57 AM
I do, it is fully synced too.
What folder did you set your Bitcoin Data Directory to? What is the "datadir" path as shown by Bitcoin Core? .

C:\Users\ben_000\AppData\Roaming\Bitcoin


Title: Re: Stuck in Offline
Post by: HCP on August 31, 2018, 03:43:04 AM
Very odd... So Bitcoin Core claims it is using that folder, but Armory doesn't recognise it... ???

If you open that folder in Windows Explorer (note that "AppData" is hidden by default in Windows, see below), do you see a Bitcoin folder? If so, does it have a "blocks" folder in it?? ???



To view AppData, have a read of this: https://support.microsoft.com/en-us/help/14201/windows-show-hidden-files


Title: Re: Stuck in Offline
Post by: bob123 on August 31, 2018, 07:28:09 AM
[...]
To view AppData, have a read of this: https://support.microsoft.com/en-us/help/14201/windows-show-hidden-files

Or a faster way:

Press WIN-key + R to open the Run-command-windows.
Then enter either:

Code:
%APPDATA%\Bitcoin
(to open the bitcoin folder inside AppData)

or:
Code:
%APPDATA%

to open the AppData folder.


This does work WITHOUT activating to display hidden folders.
Then do what HCP said and look if the tree structure looks 'normal' (blocks folder exists, .. ).