Anacron job 'cron.daily

I am getting a daily email with the following:

Subject: Anacron job ‘cron.daily’ on freepbx.sangoma.local
/etc/cron.daily/logrotate:

error: sangomartapi:27 unknown option ‘endscript’ – ignoring line

I’m not sure how to troubleshoot or resolve this. Any assistance or direction would be appreciated.

Hi @mikeaph

It’s a bug, and I have raised a Jira ticket [bug]: Logrotate sangomartapi:27 unknown option ‘endscript’ – ignoring line · Issue #417 · FreePBX/issue-tracker · GitHub

As a workaround, you can remove the second “endscript” line from etc/logrotate.d/sangomartapi

Fixed with the latest sangomartapi module version 16.0.49.28 & 17.0.2.9.

But it doesn’t want to update more in my case - it says that the latest version is 16.0.49.25 for me
and if i check updates - nothing

Fix version are in edge repo so run the below command to update it.

fwconsole ma upgrade sangomartapi --edge

1 Like

Thank you very much. It worked

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