Starting from version 1.9.8.2.10, DMS utilizes an external worker container to generate previews and parse emails.
This container requires a minimum of 4GB of free RAM in addition to the necessary overhead for Docker and other applications. Please ensure that your system meets these requirements.
The procedure:
Update the commands.conf file by adding the following code block after the add_variable "ES_JAVA_OPTS" "-Xms${ES_XMS} -Xmx${ES_XMX}" line, if it does not already exist:
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" |
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:
{ "storage-driver": "devicemapper" } |
Changelog for administrators
Option to Disable Default Nuxeo Audit Log: The default Nuxeo audit log, which can produce excessive entries in the Nuxeo database's nxp_logs table, can now be disabled. This change disables the document history in the Nuxeo Console. To disable the audit log, add the following line to dms.conf:
DISABLE_NXP_LOGS=true |
It is highly recommended to disable the audit log when updating to this and future versions, as it consumes significant disk space and generates excessive IO and CPU load.
Only keep the audit log enabled if the client utilizes Nuxeo document history.
Audit logs are disabled by default for all new repositories.
To free up space used by audit logs, execute the following command:
docker exec postgres psql -d nuxeo -U postgres -c "TRUNCATE nxp_logs CASCADE;" |
Deploy script changelog