Upgrading SNG7 PBX to latest SNG7 Version
About PBXact, FreePBX Distro and AsteriskNOW SNG7 releases
Below is an outline of this version
FreePBX 14
SNG 7 OS (Derived from CentOS)
Asterisk 13,14 and 15
DAHDI 2.11
System Impact
The upgrade procedures outlined below will stop Asterisk and may also require a system reboot to fully apply. Perform the system upgrade using a scheduled maintenance window.
Release Notes
Click here to view the release notes for these versions.
How to check the current FreePBX Distro version
You can check your current version by going to the Web GUI sysadmin module. Or, from the Linux command line, do a:
cat /etc/schmooze/pbx-version |
How to update from version 10.13.66 to SNG7 Releases
If you are on 10.13.66 track you will need to do a manual update as outlined on this wiki to get onto the SNG7 Release tracks. Â
Upgrade Option 1: Manual Upgrade Using Version Upgrade Scripts
Upgrading your PBX manually requires updating both the PBX GUI Modules and all Linux Level RPMs as outlined below.
Update PBX GUI Modules
From the Linux CLI run the following command to have it update all your modules
fwconsole ma installall
[root@localhost ~]# fwconsole ma installall No repos specified, using: [standard,commercial] from last GUI settings  Up to date. Installing missing modules: asteriskinfo Downloading & Installing 'asteriskinfo' Downloading module 'asteriskinfo' Processing asteriskinfo Downloading...  51096/51096 [============================] 100% Finished downloading Extracting...Done Download completed in 1 seconds Generating CSS...Done Module asteriskinfo successfully installed Updating Hooks...Done  Done. All modules installed. Updating Hooks...Done [root@localhost ~]#
Now we need to tell the PBX to apply config these changes. This command is the same as pressing the Red Appy Config bar from your PBX UI
fwconsole r
[root@localhost ~]# fwconsole r Reloading FreePBX Successfully reloaded [root@localhost ~]#
Update Linux RPMs including Asterisk
From the Linux CLI run the following command to have it update all your RPMs and Packages
yum -y update
[root@localhost ~]# yum -y update Loaded plugins: fastestmirror, versionlock sng-base                                                                                                                                                                                                                 | 3.6 kB 00:00:00 sng-epel                                                                                                                                                                                                                 | 4.7 kB 00:00:00 sng-extras                                                                                                                                                                                                               | 3.4 kB 00:00:00 sng-pkgs                                                                                                                                                                                                                 | 3.4 kB 00:00:00 sng-updates                                                                                                                                                                                                              | 3.4 kB 00:00:00 (1/6): sng-epel/7/x86_64/group_gz                                                                                                                                                                                        | 266 kB 00:00:00 (2/6): sng-epel/7/x86_64/updateinfo                                                                                                                                                                                      | 851 kB 00:00:00 (3/6): sng-extras/7/x86_64/primary_db                                                                                                                                                                                    | 130 kB 00:00:00 (4/6): sng-pkgs/7/x86_64/primary_db                                                                                                                                                                                      | 487 kB 00:00:00 (5/6): sng-epel/7/x86_64/primary_db                                                                                                                                                                                      | 6.1 MB 00:00:00 (6/6): sng-updates/7/x86_64/primary_db                                                                                                                                                                                   | 4.5 MB 00:00:00 Loading mirror speeds from cached hostfile Resolving Dependencies --> Running transaction check ---> Package apr.i686 0:1.4.8-3.el7 will be updated ---> Package apr.x86_64 0:1.4.8-3.el7 will be updated (37/41): sangoma-pbx-1712-1.sng7.noarch.rpm                                                                                                                                                                              | 14 kB 00:00:00 (38/41): ssh_keys-3.1-27.sng7.noarch.rpm                                                                                                                                                                                 | 15 kB 00:00:00 (39/41): kernel-3.10.0-693.11.1.el7.x86_64.rpm                                                                                                                                                                           | 43 MB 00:00:03 (40/41): selinux-policy-targeted-3.13.1-166.el7_4.7.noarch.rpm                                                                                                                                                           | 6.5 MB 00:00:00 (41/41): util-linux-2.23.2-43.el7_4.2.x86_64.rpm Updating  : gcc-4.8.5-16.el7_4.1.x86_64                                                                                                                                                                                                20/80 Updating  : gcc-c++-4.8.5-16.el7_4.1.x86_64                                                                                                                                                                                            21/80 Updating  : selinux-policy-3.13.1-166.el7_4.7.noarch                                                                                                                                                                                   22/80 Updating  : selinux-policy-targeted-3.13.1-166.el7_4.7.noarch                                                                                                                                                                          23/80
You will notice above one of the packages it updated is your PBX version package of 1712. This is the package that updates the version in /etc/schmooze/pbx-version so after this completes that file should now show the new version.
Reboot your PBX after upgrades of RPMs
[root@localhost ~]# reboot -h now
Upgrade Option 2: Upgrade Using Module Admin
Update PBX GUI Modules
Navigate to Module Admin section of your PBX GUI
Â
Click on the Module Updates tab at the top and press the Check Online button
Â
A list of all modules needing update will be shown.
Â
Press the Download All and Upgrade All option than Press the Process button to have it upgrade and download all module updates
Â
A list of all modules being updated will be presented. Scroll down to the bottom Confirm button it have it now dowload and install the module updates.
Â
Â
A dialogue box will pop up and show the status as it downloads and installs each module update. Once completed scroll to the bottom and press the Return button
Â
Update Linux RPMs including Asterisk
Navigate to Module Admin section of your PBX GUI
Â
Click on the System Updates tab at the top and press the Check Online button
Install all updates shown
Reboot your box System Admin module in your PBX