Upgrade 13 to SNG7 - Modules still at 13

Hi guys.

I updated today a machine from FreePBX 13 to SNG7 by following the instructions in the wiki: https://wiki.freepbx.org/display/PPS/Upgrading+from+FreePBX+10.13.66+to+SNG7

After the upgrade was complete, it errored out:

PHP Fatal error: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
Whoops\Exception\ErrorException: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in file /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23
Stack trace:

1. Whoops\Exception\ErrorException->() /var/www/html/admin/libraries/Console/RemoteUnlock.class.php:23
PHP Fatal error: Cannot redeclare class FreePBX\Console\Command\RemoteUnlock in /var/www/html/admin/libraries/Console/RemoteUnlock.class.php on line 23

I fixed it by removing the duplicate file, Thank you, Lorne!

Then it wouldn’t connect to Asterisk, I reminded myself of this post. Thank you again, Lorne!

Finally, it said some modules are broken, I fixed it by re-downloading it.

Now, the issue is, that the OS got updated to SNG, but all modules are still on 13.

[[email protected] ~]# cat /etc/schmooze/pbx-version
12.7.6-1904-1.sng7
[[email protected] schmooze]# rpm -qa | grep sangoma-pbx
sangoma-pbx-1904-1.sng7.noarch

Modules:

[[email protected] ~]# fwconsole ma list
No repos specified, using: [standard,commercial,extended,unsupported] from last GUI settings

+---------------------+------------+-----------------------------------+------------+
| Module              | Version    | Status                            | License    |
+---------------------+------------+-----------------------------------+------------+
| accountcodepreserve | 13.0.2.2   | Enabled                           | GPLv2      |
| amd                 | 13.0.3     | Enabled                           | GPLv3+     |
| announcement        | 13.0.7.7   | Enabled                           | GPLv3+     |
| areminder           | 13.0.10.11 | Enabled                           | Commercial |
| arimanager          | 13.0.5.2   | Enabled                           | GPLv3+     |
| asterisk-cli        | 13.0.4     | Enabled                           | GPLv3+     |
| asteriskinfo        | 13.0.7.1   | Enabled                           | GPLv3+     |
| backup              | 13.0.27.21 | Enabled                           | GPLv3+     |
| blacklist           | 13.0.14.12 | Enabled                           | GPLv3+     |
| broadcast           | 13.0.12.15 | Enabled                           | Commercial |
| builtin             |            | Enabled                           |            |
| bulkdids            | 13.0.2     | Enabled                           | GPLv3+     |
| bulkextensions      | 13.0.3     | Enabled                           | GPLv3+     |
| bulkhandler         | 13.0.14.8  | Enabled                           | GPLv3+     |
| calendar            |            | Not Installed (Locally available) | GPLv3+     |
| callback            | 13.0.5.4   | Enabled                           | GPLv3+     |
| callforward         | 13.0.4.2   | Enabled                           | AGPLv3+    |
| callrecording       | 13.0.11.13 | Enabled                           | AGPLv3+    |
| callwaiting         | 13.0.4.1   | Enabled                           | GPLv3+     |
| campon              | 13.0.4.1   | Enabled                           | GPLv3+     |
| cdr                 | 13.0.33    | Enabled                           | GPLv3+     |
| cel                 | 13.0.26.8  | Enabled                           | GPLv3+     |
| certman             | 13.0.39    | Enabled                           | AGPLv3+    |
| cidlookup           | 13.0.12.3  | Enabled                           | GPLv3+     |
| conferences         | 13.0.23.15 | Enabled                           | GPLv3+     |
| conferencespro      | 13.0.27.11 | Enabled                           | Commercial |
| configedit          | 13.0.7.1   | Enabled                           | AGPLv3+    |
| contactmanager      | 13.0.45.1  | Enabled                           | GPLv3+     |
| core                | 13.0.131   | Enabled                           | GPLv3+     |
| customappsreg       | 13.0.5.7   | Enabled                           | GPLv3+     |
| customcontexts      | 13.0.3.1   | Enabled                           | GPLv2+     |
| cxpanel             | 13.0.5.2   | Enabled                           | GPLv3      |
| dahdiconfig         | 13.0.33.15 | Enabled                           | GPLv3+     |
| dashboard           | 13.0.26.2  | Enabled                           | AGPLv3+    |
| daynight            | 13.0.15.1  | Enabled                           | GPLv3+     |
| dictate             | 13.0.5     | Enabled                           | GPLv3+     |
| digium_phones       | 13.0.7.4   | Enabled                           | GPLv2      |
| directory           | 13.0.19.12 | Enabled                           | GPLv3+     |
| disa                | 13.0.6.12  | Enabled                           | AGPLv3+    |
| donotdisturb        | 13.0.3.1   | Enabled                           | GPLv3+     |
| dundicheck          | 2.11.0.3   | Enabled                           | GPLv3+     |
| endpoint            | 13.0.120   | Enabled                           | Commercial |
| extensionsettings   | 13.0.4     | Enabled                           | GPLv3+     |
| fax                 | 13.0.40.7  | Enabled                           | GPLv3+     |
| faxpro              | 13.0.42    | Enabled                           | Commercial |
| featurecodeadmin    | 13.0.6.4   | Enabled                           | GPLv3+     |
| findmefollow        | 13.0.38.13 | Enabled                           | GPLv3+     |
| firewall            | 13.0.57.1  | Enabled                           | AGPLv3+    |
| framework           | 13.0.197   | Enabled                           | GPLv2+     |
| fw_langpacks        | 12.0.7     | Enabled                           | GPLv3+     |
| hotelwakeup         | 13.0.17.2  | Enabled                           | GPLv2      |
| iaxsettings         | 13.0.6.6   | Enabled                           | AGPLv3     |
| infoservices        | 13.0.1.4   | Enabled                           | GPLv2+     |
| irc                 | 13.0.1     | Enabled                           | GPLv3+     |
| ivr                 | 13.0.27.18 | Enabled                           | GPLv3+     |
| languages           | 13.0.6.4   | Enabled                           | GPLv3+     |
| logfiles            | 13.0.10.5  | Enabled                           | GPLv3+     |
| manager             | 13.0.2.5   | Enabled                           | GPLv2+     |
| miscapps            | 13.0.3.1   | Enabled                           | GPLv3+     |
| miscdests           | 13.0.7     | Enabled                           | GPLv3+     |
| motif               | 13.0.4     | Enabled                           | GPLv3+     |
| music               | 13.0.22.7  | Enabled                           | GPLv3+     |
| outroutemsg         | 13.0.2.2   | Enabled                           | GPLv3+     |
| paging              | 13.0.26.13 | Enabled                           | GPLv3+     |
| pagingpro           | 13.0.19.12 | Enabled                           | Commercial |
| parking             | 13.0.19.11 | Enabled                           | GPLv3+     |
| parkpro             | 13.0.30.21 | Enabled                           | Commercial |
| pbdirectory         | 2.11.0.6   | Enabled                           | GPLv3+     |
| phonebook           | 13.0.6.4   | Enabled                           | GPLv3+     |
| phpagiconf          | 2.11.0.2   | Enabled                           | GPLv3+     |
| phpinfo             | 13.0.2     | Enabled                           | GPLv2+     |
| pinsets             | 13.0.13    | Enabled                           | GPLv3+     |
| pinsetspro          | 13.0.9.14  | Enabled                           | Commercial |
| pm2                 | 13.0.7.1   | Enabled                           | AGPLv3+    |
| presencestate       | 13.0.8.2   | Enabled                           | GPLv3+     |
| printextensions     | 13.0.3.2   | Enabled                           | GPLv3+     |
| queuemetrics        | 2.11.0.3   | Enabled                           | GPLv3+     |
| queueprio           | 13.0.6     | Enabled                           | GPLv3+     |
| queues              | 13.0.34.15 | Enabled                           | GPLv2+     |
| qxact_reports       | 13.0.15.17 | Enabled                           | Commercial |
| recording_report    | 13.0.24.10 | Enabled                           | Commercial |
| recordings          | 13.0.30.13 | Enabled                           | GPLv3+     |
| restapi             | 13.0.21.2  | Enabled                           | AGPLv3     |
| restart             |            | Not Installed (Locally available) | GPLv3+     |
| ringgroups          | 13.0.23.4  | Enabled                           | GPLv3+     |
| setcid              | 13.0.6.3   | Enabled                           | GPLv3+     |
| sipsettings         | 13.0.27.8  | Enabled                           | AGPLv3+    |
| sipstation          | 13.0.16    | Enabled                           | Commercial |
| sms                 | 13.0.12.5  | Enabled                           | Commercial |
| sng_mcu             | 13.0.5     | Enabled                           | Commercial |
| soundlang           | 13.0.26    | Enabled                           | GPLv3+     |
| speeddial           | 2.11.0.4   | Enabled                           | GPLv3+     |
| superfecta          | 13.0.4.7   | Enabled                           | GPLv2+     |
| sysadmin            | 13.0.87    | Enabled                           | Commercial |
| timeconditions      | 13.0.34.11 | Enabled                           | GPLv3+     |
| tts                 | 13.0.13    | Enabled                           | GPLv3+     |
| ttsengines          | 13.0.7.5   | Enabled                           | AGPLv3     |
| ucp                 | 13.0.42.6  | Enabled                           | AGPLv3+    |
| ucpnode             |            | Not Installed (Locally available) | Commercial |
| userman             | 13.0.76.43 | Enabled                           | AGPLv3+    |
| versionupgrade      | 13.0.1.5   | Enabled                           | Commercial |
| vmblast             | 13.0.11    | Enabled                           | GPLv3+     |
| vmnotify            | 13.0.22.4  | Enabled                           | Commercial |
| voicemail           | 13.0.59.3  | Enabled                           | GPLv3+     |
| voicemail_report    | 13.0.13.3  | Enabled                           | Commercial |
| vqplus              | 13.0.42.15 | Enabled                           | Commercial |
| weakpasswords       | 13.0.2     | Enabled                           | GPLv3+     |
| webcallback         | 13.0.11.5  | Enabled                           | Commercial |
| webrtc              | 13.0.32.9  | Enabled                           | GPLv3+     |
| xmpp                | 13.0.19.1  | Enabled                           | AGPLv3     |
+---------------------+------------+-----------------------------------+------------+

I tried running yum update, rebooting, updating modules, no luck.

Any help?

Use the version upgrade module in the Admin menu.

It does not allow me to

From the upgrade page, recovery from failed upgrade:
https://wiki.freepbx.org/display/PPS/Upgrading+from+FreePBX+10.13.66+to+SNG7#UpgradingfromFreePBX10.13.66toSNG7-Recoveryfromafailedupgrade

That fixed it, however, the upgrade caused weird NAT issues.

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