Module upgrade error sysadmin

Hello,

When attempting to update the sysadmin module from 13.0.57.2 to 13.0.57.7 I get an error which says,

file_put_contents(/var/spool/asterisk/incron/sysadmin.fail2ban-generate): failed to open stream: Permission denied
/var/www/html/admin/modules/sysadmin/install.php

I’m on version 10.13.66-10 and asterisk 13.7.2

I received an email from cron subject
"Cron [email protected] [ -x /var/lib/asterisk/bin/storage.php ] && /var/lib/asterisk/bin/storage.php"

PHP Fatal error:
Call to undefined function sysadmin_get_crititcal_storage() in
/var/www/html/admin/modules/sysadmin/bin/storage.php on line 9

Whoops\Exception\ErrorException: Call to undefined
function sysadmin_get_crititcal_storage() in file /var/www/html/admin/modules/sysadmin/bin/storage.php
on line 9 Stack trace:

  1. ()
    /var/www/html/admin/modules/sysadmin/bin/storage.php:9

Any help is appreciated,

I would try fwconsole chown first. That should take care of any permission issues.

Thank you, its working now.

1 Like