Author Topic: Reindexing Database  (Read 2318 times)

0 Members and 1 Guest are viewing this topic.

merockstar

  • Guest
Everybody is having this. Somebody sent a transaction to an address with an invalid character in the public key and the blockchain apparently validated it.

Offline fuzzy

(Assuming Windows)
You can force it to reindex by temporarily changing the properties of the bitshares shortcut icon.

RightClick -> Properties

Target: "c:/.../BitShares.exe"   just insert -rebuild-index  "c:/.../BitShares.exe --rebuild-index"

Click OK then launch from that shortcut

Once started you can remove this change, otherwise it will try and rebuild every time you launch.

1)  The bolded text should be:  "C:\Program Files\BitSharesX\bin\BitShares.exe" --rebuild-index  (quotation placement was incorrect)

2)  I am having the same problem and this step did not work for me. 

Interested in learning if there are other ways to fix these issues.
WhaleShares==DKP; BitShares is our Community! 
ShareBits and WhaleShares = Love :D

Offline davidpbrown

Yuck..

I had hoped this would fix the simple "failure during transaction scanning" notification, as that appeared after my first try at selling a bitUSD. Unfortunately, instead I'm got into a worse mess.

./bitshares_client --rebuild-index
gives what I guess is expected:
Quote
Clearing database index
Loading config from file: /home/davidpbrown/.BitShares/config.json
Initializing genesis state from built-in genesis file
Please be patient, this will take a few minutes...
Successfully re-indexed 1206245 blocks in 4740 seconds.                         
Blockchain size changed from 357MiB to 358MiB.
Not starting RPC server, use --server to enable the RPC interface


[1]+  Stopped                 ./bitshares_client --rebuild-index

then trying qt or qt with --reindex now barfs this error:
Quote
Initializing genesis state from built-in genesis file
Successfully re-indexed 0 blocks in 0 seconds.                         
Blockchain size changed from 0MiB to 0MiB.
terminate called after throwing an instance of 'fc::assert_exception'

[2]-  Aborted                 ./BitShares --reindex

I'm still using 0.4.24 from a while back, so I don't know if this is a known problem.

???


Perhaps this follows on from an earlier problem I had selling the USD.. see https://bitsharestalk.org/index.php?topic=11271.msg148487#msg148487
« Last Edit: December 07, 2014, 05:30:19 pm by davidpbrown »
฿://1CBxm54Ah5hiYxiUtD7JGYRXykT5Z6ZuMc

Offline graffenwalder

Try to make your wallet crash again.
Mine crashes every time i use the search market feature under the market tab.

Offline davidpbrown

I'm on a Mac, any help?

I just had this "failure during transaction scanning" and just doing the rebuild suggested. I'm on Linux but perhaps Mac is the same and has the bitshares_client in bitshares/programs/client or similar. So, change to that directory with cd and then try

./bitshares_client --rebuild-index

I was surprised not to see that as an option in the QT console too, as that might make it easier.
« Last Edit: December 07, 2014, 03:46:10 pm by davidpbrown »
฿://1CBxm54Ah5hiYxiUtD7JGYRXykT5Z6ZuMc

Offline carpet ride

  • Hero Member
  • *****
  • Posts: 544
    • View Profile
(Assuming Windows)
You can force it to reindex by temporarily changing the properties of the bitshares shortcut icon.

RightClick -> Properties

Target: "c:/.../BitShares.exe"   just insert -rebuild-index  "c:/.../BitShares.exe --rebuild-index"

Click OK then launch from that shortcut

Once started you can remove this change, otherwise it will try and rebuild every time you launch.

I'm on a Mac, any help?
All opinions are my own. Anything said on this forum does not constitute an intent to create a legal obligation between myself and anyone else.
Check out my blog: http://CertainAssets.com
Buy the ticket, take the ride.

Xeldal

  • Guest
(Assuming Windows)
You can force it to reindex by temporarily changing the properties of the bitshares shortcut icon.

RightClick -> Properties

Target: "c:/.../BitShares.exe"   just insert -rebuild-index  "c:/.../BitShares.exe --rebuild-index"

Click OK then launch from that shortcut

Once started you can remove this change, otherwise it will try and rebuild every time you launch.

Offline carpet ride

  • Hero Member
  • *****
  • Posts: 544
    • View Profile
Code: [Select]
./bitshares_client --rebuild-index

Ok I entered that exactly, but no success. What am I doing wrong?

>> ./bitshares_client --rebuild-index

Error: invalid command "./bitshares_client"
All opinions are my own. Anything said on this forum does not constitute an intent to create a legal obligation between myself and anyone else.
Check out my blog: http://CertainAssets.com
Buy the ticket, take the ride.

Offline carpet ride

  • Hero Member
  • *****
  • Posts: 544
    • View Profile
Code: [Select]
./bitshares_client --rebuild-index

Ok I entered that exactly, but no success. What am I doing wrong?
All opinions are my own. Anything said on this forum does not constitute an intent to create a legal obligation between myself and anyone else.
Check out my blog: http://CertainAssets.com
Buy the ticket, take the ride.

Xeldal

  • Guest
Code: [Select]
./bitshares_client --rebuild-index

Offline carpet ride

  • Hero Member
  • *****
  • Posts: 544
    • View Profile
What is the command for reindexing database?

I was asked to reindex today, after crashing last night, but I opted not to.  Now I am getting a failure during transaction scanning and not connected.
All opinions are my own. Anything said on this forum does not constitute an intent to create a legal obligation between myself and anyone else.
Check out my blog: http://CertainAssets.com
Buy the ticket, take the ride.