Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Thatoo opened this issue Apr 20, 2024 · 0 comments
Open

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

Thatoo opened this issue Apr 20, 2024 · 0 comments

Comments

@Thatoo
Copy link

Thatoo commented Apr 20, 2024

Describe the bug

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

Context

  • Hardware: Old laptop or computer
  • YunoHost version: 11.2.11.2
  • I have access to my server: Through SSH | through the webadmin | direct access via keyboard / screen
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no
  • Using, or trying to install package version/branch: 0.15.1~ynh2
  • If upgrading, current package version: 0.15.1~ynh1

Steps to reproduce

  • upgrade synapse to v 1.104.0~ynh1
  • matrix-synapse user is replaced by synapse user
  • trying to upgrade mautrix_telegram
  • upgrade fails because : 2024-04-20 09:13:33,283: WARNING - chown: utilisateur incorrect: « matrix-synapse »

Expected behavior

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

@Thatoo Thatoo changed the title Upgrading failed as matrix-synapse doesn't exist anymore Upgrading failed as matrix-synapse user doesn't exist anymore Apr 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant