From baeb34d9709a3d5f8b79dea3f8e17634097be34b Mon Sep 17 00:00:00 2001 From: nyxnor <69700936+nyxnor@users.noreply.github.com> Date: Fri, 23 Apr 2021 22:20:53 +0000 Subject: [PATCH] show nginx systemd logs (#2220) This is important, normally nginx fails and this is not shown. --- home.admin/XXdebugLogs.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/home.admin/XXdebugLogs.sh b/home.admin/XXdebugLogs.sh index 8dac7be0c..6d15acb94 100755 --- a/home.admin/XXdebugLogs.sh +++ b/home.admin/XXdebugLogs.sh @@ -71,6 +71,10 @@ echo "sudo tail -n 30 /mnt/hdd/lnd/logs/${network}/${chain}net/lnd.log" sudo tail -n 30 /mnt/hdd/lnd/logs/${network}/${chain}net/lnd.log echo "" +echo "*** NGINX SYSTEMD STATUS ***" +sudo systemctl status nginx -n2 --no-pager +echo "" + echo "*** LAST NGINX LOGS ***" echo "sudo journalctl -u nginx -b --no-pager -n20" sudo journalctl -u nginx -b --no-pager -n20