diff --git a/home.admin/80scanLND.sh b/home.admin/80scanLND.sh index f437cb5..5f660ad 100755 --- a/home.admin/80scanLND.sh +++ b/home.admin/80scanLND.sh @@ -34,6 +34,7 @@ if [ ${bitcoinActive} -eq 0 ] || [ ${#bitcoinErrorFull} -gt 0 ]; then echo if [ ${startcountBlockchain} -gt 1 ]; then echo "${startcountBlockchain} RESTARTS DETECTED - ${network}d might be in a error loop" + cat /home/admin/systemd.blockchain.log | grep "ERROR" echo fi if [ ${#bitcoinErrorFull} -gt 0 ]; then @@ -52,7 +53,7 @@ if [ ${bitcoinActive} -eq 0 ] || [ ${#bitcoinErrorFull} -gt 0 ]; then if [ ${#bitcoinErrorShort} -eq 0 ]; then bitcoinErrorShort="Initial Startup - Please Wait" fi - infoStr=" The ${network}d service is starting:\n ${bitcoinErrorShort}\n Login for more details:" + infoStr=" The ${network}d service is starting:\n ${bitcoinErrorShort}\n Login with SSH for more details:" if [ "$USER" == "admin" ]; then infoStr=" The ${network}d service is starting:\n ${bitcoinErrorShort}\n Please wait up to 5min ..." fi @@ -79,6 +80,7 @@ elif [ ${lndActive} -eq 0 ] || [ ${#lndErrorFull} -gt 0 ]; then echo if [ ${startcountLightning} -gt 1 ]; then echo "${startcountLightning} RESTARTS DETECTED - ${network}d might be in a error loop" + cat /home/admin/systemd.lightning.log | grep "ERROR" echo fi if [ ${#lndErrorFull} -gt 0 ]; then @@ -132,7 +134,7 @@ else syncProgress="waiting" else syncProgress="${startcountBlockchain} restarts" - actionString="Please SSH in for more detail:" + actionString="Login with SSH for more details:" fi elif [ ${#syncProgress} -lt 6 ]; then syncProgress=" ${syncProgress} %" @@ -144,7 +146,7 @@ else scanProgress="waiting" else scanProgress="${startcountLightning} restarts" - actionString="Please SSH in for more detail:" + actionString="Login with SSH for more details:" fi elif [ ${#scanProgress} -lt 6 ]; then scanProgress=" ${scanProgress} %" diff --git a/home.admin/config.scripts/blitz.statusscan.sh b/home.admin/config.scripts/blitz.statusscan.sh index 315b200..b7b1867 100644 --- a/home.admin/config.scripts/blitz.statusscan.sh +++ b/home.admin/config.scripts/blitz.statusscan.sh @@ -103,6 +103,7 @@ else if [ ${#bitcoinErrorShort} -gt 0 ]; then echo "bitcoinErrorShort='${bitcoinErrorShort}'" echo "bitcoinErrorFull='${bitcoinErrorFull}'" + /home/admin/config.scripts/blitz.systemd.sh log blockchain "ERROR: ${bitcoinErrorShort}" fi fi @@ -126,6 +127,7 @@ if [ ${lndRunning} -eq 1 ]; then if [ ${#lndError} -gt 0 ]; then echo "lndErrorFull='${lndErrorFull}'" echo "lndErrorShort=''" + #/home/admin/config.scripts/blitz.systemd.sh log lightning "ERROR: ${lndErrorShort}" else # check if wallet is locked