Cannot update EPM

I am trying to update EPM to satisfy restapps requirements. We manage many systems and this pops up here and there. I get the following output when upgrading

[root@arrowhc ~]# fwconsole ma downloadinstall endpoint --tag 14.0.41 --edge
Edge repository temporarily enabled
No repos specified, using: [standard] from last GUI settings

Unable to update module endpoint - 14.0.41:
Checking database tables…Done
Migrating tables as required…Done
Checking Settings and Defaults…Done
Generating Configs…Done
Downloading Firmware…Done (Background)
Generating CSS…Done
Module endpoint version 14.0.2.161 successfully installed
Updating Hooks…Done
Resetting temporarily repository state

fwconsole ma list
No repos specified, using: [standard] 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.8 | Enabled | GPLv3+ |
| areminder | 14.0.4.18 | Enabled | Commercial |
| arimanager | 13.0.5.4 | Enabled | GPLv3+ |
| asterisk-cli | 14.0.1 | Enabled | GPLv3+ |
| asteriskinfo | 13.0.7.2 | Enabled | GPLv3+ |
| backup | 14.0.10.10 | Enabled | GPLv3+ |
| blacklist | 14.0.3 | Enabled | GPLv3+ |
| broadcast | 14.0.1.13 | Enabled | Commercial |
| builtin | | Enabled | |
| bulkhandler | 13.0.16 | Enabled | GPLv3+ |
| calendar | 14.0.3.9 | Enabled | GPLv3+ |
| callback | 13.0.5.5 | Enabled | GPLv3+ |
| callerid | 13.0.8.19 | Enabled | Commercial |
| callforward | 14.0.1.3 | Enabled | AGPLv3+ |
| calllimit | 13.0.5.7 | Enabled | Commercial |
| callrecording | 14.0.16 | Enabled | AGPLv3+ |
| callwaiting | 14.0.1.1 | Enabled | GPLv3+ |
| campon | 13.0.4.1 | Enabled | GPLv3+ |
| cdr | 14.0.5.20 | Enabled | GPLv3+ |
| cel | 14.0.2.15 | Enabled | GPLv3+ |
| certman | 14.0.7 | Enabled | AGPLv3+ |
| cidlookup | 14.0.1.11 | Enabled | GPLv3+ |
| conferences | 13.0.23.17 | Enabled | GPLv3+ |
| conferencespro | 14.0.2.12 | Enabled | Commercial |
| configedit | 13.0.7.1 | Enabled | AGPLv3+ |
| contactmanager | 14.0.5.13 | Enabled | GPLv3+ |
| core | 14.0.28.48 | Enabled | GPLv3+ |
| cos | 13.0.12.6 | Enabled | Commercial |
| customappsreg | 13.0.5.7 | Enabled | GPLv3+ |
| cxpanel | 14.0.3 | Enabled | GPLv3 |
| dahdiconfig | 14.0.1.6 | Enabled | GPLv3+ |
| dashboard | 14.0.8 | Enabled | AGPLv3+ |
| daynight | 14.0.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.12 | Enabled | GPLv3+ |
| disa | 13.0.6.12 | Enabled | AGPLv3+ |
| donotdisturb | 14.0.1.1 | Enabled | GPLv3+ |
| endpoint | 14.0.2.161 | Enabled | Commercial |
| extensionroutes | 13.0.10.7 | Enabled | Commercial |
| fax | 14.0.2.8 | Enabled | GPLv3+ |
| faxpro | 14.0.12 | Enabled | Commercial |
| featurecodeadmin | 13.0.6.4 | Enabled | GPLv3+ |
| findmefollow | 14.0.1.24 | Enabled | GPLv3+ |
| firewall | 13.0.60.3 | Enabled | AGPLv3+ |
| framework | 14.0.13.26 | Enabled | GPLv2+ |
| fw_langpacks | 14.0.1 | Enabled | GPLv3+ |
| hotelwakeup | 14.0.1.6 | Enabled | GPLv2 |
| iaxsettings | 14.0.1.4 | Enabled | AGPLv3 |
| infoservices | 13.0.1.4 | Enabled | GPLv2+ |
| irc | 13.0.1 | Enabled | GPLv3+ |
| ivr | 14.0.9.8 | Enabled | GPLv3+ |
| languages | 14.0.1.5 | Enabled | GPLv3+ |
| logfiles | 13.0.10.7 | Enabled | GPLv3+ |
| manager | 13.0.2.7 | Enabled | GPLv2+ |
| miscapps | 13.0.3.2 | Enabled | GPLv3+ |
| miscdests | 13.0.9 | Enabled | GPLv3+ |
| music | 13.0.22.8 | Enabled | GPLv3+ |
| outroutemsg | 14.0.1 | Enabled | GPLv3+ |
| paging | 14.0.16.2 | Enabled | GPLv3+ |
| pagingpro | 14.0.2.23 | Enabled | Commercial |
| parking | 13.0.19.11 | Enabled | GPLv3+ |
| parkpro | 14.0.2.10 | Enabled | Commercial |
| pbdirectory | 2.11.0.6 | Enabled | GPLv3+ |
| phonebook | 13.0.6.5 | 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+ |
| pms | 14.0.2.61 | Enabled | Commercial |
| presencestate | 14.0.1.10 | Enabled | GPLv3+ |
| printextensions | 13.0.3.2 | Enabled | GPLv3+ |
| queueprio | 13.0.7 | Enabled | GPLv3+ |
| queues | 14.0.2.31 | Enabled | GPLv2+ |
| qxact_reports | 14.0.7.19 | Enabled | Commercial |
| recording_report | 14.0.3.10 | Enabled | Commercial |
| recordings | 13.0.30.14 | Enabled | GPLv3+ |
| restapi | 13.0.21.2 | Enabled | AGPLv3 |
| restapps | 14.0.22 | Disabled; Pending upgrade to 14.0.22.2 | Commercial |
| ringgroups | 14.0.1.13 | Enabled | GPLv3+ |
| rmsadmin | 13.0.14.1 | Enabled | Commercial |
| sangomacrm | 14.0.25.13 | Enabled | Commercial |
| setcid | 13.0.6.3 | Enabled | GPLv3+ |
| sipsettings | 14.0.27.23 | Enabled | AGPLv3+ |
| sipstation | 14.0.4.3 | Enabled | Commercial |
| sms | 14.0.4.6 | Enabled | Commercial |
| soundlang | 14.0.9 | Enabled | GPLv3+ |
| speeddial | 2.11.0.4 | Enabled | GPLv3+ |
| superfecta | 14.0.26 | Enabled | GPLv2+ |
| sysadmin | 14.0.38.8 | Enabled | Commercial |
| timeconditions | 14.0.2.19 | Enabled | GPLv3+ |
| tts | 13.0.13 | Enabled | GPLv3+ |
| ttsengines | 13.0.7.5 | Enabled | AGPLv3 |
| ucp | 14.0.3.9 | Enabled | AGPLv3+ |
| userman | 14.0.10 | Enabled | AGPLv3+ |
| versionupgrade | 14.0.3 | Enabled | Commercial |
| vmblast | 13.0.11 | Enabled | GPLv3+ |
| vmnotify | 14.0.1.6 | Enabled | Commercial |
| voicemail | 14.0.6.11 | Enabled | GPLv3+ |
| voicemail_report | 14.0.5 | Enabled | Commercial |
| vqplus | 14.0.4.15 | Enabled | Commercial |
| weakpasswords | 13.0.2 | Enabled | GPLv3+ |
| webcallback | 13.0.11.5 | Enabled | Commercial |
| webrtc | 14.0.3.8 | Enabled | GPLv3+ |
| xmpp | 14.0.1.19 | Enabled | AGPLv3 |
| zulu | 14.0.58.3 | Enabled | Commercial |
±---------------------±-----------±---------------------------------------±-----------+

Your maintenance period has probably expired:
https://wiki.freepbx.org/display/FPAS/How+to+Renew+FreePBX+Commercial+Modules+Maintenance

That does appear to be the issue. Are upgrades not available even if my current version has been identified as a security threat?

That answer is no, you cannot upgrade since rest apps has a hard dependency on EPM.

Since your restapps was current prior to this, one assumes that you do not have it licensed.

If that assumption is true, then simply remove it since you are not using it anyway.

fwconsole ma delete restapps
fwconsole reload

From the look of your listonline, I would say you have everything installed, used or not.

I highly recommend that you go through and delete anything not used, commercial or not.

1 Like

fwconsole ma delete restapps
The following error(s) occured:

  • Failed to run un-installation scripts

Common error on FreePBX 14. You will see that on many modules that you delete. It actually happens on the uninstall step if you do everything one step at a time.

You will even see that error if you use the GUI to remove a module. But, they are fully removed anyway.

Reload. and check again, you will see it is not installed.

fwconsole reload
fwconsole ma listonline | grep restapps

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