Unable to save changes in device management from UCP

Recently, I updated the modules on a couple of the systems I manage. Afterwards, each of them are unable to save button changes through UCP >> Device Management. I am able to edit the setting via Endpoint Manager >> Extension Mapping and then clicking the “UCP Custom Entries” button. I tried reverting to the older set of modules but was worse off due to issues with ucpnode and related components. It’s not a major issue for most of my sites, but one of the broken sites uses this feature quite a bit.

Here is the relevant info from first a broken system, and then from one that I didn’t upgrade:

Works when done from Endpoint Manager extension mapping screen (UCP Custom Entries):

xxx.xxx.xxx.xxx - - [16/Jan/2019:09:27:02 -0600] "POST /admin/ajax.php?module=endpoint&quitemode=1&handler=file&file=ajax.php&quietmode=1&command=savesettings HTTP/1.1" 200 16 "https://pbx.domain.com/admin/config.php?display=endpoint&view=extensions" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36"

Does not work - From UCP - Device Management. Here are the relevant log entries:

Browser console log:

jsphpg_d54abb236c3a9712820962375821504b.js:1558 Auto Loading AreminderC
jsphpg_d54abb236c3a9712820962375821504b.js:1558 Auto Loading CdrC
jsphpg_d54abb236c3a9712820962375821504b.js:1558 Auto Loading CelC
jsphpg_d54abb236c3a9712820962375821504b.js:1558 Auto Loading ContactmanagerC
jsphpg_d54abb236c3a9712820962375821504b.js:1558 Auto Loading EndpointC
jsphpg_d54abb236c3a9712820962375821504b.js:1558 Auto Loading FaxproC
jsphpg_d54abb236c3a9712820962375821504b.js:1558 Auto Loading HomeC
jsphpg_d54abb236c3a9712820962375821504b.js:1558 Auto Loading SmsC
jsphpg_d54abb236c3a9712820962375821504b.js:1558 Auto Loading VmnotifyC
jsphpg_d54abb236c3a9712820962375821504b.js:1558 Auto Loading VoicemailC
jsphpg_d54abb236c3a9712820962375821504b.js:1558 Auto Loading WebrtcC
jquery-1.11.3.min.js:5 POST https://pbx.domain.com/ucp/undefined?module=endpoint&command=savesettings 404 (Not Found)
send @ jquery-1.11.3.min.js:5
ajax @ jquery-1.11.3.min.js:5
m.(anonymous function) @ jquery-1.11.3.min.js:5
(anonymous) @ jsphp_81e7370c871473588829985a74930c28.js:58
dispatch @ jquery-1.11.3.min.js:4
r.handle @ jquery-1.11.3.min.js:4

From the HTTPD access log:

xxx.xxx.xxx.xxx - - [16/Jan/2019:09:15:43 -0600] "POST /ucp/undefined?module=endpoint&command=savesettings HTTP/1.1" 404 299 "https://pbx.domain.com/ucp/?display=dashboard&mod=endpoint&sub=103" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36"
xxx.xxx.xxx.xxx - - [16/Jan/2019:09:15:43 -0600] "POST /ucp/index.php HTTP/1.1" 200 10913 "https://pbx.domain.com/ucp/?display=dashboard&mod=endpoint&sub=103" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36"

From the HTTPD error log:

Wed Jan 16 09:15:43 2019] [error] [client xxx.xxx.xxx.xxx] File does not exist: /var/www/html/ucp/undefined, referer: https://pbx.domain.com/ucp/?display=dashboard&mod=endpoint&sub=103

Output from “cat /etc/schmooze/pbx-version”:
10.13.66-22

Module list from broken pbx:

+----------------------+--------------+---------+------------+
| Module               | Version      | Status  | License    |
+----------------------+--------------+---------+------------+
| accountcodepreserve  | 13.0.2.2     | Enabled | GPLv2      |
| amd                  | 13.0.2       | Enabled | GPLv3+     |
| announcement         | 13.0.7.7     | Enabled | GPLv3+     |
| areminder            | 13.0.10.8    | Enabled | Commercial |
| arimanager           | 13.0.4       | 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.11   | Enabled | GPLv3+     |
| broadcast            | 13.0.12.14   | Enabled | Commercial |
| builtin              |              | Enabled |            |
| bulkhandler          | 13.0.14.8    | Enabled | GPLv3+     |
| callback             | 13.0.5.3     | Enabled | GPLv3+     |
| callerid             | 13.0.8.14    | Enabled | Commercial |
| callforward          | 13.0.4.2     | Enabled | AGPLv3+    |
| calllimit            | 13.0.5.7     | Enabled | Commercial |
| callrecording        | 13.0.11.11   | Enabled | AGPLv3+    |
| callwaiting          | 13.0.4.1     | Enabled | GPLv3+     |
| campon               | 13.0.4.1     | Enabled | GPLv3+     |
| cdr                  | 13.0.32      | Enabled | GPLv3+     |
| cel                  | 13.0.26.7    | Enabled | GPLv3+     |
| certman              | 13.0.39      | Enabled | AGPLv3+    |
| cidlookup            | 13.0.12.2    | Enabled | GPLv3+     |
| conferences          | 13.0.23.13   | Enabled | GPLv3+     |
| conferencespro       | 13.0.27.11   | Enabled | Commercial |
| configedit           | 13.0.7.1     | Enabled | AGPLv3+    |
| contactmanager       | 13.0.43.12   | Enabled | GPLv3+     |
| core                 | 13.0.122.52  | Enabled | GPLv3+     |
| cos                  | 13.0.12.2    | Enabled | Commercial |
| customappsreg        | 13.0.5.5     | Enabled | GPLv3+     |
| dahdiconfig          | 13.0.33.15   | Enabled | GPLv3+     |
| dashboard            | 13.0.25.3    | Enabled | AGPLv3+    |
| daynight             | 13.0.15.1    | Enabled | GPLv3+     |
| dictate              | 13.0.5       | Enabled | GPLv3+     |
| digium_phones        | 13.0.7.4     | Enabled | GPLv2      |
| digiumaddoninstaller | 13.0.1.1     | Enabled | GPLv2      |
| directory            | 13.0.19.8    | Enabled | GPLv3+     |
| disa                 | 13.0.6.11    | Enabled | AGPLv3+    |
| donotdisturb         | 13.0.3.1     | Enabled | GPLv3+     |
| endpoint             | 13.0.118.122 | Enabled | Commercial |
| extensionroutes      | 13.0.10      | Enabled | Commercial |
| fax                  | 13.0.40.7    | Enabled | GPLv3+     |
| faxpro               | 13.0.40      | 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.195.26  | Enabled | GPLv2+     |
| freepbx_ha           | 13.0.11      | Enabled | Commercial |
| fw_langpacks         | 12.0.7       | Enabled | GPLv3+     |
| hotelwakeup          | 13.0.17.1    | Enabled | GPLv2      |
| iaxsettings          | 13.0.6.6     | Enabled | AGPLv3     |
| infoservices         | 13.0.1.3     | Enabled | GPLv2+     |
| irc                  | 13.0.1       | Enabled | GPLv3+     |
| ivr                  | 13.0.27.17   | Enabled | GPLv3+     |
| languages            | 13.0.6.3     | 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.6       | Enabled | GPLv3+     |
| music                | 13.0.22.5    | Enabled | GPLv3+     |
| outroutemsg          | 13.0.2.1     | Enabled | GPLv3+     |
| paging               | 13.0.26.10   | Enabled | GPLv3+     |
| pagingpro            | 13.0.19.11   | Enabled | Commercial |
| parking              | 13.0.19.10   | Enabled | GPLv3+     |
| parkpro              | 13.0.30.19   | Enabled | Commercial |
| pbdirectory          | 2.11.0.6     | Enabled | GPLv3+     |
| phonebook            | 13.0.6.1     | Enabled | GPLv3+     |
| phpinfo              | 13.0.2       | Enabled | GPLv2+     |
| pinsets              | 13.0.12      | Enabled | GPLv3+     |
| pinsetspro           | 13.0.9.13    | Enabled | Commercial |
| pm2                  | 13.0.5.1     | Enabled | AGPLv3+    |
| presencestate        | 13.0.8.2     | Enabled | GPLv3+     |
| printextensions      | 13.0.3.1     | Enabled | GPLv3+     |
| queueprio            | 13.0.4       | Enabled | GPLv3+     |
| queues               | 13.0.34.15   | Enabled | GPLv2+     |
| qxact_reports        | 13.0.15.16   | Enabled | Commercial |
| recording_report     | 13.0.24.10   | Enabled | Commercial |
| recordings           | 13.0.30.12   | Enabled | GPLv3+     |
| restapi              | 13.0.21.1    | Enabled | AGPLv3     |
| restapps             | 13.0.92.30   | Enabled | Commercial |
| ringgroups           | 13.0.23.2    | Enabled | GPLv3+     |
| rmsadmin             | 13.0.14.1    | Enabled | Commercial |
| setcid               | 13.0.6.2     | Enabled | GPLv3+     |
| sipsettings          | 13.0.27.5    | Enabled | AGPLv3+    |
| sipstation           | 13.0.14.18   | Enabled | Commercial |
| sms                  | 13.0.12.5    | Enabled | Commercial |
| sng_mcu              | 13.0.5       | Enabled | Commercial |
| soundlang            | 13.0.24.7    | Enabled | GPLv3+     |
| speeddial            | 2.11.0.4     | Enabled | GPLv3+     |
| superfecta           | 13.0.4.7     | Enabled | GPLv2+     |
| sysadmin             | 13.0.82      | Enabled | Commercial |
| timeconditions       | 13.0.34.11   | Enabled | GPLv3+     |
| tts                  | 13.0.10      | Enabled | GPLv3+     |
| ttsengines           | 13.0.7.3     | Enabled | AGPLv3     |
| ucp                  | 13.0.42.6    | Enabled | AGPLv3+    |
| ucpnode              | 13.0.34.11   | Enabled | Commercial |
| userman              | 13.0.76.43   | Enabled | AGPLv3+    |
| versionupgrade       | 13.0.1.5     | Enabled | Commercial |
| vmblast              | 13.0.8       | Enabled | GPLv3+     |
| vmnotify             | 13.0.22.2    | Enabled | Commercial |
| voicemail            | 13.0.58.1    | Enabled | GPLv3+     |
| voicemail_report     | 13.0.13.3    | Enabled | Commercial |
| vqplus               | 13.0.42.7    | Enabled | Commercial |
| weakpasswords        | 13.0.2       | Enabled | GPLv3+     |
| webcallback          | 13.0.11.2    | Enabled | Commercial |
| webrtc               | 13.0.32.9    | Enabled | GPLv3+     |
+----------------------+--------------+---------+------------+

For comparison purposes, here is information from a system that I didn’t update and consequently is still able to save button changes via the UCP.

The working post url from the httpd access log:

xxx.xxx.xxx.xxx - - [15/Jan/2019:11:38:35 -0600] "POST /ucp/index.php HTTP/1.1" 200 17735 "http://xxx.xxx.xxx.xxx/ucp/?display=dashboard&mod=endpoint&sub=199" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36"

Module list from working system:

+----------------------+--------------+-----------------------------------+------------+
| Module               | Version      | Status                            | License    |
+----------------------+--------------+-----------------------------------+------------+
| accountcodepreserve  | 13.0.2.2     | Enabled                           | GPLv2      |
| amd                  | 13.0.2       | Enabled                           | GPLv3+     |
| announcement         | 13.0.7.7     | Enabled                           | GPLv3+     |
| areminder            | 13.0.10.8    | Enabled                           | Commercial |
| arimanager           | 13.0.4       | 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.11   | Enabled                           | GPLv3+     |
| bria                 | 13.0.16      | Enabled                           | Commercial |
| broadcast            | 13.0.12.14   | Enabled                           | Commercial |
| builtin              |              | Enabled                           |            |
| bulkdids             | 13.0.2       | Enabled                           | GPLv3+     |
| bulkextensions       | 13.0.3       | Enabled                           | GPLv3+     |
| bulkhandler          | 13.0.14.8    | Enabled                           | GPLv3+     |
| callback             | 13.0.5.3     | Enabled                           | GPLv3+     |
| callerid             | 13.0.8.14    | Enabled                           | Commercial |
| callforward          | 13.0.4.2     | Enabled                           | AGPLv3+    |
| calllimit            | 13.0.5.7     | Enabled                           | Commercial |
| callrecording        | 13.0.11.11   | Enabled                           | AGPLv3+    |
| callwaiting          | 13.0.4.1     | Enabled                           | GPLv3+     |
| campon               | 13.0.4.1     | Enabled                           | GPLv3+     |
| cdr                  | 13.0.32      | Enabled                           | GPLv3+     |
| cel                  | 13.0.26.7    | Enabled                           | GPLv3+     |
| certman              | 13.0.39      | Enabled                           | AGPLv3+    |
| cidlookup            | 13.0.12.2    | Enabled                           | GPLv3+     |
| conferences          | 13.0.23.13   | Enabled                           | GPLv3+     |
| conferencespro       | 13.0.27.11   | Enabled                           | Commercial |
| configedit           | 13.0.7.1     | Enabled                           | AGPLv3+    |
| contactmanager       | 13.0.43.12   | Enabled                           | GPLv3+     |
| core                 | 13.0.122.52  | Enabled                           | GPLv3+     |
| cos                  | 13.0.12.2    | Enabled                           | Commercial |
| customappsreg        | 13.0.5.5     | Enabled                           | GPLv3+     |
| dahdiconfig          | 13.0.33.15   | Enabled                           | GPLv3+     |
| dashboard            | 13.0.25.3    | Enabled                           | AGPLv3+    |
| daynight             | 13.0.15.1    | Enabled                           | GPLv3+     |
| dictate              | 13.0.5       | Enabled                           | GPLv3+     |
| digium_phones        | 13.0.7.4     | Enabled                           | GPLv2      |
| digiumaddoninstaller |              | Not Installed (Locally available) | GPLv2      |
| directory            | 13.0.19.8    | Enabled                           | GPLv3+     |
| disa                 | 13.0.6.11    | Enabled                           | AGPLv3+    |
| donotdisturb         | 13.0.3.1     | Enabled                           | GPLv3+     |
| endpoint             | 13.0.118.104 | Enabled                           | Commercial |
| extensionroutes      | 13.0.10.7    | Enabled                           | Commercial |
| fax                  | 13.0.40.7    | Enabled                           | GPLv3+     |
| faxpro               | 13.0.40      | 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.195.26  | Enabled                           | GPLv2+     |
| freepbx_ha           | 13.0.11      | Enabled                           | Commercial |
| fw_langpacks         | 12.0.7       | Enabled                           | GPLv3+     |
| hotelwakeup          | 13.0.17.1    | Enabled                           | GPLv2      |
| iaxsettings          | 13.0.6.6     | Enabled                           | AGPLv3     |
| infoservices         | 13.0.1.3     | Enabled                           | GPLv2+     |
| irc                  | 13.0.1       | Enabled                           | GPLv3+     |
| ivr                  | 13.0.27.17   | Enabled                           | GPLv3+     |
| languages            | 13.0.6.3     | 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.6       | Enabled                           | GPLv3+     |
| music                | 13.0.22.5    | Enabled                           | GPLv3+     |
| outroutemsg          | 13.0.2.1     | Enabled                           | GPLv3+     |
| paging               | 13.0.26.10   | Enabled                           | GPLv3+     |
| pagingpro            | 13.0.19.12   | Enabled                           | Commercial |
| parking              | 13.0.19.10   | Enabled                           | GPLv3+     |
| parkpro              | 13.0.30.19   | Enabled                           | Commercial |
| pbdirectory          | 2.11.0.6     | Enabled                           | GPLv3+     |
| phonebook            | 13.0.6.1     | Enabled                           | GPLv3+     |
| phpinfo              | 13.0.2       | Enabled                           | GPLv2+     |
| pinsets              | 13.0.12      | Enabled                           | GPLv3+     |
| pinsetspro           | 13.0.9.13    | Enabled                           | Commercial |
| pm2                  | 13.0.5       | Enabled                           | AGPLv3+    |
| presencestate        | 13.0.8.2     | Enabled                           | GPLv3+     |
| printextensions      | 13.0.3.1     | Enabled                           | GPLv3+     |
| queueprio            | 13.0.4       | Enabled                           | GPLv3+     |
| queues               | 13.0.34.15   | Enabled                           | GPLv2+     |
| qxact_reports        | 13.0.15.6    | Enabled                           | Commercial |
| recording_report     | 13.0.24.10   | Enabled                           | Commercial |
| recordings           | 13.0.30.12   | Enabled                           | GPLv3+     |
| restapi              | 13.0.21.1    | Enabled                           | AGPLv3     |
| restapps             | 13.0.92.26   | Enabled                           | Commercial |
| ringgroups           | 13.0.23.2    | Enabled                           | GPLv3+     |
| rmsadmin             | 13.0.14.1    | Enabled                           | Commercial |
| setcid               | 13.0.6.2     | Enabled                           | GPLv3+     |
| sipsettings          | 13.0.27.5    | Enabled                           | AGPLv3+    |
| sipstation           | 13.0.14.18   | Enabled                           | Commercial |
| sms                  | 13.0.12.5    | Enabled                           | Commercial |
| sng_mcu              | 13.0.5       | Enabled                           | Commercial |
| soundlang            | 13.0.24.7    | Enabled                           | GPLv3+     |
| speeddial            | 2.11.0.4     | Enabled                           | GPLv3+     |
| superfecta           | 13.0.4.7     | Enabled                           | GPLv2+     |
| sysadmin             | 13.0.82      | Enabled                           | Commercial |
| timeconditions       | 13.0.34.11   | Enabled                           | GPLv3+     |
| tts                  | 13.0.10      | Enabled                           | GPLv3+     |
| ttsengines           | 13.0.7.3     | Enabled                           | AGPLv3     |
| ucp                  | 13.0.42.6    | Enabled                           | AGPLv3+    |
| ucpnode              | 13.0.34.9    | Enabled                           | Commercial |
| userman              | 13.0.76.43   | Enabled                           | AGPLv3+    |
| vmblast              | 13.0.8       | Enabled                           | GPLv3+     |
| vmnotify             | 13.0.22.2    | Enabled                           | Commercial |
| voicemail            | 13.0.58.1    | Enabled                           | GPLv3+     |
| voicemail_report     | 13.0.13.3    | Enabled                           | Commercial |
| vqplus               | 13.0.42.7    | Enabled                           | Commercial |
| weakpasswords        | 13.0.2       | Enabled                           | GPLv3+     |
| webcallback          | 13.0.11.2    | Enabled                           | Commercial |
| webrtc               | 13.0.32.9    | Enabled                           | GPLv3+     |
+----------------------+--------------+-----------------------------------+------------+

Output from “cat /etc/schmooze/pbx-version”:
10.13.66-20

Any ideas on how I can resolve this? Is anyone else experiencing the same issue?

-Rick

IIRC this was a bug in endpoint manager.

Did you try rolling back endpoint?

I did, but it was more to troubleshoot the ucpnode issue. I have not tried since that was resolved. I’ll try it and post the result.

Rolling back to 13.0.118.104 (the version on the working system) results in device management being unavailable. The message displayed is : Only licensed for Sangoma and Digium devices.

Edit: Endpoint manager is functional otherwise. I can edit buttons on the template or the individual settings on the extension mapping page.

FYI, I’ve experienced this issue on every system that I’ve upgraded modules. All are 10.13.66-22 systems using the commercial endpoint manager and Aastra (Mitel) phones. On the upgraded systems, no one can manage their own buttons through the UCP. Since it’s so easy to reproduce, I was hoping for more input form the community. Any ideas?

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

I worked with @rjdalejr on this. Resolved by upgrading EPM to version 13.0.118.131.