The diagnosis produces an error

Hello all,

oops, my diagnosis produces an error.

My YunoHost server

Hardware: VPS bought online
YunoHost version: 11.2.12 (stable)
I have access to my server : Through SSH and through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : NO
If yes, please explain: NO

Description of my issue

When I start the diagnostics via the web panel, an error marked in red appears from time to time. Apparently not always. I have not been able to reproduce it now.

If I start the diagnostics via the terminal, I also get an error. The following output:

Error: Diagnosis failed for category 'dnsrecords': 
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/yunohost/diagnosis.py", line 183, in diagnosis_run
    code, report = diagnoser.diagnose(force=force)
  File "/usr/lib/python3/dist-packages/yunohost/diagnosis.py", line 430, in diagnose
    items = list(self.run())
  File "/usr/lib/python3/dist-packages/yunohost/diagnosers/12-dnsrecords.py", line 57, in run
    for report in self.check_domain(
  File "/usr/lib/python3/dist-packages/yunohost/diagnosers/12-dnsrecords.py", line 121, in check_domain
    if self.current_record_match_expected(r):
  File "/usr/lib/python3/dist-packages/yunohost/diagnosers/12-dnsrecords.py", line 220, in current_record_match_expected
    key, value = param.split("=")
ValueError: not enough values to unpack (expected 2, got 1)

What can I do to rectify the error?
Do you have any tips?
Thank you very much
Tinder

I ve solved it by my self :slight_smile:

What I ve done is, that I first removed all my fresh added domains and after this add them all step by step again. So I can check and correct for every domain the dns settings. If I m right there in nameserver was an missconfiguration. After correction all works fine and the diagnosis runs proper again.

:slight_smile:

1 Like

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