mikeaph
(Mike Phillips)
1
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.
pramarajan
(Ramarajan P)
2
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
pramarajan
(Ramarajan P)
3
Fixed with the latest sangomartapi module version 16.0.49.28 & 17.0.2.9.
Daniel_1
(Daniel_1)
4
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
pramarajan
(Ramarajan P)
5
Fix version are in edge repo so run the below command to update it.
fwconsole ma upgrade sangomartapi --edge
1 Like
Daniel_1
(Daniel_1)
6
Thank you very much. It worked
system
(system)
Closed
7
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.