Can't open domain settings and Diagnosis DNS error

,

:uk:/:us: (english)

My YunoHost server

Hardware: VPS bought online
YunoHost version: 11.1.5.5
I have access to my server : any
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no

Description of my issue

After click on any domain in admin Domains section I see this:

"500" Internal Server Error
"GET" /yunohost/api/domains/my.domain.com?locale=uk

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/moulinette/interfaces/api.py", line 457, in process
    ret = self.actionsmap.process(arguments, timeout=30, route=_route)
  File "/usr/lib/python3/dist-packages/moulinette/actionsmap.py", line 584, in process
    return func(**arguments)
  File "/usr/lib/python3/dist-packages/yunohost/domain.py", line 159, in domain_info
    registrar, _ = _get_registar_settings(domain)
  File "/usr/lib/python3/dist-packages/yunohost/dns.py", line 606, in _get_registar_settings
    settings = domain_config_get(domain, key="dns.registrar", export=True)
  File "/usr/lib/python3/dist-packages/yunohost/domain.py", line 520, in domain_config_get
    return config.get(key, mode)
  File "/usr/lib/python3/dist-packages/yunohost/utils/config.py", line 256, in get
    self._get_config_panel()
  File "/usr/lib/python3/dist-packages/yunohost/utils/config.py", line 474, in _get_config_panel
    toml_config_panel = self._get_toml()
  File "/usr/lib/python3/dist-packages/yunohost/domain.py", line 602, in _get_toml
    toml["dns"]["registrar"] = _get_registrar_config_section(self.entity)
  File "/usr/lib/python3/dist-packages/yunohost/dns.py", line 594, in _get_registrar_config_section
    registrar_credentials = registrar_list[registrar]
KeyError: 'namecom'

Also, Diagnosis canโ€™t pass DNS records with:

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 90, in check_domain
expected_configuration = _build_dns_conf(
File "/usr/lib/python3/dist-packages/yunohost/dns.py", line 164, in _build_dns_conf
domains_settings = {
File "/usr/lib/python3/dist-packages/yunohost/dns.py", line 165, in
domain: domain_config_get(domain, export=True)
File "/usr/lib/python3/dist-packages/yunohost/domain.py", line 520, in domain_config_get
return config.get(key, mode)
File "/usr/lib/python3/dist-packages/yunohost/utils/config.py", line 256, in get
self._get_config_panel()
File "/usr/lib/python3/dist-packages/yunohost/utils/config.py", line 474, in _get_config_panel
toml_config_panel = self._get_toml()
File "/usr/lib/python3/dist-packages/yunohost/domain.py", line 602, in _get_toml
toml["dns"]["registrar"] = _get_registrar_config_section(self.entity)
File "/usr/lib/python3/dist-packages/yunohost/dns.py", line 594, in _get_registrar_config_section
registrar_credentials = registrar_list[registrar]
KeyError: 'namecom'

Thatโ€™s a bug indeed :stuck_out_tongue:

Iโ€™m push a fix which will be available in a few hours in next YunoHost minor iteration (11.1.5.something)

Amazing! Thanks!

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