Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

...

1. Execute the command : docker ps to view existing dockers running on the server.

2. To go the the QMetry Tomcat Docker execute command : docker exec -it <docker_name> bash

  • example : docker exec -it qmetry_app_1 bash

...

  • cd /opt
  • docker cp /opt/license.key <docker_name>:/home/qmetry/QMetry/bin/
  • example : docker cp /opt/license.key qmetry_app_1:/home/qmetry/QMetry/bin/
  • For Windows:
    • Open the command prompt and go to the directory where license.key is downloaded.

    • Run dir command to confirm license.key exists in the current working directory.

    • Run the command to copy license into docker: example: docker cp license.key qmetry_app_1:/home/qmetry/QMetry/bin

...

  • docker stop  <docker_name>
    • example : docker stop qmetry_app_1
  • docker start <docker_name>
    • example : docker start qmetry_app_1
    • Note: In case you have configured Redis Caching for QMetry installed on same server OR a separate server - connect to that server and run the below commands :
      • To view existing containers : docker ps
      • Replace the container name seen in above command : docker exec -it container-name redis-cli FLUSHALL

Steps to apply QMetry license file for QMetry v8.9.0.3 & above

Once you have received your QMetry license file "license.key" from support, follow the below steps to apply it to your server:

1. Go to that directory which is mentioned during the installation of QMetry (as mentioned in the QMetry Installation document). the QMetry installation directory chosen at the time of installation. For example: /opt/qmetryapp/license/

  • cd <directory_path>

2. Go to license directory.

  • cd license

3. Backup your existing license.key to the same location:

...

  • docker stop<docker_name>
    • example: docker stop qmetry_app_1
  • docker start <docker_name>
    • example: docker start qmetry_app_1
    • Note: In case you have configured Redis Caching for QMetry installed on same server OR a separate server - connect to that server and run the following commands:
      • To view existing containers: docker ps
      • Replace the container name seen in above command: docker exec -it container-name redis-cli FLUSHALL

...