FreePBX | Register | Issues | Wiki | Portal | Support

FreePBX upgrade from 13 to 14 problem

freepbx
Tags: #<Tag:0x00007fcd1e1f2820>

(Kenya) #1

Went to upgrade from 13 to 14 and got the error shown below.

[root@asterisk ~]# distro-upgrade
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃                                            ┃
┃        Sangoma 6 to 7 Upgrade Tool         ┃
┃                                            ┃
┃    Distro Upgrade - Version 1807-2.sng7    ┃
┃    Build Date: 2018-07-18                  ┃
┃                                            ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ Checking prerequsites...
        Checking FreePBX Version        [ ✔ ] - 13.0.195.19
        Checking bitsize of machine     [ ✔ ] - x86_64
        Checking for Hyper-V    [ ✔ ]
        Checking for 32 bit packages    [ ✔ ] - No i686 rpms found
        Checking available disk space   [ ✔ ] - 132G Available
        Checking for IonCube Loader     [ ✔ ] - IonCube Loader not detected
        Checking for outdated system    [ ✔ ] - No pending updates.
        Checking for HA Setup           [ ✔ ] - Not a HA system
 All prerequsites passed!Are you ready to upgrade your machine to SNG7? This process requires
two reboots, and will download approximately 400mb of files before
starting. There will be no interruption to service until this machine
is rebooted.Download files required for upgrade [Yn]? y
######### Starting setup upgrade on Tue Dec  4 09:33:06 EAT 2018 #########
######### Creating upgrade repofile #########
######### Installing needed packages #########
Loaded plugins: fastestmirror, kmod
Setting up Install Process
Loading mirror speeds from cached hostfile
upgrade                                                                                                                                                                        | 2.9 kB     00:00Package openscap-1.0.8-1.0.1.el6.centos.1.x86_64 already installed and latest version
Nothing to do
Loaded plugins: fastestmirror, kmod
Setting up Install Process
Loading mirror speeds from cached hostfile
Package preupgrade-assistant-2.6.0-2.el6.sangoma.x86_64 already installed and latest version
Package preupgrade-assistant-el6toel7-0.7.1-2.el6.sangoma.noarch already installed and latest version
Package 1:redhat-upgrade-tool-0.7.52-1.0.1.el6.sangoma.noarch already installed and latest version
Package sangoma-pbx-1-1.sng7.noarch already installed and latest version
Nothing to do
######### Running preupgrade to inventory running system #########
######### Running upgrade-tool to download and prepare upgrade #########
######### An error occured, please check /var/log/sngupdate #########
Error! setup_upgrade did not exit cleanly. Not enabling upgrade service

summary of logfile

Summary information:
We have found some potential risks.
Read the full report file '/root/preupgrade/result.html' for more details.
Please ensure you have backed up your system and/or data
before doing a system upgrade to prevent loss of data in
case the upgrade fails and full re-install of the system
from installation media is needed.
Upload results to UI by the command:
e.g. preupg -u http://example.com:8099/submit/ -r /root/preupgrade-results/preupg_results-181204093527.tar.gz .
######### Running upgrade-tool to download and prepare upgrade #########
cmdline-instrepo                                         | 3.6 kB     00:00
cmdline-instrepo/primary_db                              | 1.4 MB     00:00
.treeinfo                                                |  658 B     00:00
setting up repos...ade-to 75% [===========    ] 4.3 MB/s | 4.2 MB     00:00 ETA
getting boot images...

Downloading failed: couldn't get boot images: PYCURL ERROR 56 - "Recv failure: Connection reset by peer"
######### An error occured, please check /var/log/sngupdate #########

Entire logfile at http :// pastebin . com / e4TbiEpJ