You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

Since version 1.9.8.2.10 DMS uses external worker container to create 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 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 released.

The procedure:

  • Pull latest version of config repository
  • Edit the commands.conf by inserting 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

The issue of an ever restarting worker container can occur, when docker is outdated. Making a "yum update" corrects this issue.
Please note that you might need to create /etc/docker/daemon.json if you don't have it yet and docker service not starting:

cat /etc/docker/daemon.json
{
"storage-driver": "devicemapper"
}

commands.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"
  • No labels