This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Synapse crashes with AttributeError: 'NoneType' object has no attribute 'get'
on .get("msc3861", {})
if experimental_features
is empty
#15919
Labels
A-Config
Configuration, or the documentation thereof
O-Uncommon
Most users are unlikely to come across this or unexpected workflow
S-Major
Major functionality / product severely impaired, no satisfactory workaround.
T-Defect
Bugs, crashes, hangs, security vulnerabilities, or other reported issues.
Description
Since upgrading from 1.85.2 to 1.87.0 just now, Synapse refuses to start. After quickly looking at the source code it turns out it like/expect when an empty
experimental_features
appears in the configuration:Commenting out that last line fixes the issue and makes Synapse start again. This happened because that key previous contained some entries but they where later removed as the relevant feature became stable. Perhaps it shouldn’t have been written this way before, but Synapse failing like this on upgrade feels like a regression.
Steps to reproduce
Homeserver
matrix.ninetailed.nnja
Synapse Version
187.0
Installation Method
Docker (matrixdotorg/synapse)
Database
PostgreSQL, single server, never restored from backup or SQLite
Workers
Single process
Platform
Linux x86_64, Docker container inside VM
Configuration
No response
Relevant log output
Anything else that would be useful to know?
No response
The text was updated successfully, but these errors were encountered: