This bug seems to be a "next day" kind of thing. I only see it after coming back to the system from not working on it for a while. If you stop Apache, manually remove the latest log files, then run catalog_update.inc and finally restart apache, then as long as logging was enabled, I think you'll be able to reproduce the bug. That's a bit easier to set up than the actual circumstance, which seems to happen if the catalog update job gets run before anyone or anything hits the ampache web site on a given day.
I don't think removing the current date from the log file name will rectify the problem. If logrotate is periodically compressing and renaming log files, there will still be a window after a logrotate operation where catalog_update.inc could be run and trigger the issue. The key factor here is whether the log files exist when this job runs. If they aren't, and if any logging is done, then the log files will end up being owned by root/root instead of www-data/www-data. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/722274 Title: When logging is enabled, web pages display "Unable to write to log" -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs