YunoHost-Apps / mautrix_telegram_ynh

Matrix Telegram pupetting bridge for YunoHost
https://github.com/mautrix/telegram
GNU General Public License v3.0
14 stars 4 forks source link

Upgrading failed as matrix-synapse user doesn't exist anymore #66

Open Thatoo opened 5 months ago

Thatoo commented 5 months ago

Describe the bug

Trying to update from v 0.15.1~ynh1 to 0.15.1~ynh2 after upgrading to the latest version of synapse fails.

Context

Steps to reproduce

upgrade succes

Logs

2024-04-20 09:13:31,744: INFO - [##########+.........] > Registering Synapse app-service
2024-04-20 09:13:31,746: DEBUG - + /opt/yunohost/mautrix_telegram/bin/python3 -m mautrix_telegram -g -c /opt/yunohost/mautrix_telegram/config.yaml -r /etc/matrix-synapse/app-service/mautrix_telegram.yaml
2024-04-20 09:13:33,099: DEBUG - Registration generated and saved to /etc/matrix-synapse/app-service/mautrix_telegram.yaml
2024-04-20 09:13:33,270: DEBUG - + /opt/yunohost/matrix-synapse/update_synapse_for_appservice.sh
2024-04-20 09:13:33,283: WARNING - chown: utilisateur incorrect: « matrix-synapse »
2024-04-20 09:13:33,284: DEBUG - + ynh_die '--message=Synapse can'\''t restart with the appservice configuration'
2024-04-20 09:13:33,309: DEBUG - + ynh_exit_properly
2024-04-20 09:13:33,309: DEBUG - + [[ upgrade =~ ^install$|^upgrade$|^restore$ ]]
2024-04-20 09:13:33,309: WARNING - Synapse can't restart with the appservice configuration
2024-04-20 09:13:34,815: ERROR - Impossible de mettre à jour mautrix_telegram : Une erreur s'est produite durant l'exécution du script de mise à niveau de l'application

full log here : https://paste.yunohost.org/raw/epabisarup