summary refs log tree commit diff
path: root/develop/upgrade.html
diff options
context:
space:
mode:
authorDMRobertson <DMRobertson@users.noreply.github.com>2022-03-04 11:59:19 +0000
committerDMRobertson <DMRobertson@users.noreply.github.com>2022-03-04 11:59:19 +0000
commit7fd04745875bfa90c2a24a07bb9bb5dc40efb0be (patch)
tree4b57d6e098b5c046dcff995384202fe8dc0a7e5d /develop/upgrade.html
parentdeploy: 1fbe0316a991e77289d4577b16ff3fcd27c26dc8 (diff)
downloadsynapse-7fd04745875bfa90c2a24a07bb9bb5dc40efb0be.tar.xz
deploy: 4aeb00ca20a0d9dbb2a104591aca081c723eb6d9
Diffstat (limited to 'develop/upgrade.html')
-rw-r--r--develop/upgrade.html21
1 files changed, 20 insertions, 1 deletions
diff --git a/develop/upgrade.html b/develop/upgrade.html
index a823729541..79d224d269 100644
--- a/develop/upgrade.html
+++ b/develop/upgrade.html
@@ -225,7 +225,7 @@ pip install --upgrade .
 </li>
 <li>
 <p>Restart Synapse:</p>
-<pre><code class="language-bash">./synctl restart
+<pre><code class="language-bash">synctl restart
 </code></pre>
 </li>
 </ol>
@@ -260,6 +260,25 @@ dpkg -i matrix-synapse-py3_1.3.0+stretch1_amd64.deb
 </code></pre>
 </li>
 </ul>
+<h1 id="upgrading-to-v1550"><a class="header" href="#upgrading-to-v1550">Upgrading to v1.55.0</a></h1>
+<h2 id="synctl-script-has-been-moved"><a class="header" href="#synctl-script-has-been-moved"><code>synctl</code> script has been moved</a></h2>
+<p>The <code>synctl</code> script
+<a href="https://github.com/matrix-org/synapse/pull/12140">has been made</a> an
+<a href="https://packaging.python.org/en/latest/specifications/entry-points/">entry point</a>
+and no longer exists at the root of Synapse's source tree. If you wish to use
+<code>synctl</code> to manage your homeserver, you should invoke <code>synctl</code> directly, e.g. 
+<code>synctl start</code> instead of <code>./synctl start</code> or <code>/path/to/synctl start</code>. </p>
+<p>You will need to ensure <code>synctl</code> is on your <code>PATH</code>.</p>
+<ul>
+<li>This is automatically the case when using
+<a href="https://packages.matrix.org/debian/">Debian packages</a> or
+<a href="https://hub.docker.com/r/matrixdotorg/synapse">docker images</a>
+provided by Matrix.org.</li>
+<li>When installing from a wheel, sdist, or PyPI, a <code>synctl</code> executable is added 
+to your Python installation's <code>bin</code>. This should be on your <code>PATH</code>
+automatically, though you might need to activate a virtual environment
+depending on how you installed Synapse.</li>
+</ul>
 <h1 id="upgrading-to-v1540"><a class="header" href="#upgrading-to-v1540">Upgrading to v1.54.0</a></h1>
 <h2 id="legacy-structured-logging-configuration-removal"><a class="header" href="#legacy-structured-logging-configuration-removal">Legacy structured logging configuration removal</a></h2>
 <p>This release removes support for the <code>structured: true</code> logging configuration