The logrotate configuration for web-reports was missing a configuration option, it should include the 'su' directive with user + group to write the file as. I noticed the omission when I tried to force a log rotation using logrotate --force /etc/logrotate.d/web-reports logrotate complained that the log directory was not owned by root and this option was needed.
I added the line su celery celery to both stanzas in /etc/logrotate.d/web-reports
If the logs rotate fine the next time they do, I will make this config change on production. Sometime next week.
The logrotate configuration for web-reports was missing a configuration option, it should include the 'su' directive with user + group to write the file as. I noticed the omission when I tried to force a log rotation using
logrotate --force /etc/logrotate.d/web-reports
logrotate complained that the log directory was not owned by root and this option was needed.I added the line
su celery celery
to both stanzas in /etc/logrotate.d/web-reportsIf the logs rotate fine the next time they do, I will make this config change on production. Sometime next week.