Coder Social home page Coder Social logo

Comments (6)

whizz avatar whizz commented on September 25, 2024 1

You can also theoretically try to repair the database. Change into your data directory and run:

python3 -c "import plyvel; plyvel.repair_db('hist')"
python3 -c "import plyvel; plyvel.repair_db('utxo')"

from electrumx.

Robot1982 avatar Robot1982 commented on September 25, 2024 1

Sorry for not replying sooner, but the sync took a long time, also because it was crashing during the sync (there is another open issue for this #30) and I also did a full resync of bitcoind just to be sure. Now it works since about a week without a problem. I guess the problem was really the corrupt database. I will close this. Thanks for the help!

from electrumx.

whizz avatar whizz commented on September 25, 2024

This looks like there is something wrong with the data. Possibly it got corrupted on the disk. My guess is you will need to delete the data and reinitialize.

from electrumx.

Robot1982 avatar Robot1982 commented on September 25, 2024

Thanks! I will try to repair the database and post the results here.

from electrumx.

Robot1982 avatar Robot1982 commented on September 25, 2024

Repairing the database didn't help. It got stock (for more than 1 day) with:

Jul 15 14:15:38 server1 electrumx_server[491]: INFO:History:DB shut down uncleanly. Scanning for excess history flushes...

I am now trying to reinitialize the database. It is still syncing since more than 40 hours. I will post the results after the sync is done.

from electrumx.

github12101 avatar github12101 commented on September 25, 2024

"I will post the results after the sync is done."

No update since then (for 22 days), I assume this is resolved and not an electrumX issue but bad disk/hardware etc? Perhaps can be closed.

from electrumx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.