Critical: Upgrade script to SNG7 killed web ui (check_reload returns error 255)

Hi,

I just upgarded my SNG6 to SNG7 with the automatic update script. There were a few warning here and there (especially in the timezone module) but the update ran to completion. But now when I log into the web ui it tells me 3 things.

1.) I have unsigned modules “system_admin” and “custom_contexts” but running fwconsole refreshsignatures doesn’t fix it
2.) It shows a “critical error” about “check_reload” it return error 255 but nothing else. And I have configs pending but clicking on the “apply” button again runs check_reload with same error
3.) I tried re-downloading the 2 unsigned modules manually and I don’t know if this is because of the “check_reload” error but I cannot expand any of the modules in the list.

I basically can use the phones but for example the “extension routing” also doens’t work althought the license is checked and the module is active.

In addition the update log showed some errors about upgrading timezone like this:

######### - Running update-timezone #########
update-timezone output: ‘PHP Notice: Undefined index: tz_continent in /var/www/html/admin/modules/sysadmin/hooks/update-timezone on line 36
PHP Notice: Undefined index: tz_region in /var/www/html/admin/modules/sysadmin/hooks/update-timezone on line 36
PHP Notice: Undefined index: tz_continent in /var/www/html/admin/modules/sysadmin/hooks/update-timezone on line 41
PHP Notice: Undefined index: tz_continent in /var/www/html/admin/modules/sysadmin/hooks/update-timezone on line 44
PHP Notice: Undefined index: tz_region in /var/www/html/admin/modules/sysadmin/hooks/update-timezone on line 44’

atm the system is in a barely useable state I guess at least until the signatures and the check_reload works. I really need to fix the most important problems asap or I will have to restore the SNG6 backup of the virtual machine.

Any ideas are higly welcome

What is the output of:

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

+----------------------+------------+-----------------------------------+------------+
| Module               | Version    | Status                            | License    |
+----------------------+------------+-----------------------------------+------------+
| accountcodepreserve  | 13.0.2     | Enabled                           | GPLv2      |
| announcement         | 13.0.7.1   | Enabled                           | GPLv3+     |
| arimanager           | 13.0.4     | Enabled                           | GPLv3+     |
| asterisk-cli         | 14.0.1     | Enabled                           | GPLv3+     |
| backup               | 14.0.3.15  | Enabled                           | GPLv3+     |
| blacklist            | 13.0.14.8  | Enabled                           | GPLv3+     |
| builtin              |            | Enabled                           |            |
| bulkdids             | 13.0.2     | Enabled                           | GPLv3+     |
| bulkextensions       | 13.0.3     | Enabled                           | GPLv3+     |
| bulkhandler          | 13.0.14.4  | Enabled                           | GPLv3+     |
| calendar             | 14.0.2     | Enabled                           | GPLv3+     |
| callback             | 13.0.5.2   | Enabled                           | GPLv3+     |
| callforward          | 14.0.1.2   | Enabled                           | AGPLv3+    |
| calllimit            |            | Not Installed (Locally available) | Commercial |
| callrecording        | 13.0.11.5  | Enabled                           | AGPLv3+    |
| callwaiting          | 14.0.1.1   | Enabled                           | GPLv3+     |
| campon               | 13.0.4.1   | Enabled                           | GPLv3+     |
| cdr                  | 14.0.5.10  | Enabled                           | GPLv3+     |
| cel                  | 14.0.2.3   | Enabled                           | GPLv3+     |
| certman              | 13.0.37    | Enabled                           | AGPLv3+    |
| cidlookup            | 14.0.1.5   | Enabled                           | GPLv3+     |
| conferences          | 13.0.23.9  | Enabled                           | GPLv3+     |
| configedit           | 13.0.7.1   | Enabled                           | AGPLv3+    |
| contactmanager       | 14.0.3.4   | Enabled                           | GPLv3+     |
| core                 | 14.0.5.11  | Enabled                           | GPLv3+     |
| cos                  | 13.0.11.9  | Enabled                           | Commercial |
| customappsreg        | 13.0.5.4   | Enabled                           | GPLv3+     |
| customcontexts       | 13.0.3     | Enabled                           | GPLv2+     |
| cxpanel              | 13.0.5.1   | Enabled                           | GPLv3      |
| dahdiconfig          | 14.0.1.1   | Enabled                           | GPLv3+     |
| dashboard            | 14.0.3.2   | Enabled                           | AGPLv3+    |
| daynight             | 14.0.1     | Enabled                           | GPLv3+     |
| dictate              | 13.0.5     | Enabled                           | GPLv3+     |
| digium_phones        | 13.0.7.3   | Enabled                           | GPLv2      |
| digiumaddoninstaller | 2.11.0.12  | Enabled                           | GPLv2      |
| directory            | 13.0.19.5  | Enabled                           | GPLv3+     |
| disa                 | 13.0.6.1   | Enabled                           | AGPLv3+    |
| donotdisturb         | 14.0.1.1   | Enabled                           | GPLv3+     |
| dundicheck           | 2.11.0.3   | Enabled                           | GPLv3+     |
| endpointman          | 13.0.7.18  | Enabled                           | GPLv2+     |
| extensionroutes      | 13.0.10.5  | Enabled                           | Commercial |
| extensionsettings    | 13.0.4     | Enabled                           | GPLv3+     |
| fax                  | 14.0.2.2   | Enabled                           | GPLv3+     |
| featurecodeadmin     | 13.0.6.4   | Enabled                           | GPLv3+     |
| findmefollow         | 14.0.1.16  | Enabled                           | GPLv3+     |
| firewall             | 13.0.49.2  | Enabled                           | AGPLv3+    |
| framework            | 14.0.1.36  | Enabled                           | GPLv2+     |
| fw_langpacks         | 14.0.1     | Enabled                           | GPLv3+     |
| hotelwakeup          | 14.0.1.4   | Enabled                           | GPLv2      |
| iaxsettings          | 14.0.1.3   | Enabled                           | AGPLv3     |
| infoservices         | 13.0.1.2   | Enabled                           | GPLv2+     |
| irc                  | 2.11.0.7   | Enabled                           | GPLv3+     |
| ivr                  | 13.0.27.6  | Enabled                           | GPLv3+     |
| javassh              | 2.11.2     | Enabled                           | AGPLv3+    |
| languages            | 13.0.6     | Enabled                           | GPLv3+     |
| logfiles             | 13.0.10.4  | Enabled                           | GPLv3+     |
| manager              | 13.0.2.5   | Enabled                           | GPLv2+     |
| miscapps             | 13.0.3.1   | Enabled                           | GPLv3+     |
| miscdests            | 13.0.5     | Enabled                           | GPLv3+     |
| motif                | 13.0.3.2   | Enabled                           | GPLv3+     |
| music                | 13.0.22.3  | Enabled                           | GPLv3+     |
| outroutemsg          | 13.0.2.1   | Enabled                           | GPLv3+     |
| paging               | 13.0.26.3  | Enabled                           | GPLv3+     |
| parking              | 13.0.19.7  | Enabled                           | GPLv3+     |
| pbdirectory          | 2.11.0.6   | Enabled                           | GPLv3+     |
| phonebook            | 13.0.5.8   | Enabled                           | GPLv3+     |
| phpagiconf           | 2.11.0.2   | Enabled                           | GPLv3+     |
| phpinfo              | 13.0.2     | Enabled                           | GPLv2+     |
| pinsets              | 13.0.8     | Enabled                           | GPLv3+     |
| pm2                  | 13.0.4.2   | Enabled                           | AGPLv3+    |
| pms                  | 14.0.2.3   | Enabled                           | Commercial |
| presencestate        | 14.0.1.5   | Enabled                           | GPLv3+     |
| printextensions      | 13.0.3.1   | Enabled                           | GPLv3+     |
| queuemetrics         | 2.11.0.3   | Enabled                           | GPLv3+     |
| queueprio            | 13.0.2     | Enabled                           | GPLv3+     |
| queues               | 14.0.2.11  | Enabled                           | GPLv2+     |
| recordings           | 13.0.30.12 | Enabled                           | GPLv3+     |
| restapi              | 13.0.21.1  | Enabled                           | AGPLv3     |
| restapps             | 13.0.88.12 | Enabled                           | Commercial |
| ringgroups           | 14.0.1.4   | Enabled                           | GPLv3+     |
| setcid               | 13.0.6.2   | Enabled                           | GPLv3+     |
| sipsettings          | 14.0.26.7  | Enabled                           | AGPLv3+    |
| sipstation           | 13.0.14.7  | Enabled                           | Commercial |
| sms                  | 14.0.4.3   | Enabled                           | Commercial |
| soundlang            | 14.0.4.2   | Enabled                           | GPLv3+     |
| speeddial            | 2.11.0.4   | Enabled                           | GPLv3+     |
| superfecta           | 14.0.4     | Enabled                           | GPLv2+     |
| sysadmin             | 14.0.11    | Enabled                           | Commercial |
| timeconditions       | 14.0.2.12  | Enabled                           | GPLv3+     |
| tts                  | 13.0.10    | Enabled                           | GPLv3+     |
| ttsengines           | 13.0.7.3   | Enabled                           | AGPLv3     |
| ucp                  | 14.0.2.1   | Enabled                           | AGPLv3+    |
| userman              | 14.0.3.35  | Enabled                           | AGPLv3+    |
| vmblast              | 13.0.8     | Enabled                           | GPLv3+     |
| voicemail            | 14.0.1.17  | Enabled                           | GPLv3+     |
| weakpasswords        | 13.0.2     | Enabled                           | GPLv3+     |
| webrtc               | 14.0.3.7   | Enabled                           | GPLv3+     |
| xmpp                 | 14.0.1.8   | Enabled                           | AGPLv3     |
| zulu                 | 14.0.2.13  | Enabled                           | Commercial |
+----------------------+------------+-----------------------------------+------------+
fwconsole ma uninstall restapps

https://issues.freepbx.org/browse/FREEPBX-16869

that solved the “check_reload” problem and I could also apply the config and the critical error is gone and the extension routes module is working now too, thanks for that. But I still have the problem that in the “Module Admin” page I cannot expand any module. Probably some js error at least in latest chrome release.

Sounds like a browser caching issue. Does ctrl-f5 or browse incognito fix?

Indeed, both were working. First tried incognito and then back in normal browser tab hit ctrl-f5 and that made it work. And now system is green! No pending messages. The only I always wondered and I guess you can tell me is. Does it make sense to enable the system firewall which is currently disabled when behind a NAT router? Could also cause troubles with SSH and other services connecting or not?

Oh and what about the timezone errors? will they chase me one time, do I have to fix something there or can they be safely ignored?

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