# Matrix-synapse.service: Control process exited

**URL:** https://discuss.freedombox.org/t/matrix-synapse-service-control-process-exited/2293
**Category:** Support
**Created:** [October 9, 2022, 6:37am UTC](https://discuss.freedombox.org/t/matrix-synapse-service-control-process-exited/2293 "2022-10-09T06:37:24Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![jonny](https://discuss.freedombox.org/letter_avatar_proxy/v4/letter/j/47e85d/32.png) [@jonny](https://discuss.freedombox.org/u/jonny)
#### Post date: [October 9, 2022, 6:37am UTC](https://discuss.freedombox.org/t/matrix-synapse-service-control-process-exited/2293/1 "2022-10-09T06:37:24Z")

</div>

After a freedombox update last night the matrix-synapse wont start.

This is the ´journalctl -xe´ output:

```auto
Okt 09 08:24:40 freedombox python3[25914]: Traceback (most recent call last):
Okt 09 08:24:40 freedombox python3[25914]: File "/usr/lib/python3.9/runpy.py", line 188, in _run_module_as_main
Okt 09 08:24:40 freedombox python3[25914]: mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
Okt 09 08:24:40 freedombox python3[25914]: File "/usr/lib/python3.9/runpy.py", line 111, in _get_module_details
Okt 09 08:24:40 freedombox python3[25914]: __import__ (pkg_name)
Okt 09 08:24:40 freedombox python3[25914]: File "/usr/lib/python3/dist-packages/synapse/ __init__.py", line 71, in <module>
Okt 09 08:24:40 freedombox python3[25914]: import synapse.util
Okt 09 08:24:40 freedombox python3[25914]: File "/usr/lib/python3/dist-packages/synapse/util/ __init__.py", line 22, in <mod>
Okt 09 08:24:40 freedombox python3[25914]: from matrix_common.versionstring import get_distribution_version_string
Okt 09 08:24:40 freedombox python3[25914]: ModuleNotFoundError: No module named 'matrix_common'
Okt 09 08:24:40 freedombox systemd[1]: matrix-synapse.service: Control process exited, code=exited, status=1/FAILURE

```

I also found [this discussion](https://groups.google.com/g/linux.debian.bugs.dist/c/GP7bZFkdBys) which seems to talk about the error. They downgraded the `python3-matrix-common` package to version 1.2.1-1~bpo11+1 and it worked afterwards. I checked my installation and it is running verion 1.3.0.

Unfortunately I don’t know how to do the downgrade. Can anybody help please?

---

<div class="post-metadata">

### Author: ![jonny](https://discuss.freedombox.org/letter_avatar_proxy/v4/letter/j/47e85d/32.png) [@jonny](https://discuss.freedombox.org/u/jonny)
#### Post date: [October 9, 2022, 7:20am UTC](https://discuss.freedombox.org/t/matrix-synapse-service-control-process-exited/2293/2 "2022-10-09T07:20:36Z")

</div>

Okay after some tinkering I found a solution (probably not very elegant but serves the purpose now). So it seems as if the `python3-matrix-common` backport package is [missing vital files](https://packages.debian.org/bullseye-backports/all/python3-matrix-common/filelist) therefore I found an uncorrupted version with all files included downloaded it locally

```auto
wget http://ftp.debian.org/debian/pool/main/p/python-matrix-common/python3-matrix-common_1.3.0-2_all.deb

```

and installed it with

```auto
dpkg -i python3-matrix-common_1.3.0-2_all.deb

```

Now it purrs again like my cat 🙂

---

<div class="post-metadata">

### Author: ![timmy](https://discuss.freedombox.org/letter_avatar_proxy/v4/letter/t/ed8c4c/32.png) [@timmy](https://discuss.freedombox.org/u/timmy)
#### Post date: [October 9, 2022, 6:15pm UTC](https://discuss.freedombox.org/t/matrix-synapse-service-control-process-exited/2293/3 "2022-10-09T18:15:06Z")

</div>

Wondered why my matrix stopped responding last night.  
Why is it always the matrix-breaking updates when I’m away from home…

---

<div class="post-metadata">

### Author: ![jonny](https://discuss.freedombox.org/letter_avatar_proxy/v4/letter/j/47e85d/32.png) [@jonny](https://discuss.freedombox.org/u/jonny)
#### Post date: [October 10, 2022, 6:48am UTC](https://discuss.freedombox.org/t/matrix-synapse-service-control-process-exited/2293/4 "2022-10-10T06:48:07Z")

</div>

@timmy I guess a classic case of Murphy’s Law 😃 were you able to resolve it?

---

<div class="post-metadata">

### Author: ![timmy](https://discuss.freedombox.org/letter_avatar_proxy/v4/letter/t/ed8c4c/32.png) [@timmy](https://discuss.freedombox.org/u/timmy)
#### Post date: [October 10, 2022, 12:50pm UTC](https://discuss.freedombox.org/t/matrix-synapse-service-control-process-exited/2293/5 "2022-10-10T12:50:03Z")

</div>

Yep. Your brief instructions, combined with the links to the other discussion, were sufficient for a quick fix.

---

<div class="post-metadata">

### Author: ![jonny](https://discuss.freedombox.org/letter_avatar_proxy/v4/letter/j/47e85d/32.png) [@jonny](https://discuss.freedombox.org/u/jonny)
#### Post date: [October 10, 2022, 3:52pm UTC](https://discuss.freedombox.org/t/matrix-synapse-service-control-process-exited/2293/6 "2022-10-10T15:52:14Z")

</div>

Nice, I’m glad to hear that!

Edit: The only downside I noticed just now… Matrix Synapse dissapeared from the list of active apps 🤔

---

<div class="post-metadata">

### Author: ![timmy](https://discuss.freedombox.org/letter_avatar_proxy/v4/letter/t/ed8c4c/32.png) [@timmy](https://discuss.freedombox.org/u/timmy)
#### Post date: [October 11, 2022, 12:31pm UTC](https://discuss.freedombox.org/t/matrix-synapse-service-control-process-exited/2293/7 "2022-10-11T12:31:31Z")

</div>

Hmm. Mine still shows. Tried a reboot of the freedombox machine/VM?

---

<div class="post-metadata">

### Author: ![jonny](https://discuss.freedombox.org/letter_avatar_proxy/v4/letter/j/47e85d/32.png) [@jonny](https://discuss.freedombox.org/u/jonny)
#### Post date: [October 11, 2022, 2:23pm UTC](https://discuss.freedombox.org/t/matrix-synapse-service-control-process-exited/2293/8 "2022-10-11T14:23:05Z")

</div>

That did the trick 👍 thx!
