Remote CMS is available with smartServer 3.5 and higher.
...
To update the Remote CMS, perform the following steps:
Verify that the docker group exists on the Remote CMS in order to manage Docker as a non-root user using the following command:
Code Block 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 Remote CMS section. Once your docker group membership changes are in effect, you can continue with the following step.
Stop and remove the Remote CMS Docker container using the following commands:
Code Block docker stop cms docker rm cms
- Download the new Remote CMS image to the host system.
Load the new Remote CMS image into the Docker container using the following command:
Code Block docker load -i <docker_image_file>
Verify that the path
/home/echelon/backups
exists on the Remote CMS host system before running the Docker container.Run the Docker container using the following command:
Code Block docker run -d -e IP_EXTERNAL='<host_name>' -v postgres:/var/lib/postgresql/12/main -v /home/echelon/backups:/media/sdcard/backups -p8883:8883 -p8443:8443 --restart unless-stopped --name cms cms/remote
Start the Remote CMS using the following command:
Code Block docker start cms
...