BUG update-programs script fails

Dan Lawrence

Member
Joined
Jan 4, 2008
Messages
47
Reaction score
9
I'm starting up a new instance of PiAF green over at RentPBX. I'm following along on the "Getting Started with PBX in a Flash" over at http://nerdvittles.dreamhosters.com/pbxinaflash/ (tangent: what's the deal with links on that page that don't go anywhere?).

I've installed traveling man 3 and now I'm jumping in at step 6 which is:
Update Your Server to Current Spec. Complete your install by running update-programs and then update-fixes after logging into your server as root.

However, when I run the update-programs script it seems that pbx-scripts.tar.gz isn't available on any of the mirrors.

So I tried running the update-fixes script thinking that might update the mirror list and solve the problem, but it has the same failure.

Is this a matter of RentPBX using a old image? It can't be possible that all the mirrors are down, right?

Code:
$ update-programs
update-programs - 2.0.4 released on 052613
CentOS release 6.4 (Final) - 32 Bit
**********************************************************************
* In order to run this free and compiled program you must agree to  *
* the following:                                                    *
 
(snip)
 
*                                                                        *
* Press ENTER to continue                                                *
**************************************************************************
update-programs 2.0.4 released on 052613
CentOS release 6.4 (Final) - 32 Bit
**************************************************************
* This program will get the latest programs for PBX in a    *
* Flash Version 2.0.6.X! and update your install.            *
* None of these programs will be run automatically after this*
* update!                                                    *
**************************************************************
Now checking for a temporary folder to put this in
The temporary folder we need does not exist. Now creating...
Folder created successfully
update-programs - 2.0.4 released on 052613
CentOS release 6.4 (Final) - 32 Bit
***********************************************************
* I am now going to attempt to download the selected      *
* file via the internet. This program attempts to download*
* from multiple mirrors and you need an active internet  *
* connection and access to a proper domain name server.  *
* If you dont have this the installation will FAIL. It is *
* up to YOU to debug YOUR network connection issues and  *
* NOT the PIAF Development Team! Almost all errors using  *
* program are related to YOUR network and not the code of *
* this download/install program.                          *
***********************************************************
Checking for any partially completed downloads and deleting them
Attempting to download pbx-scripts.tar.gz from Mirror #1
--2015-06-02 17:34:12--  http://www.pbxinaflash.us/piaf6/programs/pbx-scripts.tar.gz
Resolving www.pbxinaflash.us... 74.86.213.25
Connecting to www.pbxinaflash.us|74.86.213.25|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2015-06-02 17:34:12 ERROR 404: Not Found.
Error Download unsuccessful! Now trying the next mirror #2
Checking for any partially completed downloads and deleting them
Attempting to download pbx-scripts.tar.gz from Mirror #2
--2015-06-02 17:34:18--  http://192.210.137.132/piaf6/programs/pbx-scripts.tar.gz
Connecting to 192.210.137.132:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2015-06-02 17:34:19 ERROR 404: Not Found.
Error Download unsuccessful! Now trying the next mirror #3
Checking for any partially completed downloads and deleting them
Attempting to download pbx-scripts.tar.gz from Mirror #3
--2015-06-02 17:34:25--  http://piaf.wildernesstech.com/piaf6/programs/pbx-scripts.tar.gz
Resolving piaf.wildernesstech.com... failed: Name or service not known.
wget: unable to resolve host address âpiaf.wildernesstech.comâ
Error Download unsuccessful! Now trying the next mirror #4
Checking for any partially completed downloads and deleting them
Attempting to download pbx-scripts.tar.gz from Mirror #4
--2015-06-02 17:34:31--  http://www.nerdvittles.dreamhosters.com/pbxinaflash/piaf6/programs/pbx-scripts.tar.gz
Resolving www.nerdvittles.dreamhosters.com... 75.119.221.39
Connecting to www.nerdvittles.dreamhosters.com|75.119.221.39|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2015-06-02 17:34:31 ERROR 404: Not Found.
Error Download unsuccessful! Now trying the next mirror #5
Checking for any partially completed downloads and deleting them
Attempting to download pbx-scripts.tar.gz from Mirror #5
--2015-06-02 17:34:37--  http://www.pbxinaflash.org/piaf6/programs/pbx-scripts.tar.gz
Resolving www.pbxinaflash.org... 74.86.213.25
Connecting to www.pbxinaflash.org|74.86.213.25|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2015-06-02 17:34:37 ERROR 404: Not Found.
Error Download unsuccessful! No more mirrors to try
update-programs - 2.0.4 released on 052613
Download of pbx-scripts.tar.gz FAILED - WRITE THIS DOWN!
***********************************************************
* Download unsuccessful! We suspect your internet is down,*
* it is not correctly set up, or you don't have access to *
* a working domain name server (DNS) It is highly unlikely*
* all of our mirrors are down at the same time.          *
* We will attempt to run some diagnostics, display them,  *
* and then exit to the console so you can fix the problem.*
* Press ENTER to continue                                *
***********************************************************
update-programs - 2.0.4 released on 052613
Network Diagnostics
********************************************************************
* IP Connect* ONLINE  * SSH       * ONLINE                         *
********************************************************************
voip.lightspeeddesign.com
CentOS release 6.4 (Final) :32 Bit Kernel: 2.6.32-358.6.2.el6.i686
 
Remember you are seeing this page as there were problems downloading
the payload file. This generally means that you DO NOT HAVE PROPER
INTERNET CONNECTIVITY!
You were attempting to download pbx-scripts.tar.gz


I checked the first mirror location (http://www.pbxinaflash.us/piaf6/programs/) from my desktop PC which has a good and working internet connection. I get a 404 error there.

I then checked connectivity from the PiAF box and I can ping the mirror server so I don't think this is a connectivity issue.

Code:
 $ ping -c3 www.pbxinaflash.us
PING pbxinaflash.us (74.86.213.25) 56(84) bytes of data.
64 bytes from gw.wardmundy.com (74.86.213.25): icmp_seq=1 ttl=57 time=40.9 ms
64 bytes from gw.wardmundy.com (74.86.213.25): icmp_seq=2 ttl=57 time=40.9 ms
64 bytes from gw.wardmundy.com (74.86.213.25): icmp_seq=3 ttl=57 time=40.9 ms
 
--- pbxinaflash.us ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2042ms
rtt min/avg/max/mdev = 40.921/40.937/40.958/0.165 ms

I searched the knowledge base over at rentpbx but couldn't find anything on the matter there.

Any advice would be appreciated.
 

Dan Lawrence

Member
Joined
Jan 4, 2008
Messages
47
Reaction score
9
Well, RentPBX replied to the ticket I opened with them and it's not on their end. They suggested maybe PiAF is no longer supporting 2.x and suggested maybe trying 3.x. Is there a stable green release that is considered 3.x?
 

Dan Lawrence

Member
Joined
Jan 4, 2008
Messages
47
Reaction score
9
Those would work great if I were building this from the ground up on my own hardware, but in this case I am at the mercy of what images RentPBX has on tap. I could do a self install there, but I'd rather have a base that has already been tweaked to work with their VM environment.

At their suggestion, I'm going to switch their image of PiAF 3.6.5 which is Scientific Linux based. I wanted to stick with the CentOS base since that seems to be where the PiAF development is working.
 

atsak

Guru
Joined
Sep 7, 2009
Messages
2,387
Reaction score
440
Scientific Linux works just as well as CentOS and is in fact very close to it. Frankly, I don't recall any operating system issues with PIAF on a pure SIP system - the only thing I've ever seen was a problem getting DAHDI drivers to work on certain kernel versions from Sangoma (which took a while to figure out but was not ultimately difficult to work around). I think you'll find everything works fine in that environment.
 

Members online

Forum statistics

Threads
25,824
Messages
167,826
Members
19,249
Latest member
jetest
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top