From 236d5e8621062ac99ab9631f914f04dbcb81c2e8 Mon Sep 17 00:00:00 2001 From: Jonas L Date: Thu, 14 Jul 2022 07:36:52 +0200 Subject: [PATCH] docs: troubleshoot webserver services (#1961) --- docs/admin-manual/troubleshooting.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/admin-manual/troubleshooting.md b/docs/admin-manual/troubleshooting.md index ff9af6926..fb6cb584d 100644 --- a/docs/admin-manual/troubleshooting.md +++ b/docs/admin-manual/troubleshooting.md @@ -13,6 +13,12 @@ In the web interface, go to **Settings** > **Status** to see the state of the se ![](./troubleshooting-status-page.png) +Or directly from a terminal: + +```bash +sudo systemctl --all --plain | egrep 'libretime|nginx|php.*-fpm' +``` + If a service isn't running, you should search for details using the tool running those services. On a common setup, you should use the systemd service status: @@ -35,7 +41,7 @@ The `/var/log/syslog` file contains most of the system logs combined. This log f ```bash sudo tail -n 100 -f "/var/log/syslog" # Filter the logs -sudo tail -n 100 -f "/var/log/syslog" | grep "libretime-" +sudo tail -n 100 -f "/var/log/syslog" | egrep 'libretime|nginx|php.*-fpm' ``` On a common setup, to access LibreTime specific logs you should search for the following files: