Certificat Let's encrypt : Probleme de renouvellement

Bonjour

Mon serveur YunoHost

Matériel: NUC 5ppyh
Version de YunoHost: 3.6.5.3
J’ai accès à mon serveur : oui, via IP locale
Êtes-vous dans un contexte particulier ou avez-vous effectué des modificiations particulières sur votre instance ? : non

Description du problème

Malgré plusieurs tentatives, en ligne de commande ou via la webadmin, je ne parviens pas à renouveller mon certificat let’s encrypt. Que faire ?

Je précise que lors d’une première tentative en ligne de cmd j’ai eu le message :

Erreur : Certificate installation for cez.ynh.fr failed !
Exception: Impossible de préparer le domaine pour le défi ACME : le fichier de configuration Nginx /etc/nginx/conf.d/cez.ynh.fr.d/letsencrypt.conf est en conflit et doit être préalablement retiré

et j’ai donc supprimé ce fichier.

Enfin, voici le journal de la dernière tentative :

2019-12-10 00:28:37,453: DEBUG - Nginx configuration file for ACME challenge already exists for domain, skipping.
2019-12-10 00:28:37,453: DEBUG - Making sure tmp folders exists…
2019-12-10 00:28:37,621: DEBUG - Could not get public IPv6 : URL https://ip6.yunohost.org invalide : ce site existe-t-il ?
2019-12-10 00:28:37,997: DEBUG - custom hook folder not found for action ‘conf_regen’ in /etc/yunohost/hooks.d/
2019-12-10 00:28:38,000: DEBUG - Exécution de la commande ‘sh -c YNH_INTERFACE=api YNH_CWD=/usr/share/yunohost/hooks/conf_regen YNH_STDINFO=/tmp/tmp5gsHQU/stdinfo YNH_STDRETURN=/tmp/tmpFS4Ns5/stdreturn BASH_XTRACEFD=7 /bin/bash -x “./43-dnsmasq” pre 0 0 /home/yunohost.conf/pending/dnsmasq 7>&1’ …
2019-12-10 00:28:38,001: DEBUG - About to run the command ‘[‘sh’, ‘-c’, ‘YNH_INTERFACE=api YNH_CWD=/usr/share/yunohost/hooks/conf_regen YNH_STDINFO=/tmp/tmp5gsHQU/stdinfo YNH_STDRETURN=/tmp/tmpFS4Ns5/stdreturn BASH_XTRACEFD=7 /bin/bash -x “./43-dnsmasq” pre 0 0 /home/yunohost.conf/pending/dnsmasq 7>&1’]’
2019-12-10 00:28:38,056: DEBUG - + set -e
2019-12-10 00:28:38,068: DEBUG - + . /usr/share/yunohost/helpers
2019-12-10 00:28:38,069: DEBUG - +++ run-parts --list /usr/share/yunohost/helpers.d
2019-12-10 00:28:38,069: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-10 00:28:38,071: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/apt ‘]’
2019-12-10 00:28:38,071: DEBUG - ++ . /usr/share/yunohost/helpers.d/apt
2019-12-10 00:28:38,072: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-10 00:28:38,073: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/backup ‘]’
2019-12-10 00:28:38,074: DEBUG - ++ . /usr/share/yunohost/helpers.d/backup
2019-12-10 00:28:38,074: DEBUG - +++ CAN_BIND=1
2019-12-10 00:28:38,075: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-10 00:28:38,076: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/fail2ban ‘]’
2019-12-10 00:28:38,077: DEBUG - ++ . /usr/share/yunohost/helpers.d/fail2ban
2019-12-10 00:28:38,077: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-10 00:28:38,078: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/getopts ‘]’
2019-12-10 00:28:38,079: DEBUG - ++ . /usr/share/yunohost/helpers.d/getopts
2019-12-10 00:28:38,079: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-10 00:28:38,080: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/logging ‘]’
2019-12-10 00:28:38,081: DEBUG - ++ . /usr/share/yunohost/helpers.d/logging
2019-12-10 00:28:38,081: DEBUG - +++ increment_progression=0
2019-12-10 00:28:38,082: DEBUG - +++ previous_weight=0
2019-12-10 00:28:38,083: DEBUG - +++ max_progression=-1
2019-12-10 00:28:38,084: DEBUG - +++ progress_scale=20
2019-12-10 00:28:38,084: DEBUG - +++ progress_string2=‘####################’
2019-12-10 00:28:38,085: DEBUG - +++ progress_string1=++++++++++++++++++++
2019-12-10 00:28:38,086: DEBUG - +++ progress_string0=…
2019-12-10 00:28:38,087: DEBUG - ++++ date +%s
2019-12-10 00:28:38,188: DEBUG - +++ base_time=1575934118
2019-12-10 00:28:38,190: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-10 00:28:38,192: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/logrotate ‘]’
2019-12-10 00:28:38,193: DEBUG - ++ . /usr/share/yunohost/helpers.d/logrotate
2019-12-10 00:28:38,194: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-10 00:28:38,196: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/mysql ‘]’
2019-12-10 00:28:38,197: DEBUG - ++ . /usr/share/yunohost/helpers.d/mysql
2019-12-10 00:28:38,198: DEBUG - +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
2019-12-10 00:28:38,199: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-10 00:28:38,200: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/network ‘]’
2019-12-10 00:28:38,200: DEBUG - ++ . /usr/share/yunohost/helpers.d/network
2019-12-10 00:28:38,201: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-10 00:28:38,202: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/nginx ‘]’
2019-12-10 00:28:38,202: DEBUG - ++ . /usr/share/yunohost/helpers.d/nginx
2019-12-10 00:28:38,203: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-10 00:28:38,211: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/nodejs ‘]’
2019-12-10 00:28:38,213: DEBUG - ++ . /usr/share/yunohost/helpers.d/nodejs
2019-12-10 00:28:38,214: DEBUG - +++ n_install_dir=/opt/node_n
2019-12-10 00:28:38,216: DEBUG - +++ node_version_path=/opt/node_n/n/versions/node
2019-12-10 00:28:38,216: DEBUG - +++ export N_PREFIX=/opt/node_n
2019-12-10 00:28:38,217: DEBUG - +++ N_PREFIX=/opt/node_n
2019-12-10 00:28:38,218: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-10 00:28:38,219: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/php ‘]’
2019-12-10 00:28:38,220: DEBUG - ++ . /usr/share/yunohost/helpers.d/php
2019-12-10 00:28:38,221: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-10 00:28:38,222: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/postgresql ‘]’
2019-12-10 00:28:38,223: DEBUG - ++ . /usr/share/yunohost/helpers.d/postgresql
2019-12-10 00:28:38,224: DEBUG - +++ PSQL_ROOT_PWD_FILE=/etc/yunohost/psql
2019-12-10 00:28:38,225: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-10 00:28:38,226: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/setting ‘]’
2019-12-10 00:28:38,227: DEBUG - ++ . /usr/share/yunohost/helpers.d/setting
2019-12-10 00:28:38,228: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-10 00:28:38,228: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/string ‘]’
2019-12-10 00:28:38,229: DEBUG - ++ . /usr/share/yunohost/helpers.d/string
2019-12-10 00:28:38,229: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-10 00:28:38,230: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/systemd ‘]’
2019-12-10 00:28:38,231: DEBUG - ++ . /usr/share/yunohost/helpers.d/systemd
2019-12-10 00:28:38,231: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-10 00:28:38,232: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/user ‘]’
2019-12-10 00:28:38,233: DEBUG - ++ . /usr/share/yunohost/helpers.d/user
2019-12-10 00:28:38,233: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-10 00:28:38,234: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/utils ‘]’
2019-12-10 00:28:38,235: DEBUG - ++ . /usr/share/yunohost/helpers.d/utils
2019-12-10 00:28:38,235: DEBUG - + FORCE=0
2019-12-10 00:28:38,236: DEBUG - + DRY_RUN=0
2019-12-10 00:28:38,237: DEBUG - + case “$1” in
2019-12-10 00:28:38,237: DEBUG - + do_pre_regen /home/yunohost.conf/pending/dnsmasq
2019-12-10 00:28:38,238: DEBUG - + pending_dir=/home/yunohost.conf/pending/dnsmasq
2019-12-10 00:28:38,239: DEBUG - + cd /usr/share/yunohost/templates/dnsmasq
2019-12-10 00:28:38,239: DEBUG - + dnsmasq_dir=/home/yunohost.conf/pending/dnsmasq/etc/dnsmasq.d
2019-12-10 00:28:38,240: DEBUG - + mkdir -p /home/yunohost.conf/pending/dnsmasq/etc/dnsmasq.d
2019-12-10 00:28:38,241: DEBUG - + etcdefault_dir=/home/yunohost.conf/pending/dnsmasq/etc/default
2019-12-10 00:28:38,241: DEBUG - + mkdir -p /home/yunohost.conf/pending/dnsmasq/etc/default
2019-12-10 00:28:38,242: DEBUG - + cp plain/etcdefault /home/yunohost.conf/pending/dnsmasq/etc/default/dnsmasq
2019-12-10 00:28:38,242: DEBUG - + cp plain/dnsmasq.conf /home/yunohost.conf/pending/dnsmasq/etc/dnsmasq.conf
2019-12-10 00:28:38,243: DEBUG - + cat plain/resolv.dnsmasq.conf
2019-12-10 00:28:38,244: DEBUG - + shuf
2019-12-10 00:28:38,245: DEBUG - + grep ‘^nameserver’
2019-12-10 00:28:38,245: DEBUG - ++ curl -s -4 https://ip.yunohost.org
2019-12-10 00:28:38,347: DEBUG - + ipv4=88.191.235.167
2019-12-10 00:28:38,348: DEBUG - + ynh_validate_ip4 88.191.235.167
2019-12-10 00:28:38,349: DEBUG - + local legacy_args=i
2019-12-10 00:28:38,349: DEBUG - + args_array=([i]=ip_address=)
2019-12-10 00:28:38,350: DEBUG - + declare -Ar args_array
2019-12-10 00:28:38,351: DEBUG - + local ip_address
2019-12-10 00:28:38,352: DEBUG - + ynh_handle_getopts_args 88.191.235.167
2019-12-10 00:28:38,353: DEBUG - + set +x
2019-12-10 00:28:38,353: DEBUG - + echo ‘! Helper used in legacy mode !’
2019-12-10 00:28:38,354: DEBUG - + set +x
2019-12-10 00:28:38,355: DEBUG - + ynh_validate_ip 4 88.191.235.167
2019-12-10 00:28:38,356: DEBUG - + local legacy_args=fi
2019-12-10 00:28:38,356: DEBUG - + args_array=([f]=family= [i]=ip_address=)
2019-12-10 00:28:38,357: DEBUG - + declare -Ar args_array
2019-12-10 00:28:38,358: DEBUG - + local family
2019-12-10 00:28:38,358: DEBUG - + local ip_address
2019-12-10 00:28:38,359: DEBUG - + ynh_handle_getopts_args 4 88.191.235.167
2019-12-10 00:28:38,360: DEBUG - + set +x
2019-12-10 00:28:38,360: DEBUG - + echo ‘! Helper used in legacy mode !’
2019-12-10 00:28:38,361: DEBUG - + set +x
2019-12-10 00:28:38,361: DEBUG - + ‘[’ 4 == 4 ‘]’
2019-12-10 00:28:38,362: DEBUG - + python /dev/stdin
2019-12-10 00:28:38,463: DEBUG - ++ curl -s -6 https://ip6.yunohost.org
2019-12-10 00:28:38,465: DEBUG - ++ true
2019-12-10 00:28:38,573: DEBUG - + ipv6=
2019-12-10 00:28:38,574: DEBUG - + ynh_validate_ip6 ‘’
2019-12-10 00:28:38,575: DEBUG - + local legacy_args=i
2019-12-10 00:28:38,576: DEBUG - + args_array=([i]=ip_address=)
2019-12-10 00:28:38,577: DEBUG - + declare -Ar args_array
2019-12-10 00:28:38,577: DEBUG - + local ip_address
2019-12-10 00:28:38,578: DEBUG - + ynh_handle_getopts_args ‘’
2019-12-10 00:28:38,578: DEBUG - + set +x
2019-12-10 00:28:38,579: DEBUG - + echo ‘! Helper used in legacy mode !’
2019-12-10 00:28:38,580: DEBUG - + set +x
2019-12-10 00:28:38,580: DEBUG - + ynh_validate_ip 6
2019-12-10 00:28:38,581: DEBUG - + local legacy_args=fi
2019-12-10 00:28:38,585: DEBUG - + args_array=([f]=family= [i]=ip_address=)
2019-12-10 00:28:38,588: DEBUG - + declare -Ar args_array
2019-12-10 00:28:38,591: DEBUG - + local family
2019-12-10 00:28:38,594: DEBUG - + local ip_address
2019-12-10 00:28:38,595: DEBUG - + ynh_handle_getopts_args 6
2019-12-10 00:28:38,596: DEBUG - + set +x
2019-12-10 00:28:38,597: DEBUG - + echo ‘! Helper used in legacy mode !’
2019-12-10 00:28:38,598: DEBUG - + set +x
2019-12-10 00:28:38,598: DEBUG - + ‘[’ 6 == 4 ‘]’
2019-12-10 00:28:38,599: DEBUG - + ‘[’ 6 == 6 ‘]’
2019-12-10 00:28:38,600: DEBUG - + python /dev/stdin
2019-12-10 00:28:38,600: DEBUG - + ipv6=
2019-12-10 00:28:38,601: DEBUG - ++ sudo yunohost domain list --output-as plain --quiet
2019-12-10 00:28:39,617: DEBUG - + domain_list=cez.ynh.fr
2019-12-10 00:28:39,618: DEBUG - + for domain in $domain_list
2019-12-10 00:28:39,619: DEBUG - + sed ‘s/{{ ip }}/88.191.235.167/g’
2019-12-10 00:28:39,620: DEBUG - + sed ‘s/{{ domain }}/cez.ynh.fr/g’
2019-12-10 00:28:39,620: DEBUG - + cat domain.tpl
2019-12-10 00:28:39,621: DEBUG - + [[ -n ‘’ ]]
2019-12-10 00:28:39,621: DEBUG - ++ ls -1 /etc/dnsmasq.d
2019-12-10 00:28:39,622: DEBUG - ++ awk ‘/[1]+.[^.]+.*$/ { print $1 }’
2019-12-10 00:28:39,622: DEBUG - + conf_files=‘01-pihole.conf
2019-12-10 00:28:39,623: DEBUG - 03-pihole-wildcard.conf
2019-12-10 00:28:39,624: DEBUG - cez.ynh.fr
2019-12-10 00:28:39,624: DEBUG - + for domain in $conf_files
2019-12-10 00:28:39,625: DEBUG - + [[ cez.ynh.fr =~ 01-pihole.conf ]]
2019-12-10 00:28:39,626: DEBUG - + touch /home/yunohost.conf/pending/dnsmasq/etc/dnsmasq.d/01-pihole.conf
2019-12-10 00:28:39,626: DEBUG - + for domain in $conf_files
2019-12-10 00:28:39,627: DEBUG - + [[ cez.ynh.fr =~ 03-pihole-wildcard.conf ]]
2019-12-10 00:28:39,628: DEBUG - + touch /home/yunohost.conf/pending/dnsmasq/etc/dnsmasq.d/03-pihole-wildcard.conf
2019-12-10 00:28:39,628: DEBUG - + for domain in $conf_files
2019-12-10 00:28:39,629: DEBUG - + [[ cez.ynh.fr =~ cez.ynh.fr ]]
2019-12-10 00:28:39,629: DEBUG - + exit 0
2019-12-10 00:28:39,684: DEBUG - Exécution de la commande ‘sh -c YNH_INTERFACE=api YNH_CWD=/usr/share/yunohost/hooks/conf_regen YNH_STDINFO=/tmp/tmp4oWH0z/stdinfo YNH_STDRETURN=/tmp/tmpQMTUEo/stdreturn BASH_XTRACEFD=7 /bin/bash -x “./50-dnsmasq_pihole” pre 0 0 /home/yunohost.conf/pending/dnsmasq_pihole 7>&1’ …
2019-12-10 00:28:39,685: DEBUG - About to run the command ‘[‘sh’, ‘-c’, ‘YNH_INTERFACE=api YNH_CWD=/usr/share/yunohost/hooks/conf_regen YNH_STDINFO=/tmp/tmp4oWH0z/stdinfo YNH_STDRETURN=/tmp/tmpQMTUEo/stdreturn BASH_XTRACEFD=7 /bin/bash -x “./50-dnsmasq_pihole” pre 0 0 /home/yunohost.conf/pending/dnsmasq_pihole 7>&1’]’
2019-12-10 00:28:39,742: DEBUG - + force=0
2019-12-10 00:28:39,745: DEBUG - + dryrun=0
2019-12-10 00:28:39,746: DEBUG - + pending_conf=/home/yunohost.conf/pending/dnsmasq_pihole
2019-12-10 00:28:39,748: DEBUG - + temp_dir=/tmp/pi-hole.bck
2019-12-10 00:28:39,749: DEBUG - + case “$1” in
2019-12-10 00:28:39,749: DEBUG - + do_pre_regen
2019-12-10 00:28:39,750: DEBUG - + ‘[’ 0 -eq 0 ‘]’
2019-12-10 00:28:39,751: DEBUG - + mkdir /tmp/pi-hole.bck
2019-12-10 00:28:39,752: DEBUG - + cp -a /etc/dnsmasq.d/01-pihole.conf /tmp/pi-hole.bck
2019-12-10 00:28:39,856: DEBUG - + test -e /etc/dnsmasq.d/02-pihole-dhcp.conf
2019-12-10 00:28:39,859: DEBUG - + test -e /etc/dnsmasq.d/03-pihole-wildcard.conf
2019-12-10 00:28:39,860: DEBUG - + cp -a /etc/dnsmasq.d/03-pihole-wildcard.conf /tmp/pi-hole.bck
2019-12-10 00:28:39,861: DEBUG - + sed --in-place ‘s/^#pihole# cache-size=/cache-size=/g’ /etc/dnsmasq.conf
2019-12-10 00:28:39,862: DEBUG - + sed --in-place ‘s/^cache-size=/#cache-size=/g’ /etc/dnsmasq.d/01-pihole.conf
2019-12-10 00:28:39,864: DEBUG - + exit 0
2019-12-10 00:28:39,934: DEBUG - Applying pending configuration for category ‘dnsmasq’…
2019-12-10 00:28:39,992: DEBUG - processing pending conf ‘/home/yunohost.conf/pending/dnsmasq/etc/dnsmasq.conf’ to system conf ‘/etc/dnsmasq.conf’
2019-12-10 00:28:39,993: DEBUG - > system conf is already up-to-date
2019-12-10 00:28:39,994: DEBUG - processing pending conf ‘/home/yunohost.conf/pending/dnsmasq/etc/dnsmasq.d/03-pihole-wildcard.conf’ to system conf ‘/etc/dnsmasq.d/03-pihole-wildcard.conf’
2019-12-10 00:28:39,995: DEBUG - > system conf is not managed yet
2019-12-10 00:28:40,007: INFO - The configuration file ‘/etc/dnsmasq.d/03-pihole-wildcard.conf’ is expected to be deleted by regen-conf (category dnsmasq) but has been kept back.
2019-12-10 00:28:40,009: DEBUG - processing pending conf ‘/home/yunohost.conf/pending/dnsmasq/etc/dnsmasq.d/cez.ynh.fr’ to system conf ‘/etc/dnsmasq.d/cez.ynh.fr’
2019-12-10 00:28:40,010: DEBUG - > system conf is already up-to-date
2019-12-10 00:28:40,011: DEBUG - processing pending conf ‘/home/yunohost.conf/pending/dnsmasq/etc/resolv.dnsmasq.conf’ to system conf ‘/etc/resolv.dnsmasq.conf’
2019-12-10 00:28:40,014: DEBUG - Le fichier de configuration ‘/etc/resolv.dnsmasq.conf’ a été sauvegardé sous ‘/home/yunohost.conf/backup/etc/resolv.dnsmasq.conf-20191209.232840’
2019-12-10 00:28:40,016: DEBUG - Le fichier de configuration ‘/etc/resolv.dnsmasq.conf’ a été mis à jour
2019-12-10 00:28:40,017: DEBUG - processing pending conf ‘/home/yunohost.conf/pending/dnsmasq/etc/dnsmasq.d/01-pihole.conf’ to system conf ‘/etc/dnsmasq.d/01-pihole.conf’
2019-12-10 00:28:40,019: DEBUG - > system conf is not managed yet
2019-12-10 00:28:40,021: INFO - The configuration file ‘/etc/dnsmasq.d/01-pihole.conf’ is expected to be deleted by regen-conf (category dnsmasq) but has been kept back.
2019-12-10 00:28:40,023: DEBUG - processing pending conf ‘/home/yunohost.conf/pending/dnsmasq/etc/default/dnsmasq’ to system conf ‘/etc/default/dnsmasq’
2019-12-10 00:28:40,024: DEBUG - > system conf is already up-to-date
2019-12-10 00:28:40,025: DEBUG - updating conf hashes for ‘dnsmasq’ with: {‘/etc/dnsmasq.d/cez.ynh.fr’: ‘b8613aefab085915a5b1555e81765fa0’, ‘/etc/resolv.dnsmasq.conf’: ‘48d61a0fc17341dadc0427d2f96e6437’, ‘/etc/default/dnsmasq’: ‘ff5c2923b4d5e1e51ffd8d226c26fe2b’, ‘/etc/dnsmasq.conf’: ‘e99384d2e9cd9de9d8bbb4f1f831948d’}
2019-12-10 00:28:40,109: DEBUG - custom hook folder not found for action ‘conf_regen’ in /etc/yunohost/hooks.d/
2019-12-10 00:28:40,111: DEBUG - Exécution de la commande ‘sh -c YNH_INTERFACE=api YNH_CWD=/usr/share/yunohost/hooks/conf_regen YNH_STDINFO=/tmp/tmpNin1JN/stdinfo YNH_STDRETURN=/tmp/tmp0iVW1N/stdreturn BASH_XTRACEFD=7 /bin/bash -x “./43-dnsmasq” post 0 0 /etc/resolv.dnsmasq.conf 7>&1’ …
2019-12-10 00:28:40,112: DEBUG - About to run the command ‘[‘sh’, ‘-c’, ‘YNH_INTERFACE=api YNH_CWD=/usr/share/yunohost/hooks/conf_regen YNH_STDINFO=/tmp/tmpNin1JN/stdinfo YNH_STDRETURN=/tmp/tmp0iVW1N/stdreturn BASH_XTRACEFD=7 /bin/bash -x “./43-dnsmasq” post 0 0 /etc/resolv.dnsmasq.conf 7>&1’]’
2019-12-10 00:28:40,264: DEBUG - + set -e
2019-12-10 00:28:40,266: DEBUG - + . /usr/share/yunohost/helpers
2019-12-10 00:28:40,273: DEBUG - +++ run-parts --list /usr/share/yunohost/helpers.d
2019-12-10 00:28:40,274: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-10 00:28:40,275: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/apt ‘]’
2019-12-10 00:28:40,276: DEBUG - ++ . /usr/share/yunohost/helpers.d/apt
2019-12-10 00:28:40,276: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-10 00:28:40,280: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/backup ‘]’
2019-12-10 00:28:40,282: DEBUG - ++ . /usr/share/yunohost/helpers.d/backup
2019-12-10 00:28:40,283: DEBUG - +++ CAN_BIND=1
2019-12-10 00:28:40,284: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-10 00:28:40,285: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/fail2ban ‘]’
2019-12-10 00:28:40,285: DEBUG - ++ . /usr/share/yunohost/helpers.d/fail2ban
2019-12-10 00:28:40,286: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-10 00:28:40,287: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/getopts ‘]’
2019-12-10 00:28:40,287: DEBUG - ++ . /usr/share/yunohost/helpers.d/getopts
2019-12-10 00:28:40,288: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-10 00:28:40,291: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/logging ‘]’
2019-12-10 00:28:40,292: DEBUG - ++ . /usr/share/yunohost/helpers.d/logging
2019-12-10 00:28:40,292: DEBUG - +++ increment_progression=0
2019-12-10 00:28:40,293: DEBUG - +++ previous_weight=0
2019-12-10 00:28:40,299: DEBUG - +++ max_progression=-1
2019-12-10 00:28:40,300: DEBUG - +++ progress_scale=20
2019-12-10 00:28:40,303: DEBUG - +++ progress_string2=‘####################’
2019-12-10 00:28:40,304: DEBUG - +++ progress_string1=++++++++++++++++++++
2019-12-10 00:28:40,304: DEBUG - +++ progress_string0=…
2019-12-10 00:28:40,305: DEBUG - ++++ date +%s
2019-12-10 00:28:40,306: DEBUG - +++ base_time=1575934120
2019-12-10 00:28:40,306: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-10 00:28:40,307: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/logrotate ‘]’
2019-12-10 00:28:40,308: DEBUG - ++ . /usr/share/yunohost/helpers.d/logrotate
2019-12-10 00:28:40,308: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-10 00:28:40,309: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/mysql ‘]’
2019-12-10 00:28:40,310: DEBUG - ++ . /usr/share/yunohost/helpers.d/mysql
2019-12-10 00:28:40,310: DEBUG - +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
2019-12-10 00:28:40,311: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-10 00:28:40,311: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/network ‘]’
2019-12-10 00:28:40,312: DEBUG - ++ . /usr/share/yunohost/helpers.d/network
2019-12-10 00:28:40,313: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-10 00:28:40,314: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/nginx ‘]’
2019-12-10 00:28:40,314: DEBUG - ++ . /usr/share/yunohost/helpers.d/nginx
2019-12-10 00:28:40,315: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-10 00:28:40,316: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/nodejs ‘]’
2019-12-10 00:28:40,317: DEBUG - ++ . /usr/share/yunohost/helpers.d/nodejs
2019-12-10 00:28:40,318: DEBUG - +++ n_install_dir=/opt/node_n
2019-12-10 00:28:40,319: DEBUG - +++ node_version_path=/opt/node_n/n/versions/node
2019-12-10 00:28:40,319: DEBUG - +++ export N_PREFIX=/opt/node_n
2019-12-10 00:28:40,320: DEBUG - +++ N_PREFIX=/opt/node_n
2019-12-10 00:28:40,321: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-10 00:28:40,321: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/php ‘]’
2019-12-10 00:28:40,322: DEBUG - ++ . /usr/share/yunohost/helpers.d/php
2019-12-10 00:28:40,323: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-10 00:28:40,324: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/postgresql ‘]’
2019-12-10 00:28:40,324: DEBUG - ++ . /usr/share/yunohost/helpers.d/postgresql
2019-12-10 00:28:40,325: DEBUG - +++ PSQL_ROOT_PWD_FILE=/etc/yunohost/psql
2019-12-10 00:28:40,326: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-10 00:28:40,326: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/setting ‘]’
2019-12-10 00:28:40,327: DEBUG - ++ . /usr/share/yunohost/helpers.d/setting
2019-12-10 00:28:40,328: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-10 00:28:40,329: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/string ‘]’
2019-12-10 00:28:40,329: DEBUG - ++ . /usr/share/yunohost/helpers.d/string
2019-12-10 00:28:40,330: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-10 00:28:40,331: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/systemd ‘]’
2019-12-10 00:28:40,332: DEBUG - ++ . /usr/share/yunohost/helpers.d/systemd
2019-12-10 00:28:40,332: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-10 00:28:40,333: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/user ‘]’
2019-12-10 00:28:40,334: DEBUG - ++ . /usr/share/yunohost/helpers.d/user
2019-12-10 00:28:40,334: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-10 00:28:40,335: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/utils ‘]’
2019-12-10 00:28:40,336: DEBUG - ++ . /usr/share/yunohost/helpers.d/utils
2019-12-10 00:28:40,337: DEBUG - + FORCE=0
2019-12-10 00:28:40,337: DEBUG - + DRY_RUN=0
2019-12-10 00:28:40,338: DEBUG - + case “$1” in
2019-12-10 00:28:40,339: DEBUG - + do_post_regen /etc/resolv.dnsmasq.conf
2019-12-10 00:28:40,339: DEBUG - + regen_conf_files=/etc/resolv.dnsmasq.conf
2019-12-10 00:28:40,340: DEBUG - + [[ -z /etc/resolv.dnsmasq.conf ]]
2019-12-10 00:28:40,341: DEBUG - + sudo service dnsmasq restart
2019-12-10 00:28:51,536: DEBUG - + exit 0
2019-12-10 00:28:51,557: DEBUG - Exécution de la commande ‘sh -c YNH_INTERFACE=api YNH_CWD=/usr/share/yunohost/hooks/conf_regen YNH_STDINFO=/tmp/tmp25v8R3/stdinfo YNH_STDRETURN=/tmp/tmp9iXoAA/stdreturn BASH_XTRACEFD=7 /bin/bash -x “./50-dnsmasq_pihole” post 0 0 ‘’ 7>&1’ …
2019-12-10 00:28:51,558: DEBUG - About to run the command ‘[‘sh’, ‘-c’, ‘YNH_INTERFACE=api YNH_CWD=/usr/share/yunohost/hooks/conf_regen YNH_STDINFO=/tmp/tmp25v8R3/stdinfo YNH_STDRETURN=/tmp/tmp9iXoAA/stdreturn BASH_XTRACEFD=7 /bin/bash -x “./50-dnsmasq_pihole” post 0 0 '' 7>&1’]’
2019-12-10 00:28:51,703: DEBUG - + force=0
2019-12-10 00:28:51,706: DEBUG - + dryrun=0
2019-12-10 00:28:51,707: DEBUG - + pending_conf=
2019-12-10 00:28:51,708: DEBUG - + temp_dir=/tmp/pi-hole.bck
2019-12-10 00:28:51,708: DEBUG - + case “$1” in
2019-12-10 00:28:51,709: DEBUG - + do_post_regen
2019-12-10 00:28:51,710: DEBUG - + cp -a /tmp/pi-hole.bck/01-pihole.conf /etc/dnsmasq.d/
2019-12-10 00:28:51,710: DEBUG - + test -e /tmp/pi-hole.bck/02-pihole-dhcp.conf
2019-12-10 00:28:51,711: DEBUG - + test -e /tmp/pi-hole.bck/03-pihole-wildcard.conf
2019-12-10 00:28:51,712: DEBUG - + cp -a /tmp/pi-hole.bck/03-pihole-wildcard.conf /etc/dnsmasq.d/
2019-12-10 00:28:51,712: DEBUG - + test -n /tmp/pi-hole.bck
2019-12-10 00:28:51,713: DEBUG - + rm -r /tmp/pi-hole.bck
2019-12-10 00:28:51,714: DEBUG - + sed --in-place ‘s/^cache-size=/pihole# cache-size=/g’ /etc/dnsmasq.conf
2019-12-10 00:28:51,714: DEBUG - + systemctl reload dnsmasq
2019-12-10 00:28:51,715: DEBUG - + exit 0
2019-12-10 00:28:51,737: DEBUG - Journal historisé complet de cette opération : ‘ Régénérer les configurations du système ‘dnsmasq’
2019-12-10 00:28:51,745: DEBUG - Prepare key and certificate signing request (CSR) for cez.ynh.fr
2019-12-10 00:28:53,339: DEBUG - Saving to /tmp/acme-challenge-private/cez.ynh.fr.csr.
2019-12-10 00:28:53,340: DEBUG - Now using ACME Tiny to sign the certificate…
2019-12-10 00:28:53,341: INFO - Parsing account key…
2019-12-10 00:28:53,375: INFO - Parsing CSR…
2019-12-10 00:28:53,413: INFO - Found domains: cez.ynh.fr
2019-12-10 00:28:53,417: INFO - Getting directory…
2019-12-10 00:29:13,524: ERROR - Error getting directory:
Url: https://acme-v02.api.letsencrypt.org/directory
Data: None
Response Code: None
Response: <urlopen error [Errno -3] Temporary failure in name resolution>
2019-12-10 00:29:23,201: WARNING - Debug information:

  • domain ip from DNS 88.191.235.167
  • domain ip from local DNS 127.0.0.1
  • public ip of the server 88.191.235.167

2019-12-10 00:29:23,358: WARNING - Debug information:

  • domain ip from DNS 88.191.235.167
  • domain ip from local DNS 127.0.0.1
  • public ip of the server 88.191.235.167

2019-12-10 00:29:23,360: ERROR - Certificate installation for cez.ynh.fr failed !
Exception: La signature du nouveau certificat a échoué

Merci

Cezembre


  1. ^. ↩︎

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