I have a Nextcloud Docker setup. However, I’m unable to view any old logfiles created within the built in logviewer. New entries that come in can be viewed, but the app fails to load any older logs. Perpetually showing “Loading older log entries”
this is my docker compose
nextcloud:
build:
context: /docker/nextcloud/dockerfile/
dockerfile: Dockerfile
container_name: nextcloud
restart: unless-stopped
volumes:
# Store core nextcloud data
- /docker/nextcloud/data/:/var/www/html
- /docker/nextcloud/config/:/var/www/html/config
# Storage location for apps installed from GUI, CLI, etc.
- /docker/nextcloud/apps/:/var/www/html/custom_apps
# Bind for local hard drive user files
- /nextcloud/:/var/www/html/data
# Temporary storage for Machine Learning implications such as Recognize tagging
tmpfs:
- /tmp:exec
depends_on:
- db
- redis
networks:
- redis
- mariadb
- traefik-public
- nextcloud
environment:
TRUSTED_PROXIES: localhost drive.example.com
NEXTCLOUD_UPDATES: 1
And this is my logging options for nextcloud’s config.php
'loglevel' => 2,
'logfile' => '/var/www/html/data/nextcloud.log',