9e5a43ee9a10e307e5a204746cda5c2171c4b6f3
The generated /etc/logrotate.d/apache2 rotates /var/www/*/logs/*log with 'create 644 root adm'. For Nextcloud's cloud.log this left a root-owned file after rotation, so Nextcloud could no longer write its log. Chown cloud.log to the web user in postrotate, as already done for php_errors.log. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Languages
Shell
92.3%
HTML
5.8%
PHP
1.9%