[BUG] Reinstall Synapse Matrix

hello!

i have already installed the synapse matrix server. only very settings i have made from the beginning did not make me happy. now i wanted to uninstall everything and do everything right from the beginning. only now an error message comes up although it just worked.
I have the first isntalleiren but nothing changed in the basic settings. where could be the error?

args:
  app: synapse
  force: false
  label: Synapse
  no_remove_on_failure: false
ended_at: 2022-03-27 18:31:15.488845
env:
  YNH_APP_ARG_DOMAIN: maindomain.tld
  YNH_APP_ARG_IS_PUBLIC: '0'
  YNH_APP_ARG_JITSI_SERVER: jitsi.riot.im
  YNH_APP_ARG_SERVER_NAME: Same than the domain
  YNH_APP_BASEDIR: /var/cache/yunohost/app_tmp_work_dirs/app_7c5l6kdf
  YNH_APP_ID: synapse
  YNH_APP_INSTANCE_NAME: synapse
  YNH_APP_INSTANCE_NUMBER: '1'
  YNH_APP_MANIFEST_VERSION: 1.47.1~ynh1
  YNH_ARCH: amd64
error: An error occurred inside the app installation script
interface: api
operation: app_install
parent: null
related_to:
- - app
  - synapse
started_at: 2022-03-27 18:30:36.183632
success: false
yunohost_version: 11.0.5

2022-03-27 18:30:38,011: DEBUG - + old_data_dir_path=/home/yunohost.app/matrix-synapse20220327.183038
2022-03-27 18:30:38,011: DEBUG - + ynh_print_warn 'A data directory already exist. Data was renamed to /home/yunohost.app/matrix-synapse20220327.183038'
2022-03-27 18:30:38,016: DEBUG - + ynh_print_log 'A data directory already exist. Data was renamed to /home/yunohost.app/matrix-synapse20220327.183038'
2022-03-27 18:30:38,016: DEBUG - + echo -e 'A data directory already exist. Data was renamed to /home/yunohost.app/matrix-synapse20220327.183038'
2022-03-27 18:30:38,017: DEBUG - + mv /home/yunohost.app/matrix-synapse /home/yunohost.app/matrix-synapse20220327.183038
2022-03-27 18:30:38,017: WARNING - A data directory already exist. Data was renamed to /home/yunohost.app/matrix-synapse20220327.183038
2022-03-27 18:30:38,057: INFO - [....................] > Storing installation settings...
2022-03-27 18:30:38,057: DEBUG - + ynh_app_setting_set --app=synapse --key=domain --value=maindomain.tld

2022-03-27 18:31:13,253: DEBUG - + python -m synapse.app.homeserver --keys-directory /etc/matrix-synapse/ --generate-config --generate-keys --server-name maindomain.tld --report-stats=no -c homeserver.yml
2022-03-27 18:31:13,916: WARNING - Traceback (most recent call last):
2022-03-27 18:31:13,917: WARNING -   File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main
2022-03-27 18:31:13,917: WARNING -     return _run_code(code, main_globals, None,
2022-03-27 18:31:13,917: WARNING -   File "/usr/lib/python3.9/runpy.py", line 87, in _run_code
2022-03-27 18:31:13,918: WARNING -     exec(code, run_globals)
2022-03-27 18:31:13,918: WARNING -   File "/opt/yunohost/matrix-synapse/lib/python3.9/site-packages/synapse/app/homeserver.py", line 37, in <module>
2022-03-27 18:31:13,918: WARNING -     from synapse.app import _base
2022-03-27 18:31:13,918: WARNING -   File "/opt/yunohost/matrix-synapse/lib/python3.9/site-packages/synapse/app/_base.py", line 44, in <module>
2022-03-27 18:31:13,919: WARNING -     from synapse.events.spamcheck import load_legacy_spam_checkers
2022-03-27 18:31:13,919: WARNING -   File "/opt/yunohost/matrix-synapse/lib/python3.9/site-packages/synapse/events/spamcheck.py", line 31, in <module>
2022-03-27 18:31:13,919: WARNING -     from synapse.rest.media.v1._base import FileInfo
2022-03-27 18:31:13,919: WARNING -   File "/opt/yunohost/matrix-synapse/lib/python3.9/site-packages/synapse/rest/__init__.py", line 19, in <module>
2022-03-27 18:31:13,919: WARNING -     from synapse.rest.client import (
2022-03-27 18:31:13,920: WARNING -   File "/opt/yunohost/matrix-synapse/lib/python3.9/site-packages/synapse/rest/client/account.py", line 42, in <module>
2022-03-27 18:31:13,920: WARNING -     from synapse.push.mailer import Mailer
2022-03-27 18:31:13,920: WARNING -   File "/opt/yunohost/matrix-synapse/lib/python3.9/site-packages/synapse/push/mailer.py", line 860, in <module>
2022-03-27 18:31:13,920: WARNING -     def safe_markup(raw_html: str) -> jinja2.Markup:
2022-03-27 18:31:13,920: WARNING - AttributeError: module 'jinja2' has no attribute 'Markup'
2022-03-27 18:31:13,984: DEBUG - + ynh_exit_properly
2022-03-27 18:31:14,487: DEBUG - + ynh_clean_setup
2022-03-27 18:31:14,487: DEBUG - + ynh_clean_check_starting
2022-03-27 18:31:14,487: DEBUG - + '[' -n '' ']'
2022-03-27 18:31:14,487: DEBUG - + '[' -n '' ']'
2022-03-27 18:31:15,488: ERROR - Unable to install synapse: An error occurred inside the app installation script

My YunoHost server

Hardware: Proxmox / Debian 11.0 /
YunoHost version: 11.0.5
I have access to my server : Webadmin and SSH
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no

Zusammenfassung

Dieser Text wird ausgeblendet

Have you tried again for a third chance ?

i just generated there is an upgrade to yunohost 11.0.6
which I have just performed.
after that i tried to install synapse again with the same error

bug was already reported

1 Like

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