-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 15
-
Fix Version/s: 15.0.17.2
-
Component/s: Framework - Module Admin, fwconsole
-
Labels:None
-
ToDo:
-
Distro:FreePBX Distro
-
Module Fix Version:
Tested with latest, fully updated distro install and under Debian Buster.
I swear in the past I've been able to install modules directly from github, just by using the url provided by github's "Download Zip" link.
That no longer seems to work using either the GUI Module Admin's "download from web" option or CLI "fwconsole ma downloadinstall https://github.com/..."
What gets placed in /var/www/admin/modules/_cache under the zip file name is actually an html file containing an error message: "Your browser did something unexpected. Please contact us if the problem persists."
Downloading the github url with wget or curl works fine. Curl requires the L/-location "follow redirects" option - does FreePBX follow redirects?
The module itself installs successfully if the downloaded zip is copied to /var/ww/html and the GUI or CLI pointed to http://localhost/master.zip.
I also tried downloading a .tgz version from github that also fails.
Specific urls tested:
https://github.com/POSSA/freepbx-Outbound_CNAM/archive/master.zip
https://github.com/jerrm/freepbx-Outbound_CNAM/archive/master.zip
https://github.com/jerrm/freepbx-Outbound_CNAM/releases/download/0.0.5j-alpha/outcnam-latest.tgz