Closed Thatoo closed 1 year ago
Could it be linked to Telegram and Whatsapp bridge?
I tried to restore an older backup and it also failed : https://paste.yunohost.org/raw/eqerizeleq
With the help of Alkes, I tried to follow https://blog.finxter.com/fixed-modulenotfounderror-no-module-named-attrs/ but
admin@xxx:~ $ pip install attrs
Requirement already satisfied: attrs in /usr/lib/python3/dist-packages (20.3.0)
admin@xxx:~ $ pip3 install attrs
Requirement already satisfied: attrs in /usr/lib/python3/dist-packages (20.3.0)
admin@xxx:~ $ python3 -m pip install attrs
Requirement already satisfied: attrs in /usr/lib/python3/dist-packages (20.3.0)
I can also tell :
sudo apt search attrs
En train de trier... Fait
Recherche en texte intégral... Fait
erofs-utils/stable 1.2.1-2 amd64
Utilities for EROFS File System
libexport-attrs-perl/stable 0.1.0-4 all
Perl 6 'is export(...)' trait as a Perl 5 attribute
libperl6-export-attrs-perl/stable 0.000006-1 all
Perl 6 'is export(...)' trait as a Perl 5 attribute
mergerfs/stable 2.31.0-1 amd64
another FUSE union filesystem
metastore/stable 1.1.2-3 amd64
stockage et restauration de métadonnées d’un système de fichiers
python-attr-doc/stable 20.3.0-1 all
documentation for the attrs Python library
python3-attr/stable,now 20.3.0-1 all [installé, automatique]
Attributes without boilerplate (Python 3)
python3-itemadapter/stable 0.2.0-1 all
Common interface for data container classes (Python 3)
Promising results when deleting part of the backup: sudo tar --delete --file synapse-pre-upgrade2.tar apps/synapse/backup/opt/yunohost/matrix-synapse/lib/python3.9/site-packages/attrs-20.3.0.dist-info/ there was no apps/synapse/backup/opt/yunohost/matrix-synapse/lib/python3.9/site-packages/attrs/ folder, which was unexpected.
it works! I could restore the pre-upgrade backup and then update synapse
thank you so much MayeulC and Aleks
Promising results when deleting part of the backup: sudo tar --delete --file synapse-pre-upgrade2.tar apps/synapse/backup/opt/yunohost/matrix-synapse/lib/python3.9/site-packages/attrs-20.3.0.dist-info/ there was no apps/synapse/backup/opt/yunohost/matrix-synapse/lib/python3.9/site-packages/attrs/ folder, which was unexpected.
I had the same issue and applied your solution. I have no clue why this was needed but that really helped, thanks a lot.
I had an error while trying to update synapse from
1.67.0~ynh1 to 1.69.0~ynh1
: https://paste.yunohost.org/raw/cokipovaxi