Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Synapse fails to start after upgrade to 1.1.0 #5652

Closed

Description

@Delurkdotcom

Hi,

First, my setup is a prebuilt packages on Debian 9. I upgrade my synapse server from 0.99 to 1.1.0 and it doesn't start with this error :

2019-07-10 11:30:45,071 - root - 225 - WARNING - None- ***** STARTING SERVER *****
2019-07-10 11:30:45,075 - root - 226 - WARNING - None- Server /opt/venvs/matrix-synapse/lib/python3.5/site-packages/synapse/app/homeserver.py version 1.1.0
2019-07-10 11:30:45,076 - twisted - 253 - ERROR - - Traceback (most recent call last):
2019-07-10 11:30:45,077 - twisted - 253 - ERROR - - File "/usr/lib/python3.5/runpy.py", line 193, in _run_module_as_main
2019-07-10 11:30:45,077 - twisted - 253 - ERROR - - "main", mod_spec)
2019-07-10 11:30:45,077 - twisted - 253 - ERROR - - File "/usr/lib/python3.5/runpy.py", line 85, in _run_code
2019-07-10 11:30:45,078 - twisted - 253 - ERROR - - exec(code, run_globals)
2019-07-10 11:30:45,078 - twisted - 253 - ERROR - - File "/opt/venvs/matrix-synapse/lib/python3.5/site-packages/synapse/app/homeserver.py", line 658, in
2019-07-10 11:30:45,079 - twisted - 253 - ERROR - - main()
2019-07-10 11:30:45,079 - twisted - 253 - ERROR - - File "/opt/venvs/matrix-synapse/lib/python3.5/site-packages/synapse/app/homeserver.py", line 653, in main
2019-07-10 11:30:45,079 - twisted - 253 - ERROR - - hs = setup(sys.argv[1:])
2019-07-10 11:30:45,080 - twisted - 253 - ERROR - - File "/opt/venvs/matrix-synapse/lib/python3.5/site-packages/synapse/app/homeserver.py", line 349, in setup
2019-07-10 11:30:45,080 - twisted - 253 - ERROR - - database_engine = create_engine(config.database_config)
2019-07-10 11:30:45,080 - twisted - 253 - ERROR - - File "/opt/venvs/matrix-synapse/lib/python3.5/site-packages/synapse/storage/engines/init.py", line 34, in create_engine
2019-07-10 11:30:45,081 - twisted - 253 - ERROR - - module = importlib.import_module(name)
2019-07-10 11:30:45,081 - twisted - 253 - ERROR - - File "/usr/lib/python3.5/importlib/init.py", line 126, in import_module
2019-07-10 11:30:45,081 - twisted - 253 - ERROR - - return _bootstrap._gcd_import(name[level:], package, level)
2019-07-10 11:30:45,082 - twisted - 253 - ERROR - - File "", line 986, in _gcd_import
2019-07-10 11:30:45,082 - twisted - 253 - ERROR - - File "", line 969, in _find_and_load
2019-07-10 11:30:45,082 - twisted - 253 - ERROR - - File "", line 958, in _find_and_load_unlocked
2019-07-10 11:30:45,083 - twisted - 253 - ERROR - - File "", line 673, in _load_unlocked
2019-07-10 11:30:45,083 - twisted - 253 - ERROR - - File "", line 673, in exec_module
2019-07-10 11:30:45,083 - twisted - 253 - ERROR - - File "", line 222, in _call_with_frames_removed
2019-07-10 11:30:45,084 - twisted - 253 - ERROR - - File "/opt/venvs/matrix-synapse/lib/python3.5/site-packages/psycopg2/init.py", line 50, in
2019-07-10 11:30:45,084 - twisted - 253 - ERROR - - from psycopg2._psycopg import ( # noqa
2019-07-10 11:30:45,084 - twisted - 253 - ERROR - - ImportError: libpq.so.5: cannot open shared object file: No such file or directory

Activity

  1. richvdh commented on Jul 10, 2019

    @richvdh
    Member

    you will need the postgres library (libpq5) if you want to use postgres

  2. Delurkdotcom commented on Jul 10, 2019

    @Delurkdotcom
    Author

    Thanks. It works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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