1
0
Fork 0
forked from pub-solar/infra

nextcloud: document how to get debugging logs

This commit is contained in:
teutat3s 2024-10-15 23:21:29 +02:00
parent 9579f6adde
commit c53d48384a
Signed by untrusted user: teutat3s
GPG key ID: 4FA1D3FA524F22C1

19
docs/nextcloud.md Normal file
View file

@ -0,0 +1,19 @@
# Nextcloud debugging
Set loglevel to `0` for debug logs:
```nix
services.nextcloud.settings.loglevel = 0;
```
Then, logs appear in the `phpfpm-nextcloud.service` logs:
```bash
sudo journalctl -fu phpfpm-nextcloud
```
Make sure to set the loglevel back to the default `2` warning after debugging:
```nix
services.nextcloud.settings.loglevel = 2;
```