Hi there,
I’m attempting to relocate the nextcloud-aio-nextcloud logfile to /mnt/ncdata so that it appears in the same folder as the rest of the system data, however by default the conatiner’s config.php points it into /var/www/html/data/nextcloud.log which is inside the nextcloud-aio-nextcloud volume.
If I amend the config.php file within nextcloud-aio-nextcloud (Either by occ or by a temporary alpine container with the volume mounted) the change does not persist when the containers are shutdown and the system rebooted.
I cannot find an environment variable in the nextcloud-aio-mastercontainer config that would pass through the value of ‘logfile’=> ‘/mnt/ncdata/nextcloud.log’ to the application container, and as such am a bit lost on how any user change to nextcloud-aio-nextcloud=>/var/www/html/config/config.php may be persisted.
Either I’m missing a critical step with an occ command or undocumented environment variable, or I’m trying to do something that shouldn’t be done, and I don’t know which ![]()
- Is it possible to persist a change to config.php, if so how?
- If it is not possible, is there a way to pass in logfile via the aio-mastercontainer docker Environment variables?