From 547bf0988ef81edb25fd0783b8d635108f614626 Mon Sep 17 00:00:00 2001 From: anoadragon453 Date: Tue, 3 May 2022 10:52:17 +0000 Subject: deploy: 7e6598bcf6cf63b4d04c27b9696ed8429b6ddff6 --- latest/upgrade.html | 34 +++++++++++++++++++++++----------- 1 file changed, 23 insertions(+), 11 deletions(-) (limited to 'latest/upgrade.html') diff --git a/latest/upgrade.html b/latest/upgrade.html index 8ca787ace0..dcb62658f7 100644 --- a/latest/upgrade.html +++ b/latest/upgrade.html @@ -76,7 +76,7 @@ @@ -167,25 +167,33 @@ packages, you will need to follow the normal process for upgrading those packages.

  • +

    If Synapse was installed using pip then upgrade to the latest +version by running:

    +
    pip install --upgrade matrix-synapse
    +
    +
  • +
  • If Synapse was installed from source, then:

    1. -

      Activate the virtualenv before upgrading. For example, if -Synapse is installed in a virtualenv in ~/synapse/env then +

      Obtain the latest version of the source code. Git users can run +git pull to do this.

      +
    2. +
    3. +

      If you're running Synapse in a virtualenv, make sure to activate it before +upgrading. For example, if Synapse is installed in a virtualenv in ~/synapse/env then run:

      source ~/synapse/env/bin/activate
      +pip install --upgrade .
       
      +

      Include any relevant extras between square brackets, e.g. pip install --upgrade ".[postgres,oidc]".

    4. -

      If Synapse was installed using pip then upgrade to the latest -version by running:

      -
      pip install --upgrade matrix-synapse
      -
      -

      If Synapse was installed using git then upgrade to the latest -version by running:

      -
      git pull
      -pip install --upgrade .
      +

      If you're using poetry to manage a Synapse installation, run:

      +
      poetry install
       
      +

      Include any relevant extras with --extras, e.g. poetry install --extras postgres --extras oidc. +It's probably easiest to run poetry install --extras all.

    5. Restart Synapse:

      @@ -224,6 +232,10 @@ dpkg -i matrix-synapse-py3_1.3.0+stretch1_amd64.deb
    6. +

      Upgrading to v1.58.0

      +

      Groups/communities feature has been disabled by default

      +

      The non-standard groups/communities feature in Synapse has been disabled by default +and will be removed in Synapse v1.61.0.

      Upgrading to v1.57.0

      Changes to database schema for application services

      Synapse v1.57.0 includes a change to the -- cgit 1.5.1