You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
Merge branch 'release-v1.13.0' of github.com:matrix-org/synapse into dinsic-release-v1.14.x
* 'release-v1.13.0' of github.com:matrix-org/synapse: (257 commits)
Update changelog based on feedback.
Move warnings in the changelog and re-iterate changes to branches.
1.13.0
update dh-virtualenv (#7526)
1.13.0rc3
Hash passwords earlier in the registration process (#7523)
1.13.0rc2
1.13.0rc2
Stop `get_joined_users` corruption from custom statuses (#7376)
Do not validate that the client dict is stable during UI Auth. (#7483)
Fix new flake8 errors (#7489)
Don't UPGRADE database rows
RST indenting
Put rollback instructions in upgrade notes
Fix changelog typo
Oh yeah, RST
Absolute URL it is then
Fix upgrade notes link
Provide summary of upgrade issues in changelog. Fix )
Move next version notes from changelog to upgrade notes
...
There is currently no port for OpenBSD. Additionally, OpenBSD's security
189
191
settings require a slightly more difficult installation process.
190
192
191
-
XXX: I suspect this is out of date.
193
+
(XXX: I suspect this is out of date)
192
194
193
195
1. Create a new directory in `/usr/local` called `_synapse`. Also, create a
194
196
new user called `_synapse` and set that directory as the new user's home.
195
197
This is required because, by default, OpenBSD only allows binaries which need
196
198
write and execute permissions on the same memory space to be run from
197
199
`/usr/local`.
198
200
2.`su` to the new `_synapse` user and change to their home directory.
199
-
3. Create a new virtualenv: `virtualenv -p python2.7 ~/.synapse`
201
+
3. Create a new virtualenv: `virtualenv -p python3 ~/.synapse`
200
202
4. Source the virtualenv configuration located at
201
203
`/usr/local/_synapse/.synapse/bin/activate`. This is done in `ksh` by
202
204
using the `.` command, rather than `bash`'s `source`.
@@ -217,45 +219,6 @@ be found at https://docs.microsoft.com/en-us/windows/wsl/install-win10 for
217
219
Windows 10 and https://docs.microsoft.com/en-us/windows/wsl/install-on-server
218
220
for Windows Server.
219
221
220
-
### Troubleshooting Installation
221
-
222
-
XXX a bunch of this is no longer relevant.
223
-
224
-
Synapse requires pip 8 or later, so if your OS provides too old a version you
225
-
may need to manually upgrade it::
226
-
227
-
sudo pip install --upgrade pip
228
-
229
-
Installing may fail with `Could not find any downloads that satisfy the requirement pymacaroons-pynacl (from matrix-synapse==0.12.0)`.
230
-
You can fix this by manually upgrading pip and virtualenv::
231
-
232
-
sudo pip install --upgrade virtualenv
233
-
234
-
You can next rerun `virtualenv -p python3 synapse` to update the virtual env.
235
-
236
-
Installing may fail during installing virtualenv with `InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.`
237
-
You can fix this by manually installing ndg-httpsclient::
238
-
239
-
pip install --upgrade ndg-httpsclient
240
-
241
-
Installing may fail with `mock requires setuptools>=17.1. Aborting installation`.
242
-
You can fix this by upgrading setuptools::
243
-
244
-
pip install --upgrade setuptools
245
-
246
-
If pip crashes mid-installation for reason (e.g. lost terminal), pip may
247
-
refuse to run until you remove the temporary installation directory it
248
-
created. To reset the installation::
249
-
250
-
rm -rf /tmp/pip_install_matrix
251
-
252
-
pip seems to leak *lots* of memory during installation. For instance, a Linux
253
-
host with 512MB of RAM may run out of memory whilst installing Twisted. If this
254
-
happens, you will have to individually install the dependencies which are
255
-
failing, e.g.::
256
-
257
-
pip install twisted
258
-
259
222
## Prebuilt packages
260
223
261
224
As an alternative to installing from source, prebuilt packages are available
@@ -314,7 +277,7 @@ For `buster` and `sid`, Synapse is available in the Debian repositories and
314
277
it should be possible to install it with simply:
315
278
316
279
```
317
-
sudo apt install matrix-synapse
280
+
sudo apt install matrix-synapse
318
281
```
319
282
320
283
There is also a version of `matrix-synapse` in `stretch-backports`. Please see
@@ -375,15 +338,17 @@ sudo pip install py-bcrypt
375
338
376
339
Synapse can be found in the void repositories as 'synapse':
377
340
378
-
xbps-install -Su
379
-
xbps-install -S synapse
341
+
```
342
+
xbps-install -Su
343
+
xbps-install -S synapse
344
+
```
380
345
381
346
### FreeBSD
382
347
383
348
Synapse can be installed via FreeBSD Ports or Packages contributed by Brendan Molloy from:
384
349
385
350
- Ports: `cd /usr/ports/net-im/py-matrix-synapse && make install clean`
386
-
- Packages: `pkg install py27-matrix-synapse`
351
+
- Packages: `pkg install py37-matrix-synapse`
387
352
388
353
389
354
### NixOS
@@ -420,22 +385,23 @@ so, you will need to edit `homeserver.yaml`, as follows:
420
385
resources:
421
386
- names: [client, federation]
422
387
```
388
+
423
389
* You will also need to uncomment the `tls_certificate_path` and
424
390
`tls_private_key_path` lines under the `TLS` section. You can either
425
391
point these settings at an existing certificate and key, or you can
0 commit comments