Broken 15 to 16 upgrade

15 to 16 upgrade failed :

================================================================================
Package Arch Version Repository Size

Installing:
freepbx16 x86_64 16.1-1.sng7 sng-sng7php74 799 M

Transaction Summary

Install 1 Package

Total download size: 799 M
Installed size: 1.8 G
Downloading packages:
http://sng7.com/sng7/sng7php74/RPMS/freepbx16-16.1-1.sng7.x86_64.rpm: [Errno 14] curl#18 - “transfer closed with 3159133 bytes remaining to read”
Trying other mirror.

Error downloading packages:
freepbx16-16.1-1.sng7.x86_64: [Errno 256] No more mirrors to try.

Tue Jun 13 16:18:26 CEST 2023 freepbx16 failed to install…please install manually from the linux cli using ‘yum -y --enablerepo=sng-sng7php74 install freepbx16’ command.
Tue Jun 13 16:18:26 CEST 2023 Failed to install mandatory RPM. Exiting the upgrade process

I have issued command : yum -y --enablerepo=sng-sng7php74 install freepbx16 and installation was done with no errors

Now I’m ended with a can’t connect to asterisk GUI and a lot of modules needed to be upgraded .

fwconsole ma upgradeall fails at each module with :

Upgrading module ‘areminder’ from 16.0.16 to 16.0.16
Downloading module ‘areminder’
Processing areminder
Verifying local module download…Verified
Extracting…Done
Download completed in 0 seconds
Detected Missing Dependency of: sysadmin 13.0.69
Found local Dependency of: sysadmin 16.0.35
Installing Missing Dependency of: sysadmin 13.0.69
Updating tables sysadmin_options, sysadmin_update_log, sysadmin_fail2ban…Done

In install.php line 17:

/etc/sangoma does not exist. Can’t continue

moduleadmin [-f|–force] [-d|–debug] [–edge] [–ignorecache] [–stable] [–color] [–skipchown] [-e|–autoenable] [–skipdisabled] [–snapshot SNAPSHOT] [–format FORMAT] [-R|–repo REPO] [-t|–tag TAG] [–skipbreakingcheck] [–sendemail] [–onlystdout] [–] []…

yum -y update says :

Loaded plugins: fastestmirror, versionlock
Repository sng-sng7php74 is listed more than once in the configuration
Loading mirror speeds from cached hostfile
No packages marked for update

sysadmin seems to be NOT installed

yum install sysadmin reports :

Loaded plugins: fastestmirror, versionlock
Repository sng-sng7php74 is listed more than once in the configuration
Loading mirror speeds from cached hostfile
Resolving Dependencies
→ Running transaction check
—> Package sysadmin.noarch 0:5.6-5.6.52.sng will be installed
→ Processing Dependency: php < 5.7 for package: sysadmin-5.6-5.6.52.sng.noarch
Package php56w-5.6.40-1.sng7.x86_64 is obsoleted by php-7.4.16-1.el7.remi.x86_64 which is already installed
→ Processing Dependency: zend-loader for package: sysadmin-5.6-5.6.52.sng.noarch
→ Running transaction check
—> Package sysadmin.noarch 0:5.6-5.6.52.sng will be installed
→ Processing Dependency: php < 5.7 for package: sysadmin-5.6-5.6.52.sng.noarch
Package php56w-5.6.40-1.sng7.x86_64 is obsoleted by php-7.4.16-1.el7.remi.x86_64 which is already installed
—> Package zend-guard-loader.x86_64 0:1.1-5.6.sng7 will be installed
→ Processing Dependency: php < 5.7 for package: zend-guard-loader-1.1-5.6.sng7.x86_64
Package php56w-5.6.40-1.sng7.x86_64 is obsoleted by php-7.4.16-1.el7.remi.x86_64 which is already installed
→ Processing Conflict: sysadmin16-7.4-7.4.6.sng.noarch conflicts sysadmin
→ Finished Dependency Resolution
Error: Package: zend-guard-loader-1.1-5.6.sng7.x86_64 (sng-pkgs)
Requires: php < 5.7
Installed: php-7.4.16-1.el7.remi.x86_64 (@sng-sng7php74/7-8.2003.3.el7.sangoma)
php = 7.4.16-1.el7.remi
Available: mod_php71w-7.1.15-1.sng7.x86_64 (sng-pkgs)
php = 7.1.15-1.sng7
Available: mod_php71w-7.1.16-1.sng7.x86_64 (sng-pkgs)
php = 7.1.16-1.sng7
Available: mod_php71w-7.1.20-1.sng7.x86_64 (sng-pkgs)
php = 7.1.20-1.sng7
Available: mod_php72w-7.2.7-1.sng7.x86_64 (sng-pkgs)
php = 7.2.7-1.sng7
Available: mod_php72w-7.2.8-1.sng7.x86_64 (sng-pkgs)
php = 7.2.8-1.sng7
Available: php-5.4.16-48.el7.x86_64 (sng-base)
php = 5.4.16-48.el7
Available: php56w-5.6.35-1.sng7.x86_64 (sng-pkgs)
php = 5.6.35-1.sng7
Available: php56w-5.6.36-1.sng7.x86_64 (sng-pkgs)
php = 5.6.36-1.sng7
Available: php56w-5.6.40-1.sng7.x86_64 (sng-pkgs)
php = 5.6.40-1.sng7
Error: sysadmin16 conflicts with sysadmin-5.6-5.6.52.sng.noarch
Error: Package: sysadmin-5.6-5.6.52.sng.noarch (sng-pkgs)
Requires: php < 5.7
Installed: php-7.4.16-1.el7.remi.x86_64 (@sng-sng7php74/7-8.2003.3.el7.sangoma)
php = 7.4.16-1.el7.remi
Available: mod_php71w-7.1.15-1.sng7.x86_64 (sng-pkgs)
php = 7.1.15-1.sng7
Available: mod_php71w-7.1.16-1.sng7.x86_64 (sng-pkgs)
php = 7.1.16-1.sng7
Available: mod_php71w-7.1.20-1.sng7.x86_64 (sng-pkgs)
php = 7.1.20-1.sng7
Available: mod_php72w-7.2.7-1.sng7.x86_64 (sng-pkgs)
php = 7.2.7-1.sng7
Available: mod_php72w-7.2.8-1.sng7.x86_64 (sng-pkgs)
php = 7.2.8-1.sng7
Available: php-5.4.16-48.el7.x86_64 (sng-base)
php = 5.4.16-48.el7
Available: php56w-5.6.35-1.sng7.x86_64 (sng-pkgs)
php = 5.6.35-1.sng7
Available: php56w-5.6.36-1.sng7.x86_64 (sng-pkgs)
php = 5.6.36-1.sng7
Available: php56w-5.6.40-1.sng7.x86_64 (sng-pkgs)
php = 5.6.40-1.sng7
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

What can I do ???

Do you have a backup of the unit? A clean install → restore might be your best option.

I have a backup from 15.0.37
Can I install 16.0.40 and restore with that backup ???

Yup. Super easy peasy.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.