Back from one week holidays, I am going to look into this problem again.
Since Synapse is claimed to be uninstalled anyway, I tried to install Synapse from ground. This failed even before I could enter the Synapse settings like subdomain etc.
There is no log at all.
The error is contained in a popup window in the browser, message: An internal error has occured, we are really sorry.
Fehler: "500"
Aktion: "GET" /yunohost/api/domains/*/cert?full&locale=de
Stacktrace:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/moulinette/utils/filesystem.py", line 83, in read_json
loaded_json = json.loads(file_content)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/yunohost/certificate.py", line 98, in certificate_status
_check_domain_is_ready_for_ACME(domain)
File "/usr/lib/python3/dist-packages/yunohost/certificate.py", line 788, in _check_domain_is_ready_for_ACME
Diagnoser.get_cached_report(
File "/usr/lib/python3/dist-packages/yunohost/diagnosis.py", line 524, in get_cached_report
report = read_json(cache_file)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/moulinette/utils/filesystem.py", line 85, in read_json
raise MoulinetteError("corrupted_json", ressource=file_path, error=str(e))
moulinette.core.MoulinetteError: Beschädigtes JSON gelesen von /var/cache/yunohost/diagnosis/dnsrecords.json (reason: Expecting value: line 1 column 1 (char 0))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/moulinette/interfaces/api.py", line 498, in process
ret = self.actionsmap.process(arguments, timeout=30, route=_route)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/moulinette/actionsmap.py", line 579, in process
return func(**arguments)
^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/yunohost/domain.py", line 968, in domain_cert_status
return certificate_status(domain_list, full)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/yunohost/certificate.py", line 101, in certificate_status
if e.key == "certmanager_domain_not_diagnosed_yet":
^^^^^
AttributeError: 'MoulinetteError' object has no attribute 'key'