YunoHost-Apps / synapse_ynh

Matrix server (synapse) package for YunoHost
https://matrix.org/
GNU General Public License v3.0
79 stars 43 forks source link

Update and restore failed #418

Closed TheTrveAnthony closed 8 months ago

TheTrveAnthony commented 8 months ago

Describe the bug

While doing my yunohost update, the synapse update failed (because of setuptools), but this time, it also failed to recover.

Context

Hardware: RaspberryPi 4 YunoHost version: 11.2.5 I have access to my server : Through SSH | through the webadmin Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no If upgrading, current package version: 1.79

Steps to reproduce

## run as root
apt update && apt upgrade
yunohost apt upgrade

## I did that one from the web admin page
yunohost backup restore synapse-pre-upgrade1

Expected behavior

Synapse updates. If not, restores to the previous version

Logs

https://paste.yunohost.org/raw/cupiwujosi

Restore fails because /opt/yunohost/matrix-synapse/lib/python3.9/site-packages/cffi-1.15.1.dist-info/METADATA is missing.

I read the other topics with the same issue, but they had a different error so I guess their solutions wouldn't work for me.

Anyone knows how to fix that ?

Thanks

TheTrveAnthony commented 8 months ago

Couldn't find a working solution, so I reinstalled synapse, closing.