TUTORIAL: Command-line PBXware update
This guide will allow you to update PBXware to the desired version.
Prerequisites
1. Log in via SSH to your instance (see TUTORIAL: SSH access) using an SSH client.
IMPORTANT INFORMATION
Updating via SSH is an operation that requires special attention on your part. Please take note of the following:
- Always perform a backup/snapshot before any action.
- Carefully follow the steps and information provided in this guide.
- Perform updates during a period of low activity to minimize the impact on your users.
- If in doubt, contact support.
IMPORTANT INFORMATION
For a major update (e.g. v7 to v8), your license must be on version 8. Please contact our support at support@ags-next.com to request this enhancement.
NOTE
The update procedure requires stopping & restarting the PBXware services to apply the changes. To avoid any disruption, schedule this update outside of business hours or plan a clone of your instance.
Update procedure
Edit the PBXware upgrade configuration file
nano /opt/pbxware/sh/update In this file, replace the PROJECT line from 7.x to 8.0 (example):
PROJECT="pbxware-8.0" Edit the httpd upgrade configuration file
nano /opt/httpd/sh/update In this file, replace the PROJECT line from 7.x to 8.0 (example):
PROJECT="httpd-8.0" Stop the httpd and pbxware applications:
/opt/httpd/sh/stop /opt/pbxware/sh/stop Now update the PBXware application (password: update):
/opt/pbxware/sh/update -v Now update the httpd application (password: update):
/opt/httpd/sh/update -v Start the updated applications:
/opt/pbxware/sh/start /opt/httpd/sh/start Re-save the configuration files:
/opt/pbxware/sh/pbxware http_api resave 
