Error requesting page


(Stephan Koenig) #1

I am in the process to move to Version 15. I have restored my 13 backup on a fresh 15 installation.

When I go into the UCP I get the following error message:

Error requesting page http://192.168.1.152/ucp/ajax.php?module=voicemail&command=refreshfoldercount

There was an error. See the console log for more details

I have no idea where to start. Trying to get to the SMS.


Upgrade FreePBX systems
(Stephan Koenig) #2

In the console log of my browser I found things like:

Forbidden: ajaxRequest declined

/ucp/ajax.php?module=voicemail&command=refreshfoldercount:1 Failed to load resource: the server responded with a status of 403 (Forbidden)

Failed to load resource: net::ERR_CONNECTION_TIMED_OUT

jsphpg_ae2b33db35c56d3d87a2b8828c33b54c.js?load_version=v15.0.6.14:322 GET http://192.168.1.152:8001/socket.io/?token=f19162de5543cc98c800c7202df7bd3b&EIO=3&transport=polling&t=N70UM0E net::ERR_CONNECTION_TIMED_OUT

DevTools failed to load SourceMap: Could not load content for http://192.168.1.152/ucp/assets/js/compiled/main/bootstrap-toggle.min.js.map: HTTP error: status code 403, net::ERR_HTTP_RESPONSE_CODE_FAILURE


(Matt Brooks) #3

I’m assuming you can pull up the admin page and that’s working fine correct?

If you don’t mind, can you do a fwconsole ma list and verify that the ucp module is enabled?


(Stephan Koenig) #4

The freepbx admin page works fine.

I can log into the UCP.

User Control Panel Settings work fine.

Adding a dashboard does not work.

Adding a widget does not work

+----------------------+------------+-----------------------------------+-------------+
| Module               | Version    | Status                            | License     |
+----------------------+------------+-----------------------------------+-------------+
| accountcodepreserve  | 13.0.2.2   | Enabled                           | GPLv2       |
| amd                  | 15.0.2     | Enabled                           | GPLv3+      |
| announcement         | 15.0.3.10  | Enabled                           | GPLv3+      |
| areminder            | 15.0.14.20 | Enabled                           | Commercial  |
| arimanager           | 15.0.3.8   | Enabled                           | GPLv3+      |
| asterisk-cli         | 14.0.1     | Enabled                           | GPLv3+      |
| asteriskinfo         | 15.0.9     | Enabled                           | GPLv3+      |
| backup               | 15.0.10    | Enabled                           | GPLv3+      |
| blacklist            | 15.0.2.10  | Enabled                           | GPLv3+      |
| broadcast            | 15.0.12    | Enabled                           | Commercial  |
| builtin              |            | Enabled                           |             |
| bulkhandler          | 13.0.19    | Enabled                           | GPLv3+      |
| calendar             | 15.0.4.19  | Enabled                           | GPLv3+      |
| callback             | 15.0.8     | Enabled                           | GPLv3+      |
| callerid             | 15.0.14    | Enabled                           | Commercial  |
| callforward          | 15.0.10    | Enabled                           | AGPLv3+     |
| calllimit            | 15.0.5.3   | Enabled                           | Commercial  |
| callrecording        | 15.0.7.11  | Enabled                           | AGPLv3+     |
| callwaiting          | 15.0.4.2   | Enabled                           | GPLv3+      |
| campon               | 13.0.4.1   | Enabled                           | GPLv3+      |
| cdr                  | 15.0.17    | Enabled                           | GPLv3+      |
| cel                  | 15.0.15.8  | Enabled                           | GPLv3+      |
| certman              | 15.0.22    | Enabled                           | AGPLv3+     |
| cidlookup            | 15.0.15    | Enabled                           | GPLv3+      |
| conferences          | 15.0.7.4   | Enabled                           | GPLv3+      |
| conferencespro       | 15.0.3.15  | Enabled                           | Commercial  |
| configedit           | 13.0.7.1   | Enabled                           | AGPLv3+     |
| contactmanager       | 15.0.8.23  | Enabled                           | GPLv3+      |
| core                 | 15.0.9.94  | Enabled                           | GPLv3+      |
| cos                  | 15.0.9     | Enabled                           | Commercial  |
| customappsreg        | 15.0.13    | Enabled                           | GPLv3+      |
| cxpanel              | 15.0.4     | Enabled                           | GPLv3       |
| dahdiconfig          | 15.0.5.4   | Enabled                           | GPLv3+      |
| dashboard            | 15.0.5     | Enabled                           | AGPLv3+     |
| daynight             | 15.0.11    | Enabled                           | GPLv3+      |
| dictate              | 15.0.6     | Enabled                           | GPLv3+      |
| digium_phones        | 15.0.2     | Enabled                           | GPLv2       |
| digiumaddoninstaller | 13.0.1.1   | Enabled                           | GPLv2       |
| directory            | 15.0.16    | Enabled                           | GPLv3+      |
| disa                 | 15.0.4.7   | Enabled                           | AGPLv3+     |
| donotdisturb         | 15.0.6     | Enabled                           | GPLv3+      |
| endpoint             | 15.0.27.16 | Enabled                           | Commercial  |
| extensionroutes      | 15.0.5     | Enabled                           | Commercial  |
| extensionsettings    | 13.0.4     | Enabled                           | GPLv3+      |
| fax                  | 15.0.19    | Enabled                           | GPLv3+      |
| faxpro               | 15.0.8.8   | Enabled                           | Commercial  |
| featurecodeadmin     | 13.0.6.4   | Enabled                           | GPLv3+      |
| filestore            | 15.0.3.7   | Enabled                           | AGPLv3      |
| findmefollow         | 15.0.20    | Enabled                           | GPLv3+      |
| firewall             | 15.0.6.5   | Enabled                           | AGPLv3+     |
| framework            | 15.0.16.49 | Enabled                           | GPLv2+      |
| fw_langpacks         | 14.0.1     | Enabled                           | GPLv3+      |
| hotelwakeup          | 15.0.5.4   | Enabled                           | GPLv2       |
| iaxsettings          | 15.0.6     | Enabled                           | AGPLv3      |
| infoservices         | 15.0.2     | Enabled                           | GPLv2+      |
| iotserver            |            | Not Installed (Locally available) | Commercial  |
| irc                  | 13.0.1     | Enabled                           | GPLv3+      |
| ivr                  | 15.0.26    | Enabled                           | GPLv3+      |
| languages            | 15.0.10    | Enabled                           | GPLv3+      |
| logfiles             | 13.0.10.7  | Enabled                           | GPLv3+      |
| manager              | 15.0.9     | Enabled                           | GPLv2+      |
| miscapps             | 15.0.8     | Enabled                           | GPLv3+      |
| miscdests            | 15.0.2.9   | Enabled                           | GPLv3+      |
| music                | 15.0.20    | Enabled                           | GPLv3+      |
| outroutemsg          | 15.0.9     | Enabled                           | GPLv3+      |
| paging               | 15.0.4.21  | Enabled                           | GPLv3+      |
| pagingpro            | 15.0.1.16  | Enabled                           | Commercial  |
| parking              | 15.0.15    | Enabled                           | GPLv3+      |
| parkpro              | 15.0.12.6  | Enabled                           | Commercial  |
| pbdirectory          | 2.11.0.6   | Enabled                           | GPLv3+      |
| phonebook            | 15.0.11    | Enabled                           | GPLv3+      |
| phpinfo              | 13.0.2     | Enabled                           | GPLv2+      |
| pinsets              | 15.0.1.10  | Enabled                           | GPLv3+      |
| pinsetspro           | 15.0.3     | Enabled                           | Commercial  |
| pm2                  | 15.0.3.7   | Enabled                           | AGPLv3+     |
| pms                  | 15.0.2.45  | Enabled                           | Commercial  |
| presencestate        | 15.0.9     | Enabled                           | GPLv3+      |
| printextensions      | 13.0.3.2   | Enabled                           | GPLv3+      |
| queueprio            | 15.0.10    | Enabled                           | GPLv3+      |
| queues               | 15.0.17    | Enabled                           | GPLv2+      |
| queuestats           | 15.0.3.25  | Enabled                           | Commercial  |
| qxact_reports        | 15.0.3.20  | Enabled                           | Commercial  |
| recording_report     | 15.0.4.24  | Enabled                           | Commercial  |
| recordings           | 15.0.3.13  | Enabled                           | GPLv3+      |
| restapps             | 15.0.19.3  | Enabled                           | Commercial  |
| ringgroups           | 15.0.11.7  | Enabled                           | GPLv3+      |
| sangomacrm           | 15.0.14.43 | Enabled                           | Commercial  |
| setcid               | 15.0.8     | Enabled                           | GPLv3+      |
| sipsettings          | 15.0.6.25  | Enabled                           | AGPLv3+     |
| sipstation           | 15.0.5.8   | Enabled                           | Commercial  |
| sms                  | 15.0.5     | Enabled                           | Commercial  |
| soundlang            | 15.0.5.6   | Enabled                           | GPLv3+      |
| speeddial            | 2.11.0.4   | Enabled                           | GPLv3+      |
| superfecta           | 15.0.2.23  | Enabled                           | GPLv2+      |
| sysadmin             | 15.0.13.18 | Enabled                           | Commercial  |
| timeconditions       | 15.0.15.2  | Enabled                           | GPLv3+      |
| tts                  | 15.0.9     | Enabled                           | GPLv3+      |
| ttsengines           | 15.0.4.6   | Enabled                           | AGPLv3      |
| ucp                  | 15.0.6.14  | Enabled                           | AGPLv3+     |
| userman              | 15.0.23    | Enabled                           | AGPLv3+     |
| vega                 | 15.0.6     | Enabled                           | Commercial+ |
| vmblast              | 15.0.11.3  | Enabled                           | GPLv3+      |
| vmnotify             | 15.0.10    | Enabled                           | Commercial  |
| voicemail            | 15.0.18.13 | Enabled                           | GPLv3+      |
| voicemail_report     | 15.0.5     | Enabled                           | Commercial  |
| vqplus               | 15.0.7.15  | Enabled                           | Commercial  |
| weakpasswords        | 13.0.2     | Enabled                           | GPLv3+      |
| webcallback          | 15.0.6.2   | Enabled                           | Commercial  |
| webrtc               | 15.0.8     | Enabled                           | GPLv3+      |
| xmpp                 | 15.0.6.4   | Enabled                           | AGPLv3      |
| zulu                 | 15.0.58.3  | Enabled                           | Commercial  |
+----------------------+------------+-----------------------------------+-------------+

(Matt Brooks) #5

So I am getting a 403 on the URL as well, but I don’t know what’s going on. I’ll see if I can reproduce this on my machine.


(Stephan Koenig) #6

If it is a 403, are there any passwords that should be set after restore?

Is there any logfile to check?


(Stephan Koenig) #7

I am still stuck here. Any ideas what I could try?


(Dave Burgess) #9

@mbrooks is on the case. As soon as he figures out what’s up, I’m sure he’ll let you know. Note that this is a really unusual problem, so it might take a few minutes.

A possible workaround would be to use backup/restore on the current machine and throw together a test machine and restore onto it. If the problem follows, it’s a data point. If it doesn’t, you may be able to work from the restored server until you can swing back, kind of like a warm-spare setup.


(Matt Brooks) #10

@StephanK So, I spent some time trying to reproduce this issue, but it took longer than the amount of time than I had.

This is most likely a bug either with UCP or Backup/Restore on FreePBX 15.

As far as next steps, I would recommend opening an issue, with the steps to reproduce it, in our issue tracker here: https://issues.freepbx.org

Once we have an issue created, someone from the FreePBX team will take a look at the issue and work it depending on how critical we believe it is.


(Stephan Koenig) #11

Thanks for your answer. I am not quite sure what you mean. My FreePBX 13 is running fine, I am trying to go to a 15 through backup and restore. I was told that would be the best method.


(Stephan Koenig) #12

@mbrooks Thank you for your help!

Playing around with this a lot.

I use Sipstation SMS a lot.

There was an earlier ticket on the same problem with Faxstation:

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

Was there ever a commercial ticket? I could not get an answer from the reporter.

(Just to make sure, I have nothing to do with that earlier post from Dwerder.)


(Dwerder) #13

This is correct but I have the same issue as you do.

I have tried reinstalling but it spams errors, 3x diffrent hardware.

The only method I can find to fix it is use an earlier version and not let ucp update. If it does, it will be back to this error over and over. I can post a console log of what mine does but it says new users cannot post links.


(Stephan Koenig) #14

@gentoo

What system do you have? Are you also trying to upgrade via backup and restore to a new version?

If we can find out what our systems have in common we might be a big step forward.


(Dwerder) #15

Neither, I just kept reconfiguring it from scratch.
Im a fresh install that used to work, and now something messes it up. Sorry its 3am ill figure out a way around the posting links to get some better infos here.


(Stephan Koenig) #16

It is the IP or URL that blocks the posting.

So instead of

http://192.168.1.152/ucp/ajax.php?module=voicemail&command=refreshfoldercount

post

(PBX)/ucp/ajax.php?module=voicemail&command=refreshfoldercount


(Matt Brooks) #17

@StephanK I don’t see an issue in Commercial Modules, but this may be a different issue. I would go ahead and create a new issue with us specifically for the issue you’re seeing.


(Denic) #18

I have the same problem when upgrading through backup and restore.

UCP:

image


(Denic) #19

console.log:


(Stephan Koenig) #20

You saw that it is the exact same error message in the same area (UCP)?

Did a lot of testing, takes a long time as a restore needs about one hour.

New install from 15 distro. Restore backup from 13.

UCP has problems.

When I deleted that extension and create it again, problems are gone. (But I can not do if for all extensions.)

However, if I now make another restore, problems are back.


(Dave Burgess) #21

This sounds like it might be a mission for “Bulk Update”. Export the extensions to a CSV file and update it in OpenOffice or Excel.

You can export the working config from the new instance and the broken instance from the restore and see what differences there are, then repllcate the “fix” across the entire CSV.