Dyndns/let's encrypt failing

My YunoHost server

Hardware: Raspberry Pi 3 at home
YunoHost version: 3.5.2.2
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:89.247.9.160 ip6:2001:16b8:2f0:f300:794:b155:fdd6:a7b2 -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	89.247.9.160
*.kli.nohost.me.	3600	IN	A	89.247.9.160
kli.nohost.me.		3600	IN	AAAA	2001:16b8:2f0:f300:794:b155:fdd6:a7b2
*.kli.nohost.me.	3600	IN	AAAA	2001:16b8:2f0:f300:794:b155:fdd6:a7b2

; TSIG error with server: tsig indicates error
update failed: NOTAUTH(BADKEY)
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 20190608-172746-dyndns_update-kli.nohost.me --share'
Error: Unable to update IP address on DynDNS

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

506  DEBUG loading actions map namespace 'yunohost'
601  DEBUG extra parameter classes loaded: ['comment', 'ask', 'password', 'required', 'pattern']
602  DEBUG initializing base actions map parser for cli
606  DEBUG registering new callback action 'yunohost.utils.packages.ynh_packages_version' to ['-v', '--version']
905  DEBUG lock has been acquired
1125 DEBUG loading python module yunohost.dyndns took 0.219s
1126 INFO processing action [29934.1]: yunohost.dyndns.update with args={'domain': None, 'key': None, 'dyn_host': 'dyndns.yunohost.org', 'ipv4': None, 'ipv6': None}
1128 DEBUG Building zone update file ...
4241 DEBUG Starting new HTTPS connection (1): ip.yunohost.org
4539 DEBUG https://ip.yunohost.org:443 "GET / HTTP/1.1" 200 12
4555 DEBUG Starting new HTTPS connection (1): ip6.yunohost.org
4798 DEBUG https://ip6.yunohost.org:443 "GET / HTTP/1.1" 200 37
4808 DEBUG Old IPv4/v6 are (89.246.21.212, 2001:16b8:2eb:8800:c269:335e:1bcc:5d2b)
4809 DEBUG Requested IPv4/v6 are (89.247.9.160, 2001:16b8:2f0:f300:794:b155:fdd6:a7b2)
4819 INFO Updated needed, going on...
4825 DEBUG Starting new HTTPS connection (1): ip.yunohost.org
5126 DEBUG https://ip.yunohost.org:443 "GET / HTTP/1.1" 200 12
5153 DEBUG Starting new HTTPS connection (1): ip6.yunohost.org
5432 DEBUG https://ip6.yunohost.org:443 "GET / HTTP/1.1" 200 37
5447 DEBUG system hook folder not found for action 'custom_dns_rules' in /usr/share/yunohost/hooks/
5448 DEBUG custom hook folder not found for action 'custom_dns_rules' in /etc/yunohost/hooks.d/
5450 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:89.247.9.160 ip6:2001:16b8:2f0:f300:794:b155:fdd6:a7b2 -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	89.247.9.160
*.kli.nohost.me.	3600	IN	A	89.247.9.160
kli.nohost.me.		3600	IN	AAAA	2001:16b8:2f0:f300:794:b155:fdd6:a7b2
*.kli.nohost.me.	3600	IN	AAAA	2001:16b8:2f0:f300:794:b155:fdd6:a7b2

; TSIG error with server: tsig indicates error
update failed: NOTAUTH(BADKEY)
5654 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 20190608-173103-dyndns_update-kli.nohost.me --share'
5678 DEBUG action [29934.1] executed in 4.552s
5679 DEBUG lock has been released
5680 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-06-08 17:31:03.948971
error: Unable to update IP address on DynDNS
operation: dyndns_update
related_to:
- - domain
  - kli.nohost.me
started_at: 2019-06-08 17:31:03.115900
success: false

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

2019-06-08 17:31:03,125: INFO - Updated needed, going on...
2019-06-08 17:31:03,753: DEBUG - system hook folder not found for action 'custom_dns_rules' in /usr/share/yunohost/hooks/
2019-06-08 17:31:03,754: DEBUG - custom hook folder not found for action 'custom_dns_rules' in /etc/yunohost/hooks.d/
2019-06-08 17:31:03,756: 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        89.246.21.212
 - domain ip from local DNS  83.135.157.230
 - public ip of the server   89.247.9.160

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: /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
Success! The configuration has been updated for service 'dnsmasq'
Warning: /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
Info: Parsing account key...
Info: Parsing CSR...
Info: Registering account...
Info: Already registered!
Info: Verifying kli.nohost.me...
Error: kli.nohost.me challenge did not pass: {u'status': u'invalid', u'validationRecord': [{u'url': u'http://kli.nohost.me/.well-known/acme-challenge/9o5HRY6G7Bbo3EETCAz7I-W-MVh_ghB60n6k1IGt7Ok', u'hostname': u'kli.nohost.me', u'addressUsed': u'2001:16b8:2eb:8800:c269:335e:1bcc:5d2b', u'port': u'80', u'addressesResolved': [u'89.246.21.212', u'2001:16b8:2eb:8800:c269:335e:1bcc:5d2b']}, {u'url': u'http://kli.nohost.me/.well-known/acme-challenge/9o5HRY6G7Bbo3EETCAz7I-W-MVh_ghB60n6k1IGt7Ok', u'hostname': u'kli.nohost.me', u'addressUsed': u'89.246.21.212', u'port': u'80', u'addressesResolved': [u'89.246.21.212', u'2001:16b8:2eb:8800:c269:335e:1bcc:5d2b']}], u'uri': u'https://acme-v01.api.letsencrypt.org/acme/challenge/Ja68aiXkVUnqOMbsbze9OFkjUvKxeYYSM5h7P0Po-nk/16830605263', u'token': u'9o5HRY6G7Bbo3EETCAz7I-W-MVh_ghB60n6k1IGt7Ok', u'error': {u'status': 400, u'type': u'urn:acme:error:connection', u'detail': u'Fetching http://kli.nohost.me/.well-known/acme-challenge/9o5HRY6G7Bbo3EETCAz7I-W-MVh_ghB60n6k1IGt7Ok: Timeout during connect (likely firewall problem)'}, u'type': u'http-01'}
Warning: Debug information:
 - domain ip from DNS        89.246.21.212
 - domain ip from local DNS  89.247.9.160
 - public ip of the server   89.247.9.160

Warning: Debug information:
 - domain ip from DNS        89.246.21.212
 - domain ip from local DNS  89.247.9.160
 - public ip of the server   89.247.9.160

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 20190608-174932-letsencrypt_cert_install-kli.nohost.me --share'

The log reads:

args:
  force: false
  no_checks: true
  staging: false
ended_at: 2019-06-08 17:50:02.533254
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-06-08 17:49:32.294643
success: false

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

2019-06-08 17:49:32,304: DEBUG - Nginx configuration file for ACME challenge already exists for domain, skipping.
2019-06-08 17:49:32,305: DEBUG - Making sure tmp folders exists...
2019-06-08 17:49:32,985: DEBUG - custom hook folder not found for action 'conf_regen' in /etc/yunohost/hooks.d/
2019-06-08 17:49:33,009: DEBUG - Executing command 'sh -c YNH_STDINFO=/tmp/tmpm73Fyu/stdinfo YNH_CWD=/usr/share/yunohost/hooks/conf_regen YNH_STDRETURN=/tmp/tmp75EgpZ/stdreturn BASH_XTRACEFD=7 /bin/bash -x "./43-dnsmasq" pre 0 0 /home/yunohost.conf/pending/dnsmasq 7>&1'…
2019-06-08 17:49:33,010: DEBUG - About to run the command '['sh', '-c', 'YNH_STDINFO=/tmp/tmpm73Fyu/stdinfo YNH_CWD=/usr/share/yunohost/hooks/conf_regen YNH_STDRETURN=/tmp/tmp75EgpZ/stdreturn BASH_XTRACEFD=7 /bin/bash -x "./43-dnsmasq" pre 0 0 /home/yunohost.conf/pending/dnsmasq 7>&1']'
2019-06-08 17:49:33,145: DEBUG - + set -e
2019-06-08 17:49:33,147: WARNING - /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
2019-06-08 17:49:33,149: DEBUG - + . /usr/share/yunohost/helpers
2019-06-08 17:49:33,150: DEBUG - +++ run-parts --list /usr/share/yunohost/helpers.d
2019-06-08 17:49:33,151: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-06-08 17:49:33,152: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/backend ']'
2019-06-08 17:49:33,152: DEBUG - ++ . /usr/share/yunohost/helpers.d/backend
2019-06-08 17:49:33,153: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-06-08 17:49:33,154: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/debug ']'
2019-06-08 17:49:33,156: DEBUG - ++ . /usr/share/yunohost/helpers.d/debug
2019-06-08 17:49:33,156: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-06-08 17:49:33,157: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/filesystem ']'
2019-06-08 17:49:33,159: DEBUG - ++ . /usr/share/yunohost/helpers.d/filesystem
2019-06-08 17:49:33,160: DEBUG - +++ source /usr/share/yunohost/helpers.d/getopts
2019-06-08 17:49:33,160: DEBUG - +++ CAN_BIND=1
2019-06-08 17:49:33,161: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-06-08 17:49:33,162: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/getopts ']'
2019-06-08 17:49:33,164: DEBUG - ++ . /usr/share/yunohost/helpers.d/getopts
2019-06-08 17:49:33,165: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-06-08 17:49:33,166: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/ip ']'
2019-06-08 17:49:33,168: DEBUG - ++ . /usr/share/yunohost/helpers.d/ip
2019-06-08 17:49:33,169: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-06-08 17:49:33,170: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/mysql ']'
2019-06-08 17:49:33,171: DEBUG - ++ . /usr/share/yunohost/helpers.d/mysql
2019-06-08 17:49:33,172: DEBUG - +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
2019-06-08 17:49:33,173: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-06-08 17:49:33,174: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/network ']'
2019-06-08 17:49:33,175: DEBUG - ++ . /usr/share/yunohost/helpers.d/network
2019-06-08 17:49:33,176: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-06-08 17:49:33,177: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nodejs ']'
2019-06-08 17:49:33,178: DEBUG - ++ . /usr/share/yunohost/helpers.d/nodejs
2019-06-08 17:49:33,179: DEBUG - +++ n_install_dir=/opt/node_n
2019-06-08 17:49:33,180: DEBUG - +++ node_version_path=/opt/node_n/n/versions/node
2019-06-08 17:49:33,180: DEBUG - +++ export N_PREFIX=/opt/node_n
2019-06-08 17:49:33,181: DEBUG - +++ N_PREFIX=/opt/node_n
2019-06-08 17:49:33,182: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-06-08 17:49:33,183: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/package ']'
2019-06-08 17:49:33,183: DEBUG - ++ . /usr/share/yunohost/helpers.d/package
2019-06-08 17:49:33,184: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-06-08 17:49:33,185: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/print ']'
2019-06-08 17:49:33,186: DEBUG - ++ . /usr/share/yunohost/helpers.d/print
2019-06-08 17:49:33,186: DEBUG - +++ increment_progression=0
2019-06-08 17:49:33,187: DEBUG - +++ previous_weight=0
2019-06-08 17:49:33,188: DEBUG - ++++ date +%s
2019-06-08 17:49:33,189: DEBUG - +++ base_time=1560016173
2019-06-08 17:49:33,189: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-06-08 17:49:33,190: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/psql ']'
2019-06-08 17:49:33,191: DEBUG - ++ . /usr/share/yunohost/helpers.d/psql
2019-06-08 17:49:33,192: DEBUG - +++ PSQL_ROOT_PWD_FILE=/etc/yunohost/psql
2019-06-08 17:49:33,193: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-06-08 17:49:33,193: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/setting ']'
2019-06-08 17:49:33,194: DEBUG - ++ . /usr/share/yunohost/helpers.d/setting
2019-06-08 17:49:33,195: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-06-08 17:49:33,196: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/string ']'
2019-06-08 17:49:33,196: DEBUG - ++ . /usr/share/yunohost/helpers.d/string
2019-06-08 17:49:33,197: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-06-08 17:49:33,198: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/system ']'
2019-06-08 17:49:33,199: DEBUG - ++ . /usr/share/yunohost/helpers.d/system
2019-06-08 17:49:33,199: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-06-08 17:49:33,200: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/user ']'
2019-06-08 17:49:33,201: DEBUG - ++ . /usr/share/yunohost/helpers.d/user
2019-06-08 17:49:33,202: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-06-08 17:49:33,202: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/utils ']'
2019-06-08 17:49:33,203: DEBUG - ++ . /usr/share/yunohost/helpers.d/utils
2019-06-08 17:49:33,204: DEBUG - + FORCE=0
2019-06-08 17:49:33,205: DEBUG - + DRY_RUN=0
2019-06-08 17:49:33,206: DEBUG - + case "$1" in
2019-06-08 17:49:33,207: DEBUG - + do_pre_regen /home/yunohost.conf/pending/dnsmasq
2019-06-08 17:49:33,208: DEBUG - + pending_dir=/home/yunohost.conf/pending/dnsmasq
2019-06-08 17:49:33,209: DEBUG - + cd /usr/share/yunohost/templates/dnsmasq
2019-06-08 17:49:33,210: DEBUG - + dnsmasq_dir=/home/yunohost.conf/pending/dnsmasq/etc/dnsmasq.d
2019-06-08 17:49:33,210: DEBUG - + mkdir -p /home/yunohost.conf/pending/dnsmasq/etc/dnsmasq.d
2019-06-08 17:49:33,211: DEBUG - + etcdefault_dir=/home/yunohost.conf/pending/dnsmasq/etc/default
2019-06-08 17:49:33,211: DEBUG - + mkdir -p /home/yunohost.conf/pending/dnsmasq/etc/default
2019-06-08 17:49:33,212: DEBUG - + cp plain/etcdefault /home/yunohost.conf/pending/dnsmasq/etc/default/dnsmasq
2019-06-08 17:49:33,213: DEBUG - + cp plain/dnsmasq.conf /home/yunohost.conf/pending/dnsmasq/etc/dnsmasq.conf
2019-06-08 17:49:33,213: DEBUG - + cat plain/resolv.dnsmasq.conf
2019-06-08 17:49:33,214: DEBUG - + shuf
2019-06-08 17:49:33,215: DEBUG - + grep '^nameserver'
2019-06-08 17:49:33,215: DEBUG - ++ curl -s -4 https://ip.yunohost.org
2019-06-08 17:49:33,617: DEBUG - + ipv4=89.247.9.160
2019-06-08 17:49:33,619: DEBUG - + ynh_validate_ip4 89.247.9.160
2019-06-08 17:49:33,621: DEBUG - + local legacy_args=i
2019-06-08 17:49:33,622: DEBUG - + args_array=([i]=ip_address=)
2019-06-08 17:49:33,623: DEBUG - + declare -Ar args_array
2019-06-08 17:49:33,625: DEBUG - + local ip_address
2019-06-08 17:49:33,626: DEBUG - + ynh_handle_getopts_args 89.247.9.160
2019-06-08 17:49:33,627: DEBUG - + set +x
2019-06-08 17:49:33,629: DEBUG - + echo '! Helper used in legacy mode !'
2019-06-08 17:49:33,630: DEBUG - + set +x
2019-06-08 17:49:33,632: DEBUG - + ynh_validate_ip 4 89.247.9.160
2019-06-08 17:49:33,633: DEBUG - + local legacy_args=fi
2019-06-08 17:49:33,634: DEBUG - + args_array=([f]=family= [i]=ip_address=)
2019-06-08 17:49:33,636: DEBUG - + declare -Ar args_array
2019-06-08 17:49:33,637: DEBUG - + local family
2019-06-08 17:49:33,638: DEBUG - + local ip_address
2019-06-08 17:49:33,640: DEBUG - + ynh_handle_getopts_args 4 89.247.9.160
2019-06-08 17:49:33,641: DEBUG - + set +x
2019-06-08 17:49:33,643: DEBUG - + echo '! Helper used in legacy mode !'
2019-06-08 17:49:33,644: DEBUG - + set +x
2019-06-08 17:49:33,645: DEBUG - + '[' 4 == 4 ']'
2019-06-08 17:49:33,647: DEBUG - + python /dev/stdin
2019-06-08 17:49:33,749: DEBUG - ++ curl -s -6 https://ip6.yunohost.org
2019-06-08 17:49:33,950: DEBUG - + ipv6=2001:16b8:2f0:f300:794:b155:fdd6:a7b2
2019-06-08 17:49:33,951: DEBUG - + ynh_validate_ip6 2001:16b8:2f0:f300:794:b155:fdd6:a7b2
2019-06-08 17:49:33,952: DEBUG - + local legacy_args=i
2019-06-08 17:49:33,952: DEBUG - + args_array=([i]=ip_address=)
2019-06-08 17:49:33,953: DEBUG - + declare -Ar args_array
2019-06-08 17:49:33,954: DEBUG - + local ip_address
2019-06-08 17:49:33,954: DEBUG - + ynh_handle_getopts_args 2001:16b8:2f0:f300:794:b155:fdd6:a7b2
2019-06-08 17:49:33,955: DEBUG - + set +x
2019-06-08 17:49:33,956: DEBUG - + echo '! Helper used in legacy mode !'
2019-06-08 17:49:33,956: DEBUG - + set +x
2019-06-08 17:49:34,057: DEBUG - + ynh_validate_ip 6 2001:16b8:2f0:f300:794:b155:fdd6:a7b2
2019-06-08 17:49:34,059: DEBUG - + local legacy_args=fi
2019-06-08 17:49:34,059: DEBUG - + args_array=([f]=family= [i]=ip_address=)
2019-06-08 17:49:34,060: DEBUG - + declare -Ar args_array
2019-06-08 17:49:34,061: DEBUG - + local family
2019-06-08 17:49:34,061: DEBUG - + local ip_address
2019-06-08 17:49:34,062: DEBUG - + ynh_handle_getopts_args 6 2001:16b8:2f0:f300:794:b155:fdd6:a7b2
2019-06-08 17:49:34,063: DEBUG - + set +x
2019-06-08 17:49:34,063: DEBUG - + echo '! Helper used in legacy mode !'
2019-06-08 17:49:34,064: DEBUG - + set +x
2019-06-08 17:49:34,065: DEBUG - + '[' 6 == 4 ']'
2019-06-08 17:49:34,066: DEBUG - + '[' 6 == 6 ']'
2019-06-08 17:49:34,066: DEBUG - + python /dev/stdin
2019-06-08 17:49:34,067: DEBUG - ++ sudo yunohost domain list --output-as plain --quiet
2019-06-08 17:49:35,573: DEBUG - + domain_list=kli.nohost.me
2019-06-08 17:49:35,574: DEBUG - + for domain in $domain_list
2019-06-08 17:49:35,574: DEBUG - + sed 's/{{ domain }}/kli.nohost.me/g'
2019-06-08 17:49:35,575: DEBUG - + cat domain.tpl
2019-06-08 17:49:35,576: DEBUG - + sed 's/{{ ip }}/89.247.9.160/g'
2019-06-08 17:49:35,576: DEBUG - + [[ -n 2001:16b8:2f0:f300:794:b155:fdd6:a7b2 ]]
2019-06-08 17:49:35,577: DEBUG - + echo address=/kli.nohost.me/2001:16b8:2f0:f300:794:b155:fdd6:a7b2
2019-06-08 17:49:35,578: DEBUG - ++ ls -1 /etc/dnsmasq.d
2019-06-08 17:49:35,578: DEBUG - ++ awk '/^[^\.]+\.[^\.]+.*$/ { print $1 }'
2019-06-08 17:49:35,579: DEBUG - + conf_files=kli.nohost.me
2019-06-08 17:49:35,579: DEBUG - + for domain in $conf_files
2019-06-08 17:49:35,580: DEBUG - + [[ kli.nohost.me =~ kli.nohost.me ]]
2019-06-08 17:49:35,581: DEBUG - + exit 0
2019-06-08 17:49:35,621: DEBUG - Applying pending configuration for service 'dnsmasq'…
2019-06-08 17:49:35,770: DEBUG - processing pending conf '/home/yunohost.conf/pending/dnsmasq/etc/resolv.dnsmasq.conf' to system conf '/etc/resolv.dnsmasq.conf'
2019-06-08 17:49:35,772: DEBUG - The configuration file '/etc/resolv.dnsmasq.conf' has been backed up to '/home/yunohost.conf/backup/etc/resolv.dnsmasq.conf-20190608.174935'
2019-06-08 17:49:35,774: DEBUG - The configuration file '/etc/resolv.dnsmasq.conf' has been updated
2019-06-08 17:49:35,775: DEBUG - processing pending conf '/home/yunohost.conf/pending/dnsmasq/etc/default/dnsmasq' to system conf '/etc/default/dnsmasq'
2019-06-08 17:49:35,776: DEBUG - > system conf is already up-to-date
2019-06-08 17:49:35,777: DEBUG - processing pending conf '/home/yunohost.conf/pending/dnsmasq/etc/dnsmasq.conf' to system conf '/etc/dnsmasq.conf'
2019-06-08 17:49:35,778: DEBUG - > system conf is already up-to-date
2019-06-08 17:49:35,779: 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-06-08 17:49:35,780: DEBUG - > system conf is already up-to-date
2019-06-08 17:49:35,781: SUCCESS - The configuration has been updated for service 'dnsmasq'
2019-06-08 17:49:35,783: DEBUG - updating conf hashes for 'dnsmasq' with: {'/etc/resolv.dnsmasq.conf': '909e8a7d6b651a1645980ca1445e0b24', '/etc/default/dnsmasq': 'ff5c2923b4d5e1e51ffd8d226c26fe2b', '/etc/dnsmasq.conf': 'e99384d2e9cd9de9d8bbb4f1f831948d', '/etc/dnsmasq.d/kli.nohost.me': '05180c98ecead669d395bfcfc5315353'}
2019-06-08 17:49:36,034: DEBUG - custom hook folder not found for action 'conf_regen' in /etc/yunohost/hooks.d/
2019-06-08 17:49:36,036: DEBUG - Executing command 'sh -c YNH_STDINFO=/tmp/tmpvebP2l/stdinfo YNH_CWD=/usr/share/yunohost/hooks/conf_regen YNH_STDRETURN=/tmp/tmpA0v_pM/stdreturn BASH_XTRACEFD=7 /bin/bash -x "./43-dnsmasq" post 0 0 /etc/resolv.dnsmasq.conf 7>&1'…
2019-06-08 17:49:36,037: DEBUG - About to run the command '['sh', '-c', 'YNH_STDINFO=/tmp/tmpvebP2l/stdinfo YNH_CWD=/usr/share/yunohost/hooks/conf_regen YNH_STDRETURN=/tmp/tmpA0v_pM/stdreturn BASH_XTRACEFD=7 /bin/bash -x "./43-dnsmasq" post 0 0 /etc/resolv.dnsmasq.conf 7>&1']'
2019-06-08 17:49:36,070: DEBUG - + set -e
2019-06-08 17:49:36,073: DEBUG - + . /usr/share/yunohost/helpers
2019-06-08 17:49:36,074: DEBUG - +++ run-parts --list /usr/share/yunohost/helpers.d
2019-06-08 17:49:36,075: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-06-08 17:49:36,076: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/backend ']'
2019-06-08 17:49:36,076: DEBUG - ++ . /usr/share/yunohost/helpers.d/backend
2019-06-08 17:49:36,178: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-06-08 17:49:36,179: WARNING - /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
2019-06-08 17:49:36,181: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/debug ']'
2019-06-08 17:49:36,181: DEBUG - ++ . /usr/share/yunohost/helpers.d/debug
2019-06-08 17:49:36,182: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-06-08 17:49:36,183: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/filesystem ']'
2019-06-08 17:49:36,184: DEBUG - ++ . /usr/share/yunohost/helpers.d/filesystem
2019-06-08 17:49:36,184: DEBUG - +++ source /usr/share/yunohost/helpers.d/getopts
2019-06-08 17:49:36,186: DEBUG - +++ CAN_BIND=1
2019-06-08 17:49:36,186: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-06-08 17:49:36,188: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/getopts ']'
2019-06-08 17:49:36,189: DEBUG - ++ . /usr/share/yunohost/helpers.d/getopts
2019-06-08 17:49:36,189: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-06-08 17:49:36,190: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/ip ']'
2019-06-08 17:49:36,191: DEBUG - ++ . /usr/share/yunohost/helpers.d/ip
2019-06-08 17:49:36,192: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-06-08 17:49:36,192: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/mysql ']'
2019-06-08 17:49:36,193: DEBUG - ++ . /usr/share/yunohost/helpers.d/mysql
2019-06-08 17:49:36,194: DEBUG - +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
2019-06-08 17:49:36,194: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-06-08 17:49:36,195: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/network ']'
2019-06-08 17:49:36,196: DEBUG - ++ . /usr/share/yunohost/helpers.d/network
2019-06-08 17:49:36,197: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-06-08 17:49:36,198: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nodejs ']'
2019-06-08 17:49:36,198: DEBUG - ++ . /usr/share/yunohost/helpers.d/nodejs
2019-06-08 17:49:36,199: DEBUG - +++ n_install_dir=/opt/node_n
2019-06-08 17:49:36,200: DEBUG - +++ node_version_path=/opt/node_n/n/versions/node
2019-06-08 17:49:36,200: DEBUG - +++ export N_PREFIX=/opt/node_n
2019-06-08 17:49:36,201: DEBUG - +++ N_PREFIX=/opt/node_n
2019-06-08 17:49:36,202: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-06-08 17:49:36,203: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/package ']'
2019-06-08 17:49:36,203: DEBUG - ++ . /usr/share/yunohost/helpers.d/package
2019-06-08 17:49:36,204: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-06-08 17:49:36,205: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/print ']'
2019-06-08 17:49:36,205: DEBUG - ++ . /usr/share/yunohost/helpers.d/print
2019-06-08 17:49:36,206: DEBUG - +++ increment_progression=0
2019-06-08 17:49:36,208: DEBUG - +++ previous_weight=0
2019-06-08 17:49:36,209: DEBUG - ++++ date +%s
2019-06-08 17:49:36,210: DEBUG - +++ base_time=1560016176
2019-06-08 17:49:36,211: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-06-08 17:49:36,212: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/psql ']'
2019-06-08 17:49:36,213: DEBUG - ++ . /usr/share/yunohost/helpers.d/psql
2019-06-08 17:49:36,214: DEBUG - +++ PSQL_ROOT_PWD_FILE=/etc/yunohost/psql
2019-06-08 17:49:36,215: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-06-08 17:49:36,216: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/setting ']'
2019-06-08 17:49:36,217: DEBUG - ++ . /usr/share/yunohost/helpers.d/setting
2019-06-08 17:49:36,218: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-06-08 17:49:36,220: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/string ']'
2019-06-08 17:49:36,223: DEBUG - ++ . /usr/share/yunohost/helpers.d/string
2019-06-08 17:49:36,224: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-06-08 17:49:36,225: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/system ']'
2019-06-08 17:49:36,226: DEBUG - ++ . /usr/share/yunohost/helpers.d/system
2019-06-08 17:49:36,227: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-06-08 17:49:36,228: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/user ']'
2019-06-08 17:49:36,229: DEBUG - ++ . /usr/share/yunohost/helpers.d/user
2019-06-08 17:49:36,232: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-06-08 17:49:36,234: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/utils ']'
2019-06-08 17:49:36,235: DEBUG - ++ . /usr/share/yunohost/helpers.d/utils
2019-06-08 17:49:36,236: DEBUG - + FORCE=0
2019-06-08 17:49:36,238: DEBUG - + DRY_RUN=0
2019-06-08 17:49:36,239: DEBUG - + case "$1" in
2019-06-08 17:49:36,241: DEBUG - + do_post_regen /etc/resolv.dnsmasq.conf
2019-06-08 17:49:36,242: DEBUG - + regen_conf_files=/etc/resolv.dnsmasq.conf
2019-06-08 17:49:36,243: DEBUG - + [[ -z /etc/resolv.dnsmasq.conf ]]
2019-06-08 17:49:36,244: DEBUG - + sudo service dnsmasq restart
2019-06-08 17:49:36,747: DEBUG - + exit 0
2019-06-08 17:49:36,794: DEBUG - To view the log of the operation 'Regenerate system configurations 'dnsmasq'', use the command 'yunohost log display 20190608-174932-service_regen_conf-dnsmasq'
2019-06-08 17:49:36,804: DEBUG - Prepare key and certificate signing request (CSR) for kli.nohost.me...
2019-06-08 17:49:38,641: DEBUG - Saving to /tmp/acme-challenge-private/kli.nohost.me.csr.
2019-06-08 17:49:38,642: DEBUG - Now using ACME Tiny to sign the certificate...
2019-06-08 17:49:38,643: INFO - Parsing account key...
2019-06-08 17:49:38,675: INFO - Parsing CSR...
2019-06-08 17:49:38,705: INFO - Registering account...
2019-06-08 17:49:39,609: INFO - Already registered!
2019-06-08 17:49:39,611: INFO - Verifying kli.nohost.me...
2019-06-08 17:50:01,749: ERROR - kli.nohost.me challenge did not pass: {u'status': u'invalid', u'validationRecord': [{u'url': u'http://kli.nohost.me/.well-known/acme-challenge/9o5HRY6G7Bbo3EETCAz7I-W-MVh_ghB60n6k1IGt7Ok', u'hostname': u'kli.nohost.me', u'addressUsed': u'2001:16b8:2eb:8800:c269:335e:1bcc:5d2b', u'port': u'80', u'addressesResolved': [u'89.246.21.212', u'2001:16b8:2eb:8800:c269:335e:1bcc:5d2b']}, {u'url': u'http://kli.nohost.me/.well-known/acme-challenge/9o5HRY6G7Bbo3EETCAz7I-W-MVh_ghB60n6k1IGt7Ok', u'hostname': u'kli.nohost.me', u'addressUsed': u'89.246.21.212', u'port': u'80', u'addressesResolved': [u'89.246.21.212', u'2001:16b8:2eb:8800:c269:335e:1bcc:5d2b']}], u'uri': u'https://acme-v01.api.letsencrypt.org/acme/challenge/Ja68aiXkVUnqOMbsbze9OFkjUvKxeYYSM5h7P0Po-nk/16830605263', u'token': u'9o5HRY6G7Bbo3EETCAz7I-W-MVh_ghB60n6k1IGt7Ok', u'error': {u'status': 400, u'type': u'urn:acme:error:connection', u'detail': u'Fetching http://kli.nohost.me/.well-known/acme-challenge/9o5HRY6G7Bbo3EETCAz7I-W-MVh_ghB60n6k1IGt7Ok: Timeout during connect (likely firewall problem)'}, u'type': u'http-01'}
2019-06-08 17:50:02,157: WARNING - Debug information:
 - domain ip from DNS        89.246.21.212
 - domain ip from local DNS  89.247.9.160
 - public ip of the server   89.247.9.160

2019-06-08 17:50:02,528: WARNING - Debug information:
 - domain ip from DNS        89.246.21.212
 - domain ip from local DNS  89.247.9.160
 - public ip of the server   89.247.9.160

2019-06-08 17:50:02,531: ERROR - Certificate installation for kli.nohost.me failed !
Exception: Signing the new certificate failed

I hope that there is somebody out there who can help me with that problem, because I really love my yunohost server!

Well this very much looks like, for some reason, your dyndns key used to update the DNS record aint working anymore … Not sure why (did you ask to reset your domain without resubscribing it somehow ?)

I dunno …

Anyway, an easy fix should be to reset the domain on our side, then you can resubscribe it … Are you okay with this ? If so, we will proceed in resetting your domain on our side.

I think it started after I upgraded yunohost. The solution with the reset of the server seems to be sensible. What do I have to do after you have deleted the address?

Those commands basically :

rm /etc/cron.d/yunohost-dyndns
rm -r /etc/yunohost/dyndns
yunohost dyndns subscribe -d yourdomain.nohost.me

All right. Will you tell me when you have reset the domain?

Tried to reset it, and it actually sounds like the domain aint registered, so feel free to (re?)subscribe it

Worked like a charm! Thanks so much for your help!

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