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

Cannot update my lightning node #7399

Open
d4amenace opened this issue Jun 16, 2024 · 0 comments
Open

Cannot update my lightning node #7399

d4amenace opened this issue Jun 16, 2024 · 0 comments

Comments

@d4amenace
Copy link

d4amenace commented Jun 16, 2024

After following all of the steps to update/install lightning. I find that my node is refusing to update due to an earlier install that created a "permanent" v0.12.01 on my machine. Uninstalls do not work and reinstalls just give the same version. Here are the steps i received from an issue here that installed this version 12 permanently:

_```
Installing C-lightning from Binaries

Get dependencies:
apt-get update
apt-get install -y
jq autoconf automake build-essential git libtool libgmp-dev libsqlite3-dev
python3 python3-mako python3-pip net-tools zlib1g-dev libsodium-dev
gettext
apt install snapd squashfuse fuse (only for proxmox lxc container)
python3 -m pip install --upgrade pip setuptools
python3 -m pip install --user mrkd mistune==0.8.4

If you don't have Bitcoin installed locally you'll need to install that as well. It's now available via snapd.
apt-get install snapd -y
snap install bitcoin-core
ln -s /snap/bitcoin-core/current/bin/bitcoin{d,-cli} /usr/local/bin/

Clone lightning:
git clone https://github.com/ElementsProject/lightning.git
cd lightning

For development or running tests, get additional dependencies:
apt-get install -y valgrind python3-pip libpq-dev
python3 -m pip install -r requirements.txt --use-feature=in-tree-build

Build lightning:
./configure
echo -e '#!/bin/sh\ntouch $2\nexit 0' > /usr/local/bin/mrkd
chmod 755 /usr/local/bin/mrkd
make && make install-program

run lightningd (to get the .lightning folder created)

lightningd


How can I remove and update?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant