Upgrade Went South


I upgraded from 5.211.6 to 5.211.65 to 6.12.65-1 then to 6.12.65-32.

This went as planned.

Upgrading from 6.12.65-32 to 10.13.66-1

Did not.

Is what the GUI goes to:

The CLI give me when trying to reupgrade

The following error(s) occured:

  • File Integrity failed for /var/www/html/admin/modules/_cache/announcement-13.0.5.tgz.gpg - aborting (GPG Verify File check failed)


Reloading FreePBX
Error(s) have occured, the following is the retrieve_conf output:
exit: 1
Exception: You should never ‘new’ DB_Helper. Just use it as an ‘extends’ in file /var/www/html/admin/libraries/BMO/DB_Helper.class.php on line 38
Stack trace:

  1. Exception->() /var/www/html/admin/libraries/BMO/DB_Helper.class.php:38
  2. FreePBX\DB_Helper->__construct() /var/www/html/admin/modules/cos/Cos.class.php:26
  3. Cos->__construct() /var/www/html/admin/libraries/BMO/Self_Helper.class.php:125
  4. FreePBX\Self_Helper->autoLoad() /var/www/html/admin/libraries/BMO/Self_Helper.class.php:37
  5. FreePBX\Self_Helper->__get() /var/www/html/admin/libraries/BMO/Hooks.class.php:279
  6. FreePBX\Hooks->preloadBMOModules() /var/www/html/admin/libraries/BMO/Hooks.class.php:39
  7. FreePBX\Hooks->updateBMOHooks() /var/lib/asterisk/bin/retrieve_conf:50

Moving to Next Step

Update MOTD
Loaded plugins: fastestmirror, kmod
Setting up Remove Process
No Match for argument: distro-motd-*
Loading mirror speeds from cached hostfile
Package(s) distro-motd-* available, but not installed.
No Packages marked for removal

Moving to Next Step

STAGE 3 COMPLETED - Misc Items - Moving to Stage 4

./upgrade-10.13.66-1.sh: line 395: /var/www/html/admin/modules/sysadmin/hooks/update-system: No such file or directory


./upgrade-10.13.66-1.sh: line 405: /var/www/html/admin/modules/sysadmin/hooks/update-system: No such file or directory
updatedb for locate command

Restart incron to be safe

STAGE 4 COMPLETED - Clean Up - Moving to Stage 5

./upgrade-10.13.66-1.sh: line 423: /var/www/html/admin/modules/sysadmin/hooks/update-system: No such file or directory

STAGE 5 STARTING - Final Verifications

./upgrade-10.13.66-1.sh: line 433: /var/www/html/admin/modules/sysadmin/hooks/update-system: No such file or directory

STAGE 5 COMPLETED - Final Verifications - Moving to Stage 6

./upgrade-10.13.66-1.sh: line 441: /var/www/html/admin/modules/sysadmin/hooks/update-system: No such file or directory

./upgrade-10.13.66-1.sh: line 446: /var/www/html/admin/modules/sysadmin/hooks/update-system: No such file or directory
Thu Jun 16 20:43:16 PDT 2016 UPGRADE 100% COMPLETED
./upgrade-10.13.66-1.sh: line 451: /var/www/html/admin/modules/sysadmin/hooks/update-system: No such file or directory
./upgrade-10.13.66-1.sh: line 452: /var/www/html/admin/modules/sysadmin/hooks/update-system: No such file or directory
./upgrade-10.13.66-1.sh: line 453: /var/www/html/admin/modules/sysadmin/hooks/update-system: No such file or directory
If you would like to change your Asterisk release version from
1.8, 10, 11 or 12 you can do so by typing asterisk-version-switch
from the linux CLI at anytime

You need to reboot your machine, and then update all the modules. It looks like you have an old version of Class of Service hanging around that wasn’t updated.