Local Software Upgrades

Upgrade Methods for Local Installs of 6connect Provision

The recommended upgrade method for local installations of ProVision is a manual download of the latest version and running the associated upgrade script. 

For upgrades consisting of multiple versions, ensure that each version upgrade is performed in order. If you have a particularly complicated upgrade or special concerns, contact our support team, and 6connect engineers can recommend an upgrade strategy tailored to your situation and assist as needed. 

If you have questions, need assistance, or wish to schedule an upgrade to the latest version, contact support@6connect.com.

Manual Upgrade (Recommended)

A manual upgrade is the recommended route for local installations, providing the highest level of control and oversight, and may be performed in installation scenarios where company policies restrict automatic downloads / script executions :

  1. Download the latest 6connect tar file from https://cloud.6connect.com/Download/Latest/
  2. Extract into web root.
  3. Run configDir.sh ﹤web user﹥ from the command line as root in the web root.  This will setup the directories apache user needs read/write access to.

    cd /var/www/html /var/www/html/configDir.sh <web user>
  4. Run the upgrade scripts located in the upgrade/scripts directory in order of version number via: 

    php <upgrade-script.php> -v

The following local upgrade options are available, but are not generally recommended - differences in installation setup and access levels may result in these options being less reliable than the manual upgrade option.

GUI

In ProVision, navigate to Admin → Admin Settings page.  If there is a new version available, an Upgrade button will be available.  

Click on the Upgrade Now button to go to the upgrade page.  It will automatically download the latest version available, run all upgrade scripts, and create a log of the upgrade process.

Command Line

In upgrade/scripts run 'php upgrade.php -h' to get the help and full usage of upgrade.php.  

This script will automatically get the latest tar file, create a backup, and run all the necessary upgrades between the current and latest version.  The most common usage of upgrade will look like this: 'php upgrade.php -v -b ﹤/path/to/store/backup﹥'