Upgrade to the Latest Version Within v22.x on Linux

Back-Up

Please follow the article Backup and Restore: An Essential Guide to back up the PBX and SBC.

Rest assured, if all steps are followed correctly, your PBX data will remain intact throughout the upgrade process.

Upgrading within v22.x

All commands must be executed in the /opt/portsip directory.

Update the Scripts

Run the following commands to download the latest scripts:

sudo curl \
https://raw.githubusercontent.com/portsip/portsip-pbx-sh/master/v22.x/init.sh  \
-o  init.sh
sudo /bin/sh init.sh

Upgrading PBX

Important: If you installed the PBX High Availability, please follow the guide Upgrading High Availability Installation to upgrade.

If you are currently running PortSIP PBX v22.x and want to upgrade to the latest version, run the following command:

cd /opt/portsip && sudo /bin/sh pbx_ctl.sh upgrade -i portsip/pbx:22

Upgrading SBC

If you are currently running PortSIP SBC and wish to upgrade to the latest version, please perform the below command:

cd /opt/portsip && sudo /bin/sh sbc_ctl.sh upgrade -i portsip/sbc:11

Upgrading IM Server

If your IM server is installed on the same server as the PBX, run the following command to upgrade:

cd /opt/portsip && sudo /bin/sh im_ctl.sh upgrade -i portsip/pbx:22

If your IM server is installed on a separate server, run the following commands to upgrade:

sudo curl \
https://raw.githubusercontent.com/portsip/portsip-pbx-sh/master/v22.x/init.sh  \
-o  init.sh
sudo /bin/sh init.sh
cd /opt/portsip && sudo /bin/sh im_ctl.sh upgrade -i portsip/pbx:22

Last updated

Was this helpful?