ARI module upgrade doesn't finish, module disabled

5.211.65-15

2.11.0.7 upgrade to 2.11.1.0

never get the return button in the status window, module showing as disabled, pending upgrade

status window contents:

installing files to /var/www/html/recordings…error copying files:
‘cp -rf’ from src: ‘/var/www/html/admin/modules/fw_ari/htdocs_ari/’ to dst: ‘/var/www/html/recordings’…details follow
cp: cannot stat `/var/www/html/admin/modules/fw_ari/htdocs_ari/
’: No such file or directory
done, see errors below
installing files to /var/www/html/recordings…done
fw_ari file install done, removing packages from module

Same here,

Please wait while module actions are performed

installing files to /var/www/html/recordings…error copying files:
‘cp -rf’ from src: ‘/var/www/html/admin/modules/fw_ari/htdocs_ari/’ to dst: ‘/var/www/html/recordings’…details follow
cp: cannot stat `/var/www/html/admin/modules/fw_ari/htdocs_ari/
’: No such file or directory
done, see errors below
installing files to /var/www/html/recordings…done
fw_ari file install done, removing packages from module

Ditto! Removed it. Now it won’t reinstall.

And unfortunately, same here.

Cheers,
Mike

PHP Fatal error: Class ‘module_functions’ not found in /var/www/admin/modules/fw_ari/install.php on line 87, referer: /admin/config.php

The same here.
Unable to finish update of module and the PHP Fatal error.

Same Here…Can’t figure out where to go next.

maybe deinstall userpaneltab
remove in /var/www/admin/modules/fw_ari/install.php all

$module =& module_functions::create();
$installed_status = array(MODULE_STATUS_ENABLED, MODULE_STATUS_DISABLED);
$module_name = 'userpaneltab';
$userpaneltab_module = $module->getinfo($module_name, $installed_status);
if (isset($userpaneltab_module[$module_name])) {
        $module->uninstall($module_name);
        out(sprintf(_("Uninstalling outdated %s module..."), $module_name));
}

and install fw_ari ???

Same issue with me as well. I also am having issue with wildcard (*) specifically in the tftpboot directory. Seems Schmooze End Point Manager created a “-features.cfg” and “-sip-interop.cfg” which breaks wildcard selection in this particular directory.

I thought that it was borked for all of root filesystem. However I found it was limited only to /tftpboot. Not sure if it has anything TODO with the wildcard statement in the error.

same here …

The following modules are disabled because they need to be upgraded:
fw_ari

You should go to the module admin page to fix these.
Added 0 minutes ago
(freepbx.modules_disabled)

Help please …

I managed to uninstall fw_ari module and this what happened when I tried to re-install it again


Please wait while module actions are performed

installing files to /var/www/html/recordings..error copying files:
'cp -rf' from src: '/var/www/html/admin/modules/fw_ari/htdocs_ari/*' to dst: '/var/www/html/recordings'...details follow
cp: cannot stat `/var/www/html/admin/modules/fw_ari/htdocs_ari/*': No such file or directory
done, see errors below
installing files to /var/www/html/recordings..done
fw_ari file install done, removing packages from module

Same issue here. Must be a bug in the Module upgrade. I’ve disabled userpaneltab, and now can’t re-enable it

user panel depends on fw_ari module …

Yep, I’ve tried all that I can.

This is now resolved. In the future I advise everyone to look at our issue tracker and see if someone has reported a bug: http://issues.freepbx.org/browse/FREEPBX-7917

It took a couple of tries to update to 2.11.1.4, but the second time was the charm. All good now, thanks guys.

made /var/lib/asterisk/bin/module_admin list
then remove all Locally available modules with
rm -rf /var/www/html/admin/modules/fw_ari
and than reinstall fw_ari from web gui
And have solved this issue.

What commands did you use to create the dir? Any chmod for anything, etc?

The below CLI commands will get you back to where you want to be:

amportal a ma delete fw_ari -f
amportal a ma download fw_ari -f
amportal a ma install fw_ari -f
1 Like

I must did something wrong …
I have removed fw_ari via rm -rf /var/www/html/admin/modules/fw_ari and installed it again via gui and everything is perfect but I can’t see User Panel module anymore … help please … is this expected behavior? or I did something wrong???

I am sure it was exist and was part of /var/lib/asterisk/bin/module_admin list

userpaneltab 2.11.0.1 Enabled