Upgrade from Version 1.9.2015 (7a752d6)

With this SiteController update, many changes regarding system config were made. All system configuration values are set in the "config/SiteController.cfg" only. In addition, some sections and keys of the "SiteController.cfg" have changed.

  1. Section names:
    "ModbusMasterSettings" has been changed to "ModbusMaster"
    "WatchdogSettings" has been changed to "Watchdog"
  2. Sections "General" and "Base_Settings" have been combined to "General".
  3. The key names have been homogeinized in section "ModbusMaster" and "Watchdog":
    "mqtt_publish_*" has been changed to "mqtt_publishing_*"
    "mqtt_listen_*" has been changed to "mqtt_listening_*"

On upgrading a SiteController, you want to backup the old "config/SiteController.cfg" to "config/SiteController.backup.cfg". Then install the SiteController regulary. The SiteControllers "SiteController.cfg" template is used to create the new system config file. Next, compare the values of the old "config/SiteController.backup.cfg" file with the new ones.

 

If you got an error like:

  File "/opt/azeti/SiteController/src/config_generator.py", line 114, in _set_sitecontroller_conf_values
    option.strip(), value.strip())
  File "/usr/lib/python2.7/ConfigParser.py", line 388, in set
    raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'SiteController.conf'

Then you probably use still the old "SiteController.cfg". The new system config file includes the "SiteController.conf" section already.

 

Recommended way of upgrading from Jever release

Upgrade of a mayor release is a procedure that must be done by trained personnel. In case of doubt, contact support before starting the process.

After Jever release (build 1228), there have been some structural changes that need attention. Below is the recommended way of upgrading from this release: 

  • Backup your /opt/azeti/SiteController/SiteController.config and /opt/azeti/SiteController/config/SiteControlller.cfg files.
  • Install the new release following the installation guide for your platform.
  • Copy the file SiteController.cfg that you will find in the installation folder (e.g.: /mnt/data/SiteController-install/config/SiteController.cfg) and copy it to your config folder (i.e.:/opt/azeti/SiteController/config).
  • The new configuration file contains a template that has to be edited with the right values for the serial, connection to broker, etc. Edit the new configuration file with the needed values based in your backed-up configuration.
  • Run your system as usual. Pay special attention to any message that comes from the launcher, as it will give you hints about a possible misconfiguration.