Coder Social home page Coder Social logo

Comments (8)

bjd avatar bjd commented on July 23, 2024

It keeps some files under $HOME/.lightningd, this is where you should be able to find the crash.log file.
There is also a lightning.sqlite3 database file there, it seems something is wrong with that file.
Try removing that database file or remove just the whole directory to be sure as README suggests:

If you're running a previous version, you'll need to shut it down (maybe close channels first) and delete the $HOME/.lightning directory.

from lightning.

cdecker avatar cdecker commented on July 23, 2024

You may want to try starting with --ignore-dbversion, that should skip the version check, though as @bjd points out you should remove the database, since we don't yet have DB migrations.

from lightning.

Deadlyelder avatar Deadlyelder commented on July 23, 2024

Thank you for the comments.
I tried deleting the ~/.lightning and then running LN which doesn't seems to be working. In this case, it outputs about creating lightning dir and trying to create new database file as unable to find one. But it is followed by the same error mentioned earlier.

Running it with parameters suggested by @cdecker seems to work nicely.

Furthermore, removing the bitcoin.conf and testnet folder from ~/.bitcoin seems to make it work without requiring the additional parameter. Perhaps there was conflict in database there?

from lightning.

cdecker avatar cdecker commented on July 23, 2024

That's rather strange, we only pick up the parameters to contact bitcoind from bitcoin.conf, I don't see how these could be mixed in. Do you still have a copy of bitcoin.conf? If yes, can you remove the passwords and post it somewhere (https://gist.github.com/)?

from lightning.

Deadlyelder avatar Deadlyelder commented on July 23, 2024

Sorry for late reply. I will try to check if I still have the copy of bitcoin.conf on the machine. Since I did ended up deleting the whole folder am not much confident about its existence.

Furthermore, to replicate the same error message I will try it again on an older instance of the machine state which might provide more information.

@cdecker Yes thats why I am curious regarding the nature of the error.

from lightning.

cdecker avatar cdecker commented on July 23, 2024

Hi @Deadlyelder, just wanted to check in and ask whether this problem still persists, if you had solved it (and how) or if this it was a one off and we can close this issue 😃

from lightning.

Deadlyelder avatar Deadlyelder commented on July 23, 2024

Hi @cdecker

The problem didn't persisted after removing the bitcoin.conf and the folder testnet. I made attempts to replicate the error again but didn't had any luck on that yet. I also tried checking with the older instances of the machine for a copy of the whole bitcoin folder but they were overwritten.

I believe you can close the issue off. In the unlikely event of the error reoccurrence, I will be sure to pen down detailed steps that led toward such error.

from lightning.

cdecker avatar cdecker commented on July 23, 2024

Thanks for the update @Deadlyelder, and thanks for your efforts to recreate the problem. I'll close the issue for now, but feel free to reopen should it manifest itself again 😉

from lightning.

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.