When I try to view my Nextcloud logs under Nextcloud > Settings > Logging I just get a spinning wheel, no logs.
I was thinking to rename the nextcloud.log and create a new one, as this person did, but where is the nextcloud directory path in a Cloudron installation?
@christiaan I think this is same as https://forum.cloudron.io/topic/4861/logs-don-t-show-up . I will paste the reply from there.
The root cause is that the nextcloud package is configured to log to the console (stdout / stderr) instead of a file. Nextcloud tries to open the stdout/stderr and this fails. Ideally, nextcloud can show a graceful error message that logs cannot be viewed from inside the app because it is logging to the console. Workaround is to use the cloudron logs viewer to view the logs - which IMO is the correct place to view logs (for all apps and not just nextcloud). After all, if the app is not working, one cannot view the logs within itself.