Table of Contents

Introducing SmartUpgrade

NO MORE GUESSING which version you have!

NO MORE FUMBLING with downloading a bunch of different files!

ONE CONVENIENT COMMAND you can run any time to ensure your system is running the latest and best we have to offer!

WARNING: DO NOT ATTEMPT TO INSTALL OR USE SMARTUPGRADE ON A LOCAL FREEPBX SYSTEM OR CLOUD SYSTEMS PROVIDED BY OTHER COMPANIES! SMARTUPGRADE WILL ONLY FUNCTION ON AWS FREEPBX BY THEWEBMACHINE NETWORKS AND WILL PROBABLY BREAK OTHER SYSTEMS!

The Basics

If you require a tutorial on connecting to your instance via SSH, please see the following guide: SSH Connection Tutorial

To simply upgrade your instance to the latest TWM-AMI version (–auto is optional):

smartupgrade [--auto]

To run a custom command or script (–auto and parameter are optional):

smartupgrade [--auto] name-of-custom-command [parameter]

We have also released a new “Expert Mode” menu system to allow for things like patches/fixes status and installation, troubleshooting utilities, and convenient maintenance tasks like switching asterisk versions, cleaning up temp files, S3 Bucket sync and Automatic File Deletion services! You can access the EXPERT-MODE menu by running the following command.

NOTE: EXPERT-MODE must be in ALL CAPS and you CANNOT use the –auto option:

smartupgrade EXPERT-MODE

Command List

Just remember the SYNTAX:

smartupgrade [--auto] <custom-command>

--auto

WE STRONGLY ADVISE AGAINST setting up SmartUpgrade as a cron job or other unattended process! Because you are relying on your PBX for potentially critical dialtone service to reach the world, including emergency services, running SmartUpgrade unattended could result in an unexpected outage, creating risk and liability for your organization and those served by your phone system!


EXPERT-MODE

PLEASE READ ALL PROMPTS AND WARNINGS VERY CAREFULLY WHEN USING EXPERT-MODE!


fix-postfix

install-pollytts

manage-support-keys [install|remove|restore-admin]

patch-glibc

purge-qcb

purge-cbm

rotate-astmgrpass

NOTE: If you setup applications that connect to the Asterisk Management Interface, you should be specifying your usernames, passwords, and permissions for those custom Manager users in /etc/asterisk/manager_custom.conf for proper security and auditing


show-current-version
show-versions

show-log

smartupgrade-installer

tail [afd|s3ss]

update-gpg-keys

vm-storage-switch

THERE ARE SIGNIFICANT STEPS AND CONSIDERATIONS TO BE MADE WHEN SWITCHING VM STORAGE TYPES, YOU MUST READ THE FOLLOWING GUIDE BEFORE YOU SWITCH STORAGE: Switching to/from IMAP Voicemail Storage


wipe-cdr-db