From 52ff2f216a707e19fdf64ab85abb62e01f02d021 Mon Sep 17 00:00:00 2001 From: Spitfireap Date: Thu, 18 Jul 2024 21:40:22 +0200 Subject: [PATCH] Updated doc --- doc/upgrade.rst | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/doc/upgrade.rst b/doc/upgrade.rst index e9c715cba..99a755976 100644 --- a/doc/upgrade.rst +++ b/doc/upgrade.rst @@ -20,7 +20,6 @@ version only requires a few actions. In every case, you will need to apply the specific actions if the version you are installing requires it, and then apply the general ones. -.. _post_upgrade_commands: In case you use a dedicated user and/or a virtualenv, do not forget to use them: @@ -29,6 +28,13 @@ use them: > sudo -u -i bash > source /bin/activate + +.. _post_upgrade_commands: + +.. note:: + + Check the :ref:`specific_upgrade_instructions` before running the following commands. + Then, run the following commands: .. sourcecode:: bash @@ -148,8 +154,8 @@ Version 2.3.0 Pre update ---------- -@TODO : Update this with SQL changes -Before your start upgrading modoboa, run the following commands from +@TODO : Update this with SQL changes, clarify "before you start upgrading modoboa" +Before you start upgrading modoboa, run the following commands from your virtual environment: .. sourcecode:: bash @@ -274,7 +280,7 @@ by default. ), -- Run the commands indacated :ref:`in the first section ` +- Run the commands indicated :ref:`in the first section ` then add the following content after ``MEDIA_ROOT``: .. sourcecode:: python @@ -986,7 +992,7 @@ This release introduces an optional LDAP synchronization process. If you want to use it, please follow the :ref:`dedicated procedure `. Version 1.13.1 -======= +============== Upgrade postfix maps files as follows: