diff --git a/CHANGES.md b/CHANGES.md index 815f0dae3..1932c9917 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -27,6 +27,7 @@ - Fix: PyBlock 2.2.3 [details](https://github.com/curly60e/pyblock/blob/master/README.md) - Refactor: Wifi config with file on sd card - Deactivated for Repair: LNDg [details](https://github.com/raspiblitz/raspiblitz/issues/4418) +- Deactivated for Repair: lnproxy [details](https://github.com/raspiblitz/raspiblitz/issues/4122) - Deprecated: Homer Dashboard (remove from SSH menus, config script will stay with possible future removal) - Deprecated: Bitcoinminds (remove from SSH menus, config script will stay with possible future removal) - Remove: ItchySats (unmaintained project / in consent with dev) diff --git a/home.admin/config.scripts/bonus.lnproxy.sh b/home.admin/config.scripts/bonus.lnproxy.sh index 01f50f003..74f80fc25 100644 --- a/home.admin/config.scripts/bonus.lnproxy.sh +++ b/home.admin/config.scripts/bonus.lnproxy.sh @@ -1,10 +1,14 @@ #!/bin/bash +# Deactivated - see https://github.com/raspiblitz/raspiblitz/issues/4122 +# Needs comitted maintainer or will be removed in future versions + # https://github.com/lnproxy/lnproxy/commits/main LNPROXYVERSION="c1031bbe507623f8f196ff83aa5ea504cca05143" # command info if [ $# -eq 0 ] || [ "$1" = "-h" ] || [ "$1" = "-help" ]; then + echo "DEACTIVATED FOR REPAIR - see #4122" echo "config script to install or uninstall the lnproxy server" echo "bonus.lnproxy.sh [on|off|menu]" echo "installs the version $LNPROXYVERSION by default" @@ -83,7 +87,18 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then # build sudo -u lnproxy /usr/local/go/bin/go get lnproxy + if [ $? -ne 0 ]; then + echo "# FAIL -> go get lnproxy" + sudo userdel -rf lnproxy 2>/dev/null + exit 1 + fi + sudo -u lnproxy /usr/local/go/bin/go build + if [ $? -ne 0 ]; then + echo "# FAIL -> go build" + sudo userdel -rf lnproxy 2>/dev/null + exit 1 + fi # manual start (in tmux) # sudo -u lnproxy /home/lnproxy/lnproxy/lnproxy -lnd-cert /home/lnproxy/.lnd/tls.cert /home/lnproxy/lnproxy.macaroon