Problems with Only Office Documentserver

NethServer Version: Latest
Module: Nextcloud also the latest Version


I have reinstalled NS and use Nextcloud in conjunction with Onlyoffice Document Server. Every day I get a mIa with this error message:


Redirecting to / bin / systemctl restart supervisor.service
Failed to restart supervisor.service: Unit not found.
error: error running shared postrotate script for '/var/log/onlyoffice/documentserver/**/.log
.log 'The error always comes half an hour after the daily server start. Only Office document server works without problems.
On which screw do I have to turn?



Thank you, there’s a typo in /etc/logrotate.d/ds.conf at line 30.
It’s supervisord instead of supervisor.

service supervisord restart > /dev/null

You may start logrotate to check if the error occurs again:

/usr/sbin/logrotate -v -s /var/lib/logrotate/logrotate.status /etc/logrotate.conf


Thank you Markus. Problem is solved.

Hi Markus,

now every day i received this message via e-mail:
/etc/cron.daily/logrotate: Redirecting to /bin/systemctl restart supervisord.service

Is the message related to the previous problem?



Yes, but it’s only an informational message that supervisord was restarted by redirection to systemctl.

1 Like