Below is an outline of the FreePBX Distro 4.211.64 codename "CallForward", based on these main components:
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 Here
Below the list of shell upgrade scripts officially released to update an existing FreePBX Distro 4.211.64 system to a specific minor release version. The scripts will update the entire distribution, including all FreePBX web components and all OS-level components (such as the kernel and kernel modules).
All upgrades need to be installed in numeric ascending order. Do not skip any upgrade step. Upgrade scripts are not cumulative. Each upgrade script should be run in ascending order to get to the desired final version.
The upgrade path is one-way. These scripts cannot be used to downgrade the version of FreePBX Distro to an earlier version. The only way to reverse the effects of the upgrade procedure is to restore the system from a backup.
You can check your current FreePBX Distro version by going to the Web GUI sysadmin module or, from the Linux command line, do a:
cat /etc/asterisk/freepbxdistro-version on older systems and cat /etc/schmooze/pbx-version on newer systems
Display the current version file (as above) to confirm the current installed version of FreePBX Distro.
To install an update script via the Linux command line, use the following commands, substituting the proper scripts from above. Download the upgrade script matching the current version of FreePBX Distro installed, mark it as executable and run it.
cd ~ mkdir upgradescripts cd upgradescripts wget http://upgrades.freepbxdistro.org/stable/4.211.64/upgrade-4.211.64-2.sh chmod +x upgrade-4.211.64-2.sh ./upgrade-4.211.64-2.sh
The Distro upgrade script will update both FreePBX components (Asterisk, the FreePBX web GUI) and all base CentOS components.
Note any special instructions displayed at the end of the upgrade if any are displayed, such as to reboot the system.
Cat the updated (now current) version file (as above) to confirm the current installed version of FreePBX Distro is the expected newer version.
If you have sysadmin module installed and have also purchased the SysAdmin Pro commercial license for the sysadmin module, you can use either the FreePBX web GUI to perform an update or run the following script from the command line to auto-update your system to the latest version.
Some upgrade scripts will result in .rpm package updates that need configuration files to be manually cleaned up afterwards. The general procedure is described in the page Cleaning up files from a RPM update.
the .rpmnew version should not be used as the /etc/fail2ban/jail.local is auto-generated – delete the .rpmnew file to clean up
the .rpmnew version is a default sample and can be deleted
the .rpmnew version should replace the original configuration file as the new file has additional Digium modules added
mv /etc/dahdi/modules.rpmnew /etc/dahdi/modules
the .rpmnew version should be deleted as the /etc/ntp.conf file has custom contents
the .rpmnew version should be deleted as the /etc/ssh/sshd_config file has custom contents
CentOS is a Trademark of Red Hat and we do not claim to have any relationship with either Red Hat or CentOS