Please read the release notes before upgrading: https://docs.mayan-edms.com/releases/4.0.4.html
Docker image available at: https://hub.docker.com/r/mayanedms/mayanedms
Python packages available at: https://pypi.org/project/mayan-edms/4.0.4/ and installed via:
Code: Select all
pip install mayan-edms==4.0.4
Merged the following change from version 3.5.10: Remove the database transaction handling in the event decorator. This caused a race condition which made some background tasks like, workflows launches, to attempt to access a document that was not yet available because it was in the middle of an unfinished event transaction.
Backward incompatible changes