As you already might have heard, Debian 9 “Stretch” is released. And boy, the improvements it comes with over its predecessor “Jessie”… impressive!! New 4.9 Linux kernel supporting newer hardware, improvements to apt and overall security beefed up.
This leaves 3CX and Debian 8 users with some questions marks. Should Jessie users hold on a little while longer? Can 3CX and Jessie users upgrade to Stretch now?
Well if you want to give it a try, you can download the 3CX ISO whereby you will end up with a fully fledged Debian 9 OS + latest version of 3CX installed.
If you like what you see in Debian 9 and you want to upgrade your existing Jessie installs to Stretch, then yes, let’s get cracking.
First things first, the script has been tested to be executed via ssh or connected directly to the device for 3CX ISOs and Google Cloud* stock Debian 8 images with an up and running 3CX Phone System v15.5 SP1. Modifications to the ISO or Google Instance beside 3CX PBX installs may result in an upgrade failure. The Update process will also update 3CX to v15.5 SP2.
Second, run from the Management Console of 3CX a backup and place it for “just in case” reasons outside of the Debian instance. The script will also perform a minimal backup of the system which will be located in /var/lib/3cxpbx/Instance1/Data/Backups/
Finally, run the script:
sudo su wget https://downloads.3cx.com/downloads/misc/debian8to9/update.sh chmod +x update.sh ./update.sh
Due to the update-process is executed in the background it is expected that after calling the update.sh no output can be seen in the console. To follow the update process run:
tail -f /root/UPDATE.log
Hope you found this helpful, make sure to let me know what you think.
* On Google Cloud instances “apt-mark hold google-cloud-sdk” will be set until the update is completed.