/
Updating the SmartSupervisor

Updating the SmartSupervisor

SmartSupervisor is available with SmartServer 4.4 and higher.

All data is located inside of the SmartSupervisor Docker container and will be lost during a SmartSupervisor update because the container will be replaced with new, empty container during the update process. However, the essential data can be configured to remain intact through the update process. For this purpose, directories are mapped to host filesystem as follows:

  • Database data directory is mounted to the postgres volume on the host filesystem.

  • SSL certificates directory is mapped to the host system certificates directory. Certificates management can be performed in the host system certificates directory mapped to the SmartSupervisor Docker container.

To update the SmartSupervisor , perform the following steps:

  1. Verify that the docker group exists on the SmartSupervisor in order to manage Docker as a non-root user using the following command:

    compgen -g

    If the docker group exists and your username is part of that group, then you can continue with the following step. If not, then follow the steps (steps #3-6) for creating a docker group in the Install and Start the SmartSupervisor section. Once your docker group membership changes are in effect, you can continue with the following step.

  2. Stop and remove the SmartSupervisor Docker container using the following commands:

    docker stop cms docker rm cms

     

  3. Download the new SmartSupervisor image to the host system.

  4. Load the new SmartSupervisor image into the Docker container using the following command:

    docker load -i <docker_image_file>

     

  5. Expose ports 80, 443, and 8883 as needed.

  6. Verify that the path /home/echelon/backups exists on the SmartSupervisor host system before running the Docker container.

  7. Run the Docker container using the following command:

     

  8. Start the SmartSupervisor using the following command:

Related content

Updating the SmartServer using the SmartServer Configuration Page (Release 4.1 and Prior)
Updating the SmartServer using the SmartServer Configuration Page (Release 4.1 and Prior)
More like this
Updating the SmartServer using the SmartServer Configuration Page
Updating the SmartServer using the SmartServer Configuration Page
More like this