Synpase no longer works after upgrading to yuno 12

I have searched the forum for similar issues

on

This category is for issues regarding specific apps, NOT general issues with YunoHost.

on

This form is written in English :uk: but feel free to write in French :fr: if you’re more comfortable!

on

What type of hardware are you using

VPS bought online

What YunoHost version are you running

12.0

What app is this about

Synpase

Describe your issue

Upgrade seemed to have gone fine. Synapse server was working. Decided to reboot the server after about 2hours and synpase hasn’t worked since. The service is marked as stopped and starting doesn’t work nor does rebooting. I have tried for futher updates but i’m up to date. log is as follows

Share relevant logs or error messages

LOGFILE: journalctl
Nov 01 15:14:38 systemd[1]: Failed to start synapse.service - Synapse Matrix homeserver.
Nov 01 15:14:41 systemd[1]: synapse.service: Scheduled restart job, restart counter is at 140.
Nov 01 15:14:41 systemd[1]: Stopped synapse.service - Synapse Matrix homeserver.
Nov 01 15:14:41 systemd[1]: Starting synapse.service - Synapse Matrix homeserver…
Nov 01 15:14:41 python[3743]: /opt/yunohost/matrix-synapse/bin/python: Error while finding module specification for ‘synapse.app.homeserver’ (ModuleNotFoundError: No module named ‘synapse’)
Nov 01 15:14:41 systemd[1]: synapse.service: Control process exited, code=exited, status=1/FAILURE
Nov 01 15:14:41 systemd[1]: synapse.service: Failed with result ‘exit-code’.
Nov 01 15:14:41 systemd[1]: Failed to start synapse.service - Synapse Matrix homeserver.
Nov 01 15:14:44 systemd[1]: synapse.service: Scheduled restart job, restart counter is at 141.
Nov 01 15:14:44 systemd[1]: Stopped synapse.service - Synapse Matrix homeserver.
Nov 01 15:14:45 systemd[1]: Starting synapse.service - Synapse Matrix homeserver…
Nov 01 15:14:45 python[3748]: /opt/yunohost/matrix-synapse/bin/python: Error while finding module specification for ‘synapse.app.homeserver’ (ModuleNotFoundError: No module named ‘synapse’)
Nov 01 15:14:45 systemd[1]: synapse.service: Control process exited, code=exited, status=1/FAILURE
Nov 01 15:14:45 systemd[1]: synapse.service: Failed with result ‘exit-code’.
Nov 01 15:14:45 systemd[1]: Failed to start synapse.service - Synapse Matrix homeserver.
Nov 01 15:14:48 systemd[1]: synapse.service: Scheduled restart job, restart counter is at 142.
Nov 01 15:14:48 systemd[1]: Stopped synapse.service - Synapse Matrix homeserver.
Nov 01 15:14:48 systemd[1]: Starting synapse.service - Synapse Matrix homeserver…
Nov 01 15:14:48 python[3764]: /opt/yunohost/matrix-synapse/bin/python: Error while finding module specification for ‘synapse.app.homeserver’ (ModuleNotFoundError: No module named ‘synapse’)
Nov 01 15:14:48 systemd[1]: synapse.service: Control process exited, code=exited, status=1/FAILURE
Nov 01 15:14:48 systemd[1]: synapse.service: Failed with result ‘exit-code’.
Nov 01 15:14:48 systemd[1]: Failed to start synapse.service - Synapse Matrix homeserver.
Nov 01 15:14:51 systemd[1]: synapse.service: Scheduled restart job, restart counter is at 143.
Nov 01 15:14:51 systemd[1]: Stopped synapse.service - Synapse Matrix homeserver.
Nov 01 15:14:51 systemd[1]: Starting synapse.service - Synapse Matrix homeserver…
Nov 01 15:14:51 python[3768]: /opt/yunohost/matrix-synapse/bin/python: Error while finding module specification for ‘synapse.app.homeserver’ (ModuleNotFoundError: No module named ‘synapse’)
Nov 01 15:14:51 systemd[1]: synapse.service: Control process exited, code=exited, status=1/FAILURE
Nov 01 15:14:51 systemd[1]: synapse.service: Failed with result ‘exit-code’.
Nov 01 15:14:51 systemd[1]: Failed to start synapse.service - Synapse Matrix homeserver.
Nov 01 15:14:54 systemd[1]: synapse.service: Scheduled restart job, restart counter is at 144.
Nov 01 15:14:54 systemd[1]: Stopped synapse.service - Synapse Matrix homeserver.
Nov 01 15:14:54 systemd[1]: Starting synapse.service - Synapse Matrix homeserver…
Nov 01 15:14:54 python[3802]: /opt/yunohost/matrix-synapse/bin/python: Error while finding module specification for ‘synapse.app.homeserver’ (ModuleNotFoundError: No module named ‘synapse’)
Nov 01 15:14:54 systemd[1]: synapse.service: Control process exited, code=exited, status=1/FAILURE
Nov 01 15:14:54 systemd[1]: synapse.service: Failed with result ‘exit-code’.
Nov 01 15:14:54 systemd[1]: Failed to start synapse.service - Synapse Matrix homeserver.
Nov 01 15:14:57 systemd[1]: synapse.service: Scheduled restart job, restart counter is at 145.
Nov 01 15:14:57 systemd[1]: Stopped synapse.service - Synapse Matrix homeserver.
Nov 01 15:14:58 systemd[1]: Starting synapse.service - Synapse Matrix homeserver…
Nov 01 15:14:58 python[3836]: /opt/yunohost/matrix-synapse/bin/python: Error while finding module specification for ‘synapse.app.homeserver’ (ModuleNotFoundError: No module named ‘synapse’)
Nov 01 15:14:58 systemd[1]: synapse.service: Control process exited, code=exited, status=1/FAILURE
Nov 01 15:14:58 systemd[1]: synapse.service: Failed with result ‘exit-code’.
Nov 01 15:14:58 systemd[1]: Failed to start synapse.service - Synapse Matrix homeserver.
Nov 01 15:15:01 systemd[1]: synapse.service: Scheduled restart job, restart counter is at 146.
Nov 01 15:15:01 systemd[1]: Stopped synapse.service - Synapse Matrix homeserver.
Nov 01 15:15:01 systemd[1]: Starting synapse.service - Synapse Matrix homeserver…
Nov 01 15:15:01 python[3841]: /opt/yunohost/matrix-synapse/bin/python: Error while finding module specification for ‘synapse.app.homeserver’ (ModuleNotFoundError: No module named ‘synapse’)
Nov 01 15:15:01 systemd[1]: synapse.service: Control process exited, code=exited, status=1/FAILURE
Nov 01 15:15:01 systemd[1]: synapse.service: Failed with result ‘exit-code’.
Nov 01 15:15:01 systemd[1]: Failed to start synapse.service - Synapse Matrix homeserver.

Running this command in shell

sudo yunohost app upgrade synapse -F

fixes synapse for me. It forces an upgrade of the app even though the catalog doesn’t show one. Hope this helps

6 Likes

Hi, I faced the same problem, your solution worked for me, thanks so much !

During the time between the first faulty update and the reboot, my synapse users were not able to communicate with people from other servers.

1 Like

You saved the day!

1 Like

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