4 Update

This page describes how to update to a higher version of SenseID.

In this manual, we will guide you through the update procedure updating SenseID from V1.7.0 to V1.8.0.

As a preparation, unzip and place the V1.8.0 package 1v1-private-cloud-v1.8.tgz in the same directory where V1.7.0 is installed.

$ tar -xvzf 1v1-private-cloud-v1.8.tgz
1v1-private-cloud-v1.7/
1v1-private-cloud-v1.8/

4.1 Stop Ruby-Cloud-API service (old version)

Change the directory to the old version folder, and stop the Ruby-Cloud-API service.

$ cd 1v1-private-cloud-v1.7
$ sudo ./docker-compose stop

4.2 Updated configuration file (new version)

Refer to Section 4.2.1 Adjust CPU cores, Section 4.3.2 Set Go-Workers address, Section 4.3.3 Adjust CPU cores in the Installation Manual, set the number of CPUs and the address of Go-Workers in the new version's configuration file as in the old version.

4.3 Load service images (new version)

Change the directory to the new version folder, and load the Ruby-Cloud-API image file.

$ cd 1v1-private-cloud-v1.8
$ sudo ./load_image.sh

4.4 Start Ruby-Cloud-API service (new version)

Start the Ruby-Cloud-API service of the new version.

$ sudo ./docker-compose up -d

4.5 Stop Go-Workers service (old version)

Change the directory to the old version folder, and stop the Go-Workers service.

$ cd 1v1-private-cloud-v1.7/go-workers
$ sudo ./stop.sh

4.6 Copy the license files

Copy the license files from the old version to specified folders of the new version.

$ cp 1v1-private-cloud-v1.7/go-workers/fixture/lisense/senseid_face/senseid_face.lic 1v1-private-cloud-v1.8/go-workers/fixture/lisense/senseid_face
$ cp 1v1-private-cloud-v1.7/go-workers/fixture/lisense/senseid_liveness/senseid_liveness.lic 1v1-private-cloud-v1.8/go-workers/fixture/lisense/senseid_liveness

After receiving senseid_kestrel.lic, copy it to the specified folder of the new version with the following command.

$ cp {file_path}/senseid_kestrel.lic {installation_path}/1v1-private-cloud-v1.8/go-worker/fixture/license/senseid_kestrel

4.7 Start Go-Workers service (new version)

Change the directory to the new version folder, and start the Go-Workers service.

$ cd 1v1-private-cloud-v1.8/go-workers
$ sudo ./start.sh

4.8 Check services (new version)

Check if services started normally.

  • Ruby-Cloud-API

$ sudo ./docker-compose ps
  • Go-Workers

$ tail -f tmp/worker.log.0

Last updated