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.
Step 1: Ensure you are on the latest 3CX Update. Login to the Management console, click on updates and confirm that your system is up to date. Although the script itself updates 3CX, it’s better if you do this step yourself. Remember that if 3CX was left in a bad update shape, performing updates manually gives you the opportunity to convert your data to match the latest update and allows you to login to the management console after each update to confirm that the data is OK. It is just an extra precautionary step a responsible admin should take to ensure that you get expected results after each update is complete.
Step 2: Go to Settings > Backup and Restore and perform a backup with the options you need. Wait for the backup to complete and download it to your local machine or save it outside of the Debian Instance. (For the record, the script also makes a backup but with minimum options located in /var/lib/3cxpbx/Instance1/Data/Backups/)
Step 3: Type in the following commands in the Debian 8 terminal
sudo su wget https://downloads.3cx.com/downloads/misc/debian8to9/update.sh chmod +x update.sh ./update.sh
If you want to see progress output run this command:
tail -f /root/UPDATE.log
3CX will be uninstalled, with the data kept intact, Debian will be updated, all repo’s will be changed and updated, and finally the latest version of 3CX will be installed and connected to the data.
Hope you found this helpful, make sure to let me know what you think.