A customer was just trying to upgrade from v2.11 to v2.12 and getting the following error -
amportal a ma upgradeall
Fetching FreePBX settings with gen_amp_conf.php..
no repos specified, using: [standard] from last GUI settings
Upgrading: asteriskinfo, backup, callforward, callwaiting, cdr, conferences, dashboard, directory, featurecodeadmin, findmefollow, logfiles, music, queues, recordings, restart, ringgroups, timeconditions, voicemail, weakpasswords
Found module locally, verifying...Redownloading
The following error(s) occured:
- Unable to connect to servers from URLs provided: http://mirror1.freepbx.org/modules/packages/asteriskinfo/asteriskinfo-12.0.1.tgz.gpg,http://mirror2.freepbx.org/modules/packages/asteriskinfo/asteriskinfo-12.0.1.tgz.gpg
There were no network errors and the module files could be downloaded manually.
Changing this line in the following file resolved the issue - /var/www/html/admin/functions.inc.php
exec("wget --spider --server-response -q ".$url." 2>&1", $wgetout, $exitstatus);
exec("wget --spider --server-response ".$url." 2>&1", $wgetout, $exitstatus);
Not sure if this is a general issue or related to that specific install.