Nextcloud: Difference between revisions
imported>Onny Enhance listening port section |
imported>Onny Add note about reading php logs |
||
| Line 38: | Line 38: | ||
== Troubleshooting == | == Troubleshooting == | ||
=== Reading php logs === | |||
The [https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/logging_configuration.html default Nextcloud setting] is to log to ''syslog''. To read php logs simply run | |||
<syntaxhighlight lang="console"> | |||
# journalctl -t php | |||
</syntaxhighlight> | |||
=== Nextcloud-setup error: Nextcloud is not installed === | |||
You get the message | You get the message | ||
U Wed Jul 3 06:15:06 2019 p3 nextcloud-cron.service Nextcloud[9374]: {cron} {"Exception":"Exception","Message":"Not installed","Code":0,"Trace":[{"file":"\/nix\/store\/9c58nxa9mzzg93ppwq2jlynpf4vsbd30-nextcloud-15.0.8\/lib\/base.php","line":660,"function":"checkInstalled","class":"OC","type":"::","args":[]},{"file":"\/nix\/store\/9c58nxa9mzzg93ppwq2jlynpf4vsbd30-nextcloud-15.0.8\/lib\/base.php","line":1068,"function":"init","class":"OC","type":"::","args":[]},{"file":"\/nix\/store\/9c58nxa9mzzg93ppwq2jlynpf4vsbd30-nextcloud-15.0.8\/cron.php","line":41,"args":["\/nix\/store\/9c58nxa9mzzg93ppwq2jlynpf4vsbd30-nextcloud-15.0.8\/lib\/base.php"],"function":"require_once"}],"File":"\/nix\/store\/9c58nxa9mzzg93ppwq2jlynpf4vsbd30-nextcloud-15.0.8\/lib\/base.php","Line":277,"CustomMessage":"--"} | |||
Then you run into [https://github.com/NixOS/nixpkgs/issues/48045] | Then you run into [https://github.com/NixOS/nixpkgs/issues/48045] | ||