This is an old revision of the document!
https://wiki.freepbx.org/display/PPS/Upgrading+SNG7+PBX+to+latest+SNG7+Version
cat /etc/schmooze/pbx-version
Take a VM snapshot first!
fwconsole ma installall fwconsole r yum -y update yum clean all reboot -h now
http://wiki.freepbx.org/display/PPS/Updating+FreePBX+Official+Distro
http://wiki.freepbx.org/display/PPS/FreePBX-Distro-10.13.66
Don't use
yum update
.
Run the scripts in order.
Do Apply Config at the end instead of after each update.
The FreePBX System Admin Pro module provides buttons that will do all the updates in order.
For simple updates, and after script updates, use the Module Admin module to upgrade all modules.
If you have removed the System Firewall module, the update scripts will reinstall it. You'll have to uninstall it again from Module Admin.
If you have installed the commercial EPM and disabled the firewall, you will want to remove these modules using Module Admin:
chkconfig iSymphonyServerV3 off
cat /etc/schmooze/pbx-version
or for older systems:
cat /etc/asterisk/freepbxdistro-version
update_freepbx.sh
script.
This script will download and execute the next version of official FreePBX Distro update script in the series FreePBX-Distro-10.13.66. It does not do just module updates (other than when done by the official version update scripts). Use the GUI Module Admin module to update only the modules.
Run as root
:
#!/bin/bash ugdir=/root/upgradescripts if [ ! -d $ugdir ] then mkdir $ugdir fi version=`cat /etc/schmooze/pbx-version` base=`echo $version | cut -f1 -d'-'` build=`echo $version | cut -f2 -d'-'` echo "" echo ---------------------------------------- echo Current FreePBX version is $version echo Checking for updates... echo ---------------------------------------- echo "" error=0 while [ $error = 0 ] do build=`expr $build + 1` wget http://upgrades.freepbxdistro.org/stable/$base/upgrade-$base-$build.sh -O $ugdir/upgrade-$base-$build.sh error=$? if [ $error = 0 ] then chmod +x $ugdir/upgrade-$base-$build.sh $ugdir/upgrade-$base-$build.sh fi done echo "" echo ---------------------------------------- echo Finished. echo ---------------------------------------- echo ""
Needs verification of functionality.
Upgrade 10.13.66 to SNG7: https://wiki.freepbx.org/display/PPS/Upgrading+from+FreePBX+10.13.66+to+SNG7
Allows you to take any FreePBX based system on version 2.9 or newer and have it migrate all the PBX settings to a new system. This includes systems such as Elastix, PBXinaFlash or any other FreePBX based system including FreePBX Distro systems and manually installed systems on unsupported operating systems.
https://www.freepbx.org/home2freepbx-conversion-tool/
https://wiki.freepbx.org/display/PPS/Elastix+and+PBXinaFlash+to+FreePBX+Distro+Conversion+Tool
Note that any TRUNKS will be set to
disabled
on the NEW machine!