# Error in restore backup for synapse

**URL:** https://forum.yunohost.org/t/error-in-restore-backup-for-synapse/41512
**Category:** Support
**Tags:** bug, backup, restore-backup, english
**Created:** [February 9, 2026, 2:16pm UTC](https://forum.yunohost.org/t/error-in-restore-backup-for-synapse/41512 "2026-02-09T14:16:01Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Lindisfritjof](https://forum.yunohost.org/user_avatar/forum.yunohost.org/lindisfritjof/32/6019_2.png) [@Lindisfritjof](https://forum.yunohost.org/u/Lindisfritjof)
#### Post date: [February 9, 2026, 2:16pm UTC](https://forum.yunohost.org/t/error-in-restore-backup-for-synapse/41512/1 "2026-02-09T14:16:01Z")

</div>

**What type of hardware are you using** : Old laptop or computer  
**What YunoHost version are you running** : 12.1.39  
**How are you able to access your server** : Direct access via physical keyboard/screen  
**Are you in a special context or did you perform specific tweaking on your YunoHost instance ?** : No

### Describe your issue

I tried running Synapse upgrade via the web interface, but it failed and no I cannot restore from backup.

The web interface gives me:  
`Connection with the server has been closed for unknown reasons. Maybe 'yunohost-api' is down?` - whenever I try to enter “backups” to find the latest synapse pre-upgrade backup.

and SSH with `yunohost backup restore synapse-pre-upgrade1.tar` does run in a terminal, but abandons at the end with this log: (shared below) that hints at it being an issue with the script, maybe?

### Share relevant logs or error messages

[https://paste.yunohost.org/raw/upoxihiguf](https://paste.yunohost.org/raw/upoxihiguf)

---

<div class="post-metadata">

### Author: ![Lindisfritjof](https://forum.yunohost.org/user_avatar/forum.yunohost.org/lindisfritjof/32/6019_2.png) [@Lindisfritjof](https://forum.yunohost.org/u/Lindisfritjof)
#### Post date: [February 11, 2026, 11:39am UTC](https://forum.yunohost.org/t/error-in-restore-backup-for-synapse/41512/2 "2026-02-11T11:39:21Z")

</div>

**Update**  
Solved by the method in this post:

> [@Synapse restoration fail on pkg\_resources error (linked to ldap\_auth\_plugin)](https://forum.yunohost.org/t/synapse-restoration-fail-on-pkg-resources-error-linked-to-ldap-auth-plugin/41530):
>
> What app is this about, and its version: Any version restored from now What YunoHost version are you running: lastest today What type of hardware are you using: Raspberry Pi 3, 4+ Describe your issue Error in Synapse restoration due to pkg\_ressources package not found. This package is used in ldap\_auth\_plugin. Setuptools removed this package (pkg\_ressources) starting from the last version of setuptools package. Method to correct this restoration failure : The global principle gonna be to …

---

<div class="post-metadata">

### Author: ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)
#### Post date: [March 13, 2026, 11:40am UTC](https://forum.yunohost.org/t/error-in-restore-backup-for-synapse/41512/3 "2026-03-13T11:40:08Z")

</div>

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