All modules disabled after upgrade 15->16

log said finished - asterisk isn’t running now

can i unwind this? or get it to complete?
i am running in a virtual machine on my windows server
i stopped the VM, now it won’t start…
rebooted server & VM is running again

logs below

[[email protected] pbx]# asterisk -rvvv
Asterisk 18.6.0, Copyright © 1999 - 2021, Sangoma Technologies Corporation and others.
Created by Mark Spencer [email protected]
Asterisk comes with ABSOLUTELY NO WARRANTY; type ‘core show warranty’ for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type ‘core show license’ for details.

Connected to Asterisk 18.6.0 currently running on freepbx15 (pid = 159419)
== Registered application ‘SayAlpha’
== Registered application ‘SayAlphaCase’
== Registered application ‘SayDigits’
== Registered application ‘SayNumber’
== Registered application ‘SayPhonetic’
== Registered application ‘SetAMAFlags’
== Registered application ‘Wait’
== Registered application ‘WaitDigit’
== Registered application ‘WaitExten’
== Registered application ‘Set’
== Registered application ‘MSet’
== Registered channel type ‘Local’ (Local Proxy Channel Driver)
== Manager registered action LocalOptimizeAway
Asterisk Dynamic Loader Starting:
[2021-10-31 13:26:09] NOTICE[159419]: loader.c:2389 load_modules: 347 modules will be loaded.
Loading res_odbc_transaction.so.
== Registered application ‘ODBC_Commit’
== Registered application ‘ODBC_Rollback’
== Registered custom function ‘ODBC’
== res_odbc_transaction.so => (ODBC transaction resource)
Loading res_odbc.so.
[2021-10-31 13:26:10] NOTICE[159419]: res_odbc.c:706 load_odbc_config: Registered ODBC class ‘asteriskcdrdb’ dsn->[MySQL-asteriskcdrdb]
== res_odbc.so => (ODBC resource)
Loading extconfig.
[ Initializing Custom Configuration Options ]
[2021-10-31 13:26:10] ERROR[159419]: config.c:1949 process_text_line: The file ‘extconfig_custom.conf’ was listed as a #include but it does not exist.
[2021-10-31 13:26:10] ERROR[159419]: loader.c:2508 load_modules: Error loading module ‘chan_local.so’: /usr/lib64/asterisk/modules/chan_local.so: cannot open shared object file: No such file or directory
[2021-10-31 13:26:10] ERROR[159419]: loader.c:2508 load_modules: Error loading module ‘res_pjsip_phoneprov_provider.so’, missing dependency: res_phoneprov
[2021-10-31 13:26:10] ERROR[159419]: loader.c:2508 load_modules: *** Failed to load module extconfig
[2021-10-31 13:26:10] ERROR[159419]: loader.c:2508 load_modules: Failed to load extconfig.
[2021-10-31 13:26:10] ERROR[159419]: asterisk.c:3938 check_init: Module initialization failed. ASTERISK EXITING!

== Manager unregistered action DBGet
== Manager unregistered action DBPut
== Manager unregistered action DBDel
== Manager unregistered action DBDelTree

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

±---------------------±-----------±----------------------------------------±------------+
| Module | Version | Status | License |
±---------------------±-----------±----------------------------------------±------------+
| accountcodepreserve | 13.0.2.2 | Disabled; Pending upgrade to 16.0.0.1 | GPLv2 |
| adv_recovery | | Not Installed (Locally available) | Commercial |
| amd | 15.0.3 | Disabled; Pending upgrade to 16.0.1 | GPLv3+ |
| announcement | 15.0.3.13 | Disabled; Pending upgrade to 16.0.4 | GPLv3+ |
| api | | Not Installed (Locally available) | AGPLv3+ |
| areminder | | Not Installed (Locally available) | Commercial |
| arimanager | 15.0.3.12 | Disabled; Pending upgrade to 16.0.4 | GPLv3+ |
| asterisk-cli | 14.0.4 | Disabled; Pending upgrade to 16.0.2 | GPLv3+ |
| asteriskinfo | 15.0.14 | Disabled; Pending upgrade to 16.0.5 | GPLv3+ |
| backup | 15.0.10.65 | Disabled; Pending upgrade to 16.0.50.5 | GPLv3+ |
| blacklist | 15.0.2.15 | Disabled; Pending upgrade to 16.0.5 | GPLv3+ |
| broadcast | | Not Installed (Locally available) | Commercial |
| builtin | | Enabled | |
| bulkhandler | 13.0.24 | Disabled; Pending upgrade to 16.0.3 | GPLv3+ |
| calendar | 15.0.4.21 | Disabled; Pending upgrade to 16.0.6 | GPLv3+ |
| callaccounting | | Not Installed (Locally available) | Commercial+ |
| callback | 15.0.12 | Disabled; Pending upgrade to 16.0.2 | GPLv3+ |
| callerid | | Not Installed (Locally available) | Commercial |
| callforward | 15.0.16 | Disabled; Pending upgrade to 16.0.5 | AGPLv3+ |
| calllimit | | Not Installed (Locally available) | Commercial |
| callrecording | 15.0.7.19 | Disabled; Pending upgrade to 16.0.7 | AGPLv3+ |
| callwaiting | 15.0.4.6 | Disabled; Pending upgrade to 16.0.4 | GPLv3+ |
| campon | 13.0.4.1 | Enabled | GPLv3+ |
| cdr | 15.0.17.10 | Disabled; Pending upgrade to 16.0.9 | GPLv3+ |
| cel | 15.0.15.14 | Disabled; Pending upgrade to 16.0.5 | GPLv3+ |
| certman | 15.0.48 | Disabled; Pending upgrade to 16.0.18 | AGPLv3+ |
| cidlookup | 15.0.20 | Disabled; Pending upgrade to 16.0.5 | GPLv3+ |
| conferences | 15.0.7.11 | Disabled; Pending upgrade to 16.0.6 | GPLv3+ |
| conferencespro | | Not Installed (Locally available) | Commercial |
| configedit | 13.0.7.3 | Disabled; Pending upgrade to 16.0.2 | AGPLv3+ |
| contactmanager | 15.0.8.38 | Disabled; Pending upgrade to 16.0.9 | GPLv3+ |
| core | 15.0.12.88 | Disabled; Pending upgrade to 16.0.56.14 | GPLv3+ |
| cos | | Not Installed (Locally available) | Commercial |
| customappsreg | 15.0.14 | Disabled; Pending upgrade to 16.0.3 | GPLv3+ |
| customcontexts | 13.0.3.1 | Enabled | GPLv2+ |
| cxpanel | 15.0.4 | Disabled; Pending upgrade to 16.0.2 | GPLv3 |
| dahdiconfig | 15.0.5.7 | Disabled; Pending upgrade to 16.0.4 | GPLv3+ |
| dashboard | 15.0.12 | Disabled; Pending upgrade to 16.0.8 | AGPLv3+ |
| daynight | 15.0.12 | Disabled; Pending upgrade to 16.0.1 | GPLv3+ |
| dictate | 15.0.7 | Disabled; Pending upgrade to 16.0.1 | GPLv3+ |
| digium_phones | | Not Installed (Locally available) | GPLv2 |
| digiumaddoninstaller | | Not Installed (Locally available) | GPLv2 |
| directory | 15.0.18 | Disabled; Pending upgrade to 16.0.1 | GPLv3+ |
| disa | 15.0.4.9 | Disabled; Pending upgrade to 16.0.1 | AGPLv3+ |
| donotdisturb | 15.0.10 | Disabled; Pending upgrade to 16.0.3 | GPLv3+ |
| dundicheck | 2.11.0.3 | Enabled | GPLv3+ |
| dynroute | | Not Installed (Locally available) | GPLv3+ |
| endpoint | | Not Installed (Locally available) | Commercial |
| endpointman | 14.0.3 | Enabled | GPLv3+ |
| extensionroutes | | Not Installed (Locally available) | Commercial |
| extensionsettings | 13.0.4 | Disabled; Pending upgrade to 16.0.1 | GPLv3+ |
| fax | 15.0.21 | Disabled; Pending upgrade to 16.0.3 | GPLv3+ |
| faxpro | | Not Installed (Locally available) | Commercial |
| featurecodeadmin | 13.0.6.11 | Disabled; Pending upgrade to 16.0.1 | GPLv3+ |
| filestore | 15.0.3.25 | Disabled; Pending upgrade to 16.0.10.6 | AGPLv3 |
| findmefollow | 15.0.28 | Disabled; Pending upgrade to 16.0.7 | GPLv3+ |
| firewall | 15.0.25 | Disabled; Pending upgrade to 16.0.42.7 | AGPLv3+ |
| framework | 16.0.10.32 | Enabled | GPLv2+ |
| fw_langpacks | 14.0.1 | Disabled; Pending upgrade to 16.0.1 | GPLv3+ |
| hotelwakeup | 15.0.5.5 | Disabled; Pending upgrade to 16.0.1 | GPLv2 |
| iaxsettings | 15.0.8 | Disabled; Pending upgrade to 16.0.1 | AGPLv3 |
| infoservices | 15.0.3 | Disabled; Pending upgrade to 16.0.2 | GPLv2+ |
| iotserver | | Not Installed (Locally available) | Commercial |
| irc | 13.0.1 | Disabled; Pending upgrade to 16.0.1 | GPLv3+ |
| ivr | 15.0.29 | Disabled; Pending upgrade to 16.0.3 | GPLv3+ |
| languages | 15.0.12 | Disabled; Pending upgrade to 16.0.1 | GPLv3+ |
| logfiles | 15.0.14 | Disabled; Pending upgrade to 16.0.2 | GPLv3+ |
| manager | 15.0.15 | Disabled; Pending upgrade to 16.0.7 | GPLv2+ |
| miscapps | 15.0.10 | Disabled; Pending upgrade to 16.0.1 | GPLv3+ |
| miscdests | 15.0.2.12 | Disabled; Pending upgrade to 16.0.1 | GPLv3+ |
| music | 15.0.22 | Disabled; Pending upgrade to 16.0.1 | GPLv3+ |
| oracle_connector | | Not Installed (Locally available) | Commercial |
| outroutemsg | 15.0.9 | Disabled; Pending upgrade to 16.0.1 | GPLv3+ |
| paging | 15.0.4.32 | Disabled; Pending upgrade to 16.0.8 | GPLv3+ |
| pagingpro | | Not Installed (Locally available) | Commercial |
| parking | 15.0.15.4 | Disabled; Pending upgrade to 16.0.2 | GPLv3+ |
| parkpro | | Not Installed (Locally available) | Commercial |
| pbdirectory | 2.11.0.6 | Enabled | GPLv3+ |
| phonebook | 15.0.12 | Disabled; Pending upgrade to 16.0.1 | GPLv3+ |
| phpinfo | 13.0.2 | Disabled; Pending upgrade to 16.0.1 | GPLv2+ |
| pinsets | 15.0.1.15 | Disabled; Pending upgrade to 16.0.6 | GPLv3+ |
| pinsetspro | | Not Installed (Locally available) | Commercial |
| pm2 | 15.0.7 | Disabled; Pending upgrade to 16.0.5 | AGPLv3+ |
| pms | | Not Installed (Locally available) | Commercial |
| presencestate | 15.0.11 | Disabled; Pending upgrade to 16.0.1 | GPLv3+ |
| printextensions | 13.0.3.4 | Disabled; Pending upgrade to 16.0.1 | GPLv3+ |
| queuemetrics | 2.11.0.3 | Enabled | GPLv3+ |
| queueprio | 15.0.10 | Disabled; Pending upgrade to 16.0.2 | GPLv3+ |
| queues | 15.0.33 | Disabled; Pending upgrade to 16.0.13 | GPLv2+ |
| queuestats | | Not Installed (Locally available) | Commercial |
| qxact_reports | | Not Installed (Locally available) | Commercial |
| recording_report | | Not Installed (Locally available) | Commercial |
| recordings | 15.0.3.15 | Disabled; Pending upgrade to 16.0.5 | GPLv3+ |
| restapi | 13.0.21.2 | Enabled | AGPLv3 |
| restapps | | Not Installed (Locally available) | Commercial |
| ringgroups | 15.0.11.14 | Disabled; Pending upgrade to 16.0.6 | GPLv3+ |
| sangomaconnect | | Not Installed (Locally available) | Commercial |
| sangomacrm | | Not Installed (Locally available) | Commercial |
| sangomartapi | | Not Installed (Locally available) | Commercial |
| setcid | 15.0.9 | Disabled; Pending upgrade to 16.0.3 | GPLv3+ |
| sipsettings | 15.0.6.39 | Disabled; Pending upgrade to 16.0.15 | AGPLv3+ |
| sipstation | 15.0.5.25 | Disabled; Pending upgrade to 16.0.10 | Commercial |
| sms | 15.0.18 | Disabled; Pending upgrade to 16.0.3 | Commercial |
| sng_mcu | 13.0.5 | Disabled | Commercial |
| soundlang | 15.0.5.10 | Disabled; Pending upgrade to 16.0.6 | GPLv3+ |
| speeddial | 2.11.0.4 | Enabled | GPLv3+ |
| superfecta | 15.0.2.34 | Disabled; Pending upgrade to 16.0.11 | GPLv2+ |
| sysadmin | 15.0.21.90 | Disabled; Pending upgrade to 16.0.5.61 | Commercial |
| timeconditions | 15.0.15.11 | Disabled; Pending upgrade to 16.0.7 | GPLv3+ |
| tts | 15.0.12 | Disabled; Pending upgrade to 16.0.2 | GPLv3+ |
| ttsengines | 15.0.4.7 | Disabled; Pending upgrade to 16.0.3 | AGPLv3 |
| ucp | 15.0.11 | Disabled; Pending upgrade to 16.0.15 | AGPLv3+ |
| userman | 15.0.61 | Disabled; Pending upgrade to 16.0.25.6 | AGPLv3+ |
| vega | | Not Installed (Locally available) | Commercial+ |
| vmblast | 15.0.11.8 | Disabled; Pending upgrade to 16.0.4 | GPLv3+ |
| vmnotify | | Not Installed (Locally available) | Commercial |
| voicemail | 15.0.18.39 | Disabled; Pending upgrade to 16.0.21 | GPLv3+ |
| voicemail_report | | Not Installed (Locally available) | Commercial |
| voipinnovations | | Not Installed (Locally available) | Commercial |
| vqplus | | Not Installed (Locally available) | Commercial |
| weakpasswords | 13.0.2 | Disabled; Pending upgrade to 16.0.1 | GPLv3+ |
| webcallback | | Not Installed (Locally available) | Commercial |
| webrtc | 15.0.10.6 | Disabled; Pending upgrade to 16.0.9 | GPLv3+ |
| xmpp | | Not Installed (Locally available) | AGPLv3 |
| zulu | | Not Installed (Locally available) | Commercial |
±---------------------±-----------±----------------------------------------±------------+

logged into my VM


asterisk still having issues starting - same errors listed above

I’m making an untested suggestion here.

Since it says the modules are all pending upgrade, you could try:

fwconsole ma upgradeall

It may work; I do not see how it could hurt.

That would be my suggestion as well, it looks like the upgrade was interrupted.

see bottom

trying to restore - backup command not recognized
how to add backup manually?

Check this Wiki Page.
https://wiki.freepbx.org/pages/viewpage.action?pageId=91357370

Really curious how you got into this state.

ran the 15->16 upgrade
watched the log until it said done
here i am

Running FreePBX startup…
Starting Asterisk…
Sun Oct 31 13:03:19 EDT 2021 System upgrade completed successfully.
[[email protected] pbx]# tail freepbx16-upgrade.log
Sun Oct 31 13:02:44 EDT 2021 Running reload
{“message”:“Reload Started”}
Sun Oct 31 13:02:45 EDT 2021 Running fwconsole restart
Asterisk not currently running
Running FreePBX shutdown…

Running FreePBX startup…
Starting Asterisk…
Sun Oct 31 13:03:19 EDT 2021 System upgrade completed successfully.

Do you still have internet connectivity to the FreePBX mirror servers? Are/were you using an http proxy? The error about unable to parse XML response from the mirror is interesting.

please try
fwconsole setting MODULE_REPO https://mirror.freepbx.org
fwconsole ma upgradeall

looks like that is working, but i still think asterisk will have the same problem starting & will fail
will know when it is finished - thanks

@lgaetz mirror, mirror … is there still a discrepancy between “old” and “new” mirror servers?

the upgradeall finished
i can now log into the GUI and see all my modules
however i lost my paid sysadmin module - looking for credentials to get it back
asterisk still not running
same errors as in my 1st post when i run ‘asterisk -rv’

fwconsole restart

Running Asterisk pre from Ucp module
UCP Mode Server is not running
in php-asmamanger.php line 495:
fclose() expects parameter 1 to be resource, bool given

My upgrade also had trouble starting asterisk. In my case, it was complaining missing extconfig_custom.conf

So I did
touch /etc/asterisk/extconfig_custom.conf

It fixed the problem. .

that fixed it - thanks
now just my admin module to activate

I looked yesterday and found out that the old mirror was not returning a module listing for 16. I think I fixed it, and perhaps that was related to the issues people were having upgrading if they were pointing towards mirror1 for their mirror server.

Matthew Fredrickson

1 Like

anyone know how i can reactivate my paid System Admin module?
looks like i have a new deployment ID

Change your deployment ID back.

not sure how to do that?
looked in admin functions and advanced settings
Sangoma portal shows license - Hardware not locked, please activate at bottom of screen