Below is an outline of this version:
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.
Click here to view the Release Notes for 6.12.65. This page contains release notes for all of the versions listed below.
Below is a list of shell upgrade scripts officially released to update an existing FreePBX Distro 6.12.65 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 available 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
1.) Check the current FreePBX Distro version. Display the current version file (as above) to confirm the current installed version of FreePBX Distro.
2.) Download and run the applicable upgrade script. 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/6.12.65/upgrade-6.12.65-2.sh chmod +x upgrade-6.12.65-2.sh ./upgrade-6.12.65-2.sh
The FreePBX 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.
3.) Confirm the new FreePBX Distro version. 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 the sysadmin module installed and have also purchased the SysAdmin Pro commercial license, you can use either the FreePBX web GUI to perform an update or run the following script from the command line. This will automatically 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.
Delete the default package fail2ban configuration file. FreePBX Distro generates a customized version of this file.
MySQL activity logging to /var/log/mysql/mysql.log is disabled in this release. This MySQL log file can be quite large, depending on server usage loads. Delete this file after the update to reclaim this disk space.
Replace the old version of /etc/dahdi/modules with the updated version of the file
mv /etc/dahdi/modules.rpmnew /etc/dahdi/modules
The upgrade to 10.13.66 requires the ability for the MySQL root user to login to the database without a password. This is the default case. This can be tested by running "mysql" as the OS root user and see if the login happens without any password prompt. If you have set a password for the MySQL root user, create a /root/.my.cnf to supply the password so MySQL can be accessed without a password prompt. Ensure this file is only readable by the root user as it will have the password in plain text. Do this before running the upgrade script.
[client] user=root password=mysecret
# set the file to be read/write for root only chmod 600 /root/.my.cnf
CentOS is a Trademark of Red Hat and we do not claim to have any relationship with either Red Hat or CentOS
Asterisk and AsteriskNOW are registered trademarks of Digium Inc.