Update SENSR without internet access
Introduction
SENSR can be installed through the offline installation described here. However the process can be a little complicated. In case SENSR has already been installed in the target host, the update can be done offline.
This section describes how to update SENSR without any internet connection.
Pre requisite
Having installed a prior version of SENSR.
Procedure
- Collect and transfer the following files to the host:
- SR launcher cli deb file
- Docker images as follows (they can be found in
/opt/seoulrobobtics/sr-launcher/resources/docker
)housekeep_v1.0.0_amd64.tar.gz
logagent_2.1_amd64.tar.gz
ros_noetic-ros-core-buster_amd64.tar.gz
sensr_algo_3.4.0_amd64.tar.gz
sensr_controller_3.4.0_amd64.tar.gz
sensr_edge_3.4.0_amd64.tar.gz
sensr_frontend_3.4.0_amd64.tar.gz
sensr_master_3.4.0_amd64.tar.gz - PTP server (it can be found in
/opt/seoulrobotics/sr-launcher/resources/utils
)ptpd2_sr_amd64.tar
- Deploy the files as follows
- SR Launcher in any directory, for instance
Downloads
- Docker images in
/opt/seoulrobobtics/sr-launcher/resources/docker
- PTP server in
/opt/seoulrobotics/sr-launcher/resources/utils
- Update the file
/opt/seoulrobotics/sr-launcher/versions.json
by replacing its content with the following:{
"current_version": {
"version": "3.4.0",
"master_version": "3.4.0",
"algo_version": "3.4.0",
"edge_version": "3.4.0",
"controller_version": "3.4.0",
"web_fe_version": "3.4.0",
"license_server_version": "3.0.5"
},
"versions": [
{
"version": "3.4.0",
"master_version": "3.4.0",
"algo_version": "3.4.0",
"edge_version": "3.4.0",
"controller_version": "3.4.0",
"web_fe_version": "3.4.0",
"license_server_version": "3.0.5"
}
]
} - Uninstall the current sr launcher:
sudo apt purge sr-launcher-cli
- Install the new sr launcher:
sudo apt install ./<SR Launcher deb file>
- Manually load the docker images listed in step 1:
docker load -i <docker image>
- Create the cluster:
sr-launcher-cli create cluster -f cluster.json c1 -o
- Run SENSR
sr-launcher-cli run sensr