From 9ec021241c3020f7a2c743dba54d2c0ae484f120 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Sun, 7 Apr 2019 20:41:28 -0400 Subject: [PATCH] Update release notes Signed-off-by: Roberto Rosario --- docs/releases/3.1.11.rst | 44 ++++++++++++++++++++++++++++++++++------ 1 file changed, 38 insertions(+), 6 deletions(-) diff --git a/docs/releases/3.1.11.rst b/docs/releases/3.1.11.rst index e7d593f49d..a92cf49531 100644 --- a/docs/releases/3.1.11.rst +++ b/docs/releases/3.1.11.rst @@ -11,6 +11,8 @@ Other changes ^^^^^^^^^^^^^ * Fix multiple tag selection wizard step. +* Update the check out info link permission. Update the link permission to + match the same required permission as the view. Removals -------- @@ -34,6 +36,42 @@ Type in the console:: the requirements will also be updated automatically. +Migrate existing database schema with:: + + $ mayan-edms.py performupgrade + +Add new static media:: + + $ mayan-edms.py collectstatic --noinput + +The upgrade procedure is now complete. + + +If installed using a direct deployment +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +Remove deprecated requirements:: + + $ curl https://gitlab.com/mayan-edms/mayan-edms/raw/master/removals.txt | sudo -u mayan /opt/mayan-edms/bin/pip uninstall -r /dev/stdin + +Download and install the new version:: + + $ sudo -u mayan /opt/mayan-edms/bin/pip install --no-cache-dir --no-use-pep517 mayan-edms==3.1.11 + +the requirements will also be updated automatically. + +Run the upgrade command:: + + $ sudo -u mayan MAYAN_DATABASE_ENGINE=django.db.backends.postgresql \ + MAYAN_DATABASE_NAME=mayan MAYAN_DATABASE_PASSWORD=mayanuserpass \ + MAYAN_DATABASE_USER=mayan MAYAN_DATABASE_HOST=127.0.0.1 \ + MAYAN_MEDIA_ROOT=/opt/mayan-edms/media /opt/mayan-edms/bin/mayan-edms.py performupgrade + +Add any new static files:: + + $ sudo -u mayan MAYAN_MEDIA_ROOT=/opt/mayan-edms/media /opt/mayan-edms/bin/mayan-edms.py collectstatic --noinput + +The upgrade procedure is now complete. Using Git ^^^^^^^^^ @@ -54,12 +92,6 @@ Next upgrade/add the new requirements:: $ pip install --upgrade -r requirements.txt - -Common steps -^^^^^^^^^^^^ - -Perform these steps after updating the code from either step above. - Migrate existing database schema with:: $ mayan-edms.py performupgrade