Quantcast
Channel: Distro Discussion & Help - FreePBX Community Forums
Viewing all articles
Browse latest Browse all 1374

Upgrade to FreePBX 14 from 13 failing

$
0
0

@chaser wrote:

Hi,

I'm trying to upgrade from FreePBX 13 to FreePBX 14, but it fails quite early in the process with the folllowing error:

[root@freepbx ~]# distro-upgrade
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃                                             ┃
┃         Sangoma 6 to 7 Upgrade Tool         ┃
┃                                             ┃
┃    Distro Upgrade - Version 1707-11.sng7    ┃
┃    Build Date: 2017-07-24                   ┃
┃                                             ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛

 Checking prerequsites...
        Checking bitsize of machine     [ ✔ ] - x86_64
        Checking available disk space   [ ✔ ] - 199G Available
        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 200mb 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 Thu Aug 10 22:24:46 BST 2017 #########
######### Creating upgrade repofile #########
######### Installing needed packages #########
######### Running preupgrade #########
######### Running upgrade-tool #########
######### An error occured, please check /var/log/sngupdate #########
Error! setup_upgrade did not exit cleanly. Not enabling upgrade service
[root@freepbx ~]#

I get the following in the sngupdate log file:

######### Running upgrade-tool #########
upgrade                                                  | 2.9 kB     00:00
.treeinfo                                                |  658 B     00:00
setting up repos...
getting boot images...
Traceback (most recent call last):
  File "/usr/bin/redhat-upgrade-tool", line 310, in <module>
    main(args)
  File "/usr/bin/redhat-upgrade-tool", line 209, in main
    kernel, initrd = f.download_boot_images() # TODO: force arch?
  File "/usr/lib/python2.6/site-packages/redhat_upgrade_tool/download.py", line 413, in download_boot_images
    copy2(initrd, initrdpath)
  File "/usr/lib64/python2.6/shutil.py", line 95, in copy2
    copyfile(src, dst)
  File "/usr/lib64/python2.6/shutil.py", line 52, in copyfile
    copyfileobj(fsrc, fdst)
  File "/usr/lib64/python2.6/shutil.py", line 31, in copyfileobj
    fdst.write(buf)
IOError: [Errno 28] No space left on device
######### An error occured, please check /var/log/sngupdate #########

If I run df -i I get the following:

[root@freepbx ~]# df -i
Filesystem       Inodes  IUsed    IFree IUse% Mounted on
/dev/sda2      15204352 202298 15002054    2% /
tmpfs            235818      1   235817    1% /dev/shm
/dev/sda1         25688     48    25640    1% /boot

I'm currently running FreePBX 10.13.66-21. Any idea what might be wrong, and what i can do to fix it???

Posts: 4

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 1374

Trending Articles