Dyndns update fails

I have the same problem as described in this thread Dyndns/let's encrypt failing again.
Would you be so kind as to check the domain kli.nohost.me and see if you can reset it somehow?

The problem is that I cannot update my ssl certificate due to some error. It says that the DNS A entry is not valid or something. It seems to be the same problem as in the linked thread above.
Do you have an idea how that could be caused?

With the debug info you give…

no…

Please consider to post the debug info/error message like in the other thread.

Thank you for your response. The debug info is exactly the same as in the other thread, except for the dates and ips. But I will post them anyway.

My YunoHost server

Hardware: Raspberry Pi 3 at home
YunoHost version: 3.6.5.3
I have access to my server : Through SSH | through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no

Description of my issue

My server is unreachable from the internet. I can’t renew the SSL Certificate and I can’t update the dyndns. I know I’ve posted in some similar topics, but I realised that I should open a new topic for this issue.
When I run yunohost dyndns update I get the following output:

Info: Updated needed, going on…
Outgoing update query:
;; ->>HEADER<<- opcode: UPDATE, status: NOERROR, id: 0
;; flags:; ZONE: 0, PREREQ: 0, UPDATE: 0, ADDITIONAL: 0
;; ZONE SECTION:
;nohost.me. IN SOA

;; UPDATE SECTION:
_xmpp-client._tcp.kli.nohost.me. 0 ANY ANY
_xmpp-server._tcp.kli.nohost.me. 0 ANY ANY
muc.kli.nohost.me. 0 ANY ANY
pubsub.kli.nohost.me. 0 ANY ANY
vjud.kli.nohost.me. 0 ANY ANY
kli.nohost.me. 0 ANY ANY
kli.nohost.me. 0 ANY ANY
mail._domainkey.kli.nohost.me. 0 ANY ANY
_dmarc.kli.nohost.me. 0 ANY ANY
kli.nohost.me. 0 ANY ANY
*.kli.nohost.me. 0 ANY ANY
kli.nohost.me. 0 ANY ANY
*.kli.nohost.me. 0 ANY ANY
_xmpp-client._tcp.kli.nohost.me. 3600 IN SRV 0 5 5222 kli.nohost.me.
_xmpp-server._tcp.kli.nohost.me. 3600 IN SRV 0 5 5269 kli.nohost.me.
muc.kli.nohost.me. 3600 IN CNAME kli.nohost.me.
pubsub.kli.nohost.me. 3600 IN CNAME kli.nohost.me.
vjud.kli.nohost.me. 3600 IN CNAME kli.nohost.me.
kli.nohost.me. 3600 IN MX 10 kli.nohost.me.
kli.nohost.me. 3600 IN TXT “v=spf1 a mx ip4:83.135.157.20 ip6:2001:16b8:25a:1800:8ea5:f318:74d7:1f02 -all”
mail._domainkey.kli.nohost.me. 3600 IN TXT “v=DKIM1; h=sha256; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDCxJWrI3qYQbXP2CjxYmvhUoDC4rsoBZE0eVqavpuh4arVOlFMBxXUvBwjsWn4+Qz1sN0FXiZUFYpevB1mCJ+jLzUnlYPiHQmE+OVUCFGgv2uu4KQCMfGExlqj9B1LGvIGKPp1WKI2HjGRjuzi4owX28Hld0ZVrgAFWpAY7TJEHwIDAQAB”
_dmarc.kli.nohost.me. 3600 IN TXT “v=DMARC1; p=none”
kli.nohost.me. 3600 IN A 83.135.157.20
*.kli.nohost.me. 3600 IN A 83.135.157.20
kli.nohost.me. 3600 IN AAAA 2001:16b8:25a:1800:8ea5:f318:74d7:1f02
*.kli.nohost.me. 3600 IN AAAA 2001:16b8:25a:1800:8ea5:f318:74d7:1f02

; Communication with 2a03:7220:8080:5c00::1#53 failed: operation canceled
update failed: FORMERR
Info: The operation ‘Update the ip associated with your YunoHost subdomain ‘kli.nohost.me’’ has failed! To get help, please share the full log of this operation using the command ‘yunohost log display 20191117-162012-dyndns_update-kli.nohost.me --share’
Error: Unable to update IP address on DynDNS

The command yunohost dyndns update --debug gives out the following:

524 DEBUG loading actions map namespace ‘yunohost’
617 DEBUG extra parameter classes loaded: [‘comment’, ‘ask’, ‘password’, ‘required’, ‘pattern’]
618 DEBUG initializing base actions map parser for cli
623 DEBUG registering new callback action ‘yunohost.utils.packages.ynh_packages_version’ to [’-v’, ‘–version’]
933 DEBUG lock has been acquired
1173 DEBUG loading python module yunohost.dyndns took 0.239s
1174 INFO processing action [14462.1]: yunohost.dyndns.update with args={‘domain’: None, ‘key’: None, ‘dyn_host’: ‘dyndns.yunohost.org’, ‘ipv4’: None, ‘ipv6’: None}
1177 DEBUG Building zone update file …
5889 DEBUG Starting new HTTPS connection (1): ip.yunohost.org
6151 DEBUG https://ip.yunohost.org:443 “GET / HTTP/1.1” 200 13
6167 DEBUG Starting new HTTPS connection (1): ip6.yunohost.org
6426 DEBUG https://ip6.yunohost.org:443 “GET / HTTP/1.1” 200 38
6436 DEBUG Old IPv4/v6 are (83.135.154.56, 2001:16b8:2e1:9100:92cf:cb11:d923:3bc7)
6437 DEBUG Requested IPv4/v6 are (83.135.157.20, 2001:16b8:25a:1800:8ea5:f318:74d7:1f02)
6447 INFO Updated needed, going on…
6457 DEBUG Starting new HTTPS connection (1): ip.yunohost.org
6712 DEBUG https://ip.yunohost.org:443 “GET / HTTP/1.1” 200 13
6727 DEBUG Starting new HTTPS connection (1): ip6.yunohost.org
6973 DEBUG https://ip6.yunohost.org:443 “GET / HTTP/1.1” 200 38
6989 DEBUG system hook folder not found for action ‘custom_dns_rules’ in /usr/share/yunohost/hooks/
6990 DEBUG custom hook folder not found for action ‘custom_dns_rules’ in /etc/yunohost/hooks.d/
6992 DEBUG Now pushing new conf to DynDNS host…
Outgoing update query:
;; ->>HEADER<<- opcode: UPDATE, status: NOERROR, id: 0
;; flags:; ZONE: 0, PREREQ: 0, UPDATE: 0, ADDITIONAL: 0
;; ZONE SECTION:
;nohost.me. IN SOA

;; UPDATE SECTION:
_xmpp-client._tcp.kli.nohost.me. 0 ANY ANY
_xmpp-server._tcp.kli.nohost.me. 0 ANY ANY
muc.kli.nohost.me. 0 ANY ANY
pubsub.kli.nohost.me. 0 ANY ANY
vjud.kli.nohost.me. 0 ANY ANY
kli.nohost.me. 0 ANY ANY
kli.nohost.me. 0 ANY ANY
mail._domainkey.kli.nohost.me. 0 ANY ANY
_dmarc.kli.nohost.me. 0 ANY ANY
kli.nohost.me. 0 ANY ANY
*.kli.nohost.me. 0 ANY ANY
kli.nohost.me. 0 ANY ANY
*.kli.nohost.me. 0 ANY ANY
_xmpp-client._tcp.kli.nohost.me. 3600 IN SRV 0 5 5222 kli.nohost.me.
_xmpp-server._tcp.kli.nohost.me. 3600 IN SRV 0 5 5269 kli.nohost.me.
muc.kli.nohost.me. 3600 IN CNAME kli.nohost.me.
pubsub.kli.nohost.me. 3600 IN CNAME kli.nohost.me.
vjud.kli.nohost.me. 3600 IN CNAME kli.nohost.me.
kli.nohost.me. 3600 IN MX 10 kli.nohost.me.
kli.nohost.me. 3600 IN TXT “v=spf1 a mx ip4:83.135.157.20 ip6:2001:16b8:25a:1800:8ea5:f318:74d7:1f02 -all”
mail._domainkey.kli.nohost.me. 3600 IN TXT “v=DKIM1; h=sha256; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDCxJWrI3qYQbXP2CjxYmvhUoDC4rsoBZE0eVqavpuh4arVOlFMBxXUvBwjsWn4+Qz1sN0FXiZUFYpevB1mCJ+jLzUnlYPiHQmE+OVUCFGgv2uu4KQCMfGExlqj9B1LGvIGKPp1WKI2HjGRjuzi4owX28Hld0ZVrgAFWpAY7TJEHwIDAQAB”
_dmarc.kli.nohost.me. 3600 IN TXT “v=DMARC1; p=none”
kli.nohost.me. 3600 IN A 83.135.157.20
*.kli.nohost.me. 3600 IN A 83.135.157.20
kli.nohost.me. 3600 IN AAAA 2001:16b8:25a:1800:8ea5:f318:74d7:1f02
*.kli.nohost.me. 3600 IN AAAA 2001:16b8:25a:1800:8ea5:f318:74d7:1f02

; Communication with 2a03:7220:8080:5c00::1#53 failed: operation canceled
update failed: FORMERR
7254 INFO The operation ‘Update the ip associated with your YunoHost subdomain ‘kli.nohost.me’’ has failed! To get help, please share the full log of this operation using the command ‘yunohost log display 20191117-162140-dyndns_update-kli.nohost.me --share’
7279 DEBUG action [14462.1] executed in 6.103s
7280 DEBUG lock has been released
7282 ERROR Unable to update IP address on DynDNS

The log file looks like this:

args:
domain: null
dyn_host: dyndns.yunohost.org
ipv4: null
ipv6: null
key: null
ended_at: 2019-11-17 16:21:41.375210
error: Unable to update IP address on DynDNS
operation: dyndns_update
related_to:

    • domain
    • kli.nohost.me
      started_at: 2019-11-17 16:21:40.581983
      success: false

============

2019-11-17 16:21:40,591: INFO - Updated needed, going on…
2019-11-17 16:21:41,133: DEBUG - system hook folder not found for action ‘custom_dns_rules’ in /usr/share/yunohost/hooks/
2019-11-17 16:21:41,134: DEBUG - custom hook folder not found for action ‘custom_dns_rules’ in /etc/yunohost/hooks.d/
2019-11-17 16:21:41,136: DEBUG - Now pushing new conf to DynDNS host…

Finally, when I run yunohost domain cert-install kli.nohost.me I get the message:

Info: Now attempting install of certificate for domain kli.nohost.me!
Warning: Debug information:

  • domain ip from DNS 83.135.154.56
  • domain ip from local DNS 83.135.157.20
  • public ip of the server 83.135.157.20

Error: Certificate installation for kli.nohost.me failed !
Exception: The DNS ‘A’ record for domain kli.nohost.me is different from this server IP. If you recently modified your A record, please wait for it to propagate (some DNS propagation checkers are available online). (If you know what you are doing, use --no-checks to disable those checks.)

and yunohost domain cert-install --no-checks returns:

Info: Now attempting install of certificate for domain kli.nohost.me!
Warning: Debug information:

  • domain ip from DNS 83.135.154.56
  • domain ip from local DNS 83.135.157.20
  • public ip of the server 83.135.157.20

Error: Certificate installation for kli.nohost.me failed !
Exception: The DNS ‘A’ record for domain kli.nohost.me is different from this server IP. If you recently modified your A record, please wait for it to propagate (some DNS propagation checkers are available online). (If you know what you are doing, use --no-checks to disable those checks.)
root@kli:~# ^C
root@kli:~# yunohost domain cert-install --no-checks
Info: Now attempting install of certificate for domain kli.nohost.me!
Warning: /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
Success! The configuration has been updated for category ‘dnsmasq’
Warning: /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
Info: Parsing account key…
Info: Parsing CSR…
Info: Found domains: kli.nohost.me
Info: Getting directory…
Error: Error getting directory:
Url: https://acme-v02.api.letsencrypt.org/directory
Data: None
Response Code: 503
Response: {u’type’: u’urn:acme:error:serverInternal’, u’detail’: u’The service is down for maintenance or had an internal error. Check https://letsencrypt.status.io/ for more details.’}
Warning: Debug information:

  • domain ip from DNS 83.135.154.56
  • domain ip from local DNS 83.135.157.20
  • public ip of the server 83.135.157.20

Warning: Debug information:

  • domain ip from DNS 83.135.154.56
  • domain ip from local DNS 83.135.157.20
  • public ip of the server 83.135.157.20

Error: Certificate installation for kli.nohost.me failed !
Exception: Signing the new certificate failed
Info: The operation ‘Install Let’s encrypt certificate on ‘kli.nohost.me’ domain’ has failed! To get help, please share the full log of this operation using the command ‘yunohost log display 20191117-162420-letsencrypt_cert_install-kli.nohost.me --share’

The log reads:

args:
force: false
no_checks: true
staging: false
ended_at: 2019-11-17 16:24:34.876240
error: 'Certificate installation for kli.nohost.me failed !

Exception: Signing the new certificate failed’
operation: letsencrypt_cert_install
related_to:

    • domain
    • kli.nohost.me
      started_at: 2019-11-17 16:24:20.345756
      success: false

============

2019-11-17 16:24:20,355: DEBUG - Nginx configuration file for ACME challenge already exists for domain, skipping.
2019-11-17 16:24:20,358: DEBUG - Making sure tmp folders exists…
2019-11-17 16:24:20,956: DEBUG - custom hook folder not found for action ‘conf_regen’ in /etc/yunohost/hooks.d/
2019-11-17 16:24:20,981: DEBUG - Executing command ‘sh -c YNH_INTERFACE=cli YNH_CWD=/usr/share/yunohost/hooks/conf_regen YNH_STDINFO=/tmp/tmpVXq5W6/stdinfo YNH_STDRETURN=/tmp/tmpg2U9Oq/stdreturn BASH_XTRACEFD=7 /bin/bash -x “./43-dnsmasq” pre 0 0 /home/yunohost.conf/pending/dnsmasq 7>&1’…
2019-11-17 16:24:20,982: DEBUG - About to run the command ‘[‘sh’, ‘-c’, ‘YNH_INTERFACE=cli YNH_CWD=/usr/share/yunohost/hooks/conf_regen YNH_STDINFO=/tmp/tmpVXq5W6/stdinfo YNH_STDRETURN=/tmp/tmpg2U9Oq/stdreturn BASH_XTRACEFD=7 /bin/bash -x “./43-dnsmasq” pre 0 0 /home/yunohost.conf/pending/dnsmasq 7>&1’]’
2019-11-17 16:24:21,020: DEBUG - + set -e
2019-11-17 16:24:21,023: DEBUG - + . /usr/share/yunohost/helpers
2019-11-17 16:24:21,024: DEBUG - +++ run-parts --list /usr/share/yunohost/helpers.d
2019-11-17 16:24:21,025: WARNING - /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
2019-11-17 16:24:21,027: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-17 16:24:21,029: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/apt ‘]’
2019-11-17 16:24:21,030: DEBUG - ++ . /usr/share/yunohost/helpers.d/apt
2019-11-17 16:24:21,030: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-17 16:24:21,031: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/backup ‘]’
2019-11-17 16:24:21,032: DEBUG - ++ . /usr/share/yunohost/helpers.d/backup
2019-11-17 16:24:21,033: DEBUG - +++ CAN_BIND=1
2019-11-17 16:24:21,034: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-17 16:24:21,035: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/fail2ban ‘]’
2019-11-17 16:24:21,036: DEBUG - ++ . /usr/share/yunohost/helpers.d/fail2ban
2019-11-17 16:24:21,037: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-17 16:24:21,038: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/getopts ‘]’
2019-11-17 16:24:21,039: DEBUG - ++ . /usr/share/yunohost/helpers.d/getopts
2019-11-17 16:24:21,140: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-17 16:24:21,141: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/logging ‘]’
2019-11-17 16:24:21,142: DEBUG - ++ . /usr/share/yunohost/helpers.d/logging
2019-11-17 16:24:21,143: DEBUG - +++ increment_progression=0
2019-11-17 16:24:21,145: DEBUG - +++ previous_weight=0
2019-11-17 16:24:21,146: DEBUG - +++ max_progression=-1
2019-11-17 16:24:21,147: DEBUG - +++ progress_scale=20
2019-11-17 16:24:21,148: DEBUG - +++ progress_string2=’####################’
2019-11-17 16:24:21,149: DEBUG - +++ progress_string1=++++++++++++++++++++
2019-11-17 16:24:21,149: DEBUG - +++ progress_string0=…
2019-11-17 16:24:21,150: DEBUG - ++++ date +%s
2019-11-17 16:24:21,151: DEBUG - +++ base_time=1574007861
2019-11-17 16:24:21,152: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-17 16:24:21,153: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/logrotate ‘]’
2019-11-17 16:24:21,153: DEBUG - ++ . /usr/share/yunohost/helpers.d/logrotate
2019-11-17 16:24:21,154: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-17 16:24:21,155: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/mysql ‘]’
2019-11-17 16:24:21,156: DEBUG - ++ . /usr/share/yunohost/helpers.d/mysql
2019-11-17 16:24:21,157: DEBUG - +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
2019-11-17 16:24:21,158: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-17 16:24:21,159: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/network ‘]’
2019-11-17 16:24:21,160: DEBUG - ++ . /usr/share/yunohost/helpers.d/network
2019-11-17 16:24:21,161: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-17 16:24:21,162: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/nginx ‘]’
2019-11-17 16:24:21,163: DEBUG - ++ . /usr/share/yunohost/helpers.d/nginx
2019-11-17 16:24:21,164: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-17 16:24:21,164: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/nodejs ‘]’
2019-11-17 16:24:21,165: DEBUG - ++ . /usr/share/yunohost/helpers.d/nodejs
2019-11-17 16:24:21,166: DEBUG - +++ n_install_dir=/opt/node_n
2019-11-17 16:24:21,167: DEBUG - +++ node_version_path=/opt/node_n/n/versions/node
2019-11-17 16:24:21,168: DEBUG - +++ export N_PREFIX=/opt/node_n
2019-11-17 16:24:21,168: DEBUG - +++ N_PREFIX=/opt/node_n
2019-11-17 16:24:21,169: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-17 16:24:21,170: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/php ‘]’
2019-11-17 16:24:21,172: DEBUG - ++ . /usr/share/yunohost/helpers.d/php
2019-11-17 16:24:21,173: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-17 16:24:21,174: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/postgresql ‘]’
2019-11-17 16:24:21,175: DEBUG - ++ . /usr/share/yunohost/helpers.d/postgresql
2019-11-17 16:24:21,176: DEBUG - +++ PSQL_ROOT_PWD_FILE=/etc/yunohost/psql
2019-11-17 16:24:21,177: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-17 16:24:21,177: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/setting ‘]’
2019-11-17 16:24:21,178: DEBUG - ++ . /usr/share/yunohost/helpers.d/setting
2019-11-17 16:24:21,179: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-17 16:24:21,180: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/string ‘]’
2019-11-17 16:24:21,180: DEBUG - ++ . /usr/share/yunohost/helpers.d/string
2019-11-17 16:24:21,181: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-17 16:24:21,182: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/systemd ‘]’
2019-11-17 16:24:21,182: DEBUG - ++ . /usr/share/yunohost/helpers.d/systemd
2019-11-17 16:24:21,183: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-17 16:24:21,184: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/user ‘]’
2019-11-17 16:24:21,185: DEBUG - ++ . /usr/share/yunohost/helpers.d/user
2019-11-17 16:24:21,185: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-17 16:24:21,186: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/utils ‘]’
2019-11-17 16:24:21,187: DEBUG - ++ . /usr/share/yunohost/helpers.d/utils
2019-11-17 16:24:21,188: DEBUG - + FORCE=0
2019-11-17 16:24:21,188: DEBUG - + DRY_RUN=0
2019-11-17 16:24:21,189: DEBUG - + case “$1” in
2019-11-17 16:24:21,190: DEBUG - + do_pre_regen /home/yunohost.conf/pending/dnsmasq
2019-11-17 16:24:21,191: DEBUG - + pending_dir=/home/yunohost.conf/pending/dnsmasq
2019-11-17 16:24:21,191: DEBUG - + cd /usr/share/yunohost/templates/dnsmasq
2019-11-17 16:24:21,192: DEBUG - + dnsmasq_dir=/home/yunohost.conf/pending/dnsmasq/etc/dnsmasq.d
2019-11-17 16:24:21,193: DEBUG - + mkdir -p /home/yunohost.conf/pending/dnsmasq/etc/dnsmasq.d
2019-11-17 16:24:21,193: DEBUG - + etcdefault_dir=/home/yunohost.conf/pending/dnsmasq/etc/default
2019-11-17 16:24:21,194: DEBUG - + mkdir -p /home/yunohost.conf/pending/dnsmasq/etc/default
2019-11-17 16:24:21,195: DEBUG - + cp plain/etcdefault /home/yunohost.conf/pending/dnsmasq/etc/default/dnsmasq
2019-11-17 16:24:21,196: DEBUG - + cp plain/dnsmasq.conf /home/yunohost.conf/pending/dnsmasq/etc/dnsmasq.conf
2019-11-17 16:24:21,196: DEBUG - + cat plain/resolv.dnsmasq.conf
2019-11-17 16:24:21,197: DEBUG - + grep ‘^nameserver’
2019-11-17 16:24:21,198: DEBUG - + shuf
2019-11-17 16:24:21,199: DEBUG - ++ curl -s -4 https://ip.yunohost.org
2019-11-17 16:24:21,500: DEBUG - + ipv4=83.135.157.20
2019-11-17 16:24:21,501: DEBUG - + ynh_validate_ip4 83.135.157.20
2019-11-17 16:24:21,502: DEBUG - + local legacy_args=i
2019-11-17 16:24:21,503: DEBUG - + args_array=([i]=ip_address=)
2019-11-17 16:24:21,504: DEBUG - + declare -Ar args_array
2019-11-17 16:24:21,506: DEBUG - + local ip_address
2019-11-17 16:24:21,507: DEBUG - + ynh_handle_getopts_args 83.135.157.20
2019-11-17 16:24:21,507: DEBUG - + set +x
2019-11-17 16:24:21,508: DEBUG - + echo ‘! Helper used in legacy mode !’
2019-11-17 16:24:21,509: DEBUG - + set +x
2019-11-17 16:24:21,510: DEBUG - + ynh_validate_ip 4 83.135.157.20
2019-11-17 16:24:21,510: DEBUG - + local legacy_args=fi
2019-11-17 16:24:21,511: DEBUG - + args_array=([f]=family= [i]=ip_address=)
2019-11-17 16:24:21,512: DEBUG - + declare -Ar args_array
2019-11-17 16:24:21,513: DEBUG - + local family
2019-11-17 16:24:21,514: DEBUG - + local ip_address
2019-11-17 16:24:21,515: DEBUG - + ynh_handle_getopts_args 4 83.135.157.20
2019-11-17 16:24:21,515: DEBUG - + set +x
2019-11-17 16:24:21,516: DEBUG - + echo ‘! Helper used in legacy mode !’
2019-11-17 16:24:21,517: DEBUG - + set +x
2019-11-17 16:24:21,518: DEBUG - + ‘[’ 4 == 4 ‘]’
2019-11-17 16:24:21,518: DEBUG - + python /dev/stdin
2019-11-17 16:24:21,620: DEBUG - ++ curl -s -6 https://ip6.yunohost.org
2019-11-17 16:24:21,922: DEBUG - + ipv6=2001:16b8:25a:1800:8ea5:f318:74d7:1f02
2019-11-17 16:24:21,924: DEBUG - + ynh_validate_ip6 2001:16b8:25a:1800:8ea5:f318:74d7:1f02
2019-11-17 16:24:21,925: DEBUG - + local legacy_args=i
2019-11-17 16:24:21,926: DEBUG - + args_array=([i]=ip_address=)
2019-11-17 16:24:21,927: DEBUG - + declare -Ar args_array
2019-11-17 16:24:21,928: DEBUG - + local ip_address
2019-11-17 16:24:21,929: DEBUG - + ynh_handle_getopts_args 2001:16b8:25a:1800:8ea5:f318:74d7:1f02
2019-11-17 16:24:21,929: DEBUG - + set +x
2019-11-17 16:24:21,930: DEBUG - + echo ‘! Helper used in legacy mode !’
2019-11-17 16:24:21,931: DEBUG - + set +x
2019-11-17 16:24:21,932: DEBUG - + ynh_validate_ip 6 2001:16b8:25a:1800:8ea5:f318:74d7:1f02
2019-11-17 16:24:21,933: DEBUG - + local legacy_args=fi
2019-11-17 16:24:21,934: DEBUG - + args_array=([f]=family= [i]=ip_address=)
2019-11-17 16:24:21,935: DEBUG - + declare -Ar args_array
2019-11-17 16:24:21,936: DEBUG - + local family
2019-11-17 16:24:21,937: DEBUG - + local ip_address
2019-11-17 16:24:21,938: DEBUG - + ynh_handle_getopts_args 6 2001:16b8:25a:1800:8ea5:f318:74d7:1f02
2019-11-17 16:24:21,939: DEBUG - + set +x
2019-11-17 16:24:21,940: DEBUG - + echo ‘! Helper used in legacy mode !’
2019-11-17 16:24:21,941: DEBUG - + set +x
2019-11-17 16:24:21,942: DEBUG - + ‘[’ 6 == 4 ‘]’
2019-11-17 16:24:21,943: DEBUG - + ‘[’ 6 == 6 ‘]’
2019-11-17 16:24:21,943: DEBUG - + python /dev/stdin
2019-11-17 16:24:22,045: DEBUG - ++ sudo yunohost domain list --output-as plain --quiet
2019-11-17 16:24:23,551: DEBUG - + domain_list=kli.nohost.me
2019-11-17 16:24:23,552: DEBUG - + for domain in $domain_list
2019-11-17 16:24:23,553: DEBUG - + cat domain.tpl
2019-11-17 16:24:23,554: DEBUG - + sed ‘s/{{ domain }}/kli.nohost.me/g’
2019-11-17 16:24:23,554: DEBUG - + sed ‘s/{{ ip }}/83.135.157.20/g’
2019-11-17 16:24:23,555: DEBUG - + [[ -n 2001:16b8:25a:1800:8ea5:f318:74d7:1f02 ]]
2019-11-17 16:24:23,556: DEBUG - + echo address=/kli.nohost.me/2001:16b8:25a:1800:8ea5:f318:74d7:1f02
2019-11-17 16:24:23,557: DEBUG - ++ ls -1 /etc/dnsmasq.d
2019-11-17 16:24:23,557: DEBUG - ++ awk ‘/^[^.]+.[^.]+.*$/ { print $1 }’
2019-11-17 16:24:23,558: DEBUG - + conf_files=kli.nohost.me
2019-11-17 16:24:23,559: DEBUG - + for domain in $conf_files
2019-11-17 16:24:23,559: DEBUG - + [[ kli.nohost.me =~ kli.nohost.me ]]
2019-11-17 16:24:23,560: DEBUG - + exit 0
2019-11-17 16:24:23,603: DEBUG - Applying pending configuration for category ‘dnsmasq’…
2019-11-17 16:24:23,717: DEBUG - processing pending conf ‘/home/yunohost.conf/pending/dnsmasq/etc/resolv.dnsmasq.conf’ to system conf ‘/etc/resolv.dnsmasq.conf’
2019-11-17 16:24:23,719: DEBUG - The configuration file ‘/etc/resolv.dnsmasq.conf’ has been backed up to ‘/home/yunohost.conf/backup/etc/resolv.dnsmasq.conf-20191117.162423’
2019-11-17 16:24:23,722: DEBUG - The configuration file ‘/etc/resolv.dnsmasq.conf’ has been updated
2019-11-17 16:24:23,723: DEBUG - processing pending conf ‘/home/yunohost.conf/pending/dnsmasq/etc/default/dnsmasq’ to system conf ‘/etc/default/dnsmasq’
2019-11-17 16:24:23,725: DEBUG - > system conf is already up-to-date
2019-11-17 16:24:23,726: DEBUG - processing pending conf ‘/home/yunohost.conf/pending/dnsmasq/etc/dnsmasq.conf’ to system conf ‘/etc/dnsmasq.conf’
2019-11-17 16:24:23,728: DEBUG - > system conf is already up-to-date
2019-11-17 16:24:23,729: DEBUG - processing pending conf ‘/home/yunohost.conf/pending/dnsmasq/etc/dnsmasq.d/kli.nohost.me’ to system conf ‘/etc/dnsmasq.d/kli.nohost.me’
2019-11-17 16:24:23,730: DEBUG - > system conf is already up-to-date
2019-11-17 16:24:23,731: SUCCESS - The configuration has been updated for category ‘dnsmasq’
2019-11-17 16:24:23,733: DEBUG - updating conf hashes for ‘dnsmasq’ with: {’/etc/resolv.dnsmasq.conf’: ‘d57f5588f1b8d87352d989f918b6f2fc’, ‘/etc/default/dnsmasq’: ‘ff5c2923b4d5e1e51ffd8d226c26fe2b’, ‘/etc/dnsmasq.conf’: ‘e99384d2e9cd9de9d8bbb4f1f831948d’, ‘/etc/dnsmasq.d/kli.nohost.me’: ‘39ef846d15a2a18c4d3a5e55f9d6a674’}
2019-11-17 16:24:23,977: DEBUG - custom hook folder not found for action ‘conf_regen’ in /etc/yunohost/hooks.d/
2019-11-17 16:24:23,979: DEBUG - Executing command ‘sh -c YNH_INTERFACE=cli YNH_CWD=/usr/share/yunohost/hooks/conf_regen YNH_STDINFO=/tmp/tmpYVxIC0/stdinfo YNH_STDRETURN=/tmp/tmp3d3Qfl/stdreturn BASH_XTRACEFD=7 /bin/bash -x “./43-dnsmasq” post 0 0 /etc/resolv.dnsmasq.conf 7>&1’…
2019-11-17 16:24:23,980: DEBUG - About to run the command ‘[‘sh’, ‘-c’, ‘YNH_INTERFACE=cli YNH_CWD=/usr/share/yunohost/hooks/conf_regen YNH_STDINFO=/tmp/tmpYVxIC0/stdinfo YNH_STDRETURN=/tmp/tmp3d3Qfl/stdreturn BASH_XTRACEFD=7 /bin/bash -x “./43-dnsmasq” post 0 0 /etc/resolv.dnsmasq.conf 7>&1’]’
2019-11-17 16:24:24,015: DEBUG - + set -e
2019-11-17 16:24:24,018: DEBUG - + . /usr/share/yunohost/helpers
2019-11-17 16:24:24,020: DEBUG - +++ run-parts --list /usr/share/yunohost/helpers.d
2019-11-17 16:24:24,021: WARNING - /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
2019-11-17 16:24:24,022: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-17 16:24:24,023: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/apt ‘]’
2019-11-17 16:24:24,024: DEBUG - ++ . /usr/share/yunohost/helpers.d/apt
2019-11-17 16:24:24,026: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-17 16:24:24,027: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/backup ‘]’
2019-11-17 16:24:24,027: DEBUG - ++ . /usr/share/yunohost/helpers.d/backup
2019-11-17 16:24:24,028: DEBUG - +++ CAN_BIND=1
2019-11-17 16:24:24,129: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-17 16:24:24,131: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/fail2ban ‘]’
2019-11-17 16:24:24,131: DEBUG - ++ . /usr/share/yunohost/helpers.d/fail2ban
2019-11-17 16:24:24,132: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-17 16:24:24,133: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/getopts ‘]’
2019-11-17 16:24:24,134: DEBUG - ++ . /usr/share/yunohost/helpers.d/getopts
2019-11-17 16:24:24,135: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-17 16:24:24,136: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/logging ‘]’
2019-11-17 16:24:24,136: DEBUG - ++ . /usr/share/yunohost/helpers.d/logging
2019-11-17 16:24:24,137: DEBUG - +++ increment_progression=0
2019-11-17 16:24:24,138: DEBUG - +++ previous_weight=0
2019-11-17 16:24:24,139: DEBUG - +++ max_progression=-1
2019-11-17 16:24:24,140: DEBUG - +++ progress_scale=20
2019-11-17 16:24:24,141: DEBUG - +++ progress_string2=’####################’
2019-11-17 16:24:24,142: DEBUG - +++ progress_string1=++++++++++++++++++++
2019-11-17 16:24:24,142: DEBUG - +++ progress_string0=…
2019-11-17 16:24:24,143: DEBUG - ++++ date +%s
2019-11-17 16:24:24,144: DEBUG - +++ base_time=1574007864
2019-11-17 16:24:24,145: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-17 16:24:24,146: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/logrotate ‘]’
2019-11-17 16:24:24,147: DEBUG - ++ . /usr/share/yunohost/helpers.d/logrotate
2019-11-17 16:24:24,148: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-17 16:24:24,149: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/mysql ‘]’
2019-11-17 16:24:24,150: DEBUG - ++ . /usr/share/yunohost/helpers.d/mysql
2019-11-17 16:24:24,151: DEBUG - +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
2019-11-17 16:24:24,152: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-17 16:24:24,153: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/network ‘]’
2019-11-17 16:24:24,154: DEBUG - ++ . /usr/share/yunohost/helpers.d/network
2019-11-17 16:24:24,156: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-17 16:24:24,157: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/nginx ‘]’
2019-11-17 16:24:24,158: DEBUG - ++ . /usr/share/yunohost/helpers.d/nginx
2019-11-17 16:24:24,160: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-17 16:24:24,163: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/nodejs ‘]’
2019-11-17 16:24:24,166: DEBUG - ++ . /usr/share/yunohost/helpers.d/nodejs
2019-11-17 16:24:24,167: DEBUG - +++ n_install_dir=/opt/node_n
2019-11-17 16:24:24,168: DEBUG - +++ node_version_path=/opt/node_n/n/versions/node
2019-11-17 16:24:24,169: DEBUG - +++ export N_PREFIX=/opt/node_n
2019-11-17 16:24:24,171: DEBUG - +++ N_PREFIX=/opt/node_n
2019-11-17 16:24:24,172: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-17 16:24:24,173: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/php ‘]’
2019-11-17 16:24:24,177: DEBUG - ++ . /usr/share/yunohost/helpers.d/php
2019-11-17 16:24:24,178: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-17 16:24:24,180: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/postgresql ‘]’
2019-11-17 16:24:24,184: DEBUG - ++ . /usr/share/yunohost/helpers.d/postgresql
2019-11-17 16:24:24,185: DEBUG - +++ PSQL_ROOT_PWD_FILE=/etc/yunohost/psql
2019-11-17 16:24:24,187: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-17 16:24:24,188: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/setting ‘]’
2019-11-17 16:24:24,190: DEBUG - ++ . /usr/share/yunohost/helpers.d/setting
2019-11-17 16:24:24,193: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-17 16:24:24,194: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/string ‘]’
2019-11-17 16:24:24,195: DEBUG - ++ . /usr/share/yunohost/helpers.d/string
2019-11-17 16:24:24,196: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-17 16:24:24,197: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/systemd ‘]’
2019-11-17 16:24:24,198: DEBUG - ++ . /usr/share/yunohost/helpers.d/systemd
2019-11-17 16:24:24,200: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-17 16:24:24,201: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/user ‘]’
2019-11-17 16:24:24,201: DEBUG - ++ . /usr/share/yunohost/helpers.d/user
2019-11-17 16:24:24,202: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-17 16:24:24,203: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/utils ‘]’
2019-11-17 16:24:24,204: DEBUG - ++ . /usr/share/yunohost/helpers.d/utils
2019-11-17 16:24:24,205: DEBUG - + FORCE=0
2019-11-17 16:24:24,206: DEBUG - + DRY_RUN=0
2019-11-17 16:24:24,207: DEBUG - + case “$1” in
2019-11-17 16:24:24,208: DEBUG - + do_post_regen /etc/resolv.dnsmasq.conf
2019-11-17 16:24:24,208: DEBUG - + regen_conf_files=/etc/resolv.dnsmasq.conf
2019-11-17 16:24:24,209: DEBUG - + [[ -z /etc/resolv.dnsmasq.conf ]]
2019-11-17 16:24:24,210: DEBUG - + sudo service dnsmasq restart
2019-11-17 16:24:24,713: DEBUG - + exit 0
2019-11-17 16:24:24,760: DEBUG - To view the log of the operation ‘Regenerate system configurations ‘dnsmasq’’, use the command ‘yunohost log display 20191117-162420-regen_conf-dnsmasq’
2019-11-17 16:24:24,779: DEBUG - Prepare key and certificate signing request (CSR) for kli.nohost.me
2019-11-17 16:24:33,553: DEBUG - Saving to /tmp/acme-challenge-private/kli.nohost.me.csr.
2019-11-17 16:24:33,555: DEBUG - Now using ACME Tiny to sign the certificate…
2019-11-17 16:24:33,556: INFO - Parsing account key…
2019-11-17 16:24:33,590: INFO - Parsing CSR…
2019-11-17 16:24:33,622: INFO - Found domains: kli.nohost.me
2019-11-17 16:24:33,624: INFO - Getting directory…
2019-11-17 16:24:34,203: ERROR - Error getting directory:
Url: https://acme-v02.api.letsencrypt.org/directory
Data: None
Response Code: 503
Response: {u’type’: u’urn:acme:error:serverInternal’, u’detail’: u’The service is down for maintenance or had an internal error. Check https://letsencrypt.status.io/ for more details.’}
2019-11-17 16:24:34,574: WARNING - Debug information:

  • domain ip from DNS 83.135.154.56
  • domain ip from local DNS 83.135.157.20
  • public ip of the server 83.135.157.20

2019-11-17 16:24:34,873: WARNING - Debug information:

  • domain ip from DNS 83.135.154.56
  • domain ip from local DNS 83.135.157.20
  • public ip of the server 83.135.157.20

2019-11-17 16:24:34,875: ERROR - Certificate installation for kli.nohost.me failed !
Exception: Signing the new certificate failed

I believe my DNS key isn’t working anymore again. But I haven’t touched my yunohost settings in a while. It just stopped working.

Since this is the second time this problem arose with the same address, could it be that something is wrong with that particular one? I have another Yunohost instance which is running totally fine.

Hello Same problem here:

update failed: FORMERR
6601 INFO The operation 'Update the ip associated with your YunoHost subdomain 'xxxxx.nohost.me'' has failed!

Reading dynette source code, It seems to me that error is server side, as dynette try to update bind. But I don’t know why and what kind of error.

EDIT: this is wrong

Same issue for me on a test server … I think we again have an issue with IPv6 on our infrastructure … Disabling ipv6 on my server did the trick for me … Ping @ljf in case you know what’s going on …

How do I disable ipv6? Is that something an amateur like me should so?

Why not yes … Or you can choose to wait until we fix the issue …

You can disable it doing this :

sysctl -w net.ipv6.conf.all.disable_ipv6=1
sysctl -w net.ipv6.conf.default.disable_ipv6=1

And if you want to reenable it someday you can just put 0 instead of 1

Tried that. Still no luck. I could reinstall the Let’s encrypt certificate, but the browser still not trusted the connection. I tried to go on with a restart of the server. Is it possible that that reset the disabling of ipv6?

@Aleks disabling ipv6 works for me

@lars
If you restart the server ipv6 is enabled again for you just issued sysctl commands (you didn’t write them down to /etc/sysctl.conf).
See this article in french to understand more.

Also just a side note : the dyndns update command, write down commands to send to dyndns in /etc/yunohost/dyndns/zone.

And the key to talk to dyndns can be found with ls /etc/yunohost/dyndns/K*.private

Then you can re-issue same command with:

/usr/bin/nsupdate -v -k /etc/yunohost/dyndns/Kmydomain.nohost.me.xxx.private /etc/yunohost/dyndns/zone
1 Like

I believe you have fixed the issue. My server is availabe again. Thank you very much for your work!

1 Like

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