Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug(nodebuilder): lock file is not removed after node shutdown #3856

Open
walldiss opened this issue Oct 17, 2024 · 0 comments
Open

bug(nodebuilder): lock file is not removed after node shutdown #3856

walldiss opened this issue Oct 17, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request needs:triage

Comments

@walldiss
Copy link
Member

Implementation ideas

Per report of @tty47 sometimes node is unable to start and crashing with error:

Error: could not build arguments for function "github.com/celestiaorg/celestia-node/nodebuilder/p2p".ConstructModule.Listen.func2 (/src/nodebuilder/p2p/addrs.go:13): failed to build host.Host: could not build arguments for function "github.com/celestiaorg/celestia-node/nodebuilder/p2p".routedHost (/src/nodebuilder/p2p/host.go:32): failed to build p2p.HostBase: could not build arguments for function "github.com/celestiaorg/celestia-node/nodebuilder/p2p".host (/src/nodebuilder/p2p/host.go:71): failed to build peer.ID: could not build arguments for function "github.com/celestiaorg/celestia-node/nodebuilder/p2p".id (/src/nodebuilder/p2p/identity.go:45): failed to build peerstore.Peerstore: could not build arguments for function "github.com/celestiaorg/celestia-node/nodebuilder/p2p".peerStore (/src/nodebuilder/p2p/misc.go:76): failed to build datastore.Batching: received non-nil error from function "github.com/celestiaorg/celestia-node/nodebuilder".Store.Datastore-fm (:1): node: can't open Badger Datastore: Cannot write pid file "/home/celestia/data/LOCK" error: open /home/celestia/data/LOCK: input/output error

It can be fixed by removal of LOCK file:
/home/celestia/data/LOCK

@walldiss walldiss added the enhancement New feature or request label Oct 17, 2024
@walldiss walldiss self-assigned this Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs:triage
Projects
None yet
Development

No branches or pull requests

1 participant