Skip to main content

Docker installation and maintenance

System requirements

The docker runs on Linux Ubuntu 22.04 or later. 

Installing docker software on the server

UBUNTU Server

Copy and paste the following lines to the server  terminal window, then execute them

sudo apt-get update
sudo apt-get install ca-certificates curl gnupg lsb-release
sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
sudo apt-get -y install docker-ce docker-ce-cli containerd.io docker-compose-plugin

Red Hat Linux

copy and paste the following lines to the server  terminal window, then execute them

sudo yum install -y yum-utils
sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
sudo yum install docker-ce docker-ce-cli containerd.io docker-compose-plugin
sudo systemctl enable docker.service
sudo systemctl start docker.service

Installing Emotion Logic docker

copy and paste the following lines to the server  terminal window, then execute them

docker run -d --restart unless-stopped -p 80:8080 -p 2259:2259 --name nms-server nemesysco/on_premises

The docker will listen on port 80 for offline file analysis, and on port 2259 for real-time analysis

Activating the docker

Activating the docker is done by setting the API Key and API Key Password. Both are generated on the applications page

  1. Open the docker dashboard: http://[docker-ip]/
  2.  On the docker dashboard set the API key and password and click “Activate”. This will
    connect the docker to your account on the platform and get the license.
  3. The docker will renew its license on a daily basis. Please make sure it has internal
    access.
  4. Now you can start sending audio for analysis

Updating docker version

The docker periodically checks for new versions and will perform an automatic upgrade for mandatory versions.

You can manually check for mandatory and recommended updates by clicking the "Check Updates" button.

Docker Management

Docker installation and maintenance

System requirements

The docker runs on Linux Ubuntu 22.04 or later. 

Installing docker software on the server

UBUNTU Server

Copy and paste the following lines to the server  terminal window, then execute them

sudo apt-get update
sudo apt-get install ca-certificates curl gnupg lsb-release
sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
sudo apt-get -y install docker-ce docker-ce-cli containerd.io docker-compose-plugin

Red Hat Linux

copy and paste the following lines to the server  terminal window, then execute them

sudo yum install -y yum-utils
sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
sudo yum install docker-ce docker-ce-cli containerd.io docker-compose-plugin
sudo systemctl enable docker.service
sudo systemctl start docker.service

Installing Emotion Logic docker

copy and paste the following lines to the server  terminal window, then execute them

docker run -d --restart unless-stopped -p 80:8080 -p 2259:2259 --name nms-server nemesysco/on_premises

The docker will listen on port 80 for offline file analysis, and on port 2259 for real-time analysis

Activating the docker

Activating the docker is done by setting the API Key and API Key Password. Both are generated on the applications page

  1. Open the docker dashboard: http://[docker-ip]/
  2.  On the docker dashboard set the API key and password and click “Activate”. This will
    connect the docker to your account on the platform and get the license.
  3. The docker will renew its license on a daily basis. Please make sure it has internal
    access.
  4. Now you can start sending audio for analysis

Updating docker version

The docker periodically checks for new versions and will perform an automatic upgrade for mandatory versions.

You can manually check for mandatory and recommended updates by clicking the "Check Updates" button.

Docker conducts regular checks for new versions and will automatically upgrade when mandatory versions are available. However, it does not initiate automatic upgrades for non-mandatory versions. You have the option to manually check for mandatory and recommended updates by clicking the 'Check Updates' button

Removing EMLO docker image

Sometimes it is required to completely remove EMLO docker. In order to do that, it is required to first delete the container, then the image

remove the container

1. list all containers

sudo docker container ls


2. stop the container

sudo docker stop [CONTAINER_ID]


3. delete the container

sudo docker rm [CONTAINER_ID]

remove the image

1. list the images

sudo docker image ls


2. delete the docker

sudo docker image rm  [IMAGE_ID]

Remove All

Stop all containers on the server, than delete all containers and images

docker stop $(docker ps -q) && docker rm -f $(docker ps -aq) && docker rmi -f $(docker images -q)

Stop/Start EMLO docker image
Sometimes it is required to stop or restart EMLO docker. In order to do that, it is required to stop the container

Stop the container

1. list all containers

sudo docker container ls

2. stop the container

sudo docker stop [CONTAINER_ID]

Start the container

1. list all containers

sudo docker container ls

2. start the container

sudo docker start [CONTAINER_ID]

Emotion Logic analysis docker version history

Version Release date Mandatory for Whats new?
1.6.38

2024-08-15

Not Mandatory

  • Allows max audio file of 600MB
1.6.37

2024-07-22

Not Mandatory

  • Added Speechmatics integration support
1.6.36

2024-06-11

Not Mandatory

  • Added licence renew logs
  • Handle crush when invalid audio file sent for analysis
1.6.18

2024-03-18

Not Madatory

  • Objective Risk Formula Optimization:
    • Fine-tuned Objective (OZ) risk formulas to better account for inaccuracy indicators, improving the nuance in risk assessments.
    • Modest recalibration of risk scores to flag a broader range of risk indicators and inaccuracies.
    • Option to revert to the previous version's risk evaluation by setting sensitivity: bwc1 for backward compatibility.
  • Introduction of Final Risk Score:
    • Added a new "Final Risk" score to risk summaries, merging objective and subjective evaluations for a comprehensive risk overview.
    • Final Risk score adjusts to reflect either singular or combined risk assessments, with updated calculation methods in Topics and Questions for improved accuracy.
  • Personality Assessment Enhancement:
    • Questionnaire API now allows for personality assessments at the question level, with isPersonality: true for personality evaluation and isPersonality: false for risk assessment.
    • Questions with non-zero weight contribute to both personality and risk assessments; set weight: 0 to exclude a question from risk evaluation.
  • Important Update Regarding isPersonality Setting:
    • isPersonality defaults to True in this release for smooth transition and backward compatibility, with a note that this default behavior will change in the future.
    • Users are urged to review and adjust questionnaire settings for accurate core competencies values analysis, considering only questions marked with isPersonality: true.
  • Bug Fixes:
    • Corrected an issue affecting real-time values on Emotion Diamond for channel 1, ensuring accurate representation of emotional insights.
1.6.14

2024-01-16

Not Madatory

  • Fix bug when calculationg emotional styles 
1.6.11

2024-01-01

Not Madatory

  • Fix bug when docker build segments from STT service
1.6.10

2023-12-31

Not Madatory

  • Improved call-classification tags
1.6.03

2023-12-13

Not Madatory

  • Fix an "ENOENT: no such file or directory" error messag when sending large batch audio 
  • Set defaiult max file to 300mb
1.6.01

2023-12-08

Not Madatory

  • Added DistressPriority for call call priority field. Modification for FeelGPT standard output
1.5.14

2023-12-06

Not Madatory

  • Fix problem when analysis streaming
1.5.7

2023-11-14

Not Madatory

  • Fine-tune "Confidance"
  • Fix a bug with "dummyResponse" when max daily analyzes count exceeded
  • Improve the background-noise, too-high-volume, too-low-volume recognision mechanism
1.5.4

2023-11-07

Not Madatory

  • Added noise-clean service on cloud
1.5.3

2023-11-02

Not Madatory

  • FeelGPT fine tuning
  • Mental effort Efficiency bug fix
  • Emotional Diamond fine tuning
  • Emotional Copgnitive Ration highest value is now 500 (was 5000 before)
  • Dissatisfaction fine tune
  • Fine tume objective risk formula (riskOZ)
  • The Risk assessment formulas were updated to take into account extreme emotional distress situations
  • Fix bug where log files older than 14 days were not deleted
1.5.01

2023-10-26

Not Mandatory

  • Emotional player values are per-channel now
  • Allow to bo back-and-forward with the analysis library 
  • Fix bug to auto-delete log files after 14 days
1.4.25

2023-10-17

Not Mandatory

  • Added "sensitivity" param to the API (see documentation)
  • Better handleing of the Emotional Diamond 
  • Remove from FeelGPT the "tired" param, and added "agitate" and "frantic"
  • Allow upgrade process for dockers that ware manually acivated
1.4.22

2023-09-15

Not Mandatory

  • Improved error messages
  • Improved FellGPT protocol
1.4.17

2023-09-04

Not Mandatory

  • Analyze questionnaires even when some of the audio file are corrupted
  • Fix bug on sample rates 44000 and 44100
  • Allow speach-to-text integration with DeepGram (bring your own API Key)
1.4.12

2023-08-14

Not Mandatory

  • Improved handling of final segment in a stream
  • Fix bug with backgroundNoise < 1000 on sreaming service
  • Improvemets on  feelGPT
  • Add onlineLVS analysis on CCC plug
1.4.06

2023-08-01

1.3.92 and up

  • Improve handling segments provided by the client or STT service
  • Improve license-renew after the docker was down for a long period
1.4.01

2023-07-26

 

  • Improve segmentation 
1.3.92

2023-07-05

Not Mandatory

  • Fix bug with 2 channels streaming results
  • Added 16000 sample rate on streaming
1.3.87

2023-06-07

Not Mandatory
  • Not rejecting audio files with too-high volume.
1.3.85

2023-06-05

Not Mandatory
  • Fix bug with "dummyResponse" flag
1.3.83

2023-05-31

Not Mandatory
  • Improved analysis algorithm for Agent Priority
  • Improved analysis algorithm for Call Priority
  • Improved analysis algorithm for Human Resource 
  • Improved docker logs
1.3.81

2023-05-22

Not mandatory
  • Improved auto-background level calculation
1.3.80

2023-05-08

Not mandatory
  • Fix misspellings in the response
  • Added "requesteId" parameter
1.3.77
2023-04-27 Not mandatory
  • Added warning on "analyzeTest" route when one or more of the questions failed to be analyzed
  • Add 44100 Hz support
1.3.75
2023-04-18 Not mandatory
  • Fix a crash when passing audio with a very high volume for analysis
1.3.73
2023-04-17 Not mandatory
  • Added "mentalEfficiency" analysis on the channel-profile report
  • Offline LVA analysis fixes