Logrotate not working

Infos:

  • Used Zammad version: Zammad Version 3.3.x
  • Used Zammad installation source: package
  • Operating system: Debian
  • Browser + version: Chrome

Hello, my logfile is 14GB from 2018. No logrotate is used. Is there any way to active the logrotate?

Is logrotate installed on your system?
Usually the package installation comes with logrotate scripts.

Right now I’m failing to find the proove for that, but my systems all did that my themselves.

apt-get install logrotate
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen… Fertig
logrotate ist schon die neueste Version (3.11.0-0.1).

Totally fine with me. Can I set this again somehow?

file: /etc/logrotate.d/zammad

# zammad logs:
/var/log/zammad/*.log {
  daily
  missingok
  rotate 14
  compress
  delaycompress
  notifempty
  copytruncate
}

Should help you.

ok, thanks. My permissions was wrong:

chmod 0755 /var/log/zammad

fixed it. thanks!

1 Like

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.