docs: troubleshoot webserver services (#1961)

This commit is contained in:
Jonas L 2022-07-14 07:36:52 +02:00 committed by GitHub
parent a8cb62586e
commit 236d5e8621
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 1 deletions

View File

@ -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: