FreePBX 15->16 upgrade shows error with High Availability. System is not working

Hello,

I used the upgrade tool to get to 16.
After performing the update I cannot go to the GUI anymore. It shows only a page with this text:
_

0 High Availability Services 13.0.11 Copyright 2017 by Schmoozecom, Inc., All rights reserved By installing, copying, downloading, distributing, inspecting or using the materials provided herewith, you agree to all of the terms of use as outlined in our End User Agreement which can be found and reviewed at w w w. schmoozecom. com / cmeula

_

When I open a ssh session I can see that Asterisk is not started. Everytime I enter a fwconsole command I get the same text shown above

I can not get rid of this HA stuff. I never used it before.

I tried yum update and module updates already. No need for any updates.
Any clue on this?

Here is some output from the upgrade log file:

It seems that the upgrade was not completely performed.

Best regards
Matthias

@Powermatz Same problem here… Haven’t found a solution yet.

Same problem here. No solution until now.

Below /var/log/pbx/freepbx16-upgrade.log

Sun Oct 31 15:13:39 CET 2021 Starting System update process required for FreePBX 16
Sun Oct 31 15:13:39 CET 2021 Taking the backup of astDB
Sun Oct 31 15:13:39 CET 2021 Taking the backup of /etc/asterisk
Sun Oct 31 15:13:39 CET 2021 This appears to be a Sangoma Distro system as it has a Distro Version of 12.7.8-2107-3.sng7
Sun Oct 31 15:13:40 CET 2021 Deactivating the system with deploymentID 95653869
Removing all license files for deployment 95653869…Success!
Restarting httpd…Done
VARIABLES SET FOR UPGRADE
asterisk=Asterisk 13.38.3 built by mockbuild @ jenkins7 on a x86_64 running Linux on 2021-09-03 09:40:38 UTC
brand=FreePBXDistro
framework=15.0.17.55
kernel=Linux freepbx 3.10.0-1127.19.1.el7.x86_64 #1 SMP Tue Aug 25 17:23:54 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
version=12.7.8-2107-3.sng7
host=freepbx
virtual=
DEPLOYMENTID=95653869

Sun Oct 31 15:13:51 CET 2021 Enabling sangoma-release16 repository …

Sun Oct 31 15:14:00 CET 2021 sng-php74-repository successfully installed
Sun Oct 31 15:14:00 CET 2021###### Now going to remove PHP 5.x RPMs #######
Sun Oct 31 15:14:01 CET 2021 php56w uninstalled successfully…
Sun Oct 31 15:14:03 CET 2021 php56w-mysql uninstalled successfully…
Sun Oct 31 15:14:05 CET 2021 php56w-pdo uninstalled successfully…
Sun Oct 31 15:14:06 CET 2021 php56w-cli uninstalled successfully…
Sun Oct 31 15:14:08 CET 2021 php56w-mysqlnd is not installed…
Sun Oct 31 15:14:09 CET 2021 php56w-bcmath uninstalled successfully…
Sun Oct 31 15:14:10 CET 2021 php56w-pecl-ssh2 uninstalled successfully…
Sun Oct 31 15:14:12 CET 2021 php56w-common uninstalled successfully…
Sun Oct 31 15:14:13 CET 2021 php56w-soap uninstalled successfully…
Sun Oct 31 15:14:15 CET 2021 php56w-xml uninstalled successfully…
Sun Oct 31 15:14:16 CET 2021 php56w-pear uninstalled successfully…
Sun Oct 31 15:14:18 CET 2021 php56w-pecl-igbinary uninstalled successfully…
Sun Oct 31 15:14:19 CET 2021 php56w-odbc uninstalled successfully…
Sun Oct 31 15:14:21 CET 2021 php56w-ldap uninstalled successfully…
Sun Oct 31 15:14:22 CET 2021 php56w-gd uninstalled successfully…
Sun Oct 31 15:14:23 CET 2021 php56w-intl uninstalled successfully…
Sun Oct 31 15:14:25 CET 2021 php56w-process uninstalled successfully…
Sun Oct 31 15:14:26 CET 2021 php56w-pecl-redis uninstalled successfully…
Sun Oct 31 15:14:27 CET 2021 php56w-mbstring uninstalled successfully…
Sun Oct 31 15:14:29 CET 2021 php56w-pecl-xdebug is not installed…
Sun Oct 31 15:14:29 CET 2021###### Now going to remove PHP 5.x dependent PBX RPMs #######
Sun Oct 31 15:14:34 CET 2021 freepbx uninstalled successfully…
Sun Oct 31 15:14:35 CET 2021 zend-guard-loader uninstalled successfully…
Sun Oct 31 15:14:37 CET 2021 php-digium_register uninstalled successfully…
Sun Oct 31 15:14:38 CET 2021 sysadmin uninstalled successfully…
Sun Oct 31 15:14:40 CET 2021 sangoma-pbx uninstalled successfully…
Sun Oct 31 15:14:41 CET 2021 asterisk-version-switch uninstalled successfully…

Sun Oct 31 15:14:41 CET 2021 Now going to install SNG PHP 7.4 repo RPM
Sun Oct 31 15:14:43 CET 2021 Now going to install PHP 7.4 RPMs
Sun Oct 31 15:16:56 CET 2021 PHP 7.4 RPMs installed successfully
Sun Oct 31 15:16:58 CET 2021 sangoma-release uninstalled successfully…
Sun Oct 31 15:16:59 CET 2021 sangoma-release16 RPM installed successfully

Sun Oct 31 15:16:59 CET 2021 Starting process to install PBX 16 dependent RPMs

Sun Oct 31 15:17:00 CET 2021 asterisk-version-switch is not installed…
Sun Oct 31 15:17:00 CET 2021 Installing ioncube , asterisk-version-switch RPM
Loaded plugins: fastestmirror, kmod, versionlock
Determining fastest mirrors
Resolving Dependencies
–> Running transaction check
—> Package ioncube-loader-74.x86_64 0:11.0.0-1.sng7 will be installed
–> Finished Dependency Resolution

Dependencies Resolved

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

Installing:
ioncube-loader-74 x86_64 11.0.0-1.sng7 sng-sng7php74 659 k

Transaction Summary

Install 1 Package

Total download size: 659 k
Installed size: 2.7 M
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : ioncube-loader-74-11.0.0-1.sng7.x86_64 1/1
Verifying : ioncube-loader-74-11.0.0-1.sng7.x86_64 1/1

Installed:
ioncube-loader-74.x86_64 0:11.0.0-1.sng7
Complete!
Sun Oct 31 15:19:09 CET 2021 ioncube-loader-74 installed successfully…
Loaded plugins: fastestmirror, kmod, versionlock
Loading mirror speeds from cached hostfile
Resolving Dependencies
–> Running transaction check
—> Package asterisk-version-switch.noarch 0:6.1-7.sng7 will be installed
–> Finished Dependency Resolution

Dependencies Resolved

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

Installing:
asterisk-version-switch noarch 6.1-7.sng7 sng-pkgs 4.4 k

Transaction Summary

Install 1 Package

Total download size: 4.4 k
Installed size: 5.6 k
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : asterisk-version-switch-6.1-7.sng7.noarch 1/1
Verifying : asterisk-version-switch-6.1-7.sng7.noarch 1/1

Installed:
asterisk-version-switch.noarch 0:6.1-7.sng7

Complete!
Sun Oct 31 15:19:14 CET 2021 asterisk-version-switch installed successfully…
Sun Oct 31 15:19:14 CET 2021 Installing sysadmin RPM
Loaded plugins: fastestmirror, kmod, versionlock
Loading mirror speeds from cached hostfile
Resolving Dependencies
–> Running transaction check
—> Package sysadmin16.noarch 0:7.4-7.4.6.sng will be installed
–> Finished Dependency Resolution

Dependencies Resolved

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

Installing:
sysadmin16 noarch 7.4-7.4.6.sng sng-sng7php74 74 k

Transaction Summary

Install 1 Package

Total download size: 74 k
Installed size: 102 k
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : sysadmin16-7.4-7.4.6.sng.noarch 1/1
Verifying : sysadmin16-7.4-7.4.6.sng.noarch 1/1

Installed:
sysadmin16.noarch 0:7.4-7.4.6.sng

Complete!
Sun Oct 31 15:19:20 CET 2021 sysadmin16 installed successfully…
Sun Oct 31 15:19:20 CET 2021 Installing PBX RPM
Sun Oct 31 15:19:20 CET 2021 Node Service will restart , it will automatically start to fetch the update progress…
Sun Oct 31 15:19:20 CET 2021 Do not refresh browser !!..
Loaded plugins: fastestmirror, kmod, versionlock
Cleaning repos: sng-base sng-epel sng-extras sng-pkgs sng-sng7php74 sng-updates
Cleaning up list of fastest mirrors
Other repos take up 2.4 M of disk space (use --verbose for details)
Loaded plugins: fastestmirror, kmod, versionlock
Determining fastest mirrors
Resolving Dependencies
–> Running transaction check
—> Package freepbx16.x86_64 0:16.1-1.sng7 will be installed
–> Finished Dependency Resolution

Dependencies Resolved

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

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

Transaction Summary

Install 1 Package

Total download size: 762 M
Installed size: 1.7 G
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : freepbx16-16.1-1.sng7.x86_64 1/1
Verifying : freepbx16-16.1-1.sng7.x86_64 1/1

Installed:
freepbx16.x86_64 0:16.1-1.sng7

Complete!
Sun Oct 31 15:25:53 CET 2021 freepbx16 installed successfully…
Sun Oct 31 15:25:53 CET 2021 Installing Sangoma release RPM
Sun Oct 31 15:25:54 CET 2021 Installing Sangoma PBX RPM
Sun Oct 31 15:26:04 CET 2021 All PBX 16 dependent RPMs installed successfully
Sun Oct 31 15:26:04 CET 2021 Asterisk Manager password reverted back successfully
Sun Oct 31 15:26:04 CET 2021 Reverting the astDB
Sun Oct 31 15:26:04 CET 2021 Reverting the /etc/asterisk files
Sun Oct 31 15:26:04 CET 2021 Installing PBX 16 Framework module
0

High Availability Services 13.0.11
Copyright 2017 by Schmoozecom, Inc., All rights reserved

By installing, copying, downloading, distributing, inspecting or using
the materials provided herewith, you agree to all of the terms of use as
outlined in our End User Agreement which can be found and reviewed at
www.schmoozecom.com/cmeula

Sun Oct 31 15:26:04 CET 2021 Installing PBX 16 Certificate manager module
0

High Availability Services 13.0.11
Copyright 2017 by Schmoozecom, Inc., All rights reserved

By installing, copying, downloading, distributing, inspecting or using
the materials provided herewith, you agree to all of the terms of use as
outlined in our End User Agreement which can be found and reviewed at
www.schmoozecom.com/cmeula

Sun Oct 31 15:26:04 CET 2021 Installing PBX 16 Sysadmin manager module
0

High Availability Services 13.0.11
Copyright 2017 by Schmoozecom, Inc., All rights reserved

By installing, copying, downloading, distributing, inspecting or using
the materials provided herewith, you agree to all of the terms of use as
outlined in our End User Agreement which can be found and reviewed at
www.schmoozecom.com/cmeula

Sun Oct 31 15:26:05 CET 2021 Running chown…
0

High Availability Services 13.0.11
Copyright 2017 by Schmoozecom, Inc., All rights reserved

By installing, copying, downloading, distributing, inspecting or using
the materials provided herewith, you agree to all of the terms of use as
outlined in our End User Agreement which can be found and reviewed at
www.schmoozecom.com/cmeula

Sun Oct 31 15:26:05 CET 2021 Running reload
0

High Availability Services 13.0.11
Copyright 2017 by Schmoozecom, Inc., All rights reserved

By installing, copying, downloading, distributing, inspecting or using
the materials provided herewith, you agree to all of the terms of use as
outlined in our End User Agreement which can be found and reviewed at
www.schmoozecom.com/cmeula

Sun Oct 31 15:26:05 CET 2021 Activating the system with deploymentID 95653869
0

High Availability Services 13.0.11
Copyright 2017 by Schmoozecom, Inc., All rights reserved
By installing, copying, downloading, distributing, inspecting or using
the materials provided herewith, you agree to all of the terms of use as
outlined in our End User Agreement which can be found and reviewed at
www.schmoozecom.com/cmeula

Sun Oct 31 15:26:06 CET 2021 Updating all the modules
0

High Availability Services 13.0.11
Copyright 2017 by Schmoozecom, Inc., All rights reserved

By installing, copying, downloading, distributing, inspecting or using
the materials provided herewith, you agree to all of the terms of use as
outlined in our End User Agreement which can be found and reviewed at
www.schmoozecom.com/cmeula

Sun Oct 31 15:26:06 CET 2021 Running chown…
0

High Availability Services 13.0.11
Copyright 2017 by Schmoozecom, Inc., All rights reserved

By installing, copying, downloading, distributing, inspecting or using
the materials provided herewith, you agree to all of the terms of use as
outlined in our End User Agreement which can be found and reviewed at
www.schmoozecom.com/cmeula

Sun Oct 31 15:26:06 CET 2021 Running reload
0
High Availability Services 13.0.11
Copyright 2017 by Schmoozecom, Inc., All rights reserved

By installing, copying, downloading, distributing, inspecting or using
the materials provided herewith, you agree to all of the terms of use as
outlined in our End User Agreement which can be found and reviewed at
www.schmoozecom.com/cmeula

Sun Oct 31 15:26:07 CET 2021 Running fwconsole restart
0

High Availability Services 13.0.11
Copyright 2017 by Schmoozecom, Inc., All rights reserved

By installing, copying, downloading, distributing, inspecting or using
the materials provided herewith, you agree to all of the terms of use as
outlined in our End User Agreement which can be found and reviewed at
www.schmoozecom.com/cmeula

Sun Oct 31 15:26:07 CET 2021 System upgrade completed successfully.

It seems that something goes wrong after freepbx16-16.1-1.sng7.x86_64 install…

I hope that the system can be restored. I have a backup…at worst…

I tried to start arsterisk from console with asterisk -c and it’s working. Extensions and trunks are up and running. I can do and receive calls.

But almost everything else is not working including obviously the web interface.

I will try for a few days to restrore the system. After this time I will restart from backup.

Hi,

I move the freepbx_ha package to /tmp Dir. Then I rebooted and could start GUI.
I ran the migration tool again. But there were errors. I had to update every module manually and disabled two or three asterisk modules. Now the system is running

But I get these errors from time to time:
Cron <asterisk@freepbx> /var/www/html/admin/modules/iotserver/bin/check_license.php 2>&1 >/dev/null

sh: ifconfig: command not found

I was looking for a way to uninstall HA without being able to use fwconsole…
Ok. I can move it to /tmp dir.
I think the errors are due to the incorrect part of the installation:

Installing PBX 16 Framework module
Installing PBX 16 Certificate manager module
Installing PBX 16 Sysadmin manager module
Running chown…
Running reload
Activating the system with deploymentID…
Updating all the modules
Running chown…
Running reload
Running fwconsole restart

I don’t know if the system can be restored…
But I will try…

I moved freepbx_ha to /tmp.

fwconsole and the GUI started to work.

I reactivate Freepbx with the original ID (old Freepbx 15).

I changed the repo address with the command fwconsole setting MODULE_REPO https://mirror.freepbx.org

I updated all the modules with fwconsole ma updateall.

I disabled Sangoma Realtime API to avoid a connection refused with fwconsole reload.

Some other cleaning with modules and tests and the system is up and running.

I have uninstalled also the freepbx_ha module.

I think that the system is restored properly.

Same here. I will wait if I still get these annoying emails. But system is working right now
:wink:

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