Author

Topic: my upgrade issue to 6.2 (Read 2090 times)

full member
Activity: 196
Merit: 100
May 16, 2012, 01:40:46 AM
#12
It can be that slow that said I see you have the same as me no balance shown when there should be one and it tells me I have a -1000+ balance not possible as far as I know.

You won't see your transaction show as confirmed until you catch up to the point in the chain where they were created.


No shit at that point in time the blockchain was at October 31 last year the addresses in that wallet having been in use since June 6  of last year according to the blockchain explorer which tells you when the address I checked first appeared on the network so there would have been a balance somewhere along the line there. It does now however show a balance so whatever funky foolishness this upgrade is pulling in the transaction database seems to be righting itself as it goes along.



Thanks gmaxwell, I know I should probably RTFM but would you happen to know a list of trusted peers to connect to?  This is going to take another 2 days at this rate.

Try killing off then restarting the daemon to try and get some new peers, I've done that a couple of times so far and right now am at block ~179000 from starting with the upgrade a couple of hours before I first posted, another 1300 or so blocks and it will be done.
sr. member
Activity: 396
Merit: 250
Send correspondance to GPG key A372E7C6
May 15, 2012, 10:23:20 PM
#11
is it always this slow?  Over 24 hours of updating now.

It depends a lot on the peers you happen to get. 0.7.0 will probably improve the sync speed in the face of lousy peers.  If your peers are fast and reliable you can pull the full chain in an hour or two.

It can be that slow that said I see you have the same as me no balance shown when there should be one and it tells me I have a -1000+ balance not possible as far as I know.

You won't see your transaction show as confirmed until you catch up to the point in the chain where they were created.


Thanks gmaxwell, I know I should probably RTFM but would you happen to know a list of trusted peers to connect to?  This is going to take another 2 days at this rate.
staff
Activity: 4284
Merit: 8808
May 15, 2012, 10:16:35 PM
#10
is it always this slow?  Over 24 hours of updating now.

It depends a lot on the peers you happen to get. 0.7.0 will probably improve the sync speed in the face of lousy peers.  If your peers are fast and reliable you can pull the full chain in an hour or two.

It can be that slow that said I see you have the same as me no balance shown when there should be one and it tells me I have a -1000+ balance not possible as far as I know.

You won't see your transaction show as confirmed until you catch up to the point in the chain where they were created.
full member
Activity: 196
Merit: 100
May 15, 2012, 09:52:30 PM
#9
So as of today I am only at


{
    "version" : 60200,
    "protocolversion" : 60001,
    "walletversion" : 10500,
    "balance" : 0.00000000,
    "blocks" : 176120,
    "connections" : 9,
    "proxy" : "",
    "difficulty" : 1577913.48567673,
    "testnet" : false,
    "keypoololdest" : 1335918322,
    "keypoolsize" : 101,
    "paytxfee" : 0.00000000,
    "errors" : ""
}

is it always this slow?  Over 24 hours of updating now.

It can be that slow that said I see you have the same as me no balance shown when there should be one and it tells me I have a -1000+ balance not possible as far as I know.

Code:

miner2@miner2:~$ bitcoind getinfo
{
    "version" : 60200,
    "protocolversion" : 60001,
    "walletversion" : 10500,
    "balance" : 0.00000000,
    "blocks" : 151260,
    "connections" : 8,
    "proxy" : "",
    "difficulty" : 1203461.92637997,
    "testnet" : false,
    "keypoololdest" : 1309626024,
    "keypoolsize" : 101,
    "paytxfee" : 0.00000000,
    "errors" : ""
}

miner2@miner2:~$ bitcoind getbalance ""
-1092.30289594
hero member
Activity: 938
Merit: 1002
May 15, 2012, 03:55:40 AM
#8
Probably unrelated, but my addr.dat got corrupted between clean shutdowns during this upgrade. Deleting the file fixed the problem.
sr. member
Activity: 313
Merit: 258
May 15, 2012, 03:46:52 AM
#7
looks like a damaged db.

to play it safe back up everything in .bitcoind directory, in practice it is my understanding that you only need to backup the wallet, but backing up everything is safe.

then start bitcoind in a fresh clean directory with the wallet and the config file, this will recreate the database and will download a fresh block chain, it will take several hours. But it will fix your problem.

That sometime happens when the server crashes and bitcoind is running.
staff
Activity: 4284
Merit: 8808
May 14, 2012, 11:22:29 PM
#6
Program version 4.8 doesn't match environment version 4.7
Unacceptable log file .bitcoin/database/log.0000000917: unsupported log version 16
Invalid log file: log.0000000917: Invalid argument
PANIC: Invalid argument
unable to join the environment

will try the backup and clear the directory

This sounds like you didn't shut down cleanly before the upgrade. Thats mandatory.  Bad things happen if you don't.
staff
Activity: 4284
Merit: 8808
May 14, 2012, 11:15:23 PM
#5
is it normal to stay on a block fot this long?  I flushed firewall rules just in case too.

No, it should sync the early blocks very fast. Sometimes the sync will get interrupted because a peer disconnected but it should continue at the next block.

It sounds to me like you somehow managed to get your database corrupted during the upgrade— though I'm not sure how.

Look in the debug log file and see if you see anything about failing validation?   

After making an additional backup of your wallet you could try shutting down cleanly, deleting everything in the appdata directory, then copying back in the wallet and restarting.
staff
Activity: 4284
Merit: 8808
May 14, 2012, 08:24:11 PM
#4
Quote
   "blocks" : 13899,
 

Did you delete your blockchain when you upgraded? You shouldn't have lost your current height.
hero member
Activity: 560
Merit: 501
May 14, 2012, 07:59:09 PM
#3
   "blocks" : 13899,
There's your "problem", smartass.
hero member
Activity: 812
Merit: 1000
May 14, 2012, 07:56:41 PM
#2
difficulty will rise with blockchain download... i'm assuming (since it's showing difficulty of 1) that you need to get the full chain again from scratch.

edit: i see it's on block 13899... presumably at that time, the difficulty was still 1.
sr. member
Activity: 396
Merit: 250
Send correspondance to GPG key A372E7C6
May 14, 2012, 07:54:13 PM
#1
I upgraded a bitcoind .5.0 version with 6.2 today and have an issue.

./bitcoind getinfo
{
    "version" : 60200,
    "protocolversion" : 60001,
    "walletversion" : 10500,
    "balance" : 0.00000000,
    "blocks" : 13899,
    "connections" : 15,
    "proxy" : "",
    "difficulty" : 1.00000000,
    "testnet" : false,
    "keypoololdest" : 1335916188,
    "keypoolsize" : 101,
    "paytxfee" : 0.00000000,
    "errors" : ""
}

I should have a balance in the balance portion and when I look at difficulty that doesn't look like right to me.

When I do ./bitcoind getbalance ""
2.4

I get a smallish number in here when I had a high digit number in the wallet originally.  

Anyone have any suggestions on how to go about fixing this?

I also checked on running the old bitcoind it gives me

************************
EXCEPTION: 22DbRunRecoveryException      
DbEnv::open: DB_RUNRECOVERY: Fatal error, run database recovery      
bitcoin in AppInit()      

terminate called after throwing an instance of 'DbRunRecoveryException'
  what():  DbEnv::open: DB_RUNRECOVERY: Fatal error, run database recovery
Jump to: