Skip to content

Synapse does not start anymore - PostgreSQL version 15 is not recognized #18086

@itsaw

Description

@itsaw

After updating to the latest version, Matrix no longer starts.

Installed on Debian via package manager (packages.matrix.org)
PostgreSQL version 15 single server.

In the log I only find this error:

2025-01-15 08:55:45,625 - root - 352 - WARNING - main - ***** STARTING SERVER *****
2025-01-15 08:55:45,626 - root - 353 - WARNING - main - Server /opt/venvs/matrix-synapse/lib/python3.11/site-packages/synapse/app/homeserver.py version 1.122.0
2025-01-15 08:55:45,626 - root - 358 - WARNING - main - Copyright (c) 2023 New Vector, Inc
2025-01-15 08:55:45,626 - root - 359 - WARNING - main - Licensed under the AGPL 3.0 license. Website: https://github.com/element-hq/synapse
2025-01-15 08:55:45,626 - root - 362 - INFO - main - Server hostname: teufelspack.im
2025-01-15 08:55:45,626 - root - 363 - INFO - main - Public Base URL: https://teufelspack.im/
2025-01-15 08:55:45,626 - root - 364 - INFO - main - Instance name: master
2025-01-15 08:55:45,626 - root - 365 - INFO - main - Twisted reactor: EPollReactor
2025-01-15 08:55:45,626 - synapse.app.homeserver - 370 - INFO - main - Setting up server
2025-01-15 08:55:45,626 - synapse.server - 357 - INFO - main - Setting up.
2025-01-15 08:55:45,631 - synapse.storage.databases - 73 - INFO - main - [database config 'master']: Checking database server
2025-01-15 08:55:45,631 - synapse.app._base - 220 - ERROR - main - Exception during startup
Traceback (most recent call last):
  File "/opt/venvs/matrix-synapse/lib/python3.11/site-packages/synapse/app/homeserver.py", line 373, in setup
    hs.setup()
  File "/opt/venvs/matrix-synapse/lib/python3.11/site-packages/synapse/server.py", line 359, in setup
    self.datastores = Databases(self.DATASTORE_CLASS, self)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/venvs/matrix-synapse/lib/python3.11/site-packages/synapse/storage/databases/__init__.py", line 74, in __init__
    engine.check_database(db_conn)
  File "/opt/venvs/matrix-synapse/lib/python3.11/site-packages/synapse/storage/engines/postgres.py", line 103, in check_database
    raise RuntimeError("Synapse requires PostgreSQL 13 or above.")
RuntimeError: Synapse requires PostgreSQL 13 or above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions