Bitcoin Forum
June 21, 2024, 07:44:15 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Armory / Re: problems upgrading from 0.93.3 to 0.95.1 (stuck on Scanning transaction history) on: April 27, 2017, 06:40:39 PM
You will need to start Bitcoin Core manually. In Armory, go to FIle > Settings and uncheck the box "Let Armory run Bitcoin Core in the background". Then stop Armory, start Bitcoin Core, and start Armory again.

Did that. On first run it took a long time and Armory produced a 92GB log file before I shut it down containing these messages:
Quote
-INFO  - 1493045595: (BlockchainScanner.cpp:650) scanned from height #385622 to #386291
---::BlockchainScanner.cpp:433ch) Failed to create BlockDataMap for file/home/pete/.bitcoin/blocks/blk00601.dat


::BlockchainScanner.cpp:433ch) Failed to create BlockDataMap for file/home/pete/.bitcoin/blocks/blk00601.dat


::BlockchainScanner.cpp:433ch) Failed to create BlockDataMap for file/home/pete/.bitcoin/blocks/blk00601.dat


-WARN  - 1493065874: (BlockDataMap.cpp:434) Trying again...
-WARN  - 1493065876: (BlockDataMap.cpp:433) Failed to create BlockDataMap for file: /home/pete/.bitcoin/blocks/blk00601.dat
-WARN  - 1493065876: (BlockDataMap.cpp:434) Trying again...
-WARN  - 1493065876: (BlockDataMap.cpp:433) Failed to create BlockDataMap for file: /home/pete/.bitcoin/blocks/blk00601.dat


Then I deleted blocks back to blk00600.dat, did a "bitcoind -reindex" and started Armory again after blockchain was up to date.
This time, everything worked as expected. Had to close Armory again because it comsumed again all memory while showing no progress for hours, but now I can start it without a problem.
2  Bitcoin / Armory / Re: problems upgrading from 0.93.3 to 0.95.1 (stuck on Scanning transaction history) on: April 24, 2017, 11:53:30 AM
New problem with the backup computer where I downloaded a fresh blockchain with BC 0.13.2. Now Armory hangs on "Initializing bitcoin engine" and ArmoryDB never gets started. armorylog.txt fills up with megabyted of this repeated error  message:


2017-04-23 16:27 (ERROR) -- SDM.py:791 - ValueError in bkgd req top blk
Traceback (most recent call last):
  File "/usr/lib/armory/SDM.py", line 765, in __backgroundRequestTopBlock
    numblks = self.proxy.getinfo()['blocks']
  File "/usr/lib/armory/bitcoinrpc_jsonrpc/authproxy.py", line 105, in __call__
    resp = json.loads(resp, parse_float=decimal.Decimal)
  File "/usr/lib/python2.7/json/__init__.py", line 351, in loads
    return cls(encoding=encoding, **kw).decode(s)
  File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded


I also installed Ubuntu 16.04 on that computer to check if it is a problem with the operating system. Same problem.
Any advice?
3  Bitcoin / Armory / Re: problems upgrading from 0.93.3 to 0.95.1 (stuck on Scanning transaction history) on: April 15, 2017, 03:25:32 PM
Thank you for answering!

Meanwhile, before your post I startet to download a new blockchain with BC 0.13.1 on the backup computer, so waiting for this to finish before trying again.

On the main computer which halfway worked before, I downgraded to BC 0.13.2 and started Armory up with deleted database folder. This time, I had to kill ArmoryDB because it was getting stuck at "Scanning transaction history". In detail, I closed Armory when nothing happened for some time, then CPU usage suddenly jumped up with ArmoryDB for some time, but it didn't terminate, so I killed it. After a restart, everything seems to work and total sum shows up fine.

Posting log files from the main computer:
https://pastebin.com/zQ2JBTvN
https://pastebin.com/bPxKrX8z
4  Bitcoin / Armory / problems upgrading from 0.93.3 to 0.95.1 (stuck on Scanning transaction history) on: April 14, 2017, 10:08:18 PM
I have problems upgrading from 0.93.3 to 0.95.1 on Ubuntu 14.04.

What I do is:
- delete "databases" and "bittorrentcache" folders in .armory
- remove 0.93.3, install and start 0.95.1
- wait for the database being build (seems to work fine)
- see armory hanging at "Scanning transaction history" (showing no progress for hours)
- ArmoryDB will consume all available memory at this point
- close Armory, kill ArmoryDB process
- restart Armory
- it will finish to main screen, but this years transactions are missing, showing a wrong total sum of funds

This is on my backup computer. On my main computer, also with Ubuntu 14.04 and same wallets, ArmoryDB will also hang at "Scanning transaction history" but not consume all available memory. Also there are error messages when Armory is started from console. I can close Armory there with it shutting down ArmoryDB automatically. When I restart Armory, it completes and shows correct total funds.

armorylog.txt
https://pastebin.com/PmNGYg0m
dbLog.txt
https://pastebin.com/8Fb5P1jt

In dbLog.txt there are errors "invalid header size" and "raw data does not match expected block hash". Should I redownload BC blockchain and try again with database rebuild?
5  Bitcoin / Armory / Re: Armory 0.95 is out on: April 14, 2017, 08:22:26 PM
I thought this is a normal behavior. When you change or create new database Armory needs to scan all your wallets again against the new databases. That is a very resourceful task (hint: now you will understand why on-chain scaling is not efficient and why we need that part of transaction to be off-chain) and I think it needs all the RAM memory for faster processing. I would like to know if there is a cap on the amount of ram that it needs in order to speed things up, but you sound like you have very little ram available on your back-up machine. I think you will need to leave your computer online overnight or when until it finishes. I will take a while.

Maybe someone can teach us how or what can we copy from Armory from another computer that has all wallets synced.

Both main and backup computer have 16GB of RAM. Scanning from scratch taking some time is normal, but it just feels odd to me that ArmoryDB will consume 14GB on one computer and hang while it never consumes more than 4GB or less (I think) on the main one.  And a bit unsettling to see it finish with wrong total sum when ArmoryDB is being killed. I've been trying this for some days now btw, having waited for more than a day for the task to complete and also saw other non-reproducable erratic behaviour.

Anyways, should've done some more research than just searching forum and reading through this thread, apologies! Looking at dbLog.txt there seems to be a problem with some blocks. You can not use bitcoind >0.13.1 with 0.95.1 right? Will make an own thread if I'm still curious, Thank You!
6  Bitcoin / Armory / Re: Armory 0.95 is out on: April 14, 2017, 07:41:45 AM
I have problems upgrading from 0.93.3 to 0.95.1 on Ubuntu 14.04.

What I do is:
- delete "databases" and "bittorrentcache" folders in .armory
- remove 0.93.3, install and start 0.95.1
- wait for the database being build (seems to work fine)
- see armory hanging at "Scanning transaction history" (showing no progress for hours)
- ArmoryDB will consume all available memory at this point
- close Armory, kill ArmoryDB process
- restart Armory
- it will finish to main screen, but this years transactions are missing, showing a wrong total sum of funds

This is on my backup computer. On my main computer, also with Ubuntu 14.04 and same wallets, ArmoryDB will also hang at "Scanning transaction history" but not consume all available memory. Also there are error messages when Armory is started from console. I can close Armory there with it shutting down ArmoryDB automatically. When I restart Armory, it completes and shows correct total funds.

I could just copy over everything from the main computer to backup computer, but havent't done so as I wanted to report the issue first.
7  Bitcoin / Armory / Re: Armory 0.95 is out on: April 13, 2017, 03:46:12 PM
Well, Flanagan's steps to verify differ in what's being said on the website as he uses pgp key 8C5211764922589A instead of  98832223. I guess both belong to goatpig?
8  Economy / Service Announcements / Re: [ANN] NiceHash.com - sell & buy hash rate cloud mining service / multipool on: November 17, 2014, 03:41:25 PM
Trying your antminer S1 cgminer build, I got:

/usr/bin/cgminer: can't load library 'libpolarssl.so.7

when starting cgminer.
9  Bitcoin / Pools / Re: [11000 TH] BTC Guild - Pays TxFees+NMC, Stratum, VarDiff, Private Servers on: August 22, 2014, 03:50:22 PM
Hello, I have a question regarding hidden workers. If one of my workers connects to the pool but is hidden, will its shares count on my balance? I ask because I have one worker which only connects to BTCGuild as failover pool, and I set it hidden because I have Idle Workers notifications enabled.
10  Economy / Service Discussion / Re: Mining contracts - the new ponzi on: April 18, 2014, 08:40:42 PM
Also, cex.io mines on ghash.io which I wouldn't choose because of the 51% issue (it is already too loarge). We want to behave in a way to keep a sustainable ecosystem for us all. This is one of the lessons we learn with cryptocurrencies and I hope that people interested in cryptocurrencies are smart enough to behave in a way which benefits not only themselves but our ecosystem too. Should be doable because cryptocurrencies require a certain amount of education, but anyway let's see....
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!