Versions Compared

Key

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

Since Starting from version 1.9.8.2.10, DMS uses utilizes an external worker container to create generate previews and parse emails. To deploy it correctly in existing environments, deploy_script must be updated to the latest preview branch and next lines must be added to containers.conf. Please use the latest image version that is available at the moment of deployment. The container needs

This container requires a minimum of 4GB of free RAM plus some overhead on docker and apps. Please make sure that this is given.Please use preview tag for nuxeo and cb image versions before 1.9.8.2.10 is releasedin addition to the necessary overhead for Docker and other applications. Please ensure that your system meets these requirements.

The procedure:

  • Pull latest version of config repository
  • Pull latest version of deploy_script repository
  • Edit the 

    Update the commands.conf file by

    inserting

    adding the

    code lines as seen below if they don't exist yet
  • Configure the right nuxeo and cb image
  • go to deploy_script, use command "git pull" before then changing branch.
    • Currently, (as of 23.02.2023) it is necessary to use the "1.9.8.2.10-rc" branch tag, as it is the only branch where the deploy script includes the worker container.
  • Change branch (git checkout <branchtag>)
  • Do a proper redeployment of the system

...

  • following code block after the add_variable "ES_JAVA_OPTS" "-Xms${ES_XMS} -Xmx${ES_XMX}" line, if it does not already exist:

    Code Block
    languagebash
    titlecommands.conf
    elif [ ${1} = "WORKER" ]
    then
      add_volume ${NUXEO_TEMPDIR} "/tmp"
      add_volume ${NUXEO_WINFONTDIR} "/usr/share/fonts/custom-fonts"
      add_volume ${NUXEO_WINFONTDIR} "/root/.windows_fonts"
      add_volume ${NUXEO_LOGDIR} "/var/log/worker"
  • Configure the nuxeo and cb images to use version 1.9.8.2.10.
  • Perform a proper system redeployment.

Troubleshooting:

If the worker container constantly restarts, it may be due to an outdated Docker version.

To resolve this issue, execute a yum update. If the Docker service does not start, you may need to create or update the /etc/docker/daemon.json file with the following content:

Code Block
title/etc/docker/daemon.json
{
"storage-driver": "devicemapper"
}