UCP website crash

I upgraded from version 13 to 14 at the weekend using the upgrade script. Everything seems fine. The only issue was that users couldnt log in via the UCP anymore - the page displayed but didnt authenticate the user.
I was using the MSAD legacy directory and it was showing as disconnected. So I decided to update to use the new “Microsoft Active Directory” directories. I set that up and its all connected ok so I deleted the old one and the old FreePBX directory as it was blank (perhas I shouldnt of done this?) I see all my users and group in userman but now when I browse to the UCP, I get the following:

Found a similarish thread but about version 13. Tried to check a few bits from that:
[root@LSQUS002 ~]# fwconsole ma list
No repos specified, using: [standard,commercial] from last GUI settings

±---------------------±-----------±--------±------------+
| Module | Version | Status | License |
±---------------------±-----------±--------±------------+
| accountcodepreserve | 13.0.2.2 | Enabled | GPLv2 |
| announcement | 13.0.7.1 | Enabled | GPLv3+ |
| areminder | 14.0.1.4 | Enabled | Commercial |
| arimanager | 13.0.4 | Enabled | GPLv3+ |
| asterisk-cli | 14.0.1 | Enabled | GPLv3+ |
| asteriskinfo | 13.0.7.1 | Enabled | GPLv3+ |
| backup | 14.0.6 | Enabled | GPLv3+ |
| blacklist | 13.0.14.8 | Enabled | GPLv3+ |
| broadcast | 14.0.1.7 | Enabled | Commercial |
| builtin | | Enabled | |
| bulkhandler | 13.0.14.4 | Enabled | GPLv3+ |
| calendar | 14.0.2.2 | Enabled | GPLv3+ |
| callback | 13.0.5.2 | Enabled | GPLv3+ |
| callerid | 13.0.8.9 | Enabled | Commercial |
| callforward | 14.0.1.3 | Enabled | AGPLv3+ |
| calllimit | 13.0.5.5 | Enabled | 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.14 | Enabled | GPLv3+ |
| cel | 14.0.2.4 | Enabled | GPLv3+ |
| certman | 13.0.37.4 | Enabled | AGPLv3+ |
| cidlookup | 14.0.1.6 | Enabled | GPLv3+ |
| conferences | 13.0.23.11 | Enabled | GPLv3+ |
| conferencespro | 14.0.2.3 | Enabled | Commercial |
| configedit | 13.0.7.1 | Enabled | AGPLv3+ |
| contactmanager | 14.0.3.5 | Enabled | GPLv3+ |
| core | 14.0.12 | Enabled | GPLv3+ |
| cos | 13.0.12.1 | Enabled | Commercial |
| customappsreg | 13.0.5.4 | Enabled | GPLv3+ |
| cxpanel | 14.0.1 | Enabled | GPLv3 |
| dahdiconfig | 14.0.1.1 | Enabled | GPLv3+ |
| dashboard | 14.0.3.3 | 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.14 | Enabled | GPLv2 |
| directory | 13.0.19.5 | Enabled | GPLv3+ |
| disa | 13.0.6.1 | Enabled | AGPLv3+ |
| donotdisturb | 14.0.1.1 | Enabled | GPLv3+ |
| endpoint | 14.0.2.59 | Enabled | Commercial |
| extensionroutes | 13.0.10.5 | Enabled | Commercial |
| fax | 14.0.2.3 | Enabled | GPLv3+ |
| faxpro | 14.0.1.9 | Enabled | Commercial |
| featurecodeadmin | 13.0.6.4 | Enabled | GPLv3+ |
| findmefollow | 14.0.1.18 | Enabled | GPLv3+ |
| firewall | 13.0.53.4 | Enabled | AGPLv3+ |
| framework | 14.0.2.18 | Enabled | GPLv2+ |
| freepbx_ha | 13.0.11 | Enabled | Commercial |
| fw_langpacks | 14.0.1 | Enabled | GPLv3+ |
| hotelwakeup | 14.0.1.4 | Enabled | GPLv2 |
| iaxsettings | 14.0.1.4 | Enabled | AGPLv3 |
| infoservices | 13.0.1.2 | Enabled | GPLv2+ |
| irc | 2.11.0.7 | Enabled | GPLv3+ |
| ivr | 13.0.27.7 | Enabled | GPLv3+ |
| 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+ |
| music | 13.0.22.3 | Enabled | GPLv3+ |
| outroutemsg | 13.0.2.1 | Enabled | GPLv3+ |
| paging | 14.0.3 | Enabled | GPLv3+ |
| pagingpro | 14.0.2.9 | Enabled | Commercial |
| parking | 13.0.19.8 | Enabled | GPLv3+ |
| parkpro | 14.0.1 | 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.8 | Enabled | GPLv3+ |
| pinsetspro | 13.0.9.8 | Enabled | Commercial |
| pm2 | 13.0.5 | Enabled | AGPLv3+ |
| pms | 14.0.2.13 | Enabled | Commercial |
| presencestate | 14.0.1.5 | Enabled | GPLv3+ |
| printextensions | 13.0.3.1 | Enabled | GPLv3+ |
| queueprio | 13.0.2 | Enabled | GPLv3+ |
| queues | 14.0.2.15 | Enabled | GPLv2+ |
| queuestats | 14.0.1.4 | Enabled | Commercial |
| qxact_reports | 13.0.15.6 | Enabled | Commercial |
| recording_report | 14.0.1.7 | Enabled | Commercial |
| recordings | 13.0.30.12 | Enabled | GPLv3+ |
| restapi | 13.0.21.1 | Enabled | AGPLv3 |
| restapps | 13.0.92.5 | Enabled | Commercial |
| ringgroups | 14.0.1.4 | Enabled | GPLv3+ |
| sangomacrm | 13.0.4.30 | Enabled | Commercial |
| setcid | 13.0.6.2 | Enabled | GPLv3+ |
| sipsettings | 14.0.27.1 | Enabled | AGPLv3+ |
| sipstation | 13.0.14.8 | Enabled | Commercial |
| sms | 14.0.4.3 | Enabled | Commercial |
| sng_mcu | 13.0.5 | Enabled | Commercial |
| soundlang | 14.0.4.3 | Enabled | GPLv3+ |
| speeddial | 2.11.0.4 | Enabled | GPLv3+ |
| superfecta | 14.0.6 | Enabled | GPLv2+ |
| sysadmin | 14.0.13 | Enabled | Commercial |
| timeconditions | 14.0.2.13 | Enabled | GPLv3+ |
| tts | 13.0.10 | Enabled | GPLv3+ |
| ttsengines | 13.0.7.3 | Enabled | AGPLv3 |
| ucp | 14.0.2.3 | Enabled | AGPLv3+ |
| userman | 14.0.3.40 | Enabled | AGPLv3+ |
| vega | 14.0.3.7 | Enabled | Commercial+ |
| vmblast | 13.0.8 | Enabled | GPLv3+ |
| vmnotify | 13.0.22 | Enabled | Commercial |
| voicemail | 14.0.1.25 | Enabled | GPLv3+ |
| voicemail_report | 13.0.13.3 | Enabled | Commercial |
| vqplus | 14.0.1.1 | Enabled | Commercial |
| weakpasswords | 13.0.2 | Enabled | GPLv3+ |
| webcallback | 13.0.11.2 | Enabled | Commercial |
| webrtc | 14.0.3.7 | Enabled | GPLv3+ |
| xmpp | 14.0.1.14 | Enabled | AGPLv3 |
| zulu | 14.0.2.13 | Enabled | Commercial |
±---------------------±-----------±--------±------------+

I have uninstalled and reinstalled the UCP module and restarted fwconsole to no avail

Seems to be because it can’t find the new MSAD directory but not sure why not

The error is from the PMS module and it’s quite old. Simply updating your modules would fix this.

all my modules are showing as up to date when I check online from the module admin page.

I forced PMS module to download and install again and its working now.

Thanks
Kevin

Just curious - trying to learn…
Where in that image do you see anything related to PMS?

From the screen cap:
image

Stack traces are a beautiful thing

1 Like

As an update, I found out that this error was caused by deleting the default FreePBX internal directory. When I setup the Active Directory orginally, I had deleted the other directories in the list as I didnt need them. This caused UCP to stop working. Then when I forced the PMS module to reinstall, doing so recreates the default FreePBX directory. I made the same mistake today and the same process fixed it.

Perhaps it would be a good idea to remove the delete option from the Default FreePBX directory so people can’t delete it?

No. Just uninstall pms module if you don’t need it

Fair enough. Probably not the best practice I guess but I tend to just install all the modules that are available. I hadn’t actually read what the Sangoma Property management (PMS) module did!!

Is there a list of all the current modules with a brief discription and whether or not its safe to remove them if not needed somewhere?

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