Author [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: Reindexing Database  (Read 490 times)

0 Members and 1 Guest are viewing this topic.

Offline carpet ride

  • Hero Member
  • *****
  • Posts: 544
    • View Profile
Reindexing Database
« on: November 29, 2014, 06:36:53 PM »

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.

Offline Xeldal

Re: Reindexing Database
« Reply #1 on: November 29, 2014, 06:39:38 PM »
Code: [Select]
./bitshares_client --rebuild-index

Offline carpet ride

  • Hero Member
  • *****
  • Posts: 544
    • View Profile
Re: Reindexing Database
« Reply #2 on: November 29, 2014, 06:55:18 PM »
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.

Offline carpet ride

  • Hero Member
  • *****
  • Posts: 544
    • View Profile
Re: Reindexing Database
« Reply #3 on: November 29, 2014, 07:19:27 PM »
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 Xeldal

Re: Reindexing Database
« Reply #4 on: November 29, 2014, 08:50:40 PM »
(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
Re: Reindexing Database
« Reply #5 on: November 30, 2014, 04:35:24 AM »
(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.

Offline davidpbrown

Re: Reindexing Database
« Reply #6 on: December 07, 2014, 03:44:02 PM »
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 graffenwalder

Re: Reindexing Database
« Reply #7 on: December 07, 2014, 03:54:19 PM »
Try to make your wallet crash again.
Mine crashes every time i use the search market feature under the market tab.

Offline davidpbrown

Re: Reindexing Database
« Reply #8 on: December 07, 2014, 05:27:35 PM »
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 fuzzy

Re: Reindexing Database
« Reply #9 on: December 08, 2014, 12:50:36 AM »
(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

merockstar

  • Guest
Re: Reindexing Database
« Reply #10 on: December 08, 2014, 03:43:56 AM »
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.

 

Google+