Page 1 of 1

HAAst upgrade procedure (minor version upgrade)

Posted: Wed Dec 06, 2017 2:33 pm
by CRM User
I would like to upgrade my installed version of HAAst. This is a minor version upgrade (eg: 2.1.1 to 2.2.5). What's the best way to perform this upgrade?

Re: HAAst upgrade procedure (minor version upgrade)

Posted: Wed Dec 06, 2017 2:38 pm
by Telium Support
I recommend using the updatefiles.sh script file found in the haast-2.X.X-x86_64-XXX/install_files directory of the HAAst package you downloaded. This script will update all files to the latest version of HAAst. Just restart the HAAst service once complete. For example:

Code: Select all

[root@pbx2:/usr/src/haast-2.3.13-x86_64-rh7/install_files] $ ./updatefiles.sh 
HAAst file copier/updater version 1.5 

Verifying/creating directories 
  Configuration directory [/etc/xdg/telium] already exists
  Configuration sensor/sync directory [/etc/xdg/telium/haast.conf.d] already exists
  Base directory [/usr/local/haast] already exists
  Events directory [/usr/local/haast/events] already exists
  Internal directory [/usr/local/haast/internal] already exists
  Web directory [/usr/local/haast/web_interface] already exists

Verifying/copying files 
  Config file [haast.conf] already exists, skipping copy
  Executable file [haast] already exists, replacing file in [/usr/local/haast]
  Internal helper functions file [helperfunctions.sh] already exists, replacing file in [/usr/local/haast/internal]
  Internal release file [release] already exists, replacing file in [/usr/local/haast/internal]
  Web interface files already exist, replacing files in [/usr/local/haast/web_interface]
  Preserving web settings files [/usr/local/haast/web_interface/settings.php]

HAAst files have been copied/updated 
  HAAst overwritten with same version 2.3.13
  Executable, web interface files have been copied/updated.  Configuration files,
  service files, event handlers, and sample files have not be installed/updated