Bitcoin Forum
November 12, 2024, 09:05:25 AM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: "Parsing Tx Hashes" all night, hung or wait?  (Read 448 times)
jojo69 (OP)
Legendary
*
Offline Offline

Activity: 3346
Merit: 4652


diamond-handed zealot


View Profile
May 12, 2020, 04:07:27 PM
 #1

I am really sorry to bother you guys.  It seems like something breaks every couple years and I have to teach myself all the tricks over again.  I lose my chops in the intervening months.

I had a drive get full and my node went offline for 13 weeks.  I closed and rebooted and fired up bitcoin-qt and let it sync, then closed that normally and rebooted again and started up armory.

Things seemed to go well at first but now it is "Parsing Tx Hashes" for 12 hours which doesn't seem right.  There is a python task taking up 12% of my CPU that I think isn't usually there, so maybe that is it working away so I am reluctant to lose patience.  I figured I would ask what you folks think.

It is on an MX linux build, which is a debian with xfce.

This is not some pseudoeconomic post-modern Libertarian cult, it's an un-led, crowd-sourced mega startup organized around mutual self-interest where problems, whether of the theoretical or purely practical variety, are treated as temporary and, ultimately, solvable.
Censorship of e-gold was easy. Censorship of Bitcoin will be… entertaining.
goatpig
Moderator
Legendary
*
Online Online

Activity: 3752
Merit: 1364

Armory Developer


View Profile
May 12, 2020, 09:32:35 PM
 #2

Probably hung, though a look at the logs wouldn't hurt.

jojo69 (OP)
Legendary
*
Offline Offline

Activity: 3346
Merit: 4652


diamond-handed zealot


View Profile
May 13, 2020, 12:23:55 AM
 #3

log...right...uh...

I hope this is right

https://pastebin.com/NvGXvvkt

This is not some pseudoeconomic post-modern Libertarian cult, it's an un-led, crowd-sourced mega startup organized around mutual self-interest where problems, whether of the theoretical or purely practical variety, are treated as temporary and, ultimately, solvable.
Censorship of e-gold was easy. Censorship of Bitcoin will be… entertaining.
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4361

<insert witty quote here>


View Profile
May 13, 2020, 02:38:27 AM
 #4

That's the Armorylog.txt and it looks fine. Nothing untoward showing there. Can you post the contents of the dbLog.txt?

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
jojo69 (OP)
Legendary
*
Offline Offline

Activity: 3346
Merit: 4652


diamond-handed zealot


View Profile
May 13, 2020, 03:16:38 AM
 #5

dblog...right, sorry, I forget between problems, thanks!

https://pastebin.com/84Q1LFCP

This is not some pseudoeconomic post-modern Libertarian cult, it's an un-led, crowd-sourced mega startup organized around mutual self-interest where problems, whether of the theoretical or purely practical variety, are treated as temporary and, ultimately, solvable.
Censorship of e-gold was easy. Censorship of Bitcoin will be… entertaining.
goatpig
Moderator
Legendary
*
Online Online

Activity: 3752
Merit: 1364

Armory Developer


View Profile
May 13, 2020, 11:22:58 AM
 #6

Do you not have a wallet loaded?

jojo69 (OP)
Legendary
*
Offline Offline

Activity: 3346
Merit: 4652


diamond-handed zealot


View Profile
May 13, 2020, 03:05:22 PM
 #7

ummmm, 2 I believe, an empty hot wallet and a watching only, they show in the "available wallets" field of the GUI, no balances reported of course

is that a clue?

This is not some pseudoeconomic post-modern Libertarian cult, it's an un-led, crowd-sourced mega startup organized around mutual self-interest where problems, whether of the theoretical or purely practical variety, are treated as temporary and, ultimately, solvable.
Censorship of e-gold was easy. Censorship of Bitcoin will be… entertaining.
goatpig
Moderator
Legendary
*
Online Online

Activity: 3752
Merit: 1364

Armory Developer


View Profile
May 13, 2020, 09:49:15 PM
 #8

Well the DB is reporting that there is no history to scan so it looks like they were never registered. I'd nuke Armory's DB and try again.

jojo69 (OP)
Legendary
*
Offline Offline

Activity: 3346
Merit: 4652


diamond-handed zealot


View Profile
May 13, 2020, 10:30:27 PM
 #9

nuke DB...right...I remember something about that, of course that was on windows...hmmm

wanders off to poke around/

hold up! I found another set of logs, and perhaps this will be instructive, at least about my ignorance if nothing else.

So, pathing, the perennial bugaboo of Armory support; I have both core and Armory pointed to an alternate location, /media/BITCORE/ but both seem to still write some data to /home/usr/.bitcoin and /home/usr/.armory.  200 some odd GB in .bitcoin on my boot nVME was the issue that precipitated this whole exercise.

I am really sorry guys, I swear once you get me trained back up I will help point some noobs to electrum for a while, I try and give back, but the months go by and computers are not my main thing.

The log files in /media/BITCORE are too large for pastebin, and seem to end around newyears, clearly my pathing is borked yet again...I do not recall changing anything but we have already established that this is not unheard of.


here is the tail of armorylog

https://pastebin.com/dFYGZ5jn

"when I click on dblog there it tells me "some file(s) could not be opened! you may not have the permission to read"

ffs...since when, it worked before

linux permissions fml, I am in hell






This is not some pseudoeconomic post-modern Libertarian cult, it's an un-led, crowd-sourced mega startup organized around mutual self-interest where problems, whether of the theoretical or purely practical variety, are treated as temporary and, ultimately, solvable.
Censorship of e-gold was easy. Censorship of Bitcoin will be… entertaining.
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4361

<insert witty quote here>


View Profile
May 14, 2020, 12:22:50 AM
 #10

I'm not sure where that logfile has come from... but it is showing an old, outdated version of Armory... running on Windows:
Code:
2020-01-02 09:28:19 (INFO) -- ArmoryUtils.pyc:1271 -    Armory Version        : 0.96.3
2020-01-02 09:28:19 (INFO) -- ArmoryUtils.pyc:1272 -    Armory Build:         : 2b65ac0648
2020-01-02 09:28:19 (INFO) -- ArmoryUtils.pyc:1273 -    PyBtcWallet  Version  : 1.35
2020-01-02 09:28:19 (INFO) -- ArmoryUtils.pyc:1274 - Detected Operating system: Windows
2020-01-02 09:28:19 (INFO) -- ArmoryUtils.pyc:1275 -    OS Variant            : 7-6.1.7601-SP1-Multiprocessor Free

But you say you're now running on Linux? Huh So, I don't think these logfiles are at all relevant to your current issue.


So, pathing, the perennial bugaboo of Armory support; I have both core and Armory pointed to an alternate location, /media/BITCORE/ but both seem to still write some data to /home/usr/.bitcoin and /home/usr/.armory.
It appears that while Bitcoin Core is indeed using /media/BITCORE, your Armory install is NOT set to use this directory... and is writing to /home/usr/.armory

Quote
2020-05-12 17:09:11 (INFO) -- ArmoryQt.py:1891 - Setting satoshi datadir = /media/BITCORE/Blockchain
2020-05-12 17:09:11 (WARNING) -- SDM.py:402 - Spawning DB with command: ArmoryDB --db-type="DB_FULL" --cookie --satoshi-datadir="/media/BITCORE/Blockchain/blocks" --satoshi-port=8333 --datadir="/home/stg/.armory/" --dbdir="/home/stg/.armory/databases"
2020-05-12 17:09:11 (INFO) -- ArmoryUtils.py:689 - Executing popen: ['ArmoryDB', '--db-type="DB_FULL"', '--cookie', '--satoshi-datadir="/media/BITCORE/Blockchain/blocks"', '--satoshi-port=8333', '--datadir="/home/stg/.armory/"', '--dbdir="/home/stg/.armory/databases"']


nuke DB...right...I remember something about that, of course that was on windows...hmmm
In Armory, Goto "Help -> Rebuild and Rescan Databases"... Click "Yes" and then shut down and restart Armory.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
jojo69 (OP)
Legendary
*
Offline Offline

Activity: 3346
Merit: 4652


diamond-handed zealot


View Profile
May 14, 2020, 01:18:34 AM
 #11

OK, so that is some shit copied over from me trying to not re-download 250GB of blockchain when they stopped supporting win7

that is the only explanation for that

what a mess
Quote
your Armory install is NOT set to use this directory... and is writing to /home/usr/.armory


copy that, investigating

This is not some pseudoeconomic post-modern Libertarian cult, it's an un-led, crowd-sourced mega startup organized around mutual self-interest where problems, whether of the theoretical or purely practical variety, are treated as temporary and, ultimately, solvable.
Censorship of e-gold was easy. Censorship of Bitcoin will be… entertaining.
goatpig
Moderator
Legendary
*
Online Online

Activity: 3752
Merit: 1364

Armory Developer


View Profile
May 14, 2020, 10:59:18 AM
 #12

Says 96.3, is there a reason you're on an older release for your online machine?

jojo69 (OP)
Legendary
*
Offline Offline

Activity: 3346
Merit: 4652


diamond-handed zealot


View Profile
May 15, 2020, 12:21:41 AM
Last edit: May 15, 2020, 01:22:02 AM by jojo69
 #13

yeah, clearly my pathing is borked, those logs are from the old Win7 build

I remember having to grapple with editing fstab to get that BITCORE drive with the blockchain on it mounted.

I am running 0.96.5-beta per the about tab in the GUI

I have had Armory Database pointed to /media/BITCORE/armory under file/settings, but is obviously has not written its logs there since the yuletide, while the logs in /home/usr/.armory are more current...why on earth would that be?


This is not some pseudoeconomic post-modern Libertarian cult, it's an un-led, crowd-sourced mega startup organized around mutual self-interest where problems, whether of the theoretical or purely practical variety, are treated as temporary and, ultimately, solvable.
Censorship of e-gold was easy. Censorship of Bitcoin will be… entertaining.
goatpig
Moderator
Legendary
*
Online Online

Activity: 3752
Merit: 1364

Armory Developer


View Profile
May 15, 2020, 06:30:14 AM
 #14

Quote
I have had Armory Database pointed to /media/BITCORE/armory under file/settings, but is obviously has not written its logs there since the yuletide, while the logs in /home/usr/.armory are more current...why on earth would that be?

Database path is just that.

satoshi-datadir -> Path to Core's datadir, defaults to ~/.bitcoin

datadir -> path to Armory's setting files, logs & wallets. Defaults to ~/.armory

dbdir -> Armory database folder, defaults to [datadir]/databases

jojo69 (OP)
Legendary
*
Offline Offline

Activity: 3346
Merit: 4652


diamond-handed zealot


View Profile
May 22, 2020, 01:16:20 AM
 #15

so yeah, had to step away for a bit, frustration and other stuff going on

The situation here is that armorylog shows --dbdir="/home/stg/.armory/databases", but I DO HAVE my alternate path /media/BITCORE/armory specified in the Armory Settings dialog in the GUI.

ArmorySettings.txt agrees with the GUI; ArmoryDbdir                       l   /media/BITCORE/armory

so, I'm stumped

This is not some pseudoeconomic post-modern Libertarian cult, it's an un-led, crowd-sourced mega startup organized around mutual self-interest where problems, whether of the theoretical or purely practical variety, are treated as temporary and, ultimately, solvable.
Censorship of e-gold was easy. Censorship of Bitcoin will be… entertaining.
goatpig
Moderator
Legendary
*
Online Online

Activity: 3752
Merit: 1364

Armory Developer


View Profile
May 22, 2020, 11:33:24 AM
 #16

What config files do you have?

jojo69 (OP)
Legendary
*
Offline Offline

Activity: 3346
Merit: 4652


diamond-handed zealot


View Profile
May 22, 2020, 05:09:25 PM
 #17

I don't see any, .armory has .cookie_, several .wallets the three logs and settings in it, well, and a databases folder that I don't think it should be using...

This is not some pseudoeconomic post-modern Libertarian cult, it's an un-led, crowd-sourced mega startup organized around mutual self-interest where problems, whether of the theoretical or purely practical variety, are treated as temporary and, ultimately, solvable.
Censorship of e-gold was easy. Censorship of Bitcoin will be… entertaining.
goatpig
Moderator
Legendary
*
Online Online

Activity: 3752
Merit: 1364

Armory Developer


View Profile
May 23, 2020, 12:28:58 PM
 #18

Create an armorydb.conf, put your --dbdir and --satoshi-datadir args in there, then ArmoryDB from the terminal. What do you get?

jojo69 (OP)
Legendary
*
Offline Offline

Activity: 3346
Merit: 4652


diamond-handed zealot


View Profile
May 23, 2020, 06:31:35 PM
 #19

OK, I am going to be very methodical here because it is probable that I am making really dumb mistakes.  Honestly, goatpig, I do not know what motivates you to continue putting up with people like me but bless you.

So I created an armorydb.conf in /home/stg/.armory/

Code:
--dbdir="/media/BITCORE/armory"

--satoshi-datadir="/media/BITCORE/Blockchain"


then I navigated to /usr/bin and ran ArmoryDB

Code:
stg@UD5:~
$ cd .
stg@UD5:~
$ cd /usr/bin
stg@UD5:/usr/bin
$ ArmoryDB
/home/stg
/home/stg
logging in /home/stg/.armory/dbLog.txt
-INFO  - 11:15:14: (main.cpp:32) Running on 8 threads
-INFO  - 11:15:14: (main.cpp:33) Ram usage level: 50
-INFO  - 11:15:14: (BlockUtils.cpp:915) blkfile dir: /home/stg/.bitcoin/blocks
-INFO  - 11:15:14: (BlockUtils.cpp:916) lmdb dir: /home/stg/.armory/databases
-INFO  - 11:15:14: (lmdb_wrapper.cpp:388) Opening databases...
-INFO  - 11:15:14: (BDM_Server.h:263) Listening on port 9001
-INFO  - 11:15:14: (BlockUtils.cpp:1108) Executing: doInitialSyncOnLoad
-INFO  - 11:15:14: (DatabaseBuilder.cpp:199) Reading headers from db
-WARN  - 11:15:14: (lmdb_wrapper.cpp:1241) No headers in DB yet!
-INFO  - 11:15:14: (DatabaseBuilder.cpp:238) Found 1 headers in db
-INFO  - 11:15:14: (DatabaseBuilder.cpp:71) updating HEADERS db
-INFO  - 11:15:14: (Blockchain.cpp:248) Organizing chain
-INFO  - 11:15:14: (Blockchain.cpp:370) Organized chain in 0s
-INFO  - 11:15:14: (DatabaseBuilder.cpp:76) updated HEADERS db in 0s
-INFO  - 11:15:14: (lmdb_wrapper.cpp:388) Opening databases...
-INFO  - 11:15:14: (DatabaseBuilder.cpp:1231) verifying txfilters integrity
-INFO  - 11:15:14: (DatabaseBuilder.cpp:1314) done checking txfilters
-INFO  - 11:15:14: (BDM_supportClasses.cpp:1891) Enabling zero-conf tracking


Is this what you wanted?

This is not some pseudoeconomic post-modern Libertarian cult, it's an un-led, crowd-sourced mega startup organized around mutual self-interest where problems, whether of the theoretical or purely practical variety, are treated as temporary and, ultimately, solvable.
Censorship of e-gold was easy. Censorship of Bitcoin will be… entertaining.
goatpig
Moderator
Legendary
*
Online Online

Activity: 3752
Merit: 1364

Armory Developer


View Profile
May 24, 2020, 06:01:12 PM
 #20

Is this what you wanted?

Yes. The results are surprising, it is not detecting the pathing at all. Try running the DB directly with the cli args. From /usr/bin run:

Code:
./ArmoryDB --dbdir="/media/BITCORE/armory" --satoshi-datadir="/media/BITCORE/Blockchain"

Quote
then I navigated to /usr/bin and ran ArmoryDB

If you've installed Armory you shouldn't not need to browse to the bin folder to run the binary, it should be in your path, i.e. you can run ArmoryDB, whatever path your terminal is pointing at. Since you bothered browsing to the binary's folder, run with ./ preprended to guarantee you're using the local copy of ArmoryDB. Who knows, maybe you have installation snafu. Also, try the cli args without the quotes (") and lmk.

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!