Problems with Only Office Documentserver

NethServer Version: Latest
Module: Nextcloud also the latest Version

Hi,

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

/etc/cron.daily/logrotate:

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
/var/log/onlyoffice/documentserver-example/
.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?

Regards…

Uwe

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

3 Likes

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?

Regards…

Uwe

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

1 Like