Synapse is not working properly since Yunohost 12.0 upgrade

What type of hardware are you using: Raspberry Pi 3, 4+
What YunoHost version are you running: Yunohost 12.0.6
What app is this about: Synapse

Describe your issue

Hi everyone, I don’t want to spam as I have already posted in the Bookworm thread, but as I am out of ideas, I post this to a proper one:

So, since I upgraded Yunohost to 12.0 Synapse does not work anymore. It runs but I am unable to send or recieve messages.
I tried to run the command below as suggested:

sudo yunohost app upgrade synapse -F

The upgrade was executed and Synapse is running, but it is not working properly. Here is what I see in my journalctl below.
About a year ago I restored the app after an architecture change (32 to 64bits) using this trick. (see the the issue I posted at the time)

Do you think it can be related?

Can someone help me please? Thank you!

Share relevant logs or error messages

Logs
Nov 11 20:26:42 cloud.mydomain.com python[16207]:   File "/opt/yunohost/matrix-synapse/lib/python3.11/site-packages/synapse/storage/databases/main/roommember.py", line 660, in get_local_current_membership_for_user_in_room
Nov 11 20:26:42 cloud.mydomain.com python[16207]:     await self.db_pool.simple_select_one(
Nov 11 20:26:42 cloud.mydomain.com python[16207]:   File "/opt/yunohost/matrix-synapse/lib/python3.11/site-packages/synapse/storage/database.py", line 1680, in simple_select_one
Nov 11 20:26:42 cloud.mydomain.com python[16207]:     return await self.runInteraction(
Nov 11 20:26:42 cloud.mydomain.com python[16207]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 11 20:26:42 cloud.mydomain.com python[16207]:   File "/opt/yunohost/matrix-synapse/lib/python3.11/site-packages/synapse/storage/database.py", line 952, in runInteraction
Nov 11 20:26:42 cloud.mydomain.com python[16207]:     return await delay_cancellation(_runInteraction())
Nov 11 20:26:42 cloud.mydomain.com python[16207]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 11 20:26:42 cloud.mydomain.com python[16207]:   File "/opt/yunohost/matrix-synapse/lib/python3.11/site-packages/twisted/internet/defer.py", line 2010, in _inlineCallbacks
Nov 11 20:26:42 cloud.mydomain.com python[16207]:     result = context.run(
Nov 11 20:26:42 cloud.mydomain.com python[16207]:              ^^^^^^^^^^^^
Nov 11 20:26:42 cloud.mydomain.com python[16207]:   File "/opt/yunohost/matrix-synapse/lib/python3.11/site-packages/twisted/python/failure.py", line 549, in throwExceptionIntoGenerator
Nov 11 20:26:42 cloud.mydomain.com python[16207]:     return g.throw(self.value.with_traceback(self.tb))
Nov 11 20:26:42 cloud.mydomain.com python[16207]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 11 20:26:42 cloud.mydomain.com python[16207]:   File "/opt/yunohost/matrix-synapse/lib/python3.11/site-packages/synapse/storage/database.py", line 918, in _runInteraction
Nov 11 20:26:42 cloud.mydomain.com python[16207]:     result: R = await self.runWithConnection(
Nov 11 20:26:42 cloud.mydomain.com python[16207]:                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 11 20:26:42 cloud.mydomain.com python[16207]:   File "/opt/yunohost/matrix-synapse/lib/python3.11/site-packages/synapse/storage/database.py", line 1047, in runWithConnection
Nov 11 20:26:42 cloud.mydomain.com python[16207]:     return await make_deferred_yieldable(
Nov 11 20:26:42 cloud.mydomain.com python[16207]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 11 20:26:42 cloud.mydomain.com python[16207]:   File "/opt/yunohost/matrix-synapse/lib/python3.11/site-packages/twisted/python/threadpool.py", line 269, in inContext
Nov 11 20:26:42 cloud.mydomain.com python[16207]:     result = inContext.theWork()  # type: ignore[attr-defined]
Nov 11 20:26:42 cloud.mydomain.com python[16207]:              ^^^^^^^^^^^^^^^^^^^
Nov 11 20:26:42 cloud.mydomain.com python[16207]:   File "/opt/yunohost/matrix-synapse/lib/python3.11/site-packages/twisted/python/threadpool.py", line 285, in <lambda>
Nov 11 20:26:42 cloud.mydomain.com python[16207]:     inContext.theWork = lambda: context.call(  # type: ignore[attr-defined]
Nov 11 20:26:42 cloud.mydomain.com python[16207]:                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 11 20:26:42 cloud.mydomain.com python[16207]:   File "/opt/yunohost/matrix-synapse/lib/python3.11/site-packages/twisted/python/context.py", line 117, in callWithContext
Nov 11 20:26:42 cloud.mydomain.com python[16207]:     return self.currentContext().callWithContext(ctx, func, *args, **kw)
Nov 11 20:26:42 cloud.mydomain.com python[16207]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 11 20:26:42 cloud.mydomain.com python[16207]:   File "/opt/yunohost/matrix-synapse/lib/python3.11/site-packages/twisted/python/context.py", line 82, in callWithContext
Nov 11 20:26:42 cloud.mydomain.com python[16207]:     return func(*args, **kw)
Nov 11 20:26:42 cloud.mydomain.com python[16207]:            ^^^^^^^^^^^^^^^^^
Nov 11 20:26:42 cloud.mydomain.com python[16207]:   File "/opt/yunohost/matrix-synapse/lib/python3.11/site-packages/twisted/enterprise/adbapi.py", line 282, in _runWithConnection
Nov 11 20:26:42 cloud.mydomain.com python[16207]:     result = func(conn, *args, **kw)
Nov 11 20:26:42 cloud.mydomain.com python[16207]:              ^^^^^^^^^^^^^^^^^^^^^^^
Nov 11 20:26:42 cloud.mydomain.com python[16207]:   File "/opt/yunohost/matrix-synapse/lib/python3.11/site-packages/synapse/storage/database.py", line 1043, in inner_func
Nov 11 20:26:42 cloud.mydomain.com python[16207]:     self.engine.attempt_to_set_autocommit(conn, False)
Nov 11 20:26:42 cloud.mydomain.com python[16207]:   File "/opt/yunohost/matrix-synapse/lib/python3.11/site-packages/synapse/storage/engines/postgres.py", line 239, in attempt_to_set_autocommit
Nov 11 20:26:42 cloud.mydomain.com python[16207]:     return conn.set_session(autocommit=autocommit)
Nov 11 20:26:42 cloud.mydomain.com python[16207]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 11 20:26:42 cloud.mydomain.com python[16207]: psycopg2.InterfaceError: connection already closed
Nov 11 20:26:45 cloud.mydomain.com python[16207]: 2024-11-11 20:26:45,850 - synapse.storage.txn - 787 - WARNING - GET-550- [TXN OPERROR] {_get_state_groups_from_groups-5a0} SSL SYSCALL error: EOF detected
Nov 11 20:26:45 cloud.mydomain.com python[16207]:  0/5
Nov 11 20:26:45 cloud.mydomain.com python[16207]: 2024-11-11 20:26:45,852 - twisted - 279 - CRITICAL - GET-550- Rollback failed
Nov 11 20:26:45 cloud.mydomain.com python[16207]: Traceback (most recent call last):
Nov 11 20:26:45 cloud.mydomain.com python[16207]:   File "/opt/yunohost/matrix-synapse/lib/python3.11/site-packages/twisted/enterprise/adbapi.py", line 282, in _runWithConnection
Nov 11 20:26:45 cloud.mydomain.com python[16207]:     result = func(conn, *args, **kw)
Nov 11 20:26:45 cloud.mydomain.com python[16207]:   File "/opt/yunohost/matrix-synapse/lib/python3.11/site-packages/synapse/storage/database.py", line 1040, in inner_func
Nov 11 20:26:45 cloud.mydomain.com python[16207]:     return func(db_conn, *args, **kwargs)
Nov 11 20:26:45 cloud.mydomain.com python[16207]:   File "/opt/yunohost/matrix-synapse/lib/python3.11/site-packages/synapse/storage/database.py", line 798, in new_transaction
Nov 11 20:26:45 cloud.mydomain.com python[16207]:     conn.rollback()
Nov 11 20:26:45 cloud.mydomain.com python[16207]:   File "/opt/yunohost/matrix-synapse/lib/python3.11/site-packages/synapse/storage/database.py", line 213, in rollback
Nov 11 20:26:45 cloud.mydomain.com python[16207]:     self.conn.rollback()
Nov 11 20:26:45 cloud.mydomain.com python[16207]: --- <exception caught here> ---
Nov 11 20:26:45 cloud.mydomain.com python[16207]:   File "/opt/yunohost/matrix-synapse/lib/python3.11/site-packages/twisted/enterprise/adbapi.py", line 52, in rollback
Nov 11 20:26:45 cloud.mydomain.com python[16207]:     self._connection.rollback()
Nov 11 20:26:45 cloud.mydomain.com python[16207]: psycopg2.InterfaceError: connection already closed
Nov 11 20:26:45 cloud.mydomain.com python[16207]: 2024-11-11 20:26:45,866 - twisted - 279 - CRITICAL - sentinel- Rollback failed
Nov 11 20:26:45 cloud.mydomain.com python[16207]: Traceback (most recent call last):
Nov 11 20:26:45 cloud.mydomain.com python[16207]:   File "/opt/yunohost/matrix-synapse/lib/python3.11/site-packages/twisted/python/threadpool.py", line 285, in <lambda>
Nov 11 20:26:45 cloud.mydomain.com python[16207]:     inContext.theWork = lambda: context.call(  # type: ignore[attr-defined]
Nov 11 20:26:45 cloud.mydomain.com python[16207]:   File "/opt/yunohost/matrix-synapse/lib/python3.11/site-packages/twisted/python/context.py", line 117, in callWithContext
Nov 11 20:26:45 cloud.mydomain.com python[16207]:     return self.currentContext().callWithContext(ctx, func, *args, **kw)
Nov 11 20:26:45 cloud.mydomain.com python[16207]:   File "/opt/yunohost/matrix-synapse/lib/python3.11/site-packages/twisted/python/context.py", line 82, in callWithContext
Nov 11 20:26:45 cloud.mydomain.com python[16207]:     return func(*args, **kw)
Nov 11 20:26:45 cloud.mydomain.com python[16207]:   File "/opt/yunohost/matrix-synapse/lib/python3.11/site-packages/twisted/enterprise/adbapi.py", line 287, in _runWithConnection
Nov 11 20:26:45 cloud.mydomain.com python[16207]:     conn.rollback()
Nov 11 20:26:45 cloud.mydomain.com python[16207]: --- <exception caught here> ---
Nov 11 20:26:45 cloud.mydomain.com python[16207]:   File "/opt/yunohost/matrix-synapse/lib/python3.11/site-packages/twisted/enterprise/adbapi.py", line 52, in rollback
Nov 11 20:26:45 cloud.mydomain.com python[16207]:     self._connection.rollback()
Nov 11 20:26:45 cloud.mydomain.com python[16207]: psycopg2.InterfaceError: connection already closed
Nov 11 20:26:45 cloud.mydomain.com python[16207]: 2024-11-11 20:26:45,868 - twisted - 279 - CRITICAL - sentinel- Rollback failed
Nov 11 20:26:45 cloud.mydomain.com python[16207]: Traceback (most recent call last):
Nov 11 20:26:45 cloud.mydomain.com python[16207]:   File "/opt/yunohost/matrix-synapse/lib/python3.11/site-packages/twisted/python/threadpool.py", line 269, in inContext
Nov 11 20:26:45 cloud.mydomain.com python[16207]:     result = inContext.theWork()  # type: ignore[attr-defined]
Nov 11 20:26:45 cloud.mydomain.com python[16207]:   File "/opt/yunohost/matrix-synapse/lib/python3.11/site-packages/twisted/python/threadpool.py", line 285, in <lambda>
Nov 11 20:26:45 cloud.mydomain.com python[16207]:     inContext.theWork = lambda: context.call(  # type: ignore[attr-defined]
Nov 11 20:26:45 cloud.mydomain.com python[16207]:   File "/opt/yunohost/matrix-synapse/lib/python3.11/site-packages/twisted/python/context.py", line 117, in callWithContext
Nov 11 20:26:45 cloud.mydomain.com python[16207]:     return self.currentContext().callWithContext(ctx, func, *args, **kw)
Nov 11 20:26:45 cloud.mydomain.com python[16207]:   File "/opt/yunohost/matrix-synapse/lib/python3.11/site-packages/twisted/python/context.py", line 82, in callWithContext
Nov 11 20:26:45 cloud.mydomain.com python[16207]:     return func(*args, **kw)
Nov 11 20:26:45 cloud.mydomain.com python[16207]: --- <exception caught here> ---
Nov 11 20:26:45 cloud.mydomain.com python[16207]:   File "/opt/yunohost/matrix-synapse/lib/python3.11/site-packages/twisted/enterprise/adbapi.py", line 287, in _runWithConnection
Nov 11 20:26:45 cloud.mydomain.com python[16207]:     conn.rollback()
Nov 11 20:26:45 cloud.mydomain.com python[16207]:   File "/opt/yunohost/matrix-synapse/lib/python3.11/site-packages/twisted/enterprise/adbapi.py", line 61, in rollback
Nov 11 20:26:45 cloud.mydomain.com python[16207]:     self._pool.disconnect(self._connection)
Nov 11 20:26:45 cloud.mydomain.com python[16207]:   File "/opt/yunohost/matrix-synapse/lib/python3.11/site-packages/twisted/enterprise/adbapi.py", line 426, in disconnect
Nov 11 20:26:45 cloud.mydomain.com python[16207]:     raise Exception("wrong connection for thread")
Nov 11 20:26:45 cloud.mydomain.com python[16207]: builtins.Exception: wrong connection for thread
Nov 11 20:26:45 cloud.mydomain.com python[16207]: 2024-11-11 20:26:45,876 - synapse.http.server - 146 - ERROR - GET-550- Failed handle request via 'RoomMessageListRestServlet': <XForwardedForRequest at 0x7f841c41d0 method='GET' uri='/_matrix/client/v3/rooms/!eEYxvziMhmLgaKQoLe%3Amatrix.mydomain.com/messages?limit=100&dir=b&from=s179583_2713741_36_401190_161738_516577_147910_66141_0_25&filter=%7B%22lazy_load_members%22%3Atrue%7D' clientproto='HTTP/1.0' site='8008'>
Nov 11 20:26:45 cloud.mydomain.com python[16207]: Traceback (most recent call last):
Nov 11 20:26:45 cloud.mydomain.com python[16207]:   File "/opt/yunohost/matrix-synapse/lib/python3.11/site-packages/synapse/storage/database.py", line 780, in new_transaction
Nov 11 20:26:45 cloud.mydomain.com python[16207]:     r = func(cursor, *args, **kwargs)
Nov 11 20:26:45 cloud.mydomain.com python[16207]:         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 11 20:26:45 cloud.mydomain.com python[16207]:   File "/opt/yunohost/matrix-synapse/lib/python3.11/site-packages/synapse/storage/databases/state/bg_updates.py", line 214, in _get_state_groups_from_groups_txn
Nov 11 20:26:45 cloud.mydomain.com python[16207]:     txn.execute(sql % (overall_select_clause,), args)
Nov 11 20:26:45 cloud.mydomain.com python[16207]:   File "/opt/yunohost/matrix-synapse/lib/python3.11/site-packages/synapse/storage/database.py", line 426, in execute
Nov 11 20:26:45 cloud.mydomain.com python[16207]:     self._do_execute(self.txn.execute, sql, parameters)
Nov 11 20:26:45 cloud.mydomain.com python[16207]:   File "/opt/yunohost/matrix-synapse/lib/python3.11/site-packages/synapse/storage/database.py", line 488, in _do_execute
Nov 11 20:26:45 cloud.mydomain.com python[16207]:     return func(sql, *args, **kwargs)
Nov 11 20:26:45 cloud.mydomain.com python[16207]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 11 20:26:45 cloud.mydomain.com python[16207]: psycopg2.OperationalError: SSL SYSCALL error: EOF detected
Nov 11 20:26:45 cloud.mydomain.com python[16207]: During handling of the above exception, another exception occurred:
Nov 11 20:26:45 cloud.mydomain.com python[16207]: Traceback (most recent call last):
Nov 11 20:26:45 cloud.mydomain.com python[16207]:   File "/opt/yunohost/matrix-synapse/lib/python3.11/site-packages/synapse/http/server.py", line 332, in _async_render_wrapper
Nov 11 20:26:45 cloud.mydomain.com python[16207]:     callback_return = await self._async_render(request)
Nov 11 20:26:45 cloud.mydomain.com python[16207]:                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 11 20:26:45 cloud.mydomain.com python[16207]:   File "/opt/yunohost/matrix-synapse/lib/python3.11/site-packages/synapse/http/server.py", line 544, in _async_render
Nov 11 20:26:45 cloud.mydomain.com python[16207]:     callback_return = await raw_callback_return
Nov 11 20:26:45 cloud.mydomain.com python[16207]:                       ^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 11 20:26:45 cloud.mydomain.com python[16207]:   File "/opt/yunohost/matrix-synapse/lib/python3.11/site-packages/synapse/rest/client/room.py", line 808, in on_GET
Nov 11 20:26:45 cloud.mydomain.com python[16207]:     msgs = await self.pagination_handler.get_messages(
Nov 11 20:26:45 cloud.mydomain.com python[16207]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 11 20:26:45 cloud.mydomain.com python[16207]:   File "/opt/yunohost/matrix-synapse/lib/python3.11/site-packages/synapse/handlers/pagination.py", line 629, in get_messages
Nov 11 20:26:45 cloud.mydomain.com python[16207]:     events = await filter_events_for_client(
Nov 11 20:26:45 cloud.mydomain.com python[16207]:              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 11 20:26:45 cloud.mydomain.com python[16207]:   File "/opt/yunohost/matrix-synapse/lib/python3.11/site-packages/synapse/visibility.py", line 123, in filter_events_for_client
Nov 11 20:26:45 cloud.mydomain.com python[16207]:     event_id_to_state = await storage.state.get_state_for_events(
Nov 11 20:26:45 cloud.mydomain.com python[16207]:                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 11 20:26:45 cloud.mydomain.com python[16207]:   File "/opt/yunohost/matrix-synapse/lib/python3.11/site-packages/synapse/storage/controllers/state.py", line 246, in get_state_for_events
Nov 11 20:26:45 cloud.mydomain.com python[16207]:     group_to_state = await self.stores.state._get_state_for_groups(
Nov 11 20:26:45 cloud.mydomain.com python[16207]:                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 11 20:26:45 cloud.mydomain.com python[16207]:   File "/opt/yunohost/matrix-synapse/lib/python3.11/site-packages/synapse/storage/databases/state/store.py", line 317, in _get_state_for_groups
Nov 11 20:26:45 cloud.mydomain.com python[16207]:     group_to_state_dict = await self._get_state_groups_from_groups(
Nov 11 20:26:45 cloud.mydomain.com python[16207]:                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 11 20:26:45 cloud.mydomain.com python[16207]:   File "/opt/yunohost/matrix-synapse/lib/python3.11/site-packages/synapse/storage/databases/state/store.py", line 206, in _get_state_groups_from_groups
Nov 11 20:26:45 cloud.mydomain.com python[16207]:     res = await self.db_pool.runInteraction(
Nov 11 20:26:45 cloud.mydomain.com python[16207]:           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 11 20:26:45 cloud.mydomain.com python[16207]:   File "/opt/yunohost/matrix-synapse/lib/python3.11/site-packages/synapse/storage/database.py", line 952, in runInteraction
Nov 11 20:26:45 cloud.mydomain.com python[16207]:     return await delay_cancellation(_runInteraction())
Nov 11 20:26:45 cloud.mydomain.com python[16207]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 11 20:26:45 cloud.mydomain.com python[16207]:   File "/opt/yunohost/matrix-synapse/lib/python3.11/site-packages/twisted/internet/defer.py", line 2010, in _inlineCallbacks
Nov 11 20:26:45 cloud.mydomain.com python[16207]:     result = context.run(
Nov 11 20:26:45 cloud.mydomain.com python[16207]:              ^^^^^^^^^^^^
Nov 11 20:26:45 cloud.mydomain.com python[16207]:   File "/opt/yunohost/matrix-synapse/lib/python3.11/site-packages/twisted/python/failure.py", line 549, in throwExceptionIntoGenerator
Nov 11 20:26:45 cloud.mydomain.com python[16207]:     return g.throw(self.value.with_traceback(self.tb))
Nov 11 20:26:45 cloud.mydomain.com python[16207]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 11 20:26:45 cloud.mydomain.com python[16207]:   File "/opt/yunohost/matrix-synapse/lib/python3.11/site-packages/synapse/storage/database.py", line 918, in _runInteraction
Nov 11 20:26:45 cloud.mydomain.com python[16207]:     result: R = await self.runWithConnection(
Nov 11 20:26:45 cloud.mydomain.com python[16207]:                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 11 20:26:45 cloud.mydomain.com python[16207]:   File "/opt/yunohost/matrix-synapse/lib/python3.11/site-packages/synapse/storage/database.py", line 1047, in runWithConnection
Nov 11 20:26:45 cloud.mydomain.com python[16207]:     return await make_deferred_yieldable(
Nov 11 20:26:45 cloud.mydomain.com python[16207]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 11 20:26:45 cloud.mydomain.com python[16207]:   File "/opt/yunohost/matrix-synapse/lib/python3.11/site-packages/twisted/python/threadpool.py", line 269, in inContext
Nov 11 20:26:45 cloud.mydomain.com python[16207]:     result = inContext.theWork()  # type: ignore[attr-defined]
Nov 11 20:26:45 cloud.mydomain.com python[16207]:              ^^^^^^^^^^^^^^^^^^^
Nov 11 20:26:45 cloud.mydomain.com python[16207]:   File "/opt/yunohost/matrix-synapse/lib/python3.11/site-packages/twisted/python/threadpool.py", line 285, in <lambda>
Nov 11 20:26:45 cloud.mydomain.com python[16207]:     inContext.theWork = lambda: context.call(  # type: ignore[attr-defined]
Nov 11 20:26:45 cloud.mydomain.com python[16207]:                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 11 20:26:45 cloud.mydomain.com python[16207]:   File "/opt/yunohost/matrix-synapse/lib/python3.11/site-packages/twisted/python/context.py", line 117, in callWithContext
Nov 11 20:26:45 cloud.mydomain.com python[16207]:     return self.currentContext().callWithContext(ctx, func, *args, **kw)
Nov 11 20:26:45 cloud.mydomain.com python[16207]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 11 20:26:45 cloud.mydomain.com python[16207]:   File "/opt/yunohost/matrix-synapse/lib/python3.11/site-packages/twisted/python/context.py", line 82, in callWithContext
Nov 11 20:26:45 cloud.mydomain.com python[16207]:     return func(*args, **kw)
Nov 11 20:26:45 cloud.mydomain.com python[16207]:            ^^^^^^^^^^^^^^^^^
Nov 11 20:26:45 cloud.mydomain.com python[16207]:   File "/opt/yunohost/matrix-synapse/lib/python3.11/site-packages/twisted/enterprise/adbapi.py", line 282, in _runWithConnection
Nov 11 20:26:45 cloud.mydomain.com python[16207]:     result = func(conn, *args, **kw)
Nov 11 20:26:45 cloud.mydomain.com python[16207]:              ^^^^^^^^^^^^^^^^^^^^^^^
Nov 11 20:26:45 cloud.mydomain.com python[16207]:   File "/opt/yunohost/matrix-synapse/lib/python3.11/site-packages/synapse/storage/database.py", line 1040, in inner_func
Nov 11 20:26:45 cloud.mydomain.com python[16207]:     return func(db_conn, *args, **kwargs)
Nov 11 20:26:45 cloud.mydomain.com python[16207]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 11 20:26:45 cloud.mydomain.com python[16207]:   File "/opt/yunohost/matrix-synapse/lib/python3.11/site-packages/synapse/storage/database.py", line 798, in new_transaction
Nov 11 20:26:45 cloud.mydomain.com python[16207]:     conn.rollback()
Nov 11 20:26:45 cloud.mydomain.com python[16207]:   File "/opt/yunohost/matrix-synapse/lib/python3.11/site-packages/synapse/storage/database.py", line 213, in rollback
Nov 11 20:26:45 cloud.mydomain.com python[16207]:     self.conn.rollback()
Nov 11 20:26:45 cloud.mydomain.com python[16207]:   File "/opt/yunohost/matrix-synapse/lib/python3.11/site-packages/twisted/enterprise/adbapi.py", line 66, in rollback
Nov 11 20:26:45 cloud.mydomain.com python[16207]:     raise ConnectionLost()
Nov 11 20:26:45 cloud.mydomain.com python[16207]: twisted.enterprise.adbapi.ConnectionLost

Update: I have tried without great hope to delete and restore Synapse aaaand it kind of worked!

The messages I send to my matrix.org account are not rejected anymore and my server got the messages sent during the down times in rooms concerned (all from matrix.org instance)

Not everything seems resolved though: The messages I sent from my matrix.org account to my instance during the down time were not recovered and I don’t recieve new messages.

Here is my logs (that look far more normal than the other day)

I think the great number of rotating notifications (and it doesn’t seem to decrease) is not good?

2024-11-14 08:52:17,866 - synapse.storage.databases.main.event_push_actions - 1599 - INFO - rotate_notifs-1084- Rotating notifications up to: 188034

thanks for the help.

homerserver.log
2024-11-14 08:50:48,861 - synapse.handlers.presence - 914 - INFO - persist_presence_changes-539- Persisting 1 unpersisted presence updates
2024-11-14 08:50:49,032 - synapse.util.caches.lrucache - 218 - INFO - LruCache._expire_old_entries-1081- Dropped 0 items from caches
2024-11-14 08:51:02,738 - synapse.access.http.8008 - 473 - INFO - GET-1925- 37.97.106.xx - 8008 - {@krcr:matrix.mydomain.com} Processed request: 30.017sec/0.002sec (0.014sec, 0.000sec) (0.000sec/0.000sec/0) 412B 200 "GET /_matrix/client/v3/sync?filter=8&timeout=30000&set_presence=unavailable&since=s188034_2852049_40_420563_175960_516578_149429_66317_0_28 HTTP/1.0" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Element/1.11.85 Chrome/128.0.6613.36 Electron/32.0.1 Safari/537.36" [0 dbevts]
2024-11-14 08:51:11,808 - synapse.http.site - 385 - INFO - GET-1927- Connection from client lost before response was sent
2024-11-14 08:51:12,408 - synapse.access.http.8008 - 473 - INFO - GET-1928- 37.97.106.xx - 8008 - {@krcr:matrix.mydomain.com} Processed request: 0.017sec/-0.000sec (0.006sec, 0.003sec) (0.002sec/0.005sec/2) 1828B 200 "GET /_matrix/client/v1/media/thumbnail/matrix.org/fZIAgrlgYQSCIwusJmyEbadz?width=36&height=36&method=crop&allow_redirect=true HTTP/1.0" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Element/1.11.85 Chrome/128.0.6613.36 Electron/32.0.1 Safari/537.36" [0 dbevts]
2024-11-14 08:51:14,197 - synapse.access.http.8008 - 473 - INFO - GET-1929- 37.97.106.xx - 8008 - {None} Processed request: 0.001sec/0.002sec (0.004sec, 0.000sec) (0.000sec/0.000sec/0) 1062B 200 "GET /_matrix/client/versions HTTP/1.0" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Element/1.11.85 Chrome/128.0.6613.36 Electron/32.0.1 Safari/537.36" [0 dbevts]
2024-11-14 08:51:14,502 - synapse.access.http.8008 - 473 - INFO - GET-1931- 37.97.106.xx - 8008 - {@krcr:matrix.mydomain.com} Processed request: 0.013sec/0.002sec (0.013sec, 0.000sec) (0.000sec/0.000sec/0) 261B 200 "GET /_matrix/client/v3/sync?filter=8&timeout=0&set_presence=unavailable&since=s188034_2852050_40_420563_175960_516578_149429_66317_0_28 HTTP/1.0" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Element/1.11.85 Chrome/128.0.6613.36 Electron/32.0.1 Safari/537.36" [0 dbevts]
2024-11-14 08:51:14,698 - synapse.util.caches.response_cache - 275 - INFO - GET-1933- [sync]: using incomplete cached result for [(@krcr:matrix.mydomain.com, 30000, 's188034_2852050_40_420563_175960_516578_149429_66317_0_28', '8', False, 'UWIZFHREAW', None)]
2024-11-14 08:51:17,857 - synapse.storage.databases.main.event_push_actions - 1396 - INFO - rotate_notifs-1082- Rotating notifications
2024-11-14 08:51:17,867 - synapse.storage.databases.main.event_push_actions - 1599 - INFO - rotate_notifs-1082- Rotating notifications up to: 188034
2024-11-14 08:51:17,886 - synapse.storage.databases.main.event_push_actions - 1685 - INFO - rotate_notifs-1082- Rotating notifications, handling 0 rows
2024-11-14 08:51:17,915 - synapse.storage.databases.main.event_push_actions - 1770 - INFO - rotate_notifs-1082- Rotating notifications, deleted 0 push actions
2024-11-14 08:51:19,032 - synapse.util.caches.lrucache - 218 - INFO - LruCache._expire_old_entries-1082- Dropped 0 items from caches
2024-11-14 08:51:32,980 - synapse.rest.client.sync - 254 - INFO - GET-1927- Client has disconnected; not serializing response.
2024-11-14 08:51:32,981 - synapse.http.server - 782 - WARNING - GET-1927- Not sending response to request <XForwardedForRequest at 0x7f7c261dd0 method='GET' uri='/_matrix/client/v3/sync?filter=8&timeout=30000&set_presence=unavailable&since=s188034_2852050_40_420563_175960_516578_149429_66317_0_28' clientproto='HTTP/1.0' site='8008'>, already disconnected.
2024-11-14 08:51:32,983 - synapse.access.http.8008 - 473 - INFO - GET-1927- 37.97.106.xx - 8008 - {@krcr:matrix.mydomain.com} Processed request: 30.011sec/-21.174sec (0.019sec, 0.000sec) (0.000sec/0.000sec/0) 0B 200! "GET /_matrix/client/v3/sync?filter=8&timeout=30000&set_presence=unavailable&since=s188034_2852050_40_420563_175960_516578_149429_66317_0_28 HTTP/1.0" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Element/1.11.85 Chrome/128.0.6613.36 Electron/32.0.1 Safari/537.36" [0 dbevts]
2024-11-14 08:51:32,991 - synapse.access.http.8008 - 473 - INFO - GET-1933- 37.97.106.xx - 8008 - {@krcr:matrix.mydomain.com} Processed request: 18.293sec/0.004sec (0.008sec, 0.000sec) (0.000sec/0.000sec/0) 261B 200 "GET /_matrix/client/v3/sync?filter=8&timeout=30000&set_presence=unavailable&since=s188034_2852050_40_420563_175960_516578_149429_66317_0_28 HTTP/1.0" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Element/1.11.85 Chrome/128.0.6613.36 Electron/32.0.1 Safari/537.36" [0 dbevts]
2024-11-14 08:51:33,112 - synapse.federation.sender.transaction_manager - 127 - INFO - federation_transaction_transmission_loop-619- TX [matrix.org] {1731541788903} Sending transaction [1731541788903], (PDUs: 0, EDUs: 1)
2024-11-14 08:51:33,130 - synapse.access.http.8008 - 473 - INFO - GET-1935- 37.97.106.xx - 8008 - {@krcr:matrix.mydomain.com} Processed request: 0.070sec/0.003sec (0.029sec, 0.003sec) (0.003sec/0.026sec/3) 426B 200 "GET /_matrix/client/v3/sync?filter=8&timeout=30000&set_presence=online&since=s188034_2852050_40_420563_175960_516578_149429_66317_0_28 HTTP/1.0" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Element/1.11.85 Chrome/128.0.6613.36 Electron/32.0.1 Safari/537.36" [0 dbevts]
2024-11-14 08:51:33,226 - synapse.http.matrixfederationclient - 364 - INFO - federation_transaction_transmission_loop-619- {PUT-O-94} [matrix.org] Completed request: 200 OK in 0.11 secs, got 11 bytes - PUT matrix-federation://matrix.org/_matrix/federation/v1/send/1731541788903
2024-11-14 08:51:33,227 - synapse.federation.sender.transaction_manager - 180 - INFO - federation_transaction_transmission_loop-619- TX [matrix.org] {1731541788903} got 200 response
2024-11-14 08:51:47,851 - synapse.storage.databases.main.event_push_actions - 1396 - INFO - rotate_notifs-1083- Rotating notifications
2024-11-14 08:51:47,860 - synapse.storage.databases.main.event_push_actions - 1599 - INFO - rotate_notifs-1083- Rotating notifications up to: 188034
2024-11-14 08:51:47,872 - synapse.storage.databases.main.event_push_actions - 1685 - INFO - rotate_notifs-1083- Rotating notifications, handling 0 rows
2024-11-14 08:51:47,891 - synapse.storage.databases.main.event_push_actions - 1770 - INFO - rotate_notifs-1083- Rotating notifications, deleted 0 push actions
2024-11-14 08:51:48,844 - synapse.federation.sender - 1019 - INFO - wake_destinations_needing_catchup-542- Destination matrix.mygaia.org has outstanding catch-up, waking up.
2024-11-14 08:51:48,854 - synapse.handlers.presence - 914 - INFO - persist_presence_changes-540- Persisting 1 unpersisted presence updates
2024-11-14 08:51:48,964 - synapse.metrics._gc - 127 - INFO - sentinel- Collecting gc 1
2024-11-14 08:51:49,031 - synapse.util.caches.lrucache - 218 - INFO - LruCache._expire_old_entries-1083- Dropped 0 items from caches
2024-11-14 08:52:03,222 - synapse.access.http.8008 - 473 - INFO - GET-1937- 37.97.106.xx - 8008 - {@krcr:matrix.mydomain.com} Processed request: 30.012sec/0.002sec (0.009sec, 0.001sec) (0.000sec/0.000sec/0) 429B 200 "GET /_matrix/client/v3/sync?filter=8&timeout=30000&set_presence=online&since=s188034_2852051_40_420563_175960_516578_149429_66317_0_28 HTTP/1.0" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Element/1.11.85 Chrome/128.0.6613.36 Electron/32.0.1 Safari/537.36" [0 dbevts]
2024-11-14 08:52:17,856 - synapse.storage.databases.main.event_push_actions - 1396 - INFO - rotate_notifs-1084- Rotating notifications
2024-11-14 08:52:17,866 - synapse.storage.databases.main.event_push_actions - 1599 - INFO - rotate_notifs-1084- Rotating notifications up to: 188034
2024-11-14 08:52:17,885 - synapse.storage.databases.main.event_push_actions - 1685 - INFO - rotate_notifs-1084- Rotating notifications, handling 0 rows
2024-11-14 08:52:17,911 - synapse.storage.databases.main.event_push_actions - 1770 - INFO - rotate_notifs-1084- Rotating notifications, deleted 0 push actions
2024-11-14 08:52:19,039 - synapse.util.caches.lrucache - 218 - INFO - LruCache._expire_old_entries-1084- Dropped 57 items from caches
2024-11-14 08:52:33,295 - synapse.access.http.8008 - 473 - INFO - GET-1939- 37.97.106.xx - 8008 - {@krcr:matrix.mydomain.com} Processed request: 30.008sec/0.003sec (0.010sec, 0.000sec) (0.000sec/0.000sec/0) 261B 200 "GET /_matrix/client/v3/sync?filter=8&timeout=30000&set_presence=online&since=s188034_2852052_40_420563_175960_516578_149429_66317_0_28 HTTP/1.0" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Element/1.11.85 Chrome/128.0.6613.36 Electron/32.0.1 Safari/537.36" [0 dbevts]
2024-11-14 08:52:47,856 - synapse.storage.databases.main.event_push_actions - 1396 - INFO - rotate_notifs-1085- Rotating notifications
2024-11-14 08:52:47,866 - synapse.storage.databases.main.event_push_actions - 1599 - INFO - rotate_notifs-1085- Rotating notifications up to: 188034
2024-11-14 08:52:47,886 - synapse.storage.databases.main.event_push_actions - 1685 - INFO - rotate_notifs-1085- Rotating notifications, handling 0 rows
2024-11-14 08:52:47,914 - synapse.storage.databases.main.event_push_actions - 1770 - INFO - rotate_notifs-1085- Rotating notifications, deleted 0 push actions
2024-11-14 08:52:48,854 - synapse.federation.sender - 1019 - INFO - wake_destinations_needing_catchup-543- Destination matrix.mygaia.org has outstanding catch-up, waking up.
2024-11-14 08:52:48,860 - synapse.handlers.presence - 914 - INFO - persist_presence_changes-541- Persisting 1 unpersisted presence updates
2024-11-14 08:52:49,067 - synapse.util.caches.lrucache - 218 - INFO - LruCache._expire_old_entries-1085- Dropped 378 items from caches
2024-11-14 08:53:03,389 - synapse.access.http.8008 - 473 - INFO - GET-1941- 37.97.106.xx - 8008 - {@krcr:matrix.mydomain.com} Processed request: 30.010sec/0.002sec (0.013sec, 0.001sec) (0.000sec/0.000sec/0) 261B 200 "GET /_matrix/client/v3/sync?filter=8&timeout=30000&set_presence=online&since=s188034_2852052_40_420563_175960_516578_149429_66317_0_28 HTTP/1.0" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Element/1.11.85 Chrome/128.0.6613.36 Electron/32.0.1 Safari/537.36" [0 dbevts]
2024-11-14 08:53:03,801 - synapse.access.http.8008 - 473 - INFO - GET-1943- 37.97.106.xx - 8008 - {@krcr:matrix.mydomain.com} Processed request: 0.015sec/0.002sec (0.014sec, 0.000sec) (0.000sec/0.000sec/0) 426B 200 "GET /_matrix/client/v3/sync?filter=8&timeout=30000&set_presence=online&since=s188034_2852052_40_420563_175960_516578_149429_66317_0_28 HTTP/1.0" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Element/1.11.85 Chrome/128.0.6613.36 Electron/32.0.1 Safari/537.36" [0 dbevts]
2024-11-14 08:53:17,872 - synapse.storage.databases.main.event_push_actions - 1396 - INFO - rotate_notifs-1086- Rotating notifications
2024-11-14 08:53:17,879 - synapse.storage.databases.main.event_push_actions - 1599 - INFO - rotate_notifs-1086- Rotating notifications up to: 188034
2024-11-14 08:53:17,890 - synapse.storage.databases.main.event_push_actions - 1685 - INFO - rotate_notifs-1086- Rotating notifications, handling 0 rows
2024-11-14 08:53:17,927 - synapse.storage.databases.main.event_push_actions - 1770 - INFO - rotate_notifs-1086- Rotating notifications, deleted 0 push actions
2024-11-14 08:53:19,053 - synapse.util.caches.lrucache - 218 - INFO - LruCache._expire_old_entries-1086- Dropped 466 items from caches
journalctl.log


LOGFILE: journalctl
Nov 13 23:59:43 python[24444]: 2024-11-13 23:59:43,858 - synapse.streams.events - 147 - ERROR - POST-370- Bounding token from the future 'StreamKeyType.RECEIPT': token: MultiWriterStreamToken(stream: 420782, instances: {}), bound: 420529
Nov 13 23:59:43 python[24444]: 2024-11-13 23:59:43,867 - synapse.streams.events - 164 - ERROR - POST-370- Bounding token from the future 'StreamKeyType.ACCOUNT_DATA': token: 176079, bound: 175904
Nov 13 23:59:48 python[24444]: 2024-11-13 23:59:48,322 - synapse.media.url_previewer - 489 - WARNING - GET-379- Error downloading https://nitter.net/RockstarGames/status/1730587560726892883: ConnectError('No route to host')
Nov 14 00:00:15 python[24444]: 2024-11-14 00:00:15,062 - synapse.http.server - 782 - WARNING - POST-376- Not sending response to request <XForwardedForRequest at 0x7f5c3e8250 method='POST' uri='/_matrix/client/unstable/org.matrix.simplified_msc3575/sync?pos=0%2Fs188021_2851981_2_420530_175905_516578_149401_66314_0_28&timeout=30000' clientproto='HTTP/1.0' site='8008'>, already disconnected.
Nov 14 00:00:15 python[24444]: 2024-11-14 00:00:15,142 - synapse.http.server - 782 - WARNING - POST-377- Not sending response to request <XForwardedForRequest at 0x7f5c2b3850 method='POST' uri='/_matrix/client/unstable/org.matrix.simplified_msc3575/sync?pos=3046%2Fs188021_2851981_2_420530_175905_516578_149401_66314_0_28&timeout=30000' clientproto='HTTP/1.0' site='8008'>, already disconnected.
Nov 14 00:08:59 python[24444]: 2024-11-14 00:08:59,869 - synapse.http.server - 782 - WARNING - POST-462- Not sending response to request <XForwardedForRequest at 0x7f5c4d54d0 method='POST' uri='/_matrix/client/unstable/org.matrix.simplified_msc3575/sync?pos=0%2Fs188021_2851989_2_420532_175913_516578_149415_66314_0_28&timeout=30000' clientproto='HTTP/1.0' site='8008'>, already disconnected.
Nov 14 00:08:59 python[24444]: 2024-11-14 00:08:59,892 - synapse.http.server - 782 - WARNING - POST-463- Not sending response to request <XForwardedForRequest at 0x7f5c22f6d0 method='POST' uri='/_matrix/client/unstable/org.matrix.simplified_msc3575/sync?pos=3046%2Fs188021_2851989_2_420532_175913_516578_149415_66314_0_28&timeout=30000' clientproto='HTTP/1.0' site='8008'>, already disconnected.
Nov 14 00:13:07 python[24444]: 2024-11-14 00:13:07,935 - synapse.http.server - 782 - WARNING - GET-604- Not sending response to request <XForwardedForRequest at 0x7f5c589c10 method='GET' uri='/_matrix/client/r0/sync?filter=0&set_presence=online&since=s188021_2851995_2_420537_175923_516578_149415_66314_0_28&timeout=30000' clientproto='HTTP/1.0' site='8008'>, already disconnected.
Nov 14 00:15:54 python[24444]: 2024-11-14 00:15:54,710 - synapse.http.server - 782 - WARNING - GET-670- Not sending response to request <XForwardedForRequest at 0x7f5c2b6710 method='GET' uri='/_matrix/client/r0/sync?filter=0&set_presence=online&since=s188023_2852007_6_420537_175929_516578_149415_66314_0_28&timeout=30000' clientproto='HTTP/1.0' site='8008'>, already disconnected.
Nov 14 00:21:17 python[24444]: 2024-11-14 00:21:17,442 - synapse.http.server - 782 - WARNING - POST-676- Not sending response to request <XForwardedForRequest at 0x7f38828910 method='POST' uri='/_matrix/client/unstable/org.matrix.simplified_msc3575/sync?pos=0%2Fs188023_2852008_6_420537_175929_516578_149415_66314_0_28&timeout=30000' clientproto='HTTP/1.0' site='8008'>, already disconnected.
Nov 14 00:21:18 python[24444]: 2024-11-14 00:21:18,785 - synapse.http.server - 782 - WARNING - POST-678- Not sending response to request <XForwardedForRequest at 0x7f5c2ac410 method='POST' uri='/_matrix/client/unstable/org.matrix.simplified_msc3575/sync?pos=3046%2Fs188023_2852008_6_420537_175929_516578_149415_66314_0_28&timeout=30000' clientproto='HTTP/1.0' site='8008'>, already disconnected.
Nov 14 00:21:40 python[24444]: 2024-11-14 00:21:40,654 - synapse.http.server - 782 - WARNING - GET-705- Not sending response to request <XForwardedForRequest at 0x7f5c2b13d0 method='GET' uri='/_matrix/client/r0/sync?filter=0&set_presence=online&since=s188023_2852009_6_420538_175933_516578_149415_66314_0_28&timeout=30000' clientproto='HTTP/1.0' site='8008'>, already disconnected.
Nov 14 00:29:48 python[24444]: 2024-11-14 00:29:48,150 - synapse.http.server - 782 - WARNING - POST-785- Not sending response to request <XForwardedForRequest at 0x7f38894210 method='POST' uri='/_matrix/client/unstable/org.matrix.simplified_msc3575/sync?pos=0%2Fs188024_2852018_8_420540_175938_516578_149415_66314_0_28&timeout=30000' clientproto='HTTP/1.0' site='8008'>, already disconnected.
Nov 14 00:29:48 python[24444]: 2024-11-14 00:29:48,213 - synapse.http.server - 782 - WARNING - POST-786- Not sending response to request <XForwardedForRequest at 0x7f803c6ad0 method='POST' uri='/_matrix/client/unstable/org.matrix.simplified_msc3575/sync?pos=3046%2Fs188024_2852018_8_420540_175938_516578_149415_66314_0_28&timeout=30000' clientproto='HTTP/1.0' site='8008'>, already disconnected.
Nov 14 00:30:48 python[24444]: 2024-11-14 00:30:48,493 - synapse.http.server - 782 - WARNING - POST-790- Not sending response to request <XForwardedForRequest at 0x7f7c105390 method='POST' uri='/_matrix/client/unstable/org.matrix.simplified_msc3575/sync?pos=0%2Fs188024_2852018_8_420540_175938_516578_149415_66314_0_28&timeout=30000' clientproto='HTTP/1.0' site='8008'>, already disconnected.
Nov 14 00:30:48 python[24444]: 2024-11-14 00:30:48,882 - synapse.http.server - 782 - WARNING - POST-791- Not sending response to request <XForwardedForRequest at 0x7f5c4a8990 method='POST' uri='/_matrix/client/unstable/org.matrix.simplified_msc3575/sync?pos=3046%2Fs188024_2852018_8_420540_175938_516578_149415_66314_0_28&timeout=30000' clientproto='HTTP/1.0' site='8008'>, already disconnected.
Nov 14 00:38:56 python[24444]: 2024-11-14 00:38:56,725 - synapse.http.server - 782 - WARNING - POST-795- Not sending response to request <XForwardedForRequest at 0x7f7c247f10 method='POST' uri='/_matrix/client/unstable/org.matrix.simplified_msc3575/sync?pos=0%2Fs188024_2852018_8_420540_175938_516578_149415_66314_0_28&timeout=30000' clientproto='HTTP/1.0' site='8008'>, already disconnected.
Nov 14 00:38:56 python[24444]: 2024-11-14 00:38:56,802 - synapse.http.server - 782 - WARNING - POST-796- Not sending response to request <XForwardedForRequest at 0x7f5c6c0ad0 method='POST' uri='/_matrix/client/unstable/org.matrix.simplified_msc3575/sync?pos=3046%2Fs188024_2852018_8_420540_175938_516578_149415_66314_0_28&timeout=30000' clientproto='HTTP/1.0' site='8008'>, already disconnected.
Nov 14 00:46:46 python[24444]: 2024-11-14 00:46:46,719 - synapse.http.server - 782 - WARNING - POST-797- Not sending response to request <XForwardedForRequest at 0x7f3869d7d0 method='POST' uri='/_matrix/client/unstable/org.matrix.simplified_msc3575/sync?pos=3046%2Fs188024_2852018_8_420540_175938_516578_149415_66314_0_28&timeout=30000' clientproto='HTTP/1.0' site='8008'>, already disconnected.
Nov 14 00:46:47 python[24444]: 2024-11-14 00:46:47,190 - synapse.http.server - 782 - WARNING - POST-799- Not sending response to request <XForwardedForRequest at 0x7f3869c850 method='POST' uri='/_matrix/client/unstable/org.matrix.simplified_msc3575/sync?pos=0%2Fs188024_2852019_8_420540_175938_516578_149415_66314_0_28&timeout=30000' clientproto='HTTP/1.0' site='8008'>, already disconnected.
Nov 14 00:55:31 python[24444]: 2024-11-14 00:55:31,202 - synapse.http.server - 782 - WARNING - POST-800- Not sending response to request <XForwardedForRequest at 0x7f385c4290 method='POST' uri='/_matrix/client/unstable/org.matrix.simplified_msc3575/sync?pos=0%2Fs188024_2852019_8_420540_175938_516578_149415_66314_0_28&timeout=30000' clientproto='HTTP/1.0' site='8008'>, already disconnected.
Nov 14 00:55:31 python[24444]: 2024-11-14 00:55:31,271 - synapse.http.server - 782 - WARNING - POST-801- Not sending response to request <XForwardedForRequest at 0x7f386e3f90 method='POST' uri='/_matrix/client/unstable/org.matrix.simplified_msc3575/sync?pos=3046%2Fs188024_2852018_8_420540_175938_516578_149415_66314_0_28&timeout=30000' clientproto='HTTP/1.0' site='8008'>, already disconnected.
Nov 14 01:05:30 python[24444]: 2024-11-14 01:05:30,936 - synapse.http.server - 782 - WARNING - POST-802- Not sending response to request <XForwardedForRequest at 0x7f385d7190 method='POST' uri='/_matrix/client/unstable/org.matrix.simplified_msc3575/sync?pos=3046%2Fs188024_2852018_8_420540_175938_516578_149415_66314_0_28&timeout=30000' clientproto='HTTP/1.0' site='8008'>, already disconnected.
Nov 14 01:05:30 python[24444]: 2024-11-14 01:05:30,954 - synapse.http.server - 782 - WARNING - POST-803- Not sending response to request <XForwardedForRequest at 0x7f38590b90 method='POST' uri='/_matrix/client/unstable/org.matrix.simplified_msc3575/sync?pos=0%2Fs188024_2852019_8_420540_175938_516578_149415_66314_0_28&timeout=30000' clientproto='HTTP/1.0' site='8008'>, already disconnected.
Nov 14 01:18:18 python[24444]: 2024-11-14 01:18:18,156 - synapse.rest.client.register - 552 - WARNING - POST-804- Ignoring initial_device_display_name without password
Nov 14 06:36:25 python[24444]: 2024-11-14 06:36:25,585 - synapse.media.url_previewer - 489 - WARNING - GET-1350- Error downloading https://nitter.net/RockstarGames/status/1730587560726892883: ConnectError('No route to host')
Nov 14 06:38:01 python[24444]: 2024-11-14 06:38:01,775 - synapse.http.server - 782 - WARNING - GET-1457- Not sending response to request <XForwardedForRequest at 0x7f386c92d0 method='GET' uri='/_matrix/client/v3/sync?filter=4&timeout=30000&set_presence=online&since=s188029_2852032_28_420548_175948_516578_149429_66314_0_28' clientproto='HTTP/1.0' site='8008'>, already disconnected.
Nov 14 06:45:49 python[24444]: 2024-11-14 06:45:49,547 - synapse.handlers.device - 1502 - WARNING - _maybe_retry_device_resync-830- Failed to handle device list update for @koboldmaidskirt:freak.university: Failed to send request: ConnectingCancelledError: HostnameAddress(hostname=b'freak.university', port=8448)
Nov 14 06:46:19 python[24444]: 2024-11-14 06:46:19,617 - synapse.handlers.device - 1502 - WARNING - _maybe_retry_device_resync-830- Failed to handle device list update for @mumbo9151:freak.university: Failed to send request: ConnectingCancelledError: HostnameAddress(hostname=b'freak.university', port=8448)
Nov 14 07:25:23 python[24444]: 2024-11-14 07:25:23,745 - synapse.http.server - 782 - WARNING - POST-1486- Not sending response to request <XForwardedForRequest at 0x7f5c647150 method='POST' uri='/_matrix/client/unstable/org.matrix.simplified_msc3575/sync?pos=0%2Fs188032_2852037_36_420556_175948_516578_149429_66314_0_28&timeout=30000' clientproto='HTTP/1.0' site='8008'>, already disconnected.
Nov 14 07:25:24 python[24444]: 2024-11-14 07:25:24,813 - synapse.http.server - 782 - WARNING - POST-1488- Not sending response to request <XForwardedForRequest at 0x7f5c6f9590 method='POST' uri='/_matrix/client/unstable/org.matrix.simplified_msc3575/sync?pos=3104%2Fs188032_2852037_36_420556_175948_516578_149429_66314_0_28&timeout=30000' clientproto='HTTP/1.0' site='8008'>, already disconnected.
Nov 14 07:25:26 python[24444]: 2024-11-14 07:25:26,520 - synapse.http.server - 782 - WARNING - POST-1489- Not sending response to request <XForwardedForRequest at 0x7f7c28de10 method='POST' uri='/_matrix/client/unstable/org.matrix.simplified_msc3575/sync?pos=3104%2Fs188032_2852037_36_420556_175948_516578_149429_66314_0_28&timeout=30000' clientproto='HTTP/1.0' site='8008'>, already disconnected.
Nov 14 07:34:42 python[24444]: 2024-11-14 07:34:42,360 - synapse.http.server - 782 - WARNING - POST-1490- Not sending response to request <XForwardedForRequest at 0x7f7c28f150 method='POST' uri='/_matrix/client/unstable/org.matrix.simplified_msc3575/sync?pos=0%2Fs188032_2852037_36_420556_175948_516578_149429_66314_0_28&timeout=30000' clientproto='HTTP/1.0' site='8008'>, already disconnected.
Nov 14 07:34:43 python[24444]: 2024-11-14 07:34:43,005 - synapse.http.server - 782 - WARNING - POST-1491- Not sending response to request <XForwardedForRequest at 0x7f8040c990 method='POST' uri='/_matrix/client/unstable/org.matrix.simplified_msc3575/sync?pos=3104%2Fs188032_2852037_36_420556_175948_516578_149429_66314_0_28&timeout=30000' clientproto='HTTP/1.0' site='8008'>, already disconnected.
Nov 14 07:43:45 python[24444]: 2024-11-14 07:43:45,947 - synapse.http.server - 782 - WARNING - POST-1503- Not sending response to request <XForwardedForRequest at 0x7f5c56f210 method='POST' uri='/_matrix/client/unstable/org.matrix.simplified_msc3575/sync?pos=0%2Fs188032_2852037_36_420556_175948_516578_149429_66314_0_28&timeout=30000' clientproto='HTTP/1.0' site='8008'>, already disconnected.
Nov 14 07:43:46 python[24444]: 2024-11-14 07:43:46,402 - synapse.http.server - 782 - WARNING - POST-1504- Not sending response to request <XForwardedForRequest at 0x7f5c51d7d0 method='POST' uri='/_matrix/client/unstable/org.matrix.simplified_msc3575/sync?pos=3104%2Fs188032_2852037_36_420556_175948_516578_149429_66314_0_28&timeout=30000' clientproto='HTTP/1.0' site='8008'>, already disconnected.
Nov 14 07:52:51 python[24444]: 2024-11-14 07:52:51,111 - synapse.http.server - 782 - WARNING - POST-1507- Not sending response to request <XForwardedForRequest at 0x7f5c4f03d0 method='POST' uri='/_matrix/client/unstable/org.matrix.simplified_msc3575/sync?pos=0%2Fs188032_2852037_36_420556_175948_516578_149429_66314_0_28&timeout=30000' clientproto='HTTP/1.0' site='8008'>, already disconnected.
Nov 14 07:52:51 python[24444]: 2024-11-14 07:52:51,919 - synapse.http.server - 782 - WARNING - POST-1508- Not sending response to request <XForwardedForRequest at 0x7f7c118bd0 method='POST' uri='/_matrix/client/unstable/org.matrix.simplified_msc3575/sync?pos=3104%2Fs188032_2852037_36_420556_175948_516578_149429_66314_0_28&timeout=30000' clientproto='HTTP/1.0' site='8008'>, already disconnected.
Nov 14 08:07:56 python[24444]: 2024-11-14 08:07:56,110 - synapse.http.server - 782 - WARNING - POST-1546- Not sending response to request <XForwardedForRequest at 0x7f386ae550 method='POST' uri='/_matrix/client/unstable/org.matrix.simplified_msc3575/sync?pos=0%2Fs188032_2852041_36_420558_175953_516578_149429_66314_0_28&timeout=30000' clientproto='HTTP/1.0' site='8008'>, already disconnected.
Nov 14 08:07:56 python[24444]: 2024-11-14 08:07:56,703 - synapse.http.server - 782 - WARNING - POST-1548- Not sending response to request <XForwardedForRequest at 0x7f7c28fbd0 method='POST' uri='/_matrix/client/unstable/org.matrix.simplified_msc3575/sync?pos=3109%2Fs188032_2852041_36_420558_175953_516578_149429_66314_0_28&timeout=30000' clientproto='HTTP/1.0' site='8008'>, already disconnected.
Nov 14 08:16:38 python[24444]: 2024-11-14 08:16:38,361 - synapse.http.server - 782 - WARNING - POST-1555- Not sending response to request <XForwardedForRequest at 0x7f5c6f9310 method='POST' uri='/_matrix/client/unstable/org.matrix.simplified_msc3575/sync?pos=0%2Fs188032_2852041_36_420559_175953_516578_149429_66314_0_28&timeout=30000' clientproto='HTTP/1.0' site='8008'>, already disconnected.
Nov 14 08:16:38 python[24444]: 2024-11-14 08:16:38,563 - synapse.http.server - 782 - WARNING - POST-1557- Not sending response to request <XForwardedForRequest at 0x7f5c62acd0 method='POST' uri='/_matrix/client/unstable/org.matrix.simplified_msc3575/sync?pos=3109%2Fs188032_2852041_36_420559_175953_516578_149429_66314_0_28&timeout=30000' clientproto='HTTP/1.0' site='8008'>, already disconnected.
Nov 14 08:22:06 python[24444]: 2024-11-14 08:22:06,900 - synapse.handlers.federation_event - 2044 - WARNING - _process_incoming_pdus_in_room_inner-10-$U2wfcKWwyqaxqqavFg68YIanL-U3nGWEa78DqEcoLoM- Soft-failing <FrozenEventV3 event_id=$U2wfcKWwyqaxqqavFg68YIanL-U3nGWEa78DqEcoLoM, type=m.room.encrypted, state_key=None, outlier=False> (from 403: This room has been marked as unfederatable.) because matrix.org
Nov 14 08:22:33 python[24444]: 2024-11-14 08:22:33,281 - synapse.http.server - 782 - WARNING - GET-1579- Not sending response to request <XForwardedForRequest at 0x7f8037e410 method='GET' uri='/_matrix/client/v3/sync?filter=8&timeout=30000&set_presence=unavailable&since=s188032_2852042_38_420559_175953_516578_149429_66314_0_28' clientproto='HTTP/1.0' site='8008'>, already disconnected.
Nov 14 08:22:46 python[24444]: 2024-11-14 08:22:46,564 - synapse.media.url_previewer - 348 - WARNING - GET-1734- Failed to find any OG data in https://mydomain.com/now
Nov 14 08:22:50 python[24444]: 2024-11-14 08:22:50,688 - synapse.media.url_previewer - 489 - WARNING - GET-1729- Error downloading https://nitter.net/RockstarGames/status/1730587560726892883?t=HY4HmhO5yGASnyf0DUXJ_w&s=19: ConnectError('No route to host')
Nov 14 08:25:45 python[24444]: 2024-11-14 08:25:45,894 - synapse.http.server - 782 - WARNING - GET-1909- Not sending response to request <XForwardedForRequest at 0x7f38811410 method='GET' uri='/_matrix/client/v3/sync?filter=8&timeout=30000&set_presence=online&since=s188034_2852046_40_420562_175960_516578_149429_66317_0_28' clientproto='HTTP/1.0' site='8008'>, already disconnected.
Nov 14 08:49:56 python[24444]: 2024-11-14 08:49:56,756 - synapse.http.server - 782 - WARNING - POST-1919- Not sending response to request <XForwardedForRequest at 0x7f5c6bce50 method='POST' uri='/_matrix/client/unstable/org.matrix.simplified_msc3575/sync?pos=3109%2Fs188032_2852041_36_420559_175953_516578_149429_66314_0_28&timeout=30000' clientproto='HTTP/1.0' site='8008'>, already disconnected.
Nov 14 08:49:56 python[24444]: 2024-11-14 08:49:56,883 - synapse.http.server - 782 - WARNING - POST-1920- Not sending response to request <XForwardedForRequest at 0x7f387d39d0 method='POST' uri='/_matrix/client/unstable/org.matrix.simplified_msc3575/sync?pos=0%2Fs188034_2852048_40_420563_175960_516578_149429_66317_0_28&timeout=30000' clientproto='HTTP/1.0' site='8008'>, already disconnected.
Nov 14 08:51:32 python[24444]: 2024-11-14 08:51:32,981 - synapse.http.server - 782 - WARNING - GET-1927- Not sending response to request <XForwardedForRequest at 0x7f7c261dd0 method='GET' uri='/_matrix/client/v3/sync?filter=8&timeout=30000&set_presence=unavailable&since=s188034_2852050_40_420563_175960_516578_149429_66317_0_28' clientproto='HTTP/1.0' site='8008'>, already disconnected.

One another error I see is:

WARNING:  database "synapse" has no actual collation version, but a version was recorded

I tried ALTER DATABASE synapse REFRESH COLLATION VERSION; but I got invalid collation version change
Should I try to export my database and import in a fresh one as explained here?

Or maybe the script here.


Edit: I think I have fixed the collation version issue using a modified version of the script above but the rotating notifications are still growing.

steps used to fix the database

# as root
su root

# create a file with posgres as owner
touch synapse_backup.dump
chown postgres:postgres synapse_backup.dump

# as progres
su postgres

#Create new database
psql -U postgres -c "CREATE DATABASE synapse_new WITH TEMPLATE = template0 ENCODING = 'UTF8' LC_COLLATE = 'C' LC_CTYPE = 'C';"

#dump database and restore
pg_dump -U postgres -F c -b -v -f "synapse_backup.dump" synapse
pg_restore -U postgres -d synapse_new -v "synapse_backup.dump"

#Renames databases
psql -U postgres -c "ALTER DATABASE synapse RENAME TO synapse_old;"
psql -U postgres -c "ALTER DATABASE synapse_new RENAME TO synapse;"

# as root
su root

systemctl restart postgresql


updated logs just after sending an unreceived message from matrix.org

2024-11-17 16:23:19,890 - synapse.access.http.8008 - 473 - INFO - GET-6- 2a01:e34:ec44:a9d0:2874:fbdd:xxxx:xxxx - 8008 - {@krcr:matrix.mydomain.com} Processed request: 0.048sec/-0.000sec (0.007sec, 0.001sec) (0.002sec/0.017sec/2) 1098B 200 "GET /_matrix/client/v1/media/thumbnail/matrix.mydomain.com/GziWInDpycZwiCPyvwPztklx?width=29&height=29&method=crop&allow_redirect=true HTTP/1.0" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Element/1.11.85 Chrome/128.0.6613.36 Electron/32.0.1 Safari/537.36" [0 dbevts]
2024-11-17 16:23:19,940 - synapse.http.matrixfederationclient - 364 - INFO - federation_transaction_transmission_loop-0- {PUT-O-1} [matrix.org] Completed request: 200 OK in 0.32 secs, got 11 bytes - PUT matrix-federation://matrix.org/_matrix/federation/v1/send/1731860592019
2024-11-17 16:23:19,940 - synapse.federation.sender.transaction_manager - 180 - INFO - federation_transaction_transmission_loop-0- TX [matrix.org] {1731860592019} got 200 response
2024-11-17 16:23:41,319 - synapse.storage.databases.main.event_push_actions - 1396 - INFO - rotate_notifs-0- Rotating notifications
2024-11-17 16:23:41,331 - synapse.storage.databases.main.event_push_actions - 1599 - INFO - rotate_notifs-0- Rotating notifications up to: 188518
2024-11-17 16:23:41,356 - synapse.storage.databases.main.event_push_actions - 1685 - INFO - rotate_notifs-0- Rotating notifications, handling 0 rows
2024-11-17 16:23:41,391 - synapse.storage.databases.main.event_push_actions - 1770 - INFO - rotate_notifs-0- Rotating notifications, deleted 0 push actions
2024-11-17 16:23:42,197 - synapse.util.caches.lrucache - 218 - INFO - LruCache._expire_old_entries-0- Dropped 0 items from caches
2024-11-17 16:23:49,872 - synapse.access.http.8008 - 473 - INFO - GET-7- 2a01:e34:ec44:a9d0:2874:fbdd:xxxx:xxxx - 8008 - {@krcr:matrix.mydomain.com} Processed request: 30.012sec/0.002sec (0.013sec, 0.000sec) (0.000sec/0.000sec/0) 260B 200 "GET /_matrix/client/v3/sync?filter=8&timeout=30000&set_presence=online&since=s188518_2855984_0_421583_176424_516578_149435_66319_0_28 HTTP/1.0" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Element/1.11.85 Chrome/128.0.6613.36 Electron/32.0.1 Safari/537.36" [0 dbevts]
2024-11-17 16:24:11,305 - synapse.storage.databases.main.event_push_actions - 1396 - INFO - rotate_notifs-1- Rotating notifications
2024-11-17 16:24:11,315 - synapse.storage.databases.main.event_push_actions - 1599 - INFO - rotate_notifs-1- Rotating notifications up to: 188518
2024-11-17 16:24:11,329 - synapse.storage.databases.main.event_push_actions - 1685 - INFO - rotate_notifs-1- Rotating notifications, handling 0 rows
2024-11-17 16:24:11,348 - synapse.storage.databases.main.event_push_actions - 1770 - INFO - rotate_notifs-1- Rotating notifications, deleted 0 push actions
2024-11-17 16:24:12,196 - synapse.util.caches.lrucache - 218 - INFO - LruCache._expire_old_entries-1- Dropped 0 items from caches
2024-11-17 16:24:20,050 - synapse.access.http.8008 - 473 - INFO - GET-9- 2a01:e34:ec44:a9d0:2874:fbdd:xxxx:xxxx - 8008 - {@krcr:matrix.mydomain.com} Processed request: 30.011sec/0.002sec (0.010sec, 0.000sec) (0.000sec/0.000sec/0) 260B 200 "GET /_matrix/client/v3/sync?filter=8&timeout=30000&set_presence=online&since=s188518_2855984_0_421583_176424_516578_149435_66319_0_28 HTTP/1.0" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Element/1.11.85 Chrome/128.0.6613.36 Electron/32.0.1 Safari/537.36" [0 dbevts]
2024-11-17 16:24:33,501 - synapse.access.http.8008 - 473 - INFO - POST-12- 213.245.180.xxx - 8008 - {@aline03_:matrix.mydomain.com} Processed request: 0.113sec/0.002sec (0.024sec, 0.005sec) (0.014sec/0.065sec/9) 302B 200 "POST /_matrix/client/unstable/org.matrix.simplified_msc3575/sync?pos=0%2Fs188517_2855972_8_421583_176424_516578_149435_66319_0_28&timeout=30000 HTTP/1.0" "Element X/1.9.5 (iPhone 14 Pro; iOS 17.6.1; Scale/3.00)" [0 dbevts]
2024-11-17 16:24:41,305 - synapse.storage.databases.main.event_push_actions - 1396 - INFO - rotate_notifs-2- Rotating notifications
2024-11-17 16:24:41,311 - synapse.storage.databases.main.event_push_actions - 1599 - INFO - rotate_notifs-2- Rotating notifications up to: 188518
2024-11-17 16:24:41,322 - synapse.storage.databases.main.event_push_actions - 1685 - INFO - rotate_notifs-2- Rotating notifications, handling 0 rows
2024-11-17 16:24:41,340 - synapse.storage.databases.main.event_push_actions - 1770 - INFO - rotate_notifs-2- Rotating notifications, deleted 0 push actions
2024-11-17 16:24:42,195 - synapse.util.caches.lrucache - 218 - INFO - LruCache._expire_old_entries-2- Dropped 0 items from caches
2024-11-17 16:24:50,576 - synapse.access.http.8008 - 473 - INFO - GET-11- 2a01:e34:ec44:a9d0:2874:fbdd:xxxx:xxxx - 8008 - {@krcr:matrix.mydomain.com} Processed request: 30.011sec/0.002sec (0.008sec, 0.000sec) (0.000sec/0.000sec/0) 260B 200 "GET /_matrix/client/v3/sync?filter=8&timeout=30000&set_presence=online&since=s188518_2855984_0_421583_176424_516578_149435_66319_0_28 HTTP/1.0" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Element/1.11.85 Chrome/128.0.6613.36 Electron/32.0.1 Safari/537.36" [0 dbevts]
2024-11-17 16:24:58,794 - synapse.http.site - 385 - INFO - POST-14- Connection from client lost before response was sent
2024-11-17 16:24:58,798 - synapse.http.site - 385 - INFO - POST-13- Connection from client lost before response was sent
2024-11-17 16:25:03,446 - synapse.rest.client.sync - 950 - INFO - POST-13- Client has disconnected; not serializing response.
2024-11-17 16:25:03,447 - synapse.http.server - 782 - WARNING - POST-13- Not sending response to request <XForwardedForRequest at 0x7f8d9c0c10 method='POST' uri='/_matrix/client/unstable/org.matrix.simplified_msc3575/sync?pos=3322%2Fs188513_2855944_0_421581_176422_516578_149435_66317_0_28&timeout=30000' clientproto='HTTP/1.0' site='8008'>, already disconnected.
2024-11-17 16:25:03,449 - synapse.access.http.8008 - 473 - INFO - POST-13- 213.245.180.xxx - 8008 - {@aline03_:matrix.mydomain.com} Processed request: 30.020sec/-4.651sec (0.056sec, 0.013sec) (0.011sec/0.092sec/9) 0B 200! "POST /_matrix/client/unstable/org.matrix.simplified_msc3575/sync?pos=3322%2Fs188513_2855944_0_421581_176422_516578_149435_66317_0_28&timeout=30000 HTTP/1.0" "Element X/1.9.5 (iPhone 14 Pro; iOS 17.6.1; Scale/3.00)" [0 dbevts]
2024-11-17 16:25:03,616 - synapse.rest.client.sync - 950 - INFO - POST-14- Client has disconnected; not serializing response.
2024-11-17 16:25:03,617 - synapse.http.server - 782 - WARNING - POST-14- Not sending response to request <XForwardedForRequest at 0x7f8c0f5c10 method='POST' uri='/_matrix/client/unstable/org.matrix.simplified_msc3575/sync?pos=0%2Fs188518_2855984_0_421583_176424_516578_149435_66319_0_28&timeout=30000' clientproto='HTTP/1.0' site='8008'>, already disconnected.
2024-11-17 16:25:03,619 - synapse.access.http.8008 - 473 - INFO - POST-14- 213.245.180.xxx - 8008 - {@aline03_:matrix.mydomain.com} Processed request: 30.009sec/-4.824sec (0.008sec, 0.000sec) (0.000sec/0.000sec/0) 0B 200! "POST /_matrix/client/unstable/org.matrix.simplified_msc3575/sync?pos=0%2Fs188518_2855984_0_421583_176424_516578_149435_66319_0_28&timeout=30000 HTTP/1.0" "Element X/1.9.5 (iPhone 14 Pro; iOS 17.6.1; Scale/3.00)" [0 dbevts]
2024-11-17 16:25:07,698 - synapse.federation.transport.server.federation - 117 - INFO - PUT-17- Received txn 1731588506710 from matrix.org. (PDUs: 0, EDUs: 1)
2024-11-17 16:25:07,728 - synapse.handlers.typing - 420 - INFO - PUT-17- Got typing update from @krcr:matrix.org: {'room_id': '!alWZBpMlWbRlUpGuUp:matrix.mydomain.com', 'typing': True, 'user_id': '@krcr:matrix.org'}
2024-11-17 16:25:07,755 - synapse.access.https.8448 - 473 - INFO - PUT-17- 2a00:1098:84:1c8::157 - 8448 - {matrix.org} Processed request: 0.070sec/0.003sec (0.011sec, 0.001sec) (0.007sec/0.022sec/4) 11B 200 "PUT /_matrix/federation/v1/send/1731588506710 HTTP/1.1" "Synapse/1.119.0rc1 (b=matrix-org-hotfixes,c9bd03ea34,dirty)" [0 dbevts]
2024-11-17 16:25:07,805 - synapse.access.http.8008 - 473 - INFO - GET-16- 2a01:e34:ec44:a9d0:2874:fbdd:xxxx:xxxx - 8008 - {@krcr:matrix.mydomain.com} Processed request: 17.164sec/0.002sec (0.022sec, 0.004sec) (0.010sec/0.033sec/4) 662B 200 "GET /_matrix/client/v3/sync?filter=8&timeout=30000&set_presence=online&since=s188518_2855984_0_421583_176424_516578_149435_66319_0_28 HTTP/1.0" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Element/1.11.85 Chrome/128.0.6613.36 Electron/32.0.1 Safari/537.36" [0 dbevts]
2024-11-17 16:25:08,256 - synapse.federation.transport.server.federation - 117 - INFO - PUT-20- Received txn 1731588506715 from matrix.org. (PDUs: 0, EDUs: 1)
2024-11-17 16:25:08,266 - synapse.handlers.typing - 420 - INFO - PUT-20- Got typing update from @krcr:matrix.org: {'room_id': '!alWZBpMlWbRlUpGuUp:matrix.mydomain.com', 'typing': False, 'user_id': '@krcr:matrix.org'}
2024-11-17 16:25:08,294 - synapse.access.http.8008 - 473 - INFO - GET-19- 2a01:e34:ec44:a9d0:2874:fbdd:xxxx:xxxx - 8008 - {@krcr:matrix.mydomain.com} Processed request: 0.353sec/0.002sec (0.012sec, 0.000sec) (0.006sec/0.005sec/1) 644B 200 "GET /_matrix/client/v3/sync?filter=8&timeout=30000&set_presence=online&since=s188518_2855984_1_421583_176424_516578_149435_66319_0_28 HTTP/1.0" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Element/1.11.85 Chrome/128.0.6613.36 Electron/32.0.1 Safari/537.36" [0 dbevts]
2024-11-17 16:25:08,301 - synapse.access.https.8448 - 473 - INFO - PUT-20- 2a00:1098:84:1c8::157 - 8448 - {matrix.org} Processed request: 0.048sec/0.001sec (0.012sec, 0.000sec) (0.003sec/0.014sec/2) 11B 200 "PUT /_matrix/federation/v1/send/1731588506715 HTTP/1.1" "Synapse/1.119.0rc1 (b=matrix-org-hotfixes,c9bd03ea34,dirty)" [0 dbevts]
2024-11-17 16:25:09,009 - synapse.federation.transport.server.federation - 117 - INFO - PUT-23- Received txn 1731588506716 from matrix.org. (PDUs: 1, EDUs: 0)
2024-11-17 16:25:09,072 - synapse.federation.federation_server - 1259 - INFO - _process_incoming_pdus_in_room_inner-0- handling received PDU in room !alWZBpMlWbRlUpGuUp:matrix.mydomain.com: <FrozenEventV3 event_id=$6bNDbRDozd7dg_e4BGDcEXGKSi2_p3Rww3oUczhzQaQ, type=m.room.encrypted, state_key=None, outlier=False>
2024-11-17 16:25:09,077 - synapse.access.https.8448 - 473 - INFO - PUT-23- 2a00:1098:84:1c8::157 - 8448 - {matrix.org} Processed request: 0.069sec/0.005sec (0.018sec, 0.008sec) (0.009sec/0.030sec/6) 60B 200 "PUT /_matrix/federation/v1/send/1731588506716 HTTP/1.1" "Synapse/1.119.0rc1 (b=matrix-org-hotfixes,c9bd03ea34,dirty)" [0 dbevts]
2024-11-17 16:25:09,201 - synapse.handlers.federation_event - 2044 - WARNING - _process_incoming_pdus_in_room_inner-0-$6bNDbRDozd7dg_e4BGDcEXGKSi2_p3Rww3oUczhzQaQ- Soft-failing <FrozenEventV3 event_id=$6bNDbRDozd7dg_e4BGDcEXGKSi2_p3Rww3oUczhzQaQ, type=m.room.encrypted, state_key=None, outlier=False> (from 403: This room has been marked as unfederatable.) because matrix.org
2024-11-17 16:25:10,260 - synapse.metrics._gc - 127 - INFO - sentinel- Collecting gc 1
2024-11-17 16:25:10,485 - synapse.access.http.8008 - 473 - INFO - GET-25- 2a01:e34:ec44:a9d0:2874:fbdd:xxxx:xxxx - 8008 - {@krcr:matrix.mydomain.com} Processed request: 0.002sec/0.002sec (0.000sec, 0.000sec) (0.000sec/0.000sec/0) 722B 200 "GET /_matrix/client/v3/capabilities HTTP/1.0" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Element/1.11.85 Chrome/128.0.6613.36 Electron/32.0.1 Safari/537.36" [0 dbevts]
2024-11-17 16:25:11,301 - synapse.storage.databases.main.event_push_actions - 1396 - INFO - rotate_notifs-3- Rotating notifications
2024-11-17 16:25:11,307 - synapse.storage.databases.main.event_push_actions - 1599 - INFO - rotate_notifs-3- Rotating notifications up to: 188519
2024-11-17 16:25:11,319 - synapse.storage.databases.main.event_push_actions - 1685 - INFO - rotate_notifs-3- Rotating notifications, handling 0 rows
2024-11-17 16:25:11,337 - synapse.storage.databases.main.event_push_actions - 1770 - INFO - rotate_notifs-3- Rotating notifications, deleted 0 push actions
2024-11-17 16:25:12,040 - synapse.handlers.presence - 914 - INFO - persist_presence_changes-0- Persisting 1 unpersisted presence updates
2024-11-17 16:25:12,196 - synapse.util.caches.lrucache - 218 - INFO - LruCache._expire_old_entries-3- Dropped 0 items from caches

I don’t know if it’s the exact same issue, but since upgrading to Yunohost 12, my Synapse also wasn’t starting up. In the logs I saw:>

INFO - Skipping matrix-synapse because virtualenv can’t easily be rebuilt for this app. Instead, you should fix the situation by forcing the upgrade of this app using yunohost app upgrade --force matrix-synapse.

I tried the command mentioned at the end and it fixed my issue, although I had to swap “matrix-synapse” for just “synapse” ie:

yunohost app upgrade --force synapse

Thank you for trying to help, but I think the command is the same as the one I mentionned in the first post: sudo yunohost app upgrade synapse -F

Now I think maybe it is related to the new sliding sync, but it’s odd that I seem to be the only affected.
These 2 lines particulary are weird:

This room has been marked as unfederatable:

2024-11-17 16:25:09,201 - synapse.handlers.federation_event - 2044 - WARNING - _process_incoming_pdus_in_room_inner-0-$6bNDbRDozd7dg_e4BGDcEXGKSi2_p3Rww3oUczhzQaQ- Soft-failing <FrozenEventV3 event_id=$6bNDbRDozd7dg_e4BGDcEXGKSi2_p3Rww3oUczhzQaQ, type=m.room.encrypted, state_key=None, outlier=False> (from 403: This room has been marked as unfederatable.) because matrix.org

a line mentionning sliding sync that repeats a lot in my logs:

2024-11-17 16:25:03,617 - synapse.http.server - 782 - WARNING - POST-14- Not sending response to request <XForwardedForRequest at 0x7f8c0f5c10 method='POST' uri='/_matrix/client/unstable/org.matrix.simplified_msc3575/sync?pos=0%2Fs188518_2855984_0_421583_176424_516578_149435_66319_0_28&timeout=30000' clientproto='HTTP/1.0' site='8008'>, already disconnected.

I found an issue in the synapse repo that mention this url, i don’t know if it could be related:

I saw that the testing branch is now in version 1.119.0, maybe it is worth trying to upgrade to it.

Hello,

@Lanky, can you try the testing to see if it help to solve the issue ?

Hello @Josue thank you for the update and your message. I upgraded to testing branch 1.119.0 without issue, unfortunately my instance seem to be in the same state: No messages received from my matrix.org account, same lines in the logs.

Thanks for trying to help, new logs:

journalctl
Nov 21 10:09:47 python[2014]: 2024-11-21 10:09:47,380 - synapse.http.server - 782 - WARNING - POST-30199- Not sending response to request <XForwardedForRequest at 0x7f9ae0aad0 method='POST' uri='/_matrix/client/unstable/org.matrix.simplified_msc3575/sync?pos=0%2Fs188772_2859385_567_422119_176797_516578_149446_66319_0_29&timeout=30000' clientproto='HTTP/1.0' site='8008'>, already disconnected.
Nov 21 10:13:48 systemd[1]: Stopping synapse.service - Synapse Matrix homeserver...
Nov 21 10:14:03 python[2014]: 2024-11-21 10:14:03,283 - synapse.http.server - 782 - WARNING - GET-30225- Not sending response to request <XForwardedForRequest at 0x7f987f4510 method='GET' uri='/_matrix/client/v3/sync?filter=8&timeout=30000&set_presence=unavailable&since=s188772_2859394_567_422119_176797_516578_149446_66319_0_29' clientproto='HTTP/1.0' site='8008'>, already disconnected.
Nov 21 10:14:58 systemd[1]: synapse.service: Deactivated successfully.
Nov 21 10:14:58 systemd[1]: Stopped synapse.service - Synapse Matrix homeserver.
Nov 21 10:14:58 systemd[1]: synapse.service: Consumed 1h 30min 19.793s CPU time.
Nov 21 10:21:38 systemd[1]: Starting synapse.service - Synapse Matrix homeserver...
Nov 21 10:22:05 python[89355]: File '/etc/matrix-synapse/conf.d/app_service.yaml' is empty or doesn't parse into a key-value map. IGNORING.
Nov 21 10:22:06 systemd[1]: Started synapse.service - Synapse Matrix homeserver.
Nov 21 10:22:18 python[89366]: This server is configured to use 'matrix.org' as its trusted key server via the
Nov 21 10:22:18 python[89366]: 'trusted_key_servers' config option. 'matrix.org' is a good choice for a key
Nov 21 10:22:18 python[89366]: server since it is long-lived, stable and trusted. However, some admins may
Nov 21 10:22:18 python[89366]: wish to use another server for this purpose.
Nov 21 10:22:18 python[89366]: To suppress this warning and continue using 'matrix.org', admins should set
Nov 21 10:22:18 python[89366]: 'suppress_key_server_warning' to 'true' in homeserver.yaml.
Nov 21 10:22:18 python[89366]: --------------------------------------------------------------------------------
Nov 21 10:22:19 python[89366]: 2024-11-21 10:22:19,667 - root - 352 - WARNING - main- ***** STARTING SERVER *****
Nov 21 10:22:19 python[89366]: 2024-11-21 10:22:19,674 - root - 353 - WARNING - main- Server /opt/yunohost/matrix-synapse/lib/python3.11/site-packages/synapse/app/homeserver.py version 1.119.0
Nov 21 10:22:19 python[89366]: 2024-11-21 10:22:19,675 - root - 358 - WARNING - main- Copyright (c) 2023 New Vector, Inc
Nov 21 10:22:19 python[89366]: 2024-11-21 10:22:19,676 - root - 359 - WARNING - main- Licensed under the AGPL 3.0 license. Website: https://github.com/element-hq/synapse
Nov 21 10:23:19 python[89366]: 2024-11-21 10:23:19,804 - synapse.app - 56 - WARNING - sentinel- Failed to listen on 0.0.0.0, continuing because listening on [::]
Nov 21 10:25:41 python[89366]: 2024-11-21 10:25:41,742 - synapse.http.server - 782 - WARNING - POST-11- Not sending response to request <XForwardedForRequest at 0x7f6860d3d0 method='POST' uri='/_matrix/client/unstable/org.matrix.simplified_msc3575/sync?pos=3474%2Fs188772_2859338_567_422119_176797_516578_149446_66319_0_29&timeout=30000' clientproto='HTTP/1.0' site='8008'>, already disconnected.
Nov 21 10:25:41 python[89366]: 2024-11-21 10:25:41,924 - synapse.http.server - 782 - WARNING - POST-13- Not sending response to request <XForwardedForRequest at 0x7f68611c90 method='POST' uri='/_matrix/client/unstable/org.matrix.simplified_msc3575/sync?pos=0%2Fs188772_2859396_0_422119_176797_516578_149446_66319_0_29&timeout=30000' clientproto='HTTP/1.0' site='8008'>, already disconnected.
Nov 21 10:33:50 python[89366]: 2024-11-21 10:33:50,844 - synapse.http.server - 782 - WARNING - POST-112- Not sending response to request <XForwardedForRequest at 0x7f6af98fd0 method='POST' uri='/_matrix/client/unstable/org.matrix.simplified_msc3575/sync?pos=3474%2Fs188772_2859338_567_422119_176797_516578_149446_66319_0_29&timeout=30000' clientproto='HTTP/1.0' site='8008'>, already disconnected.
Nov 21 10:34:04 python[89366]: 2024-11-21 10:34:04,682 - synapse.http.server - 782 - WARNING - POST-119- Not sending response to request <XForwardedForRequest at 0x7f684ceed0 method='POST' uri='/_matrix/client/unstable/org.matrix.simplified_msc3575/sync?pos=0%2Fs188772_2859410_0_422120_176800_516578_149446_66319_0_29&timeout=30000' clientproto='HTTP/1.0' site='8008'>, already disconnected.
Nov 21 10:34:22 python[89366]: 2024-11-21 10:34:22,206 - synapse.handlers.federation_event - 2044 - WARNING - _process_incoming_pdus_in_room_inner-0-$POXDFjBhpLUtKbNHfKv10Cxde1tVAyARnXE4oJ9pBzg- Soft-failing <FrozenEventV3 event_id=$POXDFjBhpLUtKbNHfKv10Cxde1tVAyARnXE4oJ9pBzg, type=m.room.encrypted, state_key=None, outlier=False> (from 403: This room has been marked as unfederatable.) because matrix.org
homeserver.log
2024-11-21 10:50:17,261 - synapse.storage.databases.main.event_push_actions - 1396 - INFO - rotate_notifs-53- Rotating notifications
2024-11-21 10:50:17,272 - synapse.storage.databases.main.event_push_actions - 1599 - INFO - rotate_notifs-53- Rotating notifications up to: 188779
2024-11-21 10:50:17,290 - synapse.storage.databases.main.event_push_actions - 1685 - INFO - rotate_notifs-53- Rotating notifications, handling 0 rows
2024-11-21 10:50:17,315 - synapse.storage.databases.main.event_push_actions - 1770 - INFO - rotate_notifs-53- Rotating notifications, deleted 0 push actions
2024-11-21 10:50:18,026 - synapse.access.http.8008 - 473 - INFO - GET-364- 37.97.106.xx - 8008 - {@krcr:matrix.mydomain.com} Processed request: 30.009sec/0.003sec (0.006sec, 0.002sec) (0.000sec/0.000sec/0) 260B 200 "GET /_matrix/client/v3/sync?filter=8&timeout=30000&set_presence=online&since=s188779_2859431_8_422124_176802_516578_149447_66319_0_29 HTTP/1.0" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Element/1.11.86 Chrome/130.0.6723.59 Electron/33.0.2 Safari/537.36" [0 dbevts]
2024-11-21 10:50:18,313 - synapse.federation.sender.transaction_manager - 127 - INFO - federation_transaction_transmission_loop-11- TX [matrix.org] {1732184599424} Sending transaction [1732184599424], (PDUs: 0, EDUs: 1)
2024-11-21 10:50:18,350 - synapse.access.http.8008 - 473 - INFO - GET-366- 37.97.106.xx - 8008 - {@krcr:matrix.mydomain.com} Processed request: 0.227sec/0.012sec (0.044sec, 0.000sec) (0.003sec/0.163sec/3) 409B 200 "GET /_matrix/client/v3/sync?filter=8&timeout=30000&set_presence=unavailable&since=s188779_2859431_8_422124_176802_516578_149447_66319_0_29 HTTP/1.0" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Element/1.11.86 Chrome/130.0.6723.59 Electron/33.0.2 Safari/537.36" [0 dbevts]
2024-11-21 10:50:18,463 - synapse.http.matrixfederationclient - 364 - INFO - federation_transaction_transmission_loop-11- {PUT-O-19} [matrix.org] Completed request: 200 OK in 0.15 secs, got 11 bytes - PUT matrix-federation://matrix.org/_matrix/federation/v1/send/1732184599424
2024-11-21 10:50:18,464 - synapse.federation.sender.transaction_manager - 180 - INFO - federation_transaction_transmission_loop-11- TX [matrix.org] {1732184599424} got 200 response
2024-11-21 10:50:19,441 - synapse.handlers.presence - 914 - INFO - persist_presence_changes-25- Persisting 1 unpersisted presence updates
2024-11-21 10:50:19,626 - synapse.util.caches.lrucache - 218 - INFO - LruCache._expire_old_entries-53- Dropped 0 items from caches
2024-11-21 10:50:47,263 - synapse.storage.databases.main.event_push_actions - 1396 - INFO - rotate_notifs-54- Rotating notifications
2024-11-21 10:50:47,276 - synapse.storage.databases.main.event_push_actions - 1599 - INFO - rotate_notifs-54- Rotating notifications up to: 188779
2024-11-21 10:50:47,298 - synapse.storage.databases.main.event_push_actions - 1685 - INFO - rotate_notifs-54- Rotating notifications, handling 0 rows
2024-11-21 10:50:47,342 - synapse.storage.databases.main.event_push_actions - 1770 - INFO - rotate_notifs-54- Rotating notifications, deleted 0 push actions
2024-11-21 10:50:48,452 - synapse.access.http.8008 - 473 - INFO - GET-368- 37.97.106.xx - 8008 - {@krcr:matrix.mydomain.com} Processed request: 30.017sec/0.004sec (0.011sec, 0.005sec) (0.000sec/0.000sec/0) 409B 200 "GET /_matrix/client/v3/sync?filter=8&timeout=30000&set_presence=unavailable&since=s188779_2859432_8_422124_176802_516578_149447_66319_0_29 HTTP/1.0" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Element/1.11.86 Chrome/130.0.6723.59 Electron/33.0.2 Safari/537.36" [0 dbevts]
2024-11-21 10:50:49,627 - synapse.util.caches.lrucache - 218 - INFO - LruCache._expire_old_entries-54- Dropped 0 items from caches
2024-11-21 10:50:50,057 - synapse.federation.sender.transaction_manager - 127 - INFO - federation_transaction_transmission_loop-12- TX [matrix.org] {1732184599425} Sending transaction [1732184599425], (PDUs: 0, EDUs: 1)
2024-11-21 10:50:50,080 - synapse.access.http.8008 - 473 - INFO - GET-370- 37.97.106.xx - 8008 - {@krcr:matrix.mydomain.com} Processed request: 1.544sec/0.003sec (0.040sec, 0.002sec) (0.003sec/1.486sec/3) 427B 200 "GET /_matrix/client/v3/sync?filter=8&timeout=30000&set_presence=online&since=s188779_2859433_8_422124_176802_516578_149447_66319_0_29 HTTP/1.0" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Element/1.11.86 Chrome/130.0.6723.59 Electron/33.0.2 Safari/537.36" [0 dbevts]
2024-11-21 10:50:50,139 - synapse.http.matrixfederationclient - 364 - INFO - federation_transaction_transmission_loop-12- {PUT-O-20} [matrix.org] Completed request: 200 OK in 0.08 secs, got 11 bytes - PUT matrix-federation://matrix.org/_matrix/federation/v1/send/1732184599425
2024-11-21 10:50:50,140 - synapse.federation.sender.transaction_manager - 180 - INFO - federation_transaction_transmission_loop-12- TX [matrix.org] {1732184599425} got 200 response

Little update on my case: yesterday I received direct messages from a friend on matrix.org. At the same time, it recovered a message from the 11th November I didn’t get earlier.

Here are the logs at the moment I received the messages. The exact moment where it gets the old message seems to be:

2024-11-25 23:53:17,317 - synapse.storage.databases.main.event_push_actions - 1246 - INFO - event_push_action_stream_orderings-656- Found stream ordering 1 month ago: it's 185855
2024-11-25 23:53:17,321 - synapse.storage.databases.main.event_push_actions - 1249 - INFO - event_push_action_stream_orderings-656- Searching for stream ordering 1 day ago
2024-11-25 23:53:17,329 - synapse.storage.databases.main.event_push_actions - 1770 - INFO - rotate_notifs-13135- Rotating notifications, deleted 0 push actions
2024-11-25 23:53:17,374 - synapse.storage.databases.main.event_push_actions - 1253 - INFO - event_push_action_stream_orderings-656- Found stream ordering 1 day ago: it's 189300
logs
2024-11-25 23:48:47,263 - synapse.storage.databases.main.event_push_actions - 1396 - INFO - rotate_notifs-13126- Rotating notifications
2024-11-25 23:48:47,276 - synapse.storage.databases.main.event_push_actions - 1599 - INFO - rotate_notifs-13126- Rotating notifications up to: 189327
2024-11-25 23:48:47,295 - synapse.storage.databases.main.event_push_actions - 1685 - INFO - rotate_notifs-13126- Rotating notifications, handling 0 rows
2024-11-25 23:48:47,323 - synapse.storage.databases.main.event_push_actions - 1770 - INFO - rotate_notifs-13126- Rotating notifications, deleted 0 push actions
2024-11-25 23:48:49,626 - synapse.util.caches.lrucache - 218 - INFO - LruCache._expire_old_entries-13129- Dropped 0 items from caches
2024-11-25 23:49:17,261 - synapse.storage.databases.main.event_push_actions - 1396 - INFO - rotate_notifs-13127- Rotating notifications
2024-11-25 23:49:17,273 - synapse.storage.databases.main.event_push_actions - 1599 - INFO - rotate_notifs-13127- Rotating notifications up to: 189327
2024-11-25 23:49:17,292 - synapse.storage.databases.main.event_push_actions - 1685 - INFO - rotate_notifs-13127- Rotating notifications, handling 0 rows
2024-11-25 23:49:17,318 - synapse.storage.databases.main.event_push_actions - 1770 - INFO - rotate_notifs-13127- Rotating notifications, deleted 0 push actions
2024-11-25 23:49:19,627 - synapse.util.caches.lrucache - 218 - INFO - LruCache._expire_old_entries-13130- Dropped 0 items from caches
2024-11-25 23:49:47,261 - synapse.storage.databases.main.event_push_actions - 1396 - INFO - rotate_notifs-13128- Rotating notifications
2024-11-25 23:49:47,272 - synapse.storage.databases.main.event_push_actions - 1599 - INFO - rotate_notifs-13128- Rotating notifications up to: 189327
2024-11-25 23:49:47,289 - synapse.storage.databases.main.event_push_actions - 1685 - INFO - rotate_notifs-13128- Rotating notifications, handling 0 rows
2024-11-25 23:49:47,315 - synapse.storage.databases.main.event_push_actions - 1770 - INFO - rotate_notifs-13128- Rotating notifications, deleted 0 push actions
2024-11-25 23:49:49,626 - synapse.util.caches.lrucache - 218 - INFO - LruCache._expire_old_entries-13131- Dropped 1 items from caches
2024-11-25 23:50:17,260 - synapse.storage.databases.main.event_push_actions - 1396 - INFO - rotate_notifs-13129- Rotating notifications
2024-11-25 23:50:17,271 - synapse.storage.databases.main.event_push_actions - 1599 - INFO - rotate_notifs-13129- Rotating notifications up to: 189327
2024-11-25 23:50:17,290 - synapse.storage.databases.main.event_push_actions - 1685 - INFO - rotate_notifs-13129- Rotating notifications, handling 0 rows
2024-11-25 23:50:17,317 - synapse.storage.databases.main.event_push_actions - 1770 - INFO - rotate_notifs-13129- Rotating notifications, deleted 0 push actions
2024-11-25 23:50:19,627 - synapse.util.caches.lrucache - 218 - INFO - LruCache._expire_old_entries-13132- Dropped 0 items from caches
2024-11-25 23:50:47,263 - synapse.storage.databases.main.event_push_actions - 1396 - INFO - rotate_notifs-13130- Rotating notifications
2024-11-25 23:50:47,273 - synapse.storage.databases.main.event_push_actions - 1599 - INFO - rotate_notifs-13130- Rotating notifications up to: 189327
2024-11-25 23:50:47,290 - synapse.storage.databases.main.event_push_actions - 1685 - INFO - rotate_notifs-13130- Rotating notifications, handling 0 rows
2024-11-25 23:50:47,316 - synapse.storage.databases.main.event_push_actions - 1770 - INFO - rotate_notifs-13130- Rotating notifications, deleted 0 push actions
2024-11-25 23:50:49,627 - synapse.util.caches.lrucache - 218 - INFO - LruCache._expire_old_entries-13133- Dropped 0 items from caches
2024-11-25 23:51:17,253 - synapse.storage.databases.main.event_push_actions - 1396 - INFO - rotate_notifs-13131- Rotating notifications
2024-11-25 23:51:17,259 - synapse.storage.databases.main.event_push_actions - 1599 - INFO - rotate_notifs-13131- Rotating notifications up to: 189327
2024-11-25 23:51:17,269 - synapse.storage.databases.main.event_push_actions - 1685 - INFO - rotate_notifs-13131- Rotating notifications, handling 0 rows
2024-11-25 23:51:17,287 - synapse.storage.databases.main.event_push_actions - 1770 - INFO - rotate_notifs-13131- Rotating notifications, deleted 0 push actions
2024-11-25 23:51:19,626 - synapse.util.caches.lrucache - 218 - INFO - LruCache._expire_old_entries-13134- Dropped 0 items from caches
2024-11-25 23:51:47,265 - synapse.storage.databases.main.event_push_actions - 1396 - INFO - rotate_notifs-13132- Rotating notifications
2024-11-25 23:51:47,276 - synapse.storage.databases.main.event_push_actions - 1599 - INFO - rotate_notifs-13132- Rotating notifications up to: 189327
2024-11-25 23:51:47,293 - synapse.storage.databases.main.event_push_actions - 1685 - INFO - rotate_notifs-13132- Rotating notifications, handling 0 rows
2024-11-25 23:51:47,319 - synapse.storage.databases.main.event_push_actions - 1770 - INFO - rotate_notifs-13132- Rotating notifications, deleted 0 push actions
2024-11-25 23:51:49,626 - synapse.util.caches.lrucache - 218 - INFO - LruCache._expire_old_entries-13135- Dropped 0 items from caches
2024-11-25 23:52:17,262 - synapse.storage.databases.main.event_push_actions - 1396 - INFO - rotate_notifs-13133- Rotating notifications
2024-11-25 23:52:17,273 - synapse.storage.databases.main.event_push_actions - 1599 - INFO - rotate_notifs-13133- Rotating notifications up to: 189327
2024-11-25 23:52:17,292 - synapse.storage.databases.main.event_push_actions - 1685 - INFO - rotate_notifs-13133- Rotating notifications, handling 0 rows
2024-11-25 23:52:17,320 - synapse.storage.databases.main.event_push_actions - 1770 - INFO - rotate_notifs-13133- Rotating notifications, deleted 0 push actions
2024-11-25 23:52:19,628 - synapse.util.caches.lrucache - 218 - INFO - LruCache._expire_old_entries-13136- Dropped 0 items from caches
2024-11-25 23:52:47,261 - synapse.storage.databases.main.event_push_actions - 1396 - INFO - rotate_notifs-13134- Rotating notifications
2024-11-25 23:52:47,272 - synapse.storage.databases.main.event_push_actions - 1599 - INFO - rotate_notifs-13134- Rotating notifications up to: 189327
2024-11-25 23:52:47,291 - synapse.storage.databases.main.event_push_actions - 1685 - INFO - rotate_notifs-13134- Rotating notifications, handling 0 rows
2024-11-25 23:52:47,318 - synapse.storage.databases.main.event_push_actions - 1770 - INFO - rotate_notifs-13134- Rotating notifications, deleted 0 push actions
2024-11-25 23:52:49,627 - synapse.util.caches.lrucache - 218 - INFO - LruCache._expire_old_entries-13137- Dropped 0 items from caches
2024-11-25 23:53:17,246 - synapse.storage.databases.main.event_push_actions - 1242 - INFO - event_push_action_stream_orderings-656- Searching for stream ordering 1 month ago
2024-11-25 23:53:17,273 - synapse.storage.databases.main.event_push_actions - 1396 - INFO - rotate_notifs-13135- Rotating notifications
2024-11-25 23:53:17,282 - synapse.storage.databases.main.event_push_actions - 1599 - INFO - rotate_notifs-13135- Rotating notifications up to: 189327
2024-11-25 23:53:17,299 - synapse.storage.databases.main.event_push_actions - 1685 - INFO - rotate_notifs-13135- Rotating notifications, handling 0 rows
2024-11-25 23:53:17,317 - synapse.storage.databases.main.event_push_actions - 1246 - INFO - event_push_action_stream_orderings-656- Found stream ordering 1 month ago: it's 185855
2024-11-25 23:53:17,321 - synapse.storage.databases.main.event_push_actions - 1249 - INFO - event_push_action_stream_orderings-656- Searching for stream ordering 1 day ago
2024-11-25 23:53:17,329 - synapse.storage.databases.main.event_push_actions - 1770 - INFO - rotate_notifs-13135- Rotating notifications, deleted 0 push actions
2024-11-25 23:53:17,374 - synapse.storage.databases.main.event_push_actions - 1253 - INFO - event_push_action_stream_orderings-656- Found stream ordering 1 day ago: it's 189300
2024-11-25 23:53:19,626 - synapse.util.caches.lrucache - 218 - INFO - LruCache._expire_old_entries-13138- Dropped 0 items from caches
2024-11-25 23:53:19,866 - synapse.storage.databases.main.metrics - 399 - INFO - generate_user_daily_visits-1313- Calling _generate_user_daily_visits
2024-11-25 23:53:47,261 - synapse.storage.databases.main.event_push_actions - 1396 - INFO - rotate_notifs-13136- Rotating notifications
2024-11-25 23:53:47,272 - synapse.storage.databases.main.event_push_actions - 1599 - INFO - rotate_notifs-13136- Rotating notifications up to: 189327
2024-11-25 23:53:47,291 - synapse.storage.databases.main.event_push_actions - 1685 - INFO - rotate_notifs-13136- Rotating notifications, handling 0 rows
2024-11-25 23:53:47,320 - synapse.storage.databases.main.event_push_actions - 1770 - INFO - rotate_notifs-13136- Rotating notifications, deleted 0 push actions
2024-11-25 23:53:49,627 - synapse.util.caches.lrucache - 218 - INFO - LruCache._expire_old_entries-13139- Dropped 0 items from caches
2024-11-25 23:54:17,261 - synapse.storage.databases.main.event_push_actions - 1396 - INFO - rotate_notifs-13137- Rotating notifications
2024-11-25 23:54:17,272 - synapse.storage.databases.main.event_push_actions - 1599 - INFO - rotate_notifs-13137- Rotating notifications up to: 189327
2024-11-25 23:54:17,290 - synapse.storage.databases.main.event_push_actions - 1685 - INFO - rotate_notifs-13137- Rotating notifications, handling 0 rows
2024-11-25 23:54:17,314 - synapse.storage.databases.main.event_push_actions - 1770 - INFO - rotate_notifs-13137- Rotating notifications, deleted 0 push actions
2024-11-25 23:54:19,628 - synapse.util.caches.lrucache - 218 - INFO - LruCache._expire_old_entries-13140- Dropped 0 items from caches
2024-11-25 23:54:47,261 - synapse.storage.databases.main.event_push_actions - 1396 - INFO - rotate_notifs-13138- Rotating notifications
2024-11-25 23:54:47,270 - synapse.storage.databases.main.event_push_actions - 1599 - INFO - rotate_notifs-13138- Rotating notifications up to: 189327
2024-11-25 23:54:47,287 - synapse.storage.databases.main.event_push_actions - 1685 - INFO - rotate_notifs-13138- Rotating notifications, handling 0 rows
2024-11-25 23:54:47,313 - synapse.storage.databases.main.event_push_actions - 1770 - INFO - rotate_notifs-13138- Rotating notifications, deleted 0 push actions
2024-11-25 23:54:49,627 - synapse.util.caches.lrucache - 218 - INFO - LruCache._expire_old_entries-13141- Dropped 0 items from caches
2024-11-25 23:55:17,261 - synapse.storage.databases.main.event_push_actions - 1396 - INFO - rotate_notifs-13139- Rotating notifications
2024-11-25 23:55:17,273 - synapse.storage.databases.main.event_push_actions - 1599 - INFO - rotate_notifs-13139- Rotating notifications up to: 189327
2024-11-25 23:55:17,294 - synapse.storage.databases.main.event_push_actions - 1685 - INFO - rotate_notifs-13139- Rotating notifications, handling 0 rows
2024-11-25 23:55:17,319 - synapse.storage.databases.main.event_push_actions - 1770 - INFO - rotate_notifs-13139- Rotating notifications, deleted 0 push actions
2024-11-25 23:55:19,626 - synapse.util.caches.lrucache - 218 - INFO - LruCache._expire_old_entries-13142- Dropped 0 items from caches
2024-11-25 23:55:47,254 - synapse.storage.databases.main.event_push_actions - 1396 - INFO - rotate_notifs-13140- Rotating notifications
2024-11-25 23:55:47,260 - synapse.storage.databases.main.event_push_actions - 1599 - INFO - rotate_notifs-13140- Rotating notifications up to: 189327
2024-11-25 23:55:47,271 - synapse.storage.databases.main.event_push_actions - 1685 - INFO - rotate_notifs-13140- Rotating notifications, handling 0 rows
2024-11-25 23:55:47,289 - synapse.storage.databases.main.event_push_actions - 1770 - INFO - rotate_notifs-13140- Rotating notifications, deleted 0 push actions
2024-11-25 23:55:49,626 - synapse.util.caches.lrucache - 218 - INFO - LruCache._expire_old_entries-13143- Dropped 0 items from caches
2024-11-25 23:56:09,009 - synapse.http.site - 385 - INFO - POST-47705- Connection from client lost before response was sent
2024-11-25 23:56:09,012 - synapse.http.site - 385 - INFO - POST-47704- Connection from client lost before response was sent
2024-11-25 23:56:14,184 - synapse.rest.client.sync - 983 - INFO - POST-47704- Client has disconnected; not serializing response.
2024-11-25 23:56:14,186 - synapse.http.server - 782 - WARNING - POST-47704- Not sending response to request <XForwardedForRequest at 0x7f29ad5490 method='POST' uri='/_matrix/client/unstable/org.matrix.simplified_msc3>
2024-11-25 23:56:14,190 - synapse.access.http.8008 - 473 - INFO - POST-47704- 213.245.180.xxx - 8008 - {@aline03_:matrix.mydomain.com} Processed request: 30.018sec/-5.178sec (0.019sec, 0.000sec) (0.000sec/0.000s>
2024-11-25 23:56:14,590 - synapse.rest.client.sync - 983 - INFO - POST-47705- Client has disconnected; not serializing response.
2024-11-25 23:56:14,591 - synapse.http.server - 782 - WARNING - POST-47705- Not sending response to request <XForwardedForRequest at 0x7f7996d6d0 method='POST' uri='/_matrix/client/unstable/org.matrix.simplified_msc3>
2024-11-25 23:56:14,593 - synapse.access.http.8008 - 473 - INFO - POST-47705- 213.245.180.xxx - 8008 - {@aline03_:matrix.mydomain.com} Processed request: 30.020sec/-5.584sec (0.005sec, 0.005sec) (0.004sec/0.005s>
2024-11-25 23:56:17,261 - synapse.storage.databases.main.event_push_actions - 1396 - INFO - rotate_notifs-13141- Rotating notifications
2024-11-25 23:56:17,272 - synapse.storage.databases.main.event_push_actions - 1599 - INFO - rotate_notifs-13141- Rotating notifications up to: 189327


This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.