Impossible to renew expired cert lets encrypt (Challenge muc.domain KO) dyndns

My YunoHost server

Hardware: Other ARM board / …
YunoHost version: ???
I have access to my server : Through SSH
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no

Description of my issue

My cert expired today and didn’t renew by itself like the other times.
I can’t even access to yunohost admin because of the cert error.
I tried via a prompt to cert-renew with no-checks… But still, it doesn’t work.
For info : my domain is a dyndns nohost.me one !
Please find below the full logs with the no-checks.


args:
  email: false
  force: false
  no_checks: true
ended_at: 2023-05-24 19:21:43.809468
error: 'Certificate renewing for maindomain.tld failed!

  Please consider checking the ''DNS records'' (basic) and ''Web'' categories of the
  diagnosis to check for possible issues that may prevent installing a Let''s Encrypt
  certificate on domain maindomain.tld.'
interface: cli
operation: letsencrypt_cert_renew
parent: null
related_to:
- - domain
  - maindomain.tld
started_at: 2023-05-24 19:21:23.410202
success: false
yunohost_version: 11.1.18

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

2023-05-24 20:21:23,424: DEBUG - Making sure tmp folders exists...
2023-05-24 20:21:23,426: DEBUG - Reusing IPv4 from cache: xx.xx.xx.xx
2023-05-24 20:21:23,427: DEBUG - Reusing IPv6 from cache: xx:xx:xx:xx:xx:xx
2023-05-24 20:21:23,453: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./43-dnsmasq" pre \'\' \'\' /var/cache/yunohost/regenconf/pending/dnsmasq 7>&1']'
2023-05-24 20:21:23,464: DEBUG - + set -e
2023-05-24 20:21:23,465: DEBUG - + . /usr/share/yunohost/helpers
2023-05-24 20:21:23,466: DEBUG - +++ set +o
2023-05-24 20:21:23,467: DEBUG - +++ grep xtrace
2023-05-24 20:21:23,470: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2023-05-24 20:21:23,470: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2023-05-24 20:21:23,504: DEBUG - + do_pre_regen /var/cache/yunohost/regenconf/pending/dnsmasq
2023-05-24 20:21:23,504: DEBUG - + pending_dir=/var/cache/yunohost/regenconf/pending/dnsmasq
2023-05-24 20:21:23,505: DEBUG - + cd /usr/share/yunohost/conf/dnsmasq
2023-05-24 20:21:23,505: DEBUG - + dnsmasq_dir=/var/cache/yunohost/regenconf/pending/dnsmasq/etc/dnsmasq.d
2023-05-24 20:21:23,506: DEBUG - + mkdir -p /var/cache/yunohost/regenconf/pending/dnsmasq/etc/dnsmasq.d
2023-05-24 20:21:23,507: DEBUG - + etcdefault_dir=/var/cache/yunohost/regenconf/pending/dnsmasq/etc/default
2023-05-24 20:21:23,508: DEBUG - + mkdir -p /var/cache/yunohost/regenconf/pending/dnsmasq/etc/default
2023-05-24 20:21:23,510: DEBUG - + cp plain/etcdefault /var/cache/yunohost/regenconf/pending/dnsmasq/etc/default/dnsmasq
2023-05-24 20:21:23,514: DEBUG - + cat plain/resolv.dnsmasq.conf
2023-05-24 20:21:23,515: DEBUG - + grep '^nameserver'
2023-05-24 20:21:23,516: DEBUG - + shuf
2023-05-24 20:21:23,520: DEBUG - ++ curl --max-time 10 -s -4 https://ip.yunohost.org
2023-05-24 20:21:23,595: DEBUG - + ipv4=xx.xx.xx.xx
2023-05-24 20:21:23,596: DEBUG - + ynh_validate_ip4 xx.xx.xx.xx
2023-05-24 20:21:23,612: DEBUG - + ynh_validate_ip --family=4 --ip_address=xx.xx.xx.xx
2023-05-24 20:21:23,662: DEBUG - + '[' 4 == 4 ']'
2023-05-24 20:21:23,663: DEBUG - + python3 /dev/stdin
2023-05-24 20:21:23,738: DEBUG - ++ curl --max-time 10 -s -6 https://ip6.yunohost.org
2023-05-24 20:21:23,815: DEBUG - + ipv6=xx:xx:xx:xx:xx:xx
2023-05-24 20:21:23,816: DEBUG - + ynh_validate_ip6 xx:xx:xx:xx:xx:xx
2023-05-24 20:21:23,832: DEBUG - + ynh_validate_ip --family=6 --ip_address=xx:xx:xx:xx:xx:xx
2023-05-24 20:21:23,884: DEBUG - + '[' 6 == 4 ']'
2023-05-24 20:21:23,884: DEBUG - + '[' 6 == 6 ']'
2023-05-24 20:21:23,885: DEBUG - + python3 /dev/stdin
2023-05-24 20:21:23,958: DEBUG - ++ ip -j addr show
2023-05-24 20:21:23,959: DEBUG - ++ jq -r '[.[].ifname]|join(" ")'
2023-05-24 20:21:24,038: DEBUG - + interfaces='lo enp0s3'
2023-05-24 20:21:24,039: DEBUG - + wireless_interfaces=lo
2023-05-24 20:21:24,039: DEBUG - ++ ls /sys/class/net
2023-05-24 20:21:24,042: DEBUG - + for dev in $(ls /sys/class/net)
2023-05-24 20:21:24,043: DEBUG - + '[' -d /sys/class/net/enp0s3/wireless ']'
2023-05-24 20:21:24,043: DEBUG - + for dev in $(ls /sys/class/net)
2023-05-24 20:21:24,044: DEBUG - + '[' -d /sys/class/net/lo/wireless ']'
2023-05-24 20:21:24,044: DEBUG - + export wireless_interfaces
2023-05-24 20:21:24,044: DEBUG - + ynh_render_template dnsmasq.conf.tpl /var/cache/yunohost/regenconf/pending/dnsmasq/etc/dnsmasq.conf
2023-05-24 20:21:24,045: DEBUG - + local template_path=dnsmasq.conf.tpl
2023-05-24 20:21:24,045: DEBUG - + local output_path=/var/cache/yunohost/regenconf/pending/dnsmasq/etc/dnsmasq.conf
2023-05-24 20:21:24,046: DEBUG - ++ dirname /var/cache/yunohost/regenconf/pending/dnsmasq/etc/dnsmasq.conf
2023-05-24 20:21:24,046: DEBUG - + mkdir -p /var/cache/yunohost/regenconf/pending/dnsmasq/etc
2023-05-24 20:21:24,048: DEBUG - + python3 -c 'import os, sys, jinja2; sys.stdout.write(
2023-05-24 20:21:24,049: DEBUG -                     jinja2.Template(sys.stdin.read()
2023-05-24 20:21:24,049: DEBUG -                     ).render(os.environ));'
2023-05-24 20:21:24,204: DEBUG - + export interfaces
2023-05-24 20:21:24,204: DEBUG - + export ipv4
2023-05-24 20:21:24,205: DEBUG - + export ipv6
2023-05-24 20:21:24,205: DEBUG - + for domain in $YNH_DOMAINS
2023-05-24 20:21:24,206: DEBUG - + [[ ! maindomain.tld =~ \.local$ ]]
2023-05-24 20:21:24,206: DEBUG - + export domain
2023-05-24 20:21:24,207: DEBUG - + ynh_render_template domain.tpl /var/cache/yunohost/regenconf/pending/dnsmasq/etc/dnsmasq.d/maindomain.tld
2023-05-24 20:21:24,207: DEBUG - + local template_path=domain.tpl
2023-05-24 20:21:24,207: DEBUG - + local output_path=/var/cache/yunohost/regenconf/pending/dnsmasq/etc/dnsmasq.d/maindomain.tld
2023-05-24 20:21:24,208: DEBUG - ++ dirname /var/cache/yunohost/regenconf/pending/dnsmasq/etc/dnsmasq.d/maindomain.tld
2023-05-24 20:21:24,208: DEBUG - + mkdir -p /var/cache/yunohost/regenconf/pending/dnsmasq/etc/dnsmasq.d
2023-05-24 20:21:24,210: DEBUG - + python3 -c 'import os, sys, jinja2; sys.stdout.write(
2023-05-24 20:21:24,211: DEBUG -                     jinja2.Template(sys.stdin.read()
2023-05-24 20:21:24,211: DEBUG -                     ).render(os.environ));'
2023-05-24 20:21:24,372: DEBUG - ++ ls -1 /etc/dnsmasq.d
2023-05-24 20:21:24,373: DEBUG - ++ awk '/^[^\.]+\.[^\.]+.*$/ { print $1 }'
2023-05-24 20:21:24,378: DEBUG - + conf_files=maindomain.tld
2023-05-24 20:21:24,378: DEBUG - + for domain in $conf_files
2023-05-24 20:21:24,378: DEBUG - + [[ ! maindomain.tld =~ maindomain.tld ]]
2023-05-24 20:21:25,381: DEBUG - Checking pending configuration which would have been applied for category 'dnsmasq'...
2023-05-24 20:21:25,416: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/dnsmasq/etc/dnsmasq.conf' to system conf '/etc/dnsmasq.conf'
2023-05-24 20:21:25,417: DEBUG - > system conf is already up-to-date
2023-05-24 20:21:25,417: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/dnsmasq/etc/resolv.dnsmasq.conf' to system conf '/etc/resolv.dnsmasq.conf'
2023-05-24 20:21:25,418: DEBUG - Configuration file '/etc/resolv.dnsmasq.conf' backed up to '/var/cache/yunohost/regenconf/backup/etc/resolv.dnsmasq.conf-20230524.192125'
2023-05-24 20:21:25,420: DEBUG - Configuration file '/etc/resolv.dnsmasq.conf' updated
2023-05-24 20:21:25,420: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/dnsmasq/etc/default/dnsmasq' to system conf '/etc/default/dnsmasq'
2023-05-24 20:21:25,421: DEBUG - > system conf is already up-to-date
2023-05-24 20:21:25,422: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/dnsmasq/etc/dnsmasq.d/maindomain.tld' to system conf '/etc/dnsmasq.d/maindomain.tld'
2023-05-24 20:21:25,422: DEBUG - > system conf is already up-to-date
2023-05-24 20:21:25,423: SUCCESS - Configuration updated for 'dnsmasq'
2023-05-24 20:21:25,428: DEBUG - updating conf hashes for 'dnsmasq' with: {'/etc/default/dnsmasq': 'ff5c2923b4d5e1e51ffd8d226c26fe2b', '/etc/dnsmasq.conf': 'eb5a7091f047b94f656ea5a2e4bfbaa0', '/etc/dnsmasq.d/maindomain.tld': '6d8baf72fb8c60b64e3d94aeaf7d3622', '/etc/resolv.dnsmasq.conf': '7c1c9e14dd2f1041f81ee30b5a065bd3'}
2023-05-24 20:21:25,483: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./43-dnsmasq" post \'\' \'\' /etc/resolv.dnsmasq.conf 7>&1']'
2023-05-24 20:21:25,493: DEBUG - + set -e
2023-05-24 20:21:25,494: DEBUG - + . /usr/share/yunohost/helpers
2023-05-24 20:21:25,495: DEBUG - +++ set +o
2023-05-24 20:21:25,495: DEBUG - +++ grep xtrace
2023-05-24 20:21:25,497: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2023-05-24 20:21:25,498: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2023-05-24 20:21:25,531: DEBUG - + do_post_regen /etc/resolv.dnsmasq.conf
2023-05-24 20:21:25,532: DEBUG - + regen_conf_files=/etc/resolv.dnsmasq.conf
2023-05-24 20:21:25,532: DEBUG - + chown 644 /etc/resolv.dnsmasq.conf
2023-05-24 20:21:25,538: DEBUG - + grep -q -E '^ *(domain|search)' /run/resolvconf/resolv.conf
2023-05-24 20:21:25,542: DEBUG - ++ hostname -s
2023-05-24 20:21:25,544: DEBUG - + short_hostname=thino
2023-05-24 20:21:25,544: DEBUG - + grep -q '127.0.0.1.*thino' /etc/hosts
2023-05-24 20:21:25,547: DEBUG - + [[ -n /etc/resolv.dnsmasq.conf ]]
2023-05-24 20:21:25,547: DEBUG - + for SERVICE in systemd-resolved bind9
2023-05-24 20:21:25,547: DEBUG - + systemctl is-enabled systemd-resolved
2023-05-24 20:21:25,561: DEBUG - + systemctl is-active systemd-resolved
2023-05-24 20:21:25,572: DEBUG - + for SERVICE in systemd-resolved bind9
2023-05-24 20:21:25,572: DEBUG - + systemctl is-enabled bind9
2023-05-24 20:21:25,580: DEBUG - + systemctl is-active bind9
2023-05-24 20:21:25,587: DEBUG - + systemctl restart dnsmasq
2023-05-24 20:21:27,591: DEBUG - To view the log of the operation 'Regenerate system configurations 'dnsmasq'', use the command 'yunohost log show 20230524-192123-regen_conf-dnsmasq'
2023-05-24 20:21:27,606: DEBUG - Prepare key and certificate signing request (CSR) for maindomain.tld...
2023-05-24 20:21:28,265: DEBUG - Saving to /tmp/acme-challenge-private/maindomain.tld.csr.
2023-05-24 20:21:28,265: DEBUG - Now using ACME Tiny to sign the certificate...
2023-05-24 20:21:28,266: INFO - Parsing account key...
2023-05-24 20:21:28,285: INFO - Parsing CSR...
2023-05-24 20:21:28,303: INFO - Found domains: muc.maindomain.tld, xmpp-upload.maindomain.tld, maindomain.tld
2023-05-24 20:21:28,312: INFO - Getting directory...
2023-05-24 20:21:28,731: INFO - Directory found!
2023-05-24 20:21:28,735: INFO - Registering account...
2023-05-24 20:21:29,559: INFO - Already registered!
2023-05-24 20:21:29,563: INFO - Creating new order...
2023-05-24 20:21:30,455: INFO - Order created!
2023-05-24 20:21:31,253: INFO - Verifying maindomain.tld...
2023-05-24 20:21:32,940: INFO - maindomain.tld verified!
2023-05-24 20:21:33,831: INFO - Verifying xmpp-upload.maindomain.tld...
2023-05-24 20:21:35,520: INFO - xmpp-upload.maindomain.tld verified!
2023-05-24 20:21:36,374: INFO - Verifying muc.maindomain.tld...
2023-05-24 20:21:43,741: ERROR - Challenge did not pass for muc.maindomain.tld: {'identifier': {'type': 'dns', 'value': 'muc.maindomain.tld'}, 'status': 'invalid', 'expires': '2023-05-31T19:21:30Z', 'challenges': [{'type': 'http-01', 'status': 'invalid', 'error': {'type': 'urn:ietf:params:acme:error:unauthorized', 'detail': 'xx:xx:xx:xx:xx:xx: Invalid response from https://maindomain.tld/yunohost/sso/?r=aHR0cHM6Ly90aGluby5ub2hvc3QubWUv: "<!DOCTYPE html>\\n<html>\\n<head>\\n  <meta charset=\\"utf-8\\">\\n  <title>YunoHost Portal</title>\\n\\n  <!-- Responsive -->\\n  <meta name=\\"for"', 'status': 403}, 'url': 'https://acme-v02.api.letsencrypt.org/acme/chall-v3/230764692807/jugWCQ', 'token': 'OoiOxp6Nagks9MgRH-soebPZAc_CrvdnyAHvCmBRy60', 'validationRecord': [{'url': 'http://muc.maindomain.tld/.well-known/acme-challenge/OoiOxp6Nagks9MgRH-soebPZAc_CrvdnyAHvCmBRy60', 'hostname': 'muc.maindomain.tld', 'port': '80', 'addressesResolved': ['xx.xx.xx.xx', 'xx:xx:xx:xx:xx:xx'], 'addressUsed': 'xx:xx:xx:xx:xx:xx'}, {'url': 'https://maindomain.tld/', 'hostname': 'maindomain.tld', 'port': '443', 'addressesResolved': ['xx.xx.xx.xx', 'xx:xx:xx:xx:xx:xx'], 'addressUsed': 'xx:xx:xx:xx:xx:xx'}, {'url': 'https://maindomain.tld/yunohost/sso/?r=aHR0cHM6Ly90aGluby5ub2hvc3QubWUv', 'hostname': 'maindomain.tld', 'port': '443', 'addressesResolved': ['xx.xx.xx.xx', 'xx:xx:xx:xx:xx:xx'], 'addressUsed': 'xx:xx:xx:xx:xx:xx'}], 'validated': '2023-05-24T19:21:37Z'}]}
2023-05-24 20:21:43,799: ERROR - Certificate renewing for maindomain.tld failed!
Please consider checking the 'DNS records' (basic) and 'Web' categories of the diagnosis to check for possible issues that may prevent installing a Let's Encrypt certificate on domain maindomain.tld.

Thanks !

Did you try this Unable to get SSL certs with Let's Encrypt - #2 by jarod5001

  1. Not working.
    Still when trying to verify muc.domain that it failed.

  2. I can ping my server, and I can ping wikipedia, both OK with ipv4 & ipv6.

  3. tried : dyndns update -debug >> no issue or needed update

2023-05-25 00:17:11,498: DEBUG - Making sure tmp folders exists...
2023-05-25 00:17:11,508: DEBUG - Fetching IP from https://ip.yunohost.org 
2023-05-25 00:17:11,685: DEBUG - IP fetched: xx.xx.xx.xx
2023-05-25 00:17:11,695: DEBUG - Fetching IP from https://ip6.yunohost.org 
2023-05-25 00:17:11,770: DEBUG - IP fetched: xx:xx:xx:xx:xx:xx
2023-05-25 00:17:11,773: DEBUG - Prepare key and certificate signing request (CSR) for maindomain.tld...
2023-05-25 00:17:14,116: DEBUG - Saving to /tmp/acme-challenge-private/maindomain.tld.csr.
2023-05-25 00:17:14,117: DEBUG - Now using ACME Tiny to sign the certificate...
2023-05-25 00:17:14,117: INFO - Parsing account key...
2023-05-25 00:17:14,135: INFO - Parsing CSR...
2023-05-25 00:17:14,153: INFO - Found domains: muc.maindomain.tld, xmpp-upload.maindomain.tld, maindomain.tld
2023-05-25 00:17:14,162: INFO - Getting directory...
2023-05-25 00:17:14,605: INFO - Directory found!
2023-05-25 00:17:14,609: INFO - Registering account...
2023-05-25 00:17:15,516: INFO - Already registered!
2023-05-25 00:17:15,520: INFO - Creating new order...
2023-05-25 00:17:16,452: INFO - Order created!
2023-05-25 00:17:17,298: INFO - Verifying maindomain.tld...
2023-05-25 00:17:19,057: INFO - maindomain.tld verified!
2023-05-25 00:17:19,893: INFO - Verifying xmpp-upload.maindomain.tld...
2023-05-25 00:17:21,618: INFO - xmpp-upload.maindomain.tld verified!
2023-05-25 00:17:22,504: INFO - Verifying muc.maindomain.tld...
2023-05-25 00:17:29,912: ERROR - Challenge did not pass for muc.maindomain.tld: {'identifier': {'type': 'dns', 'value': 'muc.maindomain.tld'}, 'status': 'invalid', 'expires': '2023-05-31T23:17:16Z', 'challenges': [{'type': 'http-01', 'status': 'invalid', 'error': {'type': 'urn:ietf:params:acme:error:unauthorized', 'detail': 'xx:xx:xx:xx:xx:xx: Invalid response from https://maindomain.tld/yunohost/sso/?r=aHR0cHM6Ly90aGluby5ub2hvc3QubWUv: "<!DOCTYPE html>\\n<html>\\n<head>\\n  <meta charset=\\"utf-8\\">\\n  <title>YunoHost Portal</title>\\n\\n  <!-- Responsive -->\\n  <meta name=\\"for"', 'status': 403}, 'url': 'https://acme-v02.api.letsencrypt.org/acme/chall-v3/230810971247/pbu45A', 'token': 'Z_e_fyz_5bpxZtDRzgFKzv1JB9TdL2xUoXp7wf53vzg', 'validationRecord': [{'url': 'http://muc.maindomain.tld/.well-known/acme-challenge/Z_e_fyz_5bpxZtDRzgFKzv1JB9TdL2xUoXp7wf53vzg', 'hostname': 'muc.maindomain.tld', 'port': '80', 'addressesResolved': ['xx.xx.xx.xx', 'xx:xx:xx:xx:xx:xx'], 'addressUsed': 'xx:xx:xx:xx:xx:xx'}, {'url': 'https://maindomain.tld/', 'hostname': 'maindomain.tld', 'port': '443', 'addressesResolved': ['xx.xx.xx.xx', 'xx:xx:xx:xx:xx:xx'], 'addressUsed': 'xx:xx:xx:xx:xx:xx'}, {'url': 'https://maindomain.tld/yunohost/sso/?r=aHR0cHM6Ly90aGluby5ub2hvc3QubWUv', 'hostname': 'maindomain.tld', 'port': '443', 'addressesResolved': ['xx.xx.xx.xx', 'xx:xx:xx:xx:xx:xx'], 'addressUsed': 'xx:xx:xx:xx:xx:xx'}], 'validated': '2023-05-24T23:17:23Z'}]}
2023-05-25 00:17:29,968: ERROR - Certificate renewing for maindomain.tld failed!
Please consider checking the 'DNS records' (basic) and 'Web' categories of the diagnosis to check for possible issues that may prevent installing a Let's Encrypt certificate on domain maindomain.tld.

Try disabling xmpp for that domain and check again

It worked ! Thanks !

Updating DNS Conf

args:
  domain: maindomain.tld
  key: feature
  value: null
ended_at: 2023-05-26 00:47:09.089929
error: null
interface: api
operation: domain_config_set
parent: null
related_to:
- - domain
  - maindomain.tld
started_at: 2023-05-26 00:46:45.841178
success: true
yunohost_version: 11.1.20

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

2023-05-26 01:46:45,857: INFO - Saving the new configuration...
2023-05-26 01:46:45,891: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./12-metronome" pre \'\' \'\' /var/cache/yunohost/regenconf/pending/metronome 7>&1']'
2023-05-26 01:46:45,905: DEBUG - + set -e
2023-05-26 01:46:45,906: DEBUG - + dpkg --list
2023-05-26 01:46:45,907: DEBUG - + grep -q 'ii *metronome '
2023-05-26 01:46:45,944: DEBUG - + do_pre_regen /var/cache/yunohost/regenconf/pending/metronome
2023-05-26 01:46:45,946: DEBUG - + pending_dir=/var/cache/yunohost/regenconf/pending/metronome
2023-05-26 01:46:45,946: DEBUG - + cd /usr/share/yunohost/conf/metronome
2023-05-26 01:46:45,947: DEBUG - + metronome_dir=/var/cache/yunohost/regenconf/pending/metronome/etc/metronome
2023-05-26 01:46:45,947: DEBUG - + metronome_conf_dir=/var/cache/yunohost/regenconf/pending/metronome/etc/metronome/conf.d
2023-05-26 01:46:45,948: DEBUG - + mkdir -p /var/cache/yunohost/regenconf/pending/metronome/etc/metronome/conf.d
2023-05-26 01:46:45,949: DEBUG - ++ cat /etc/yunohost/current_host
2023-05-26 01:46:45,951: DEBUG - + main_domain=maindomain.tld
2023-05-26 01:46:45,951: DEBUG - + sed 's/{{ main_domain }}/maindomain.tld/g'
2023-05-26 01:46:45,952: DEBUG - + cat metronome.cfg.lua
2023-05-26 01:46:45,955: DEBUG - + for domain in $YNH_DOMAINS
2023-05-26 01:46:45,955: DEBUG - + touch /var/cache/yunohost/regenconf/pending/metronome/etc/metronome/conf.d/maindomain.tld.cfg.lua
2023-05-26 01:46:45,958: DEBUG - ++ yunohost domain list --features xmpp --output-as json
2023-05-26 01:46:45,958: DEBUG - ++ jq -r '.domains[]'
2023-05-26 01:46:46,582: DEBUG - + domain_list=
2023-05-26 01:46:46,583: DEBUG - ++ ls -1 /etc/metronome/conf.d
2023-05-26 01:46:46,583: DEBUG - ++ awk '/^[^\.]+\.[^\.]+.*\.cfg\.lua$/ { print $1 }'
2023-05-26 01:46:46,587: DEBUG - + conf_files=maindomain.tld.cfg.lua
2023-05-26 01:46:46,588: DEBUG - + for file in $conf_files
2023-05-26 01:46:46,588: DEBUG - + domain=maindomain.tld
2023-05-26 01:46:46,588: DEBUG - + [[ maindomain.tld =~ maindomain.tld ]]
2023-05-26 01:46:47,592: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./15-nginx" pre \'\' \'\' /var/cache/yunohost/regenconf/pending/nginx 7>&1']'
2023-05-26 01:46:47,603: DEBUG - + set -e
2023-05-26 01:46:47,604: DEBUG - + . /usr/share/yunohost/helpers
2023-05-26 01:46:47,605: DEBUG - +++ set +o
2023-05-26 01:46:47,606: DEBUG - +++ grep xtrace
2023-05-26 01:46:47,609: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2023-05-26 01:46:47,609: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2023-05-26 01:46:47,642: DEBUG - + do_pre_regen /var/cache/yunohost/regenconf/pending/nginx
2023-05-26 01:46:47,643: DEBUG - + pending_dir=/var/cache/yunohost/regenconf/pending/nginx
2023-05-26 01:46:47,643: DEBUG - + cd /usr/share/yunohost/conf/nginx
2023-05-26 01:46:47,644: DEBUG - + nginx_dir=/var/cache/yunohost/regenconf/pending/nginx/etc/nginx
2023-05-26 01:46:47,644: DEBUG - + nginx_conf_dir=/var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d
2023-05-26 01:46:47,644: DEBUG - + mkdir -p /var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d
2023-05-26 01:46:47,645: DEBUG - + cp plain/acme-challenge.conf.inc plain/global.conf plain/ssowat.conf plain/yunohost_http_errors.conf.inc plain/yunohost_panel.conf.inc plain/yunohost_sso.conf.inc /var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d
2023-05-26 01:46:47,650: DEBUG - ++ yunohost settings get misc.portal.ssowat_panel_overlay_enabled
2023-05-26 01:46:47,651: DEBUG - ++ int_to_bool
2023-05-26 01:46:47,651: DEBUG - ++ sed -e 's/^1$/True/g' -e 's/^0$/False/g'
2023-05-26 01:46:48,229: DEBUG - + panel_overlay=True
2023-05-26 01:46:48,229: DEBUG - + '[' True == False ']'
2023-05-26 01:46:48,230: DEBUG - ++ cat /etc/yunohost/current_host
2023-05-26 01:46:48,231: DEBUG - + main_domain=maindomain.tld
2023-05-26 01:46:48,233: DEBUG - ++ yunohost settings get security.nginx.nginx_redirect_to_https
2023-05-26 01:46:48,233: DEBUG - ++ int_to_bool
2023-05-26 01:46:48,234: DEBUG - ++ sed -e 's/^1$/True/g' -e 's/^0$/False/g'
2023-05-26 01:46:48,798: DEBUG - + export redirect_to_https=True
2023-05-26 01:46:48,798: DEBUG - + redirect_to_https=True
2023-05-26 01:46:48,799: DEBUG - ++ yunohost settings get security.nginx.nginx_compatibility
2023-05-26 01:46:49,363: DEBUG - + export compatibility=intermediate
2023-05-26 01:46:49,364: DEBUG - + compatibility=intermediate
2023-05-26 01:46:49,365: DEBUG - ++ int_to_bool
2023-05-26 01:46:49,365: DEBUG - ++ yunohost settings get security.experimental.security_experimental_enabled
2023-05-26 01:46:49,366: DEBUG - ++ sed -e 's/^1$/True/g' -e 's/^0$/False/g'
2023-05-26 01:46:49,932: DEBUG - + export experimental=False
2023-05-26 01:46:49,933: DEBUG - + experimental=False
2023-05-26 01:46:49,933: DEBUG - + ynh_render_template security.conf.inc /var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/security.conf.inc
2023-05-26 01:46:49,934: DEBUG - + local template_path=security.conf.inc
2023-05-26 01:46:49,934: DEBUG - + local output_path=/var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/security.conf.inc
2023-05-26 01:46:49,934: DEBUG - ++ dirname /var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/security.conf.inc
2023-05-26 01:46:49,935: DEBUG - + mkdir -p /var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d
2023-05-26 01:46:49,938: DEBUG - + python3 -c 'import os, sys, jinja2; sys.stdout.write(
2023-05-26 01:46:49,939: DEBUG -                     jinja2.Template(sys.stdin.read()
2023-05-26 01:46:49,939: DEBUG -                     ).render(os.environ));'
2023-05-26 01:46:50,100: DEBUG - ++ yunohost domain cert status --json
2023-05-26 01:46:50,795: DEBUG - + cert_status='{"certificates": {"maindomain.tld": {"CA_type": "letsencrypt", "validity": -2, "style": "danger", "summary": "expired"}}}'
2023-05-26 01:46:50,796: DEBUG - ++ yunohost domain list --features xmpp --output-as json
2023-05-26 01:46:50,797: DEBUG - ++ jq -r '.domains[]'
2023-05-26 01:46:51,418: DEBUG - + xmpp_domain_list=
2023-05-26 01:46:51,419: DEBUG - ++ yunohost domain list --features mail_in mail_out --output-as json
2023-05-26 01:46:51,419: DEBUG - ++ jq -r '.domains[]'
2023-05-26 01:46:52,031: DEBUG - + mail_domain_list=
2023-05-26 01:46:52,032: DEBUG - + for domain in $YNH_DOMAINS
2023-05-26 01:46:52,032: DEBUG - + domain_conf_dir=/var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/maindomain.tld.d
2023-05-26 01:46:52,033: DEBUG - + mkdir -p /var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/maindomain.tld.d
2023-05-26 01:46:52,034: DEBUG - + mail_autoconfig_dir=/var/cache/yunohost/regenconf/pending/nginx/var/www/.well-known/maindomain.tld/autoconfig/mail/
2023-05-26 01:46:52,035: DEBUG - + mkdir -p /var/cache/yunohost/regenconf/pending/nginx/var/www/.well-known/maindomain.tld/autoconfig/mail/
2023-05-26 01:46:52,037: DEBUG - + export domain
2023-05-26 01:46:52,039: DEBUG - ++ echo '{"certificates":' '{"maindomain.tld":' '{"CA_type":' '"letsencrypt",' '"validity":' -2, '"style":' '"danger",' '"summary":' '"expired"}}}'
2023-05-26 01:46:52,039: DEBUG - ++ tr -d '"'
2023-05-26 01:46:52,041: DEBUG - ++ jq '.certificates."maindomain.tld".CA_type'
2023-05-26 01:46:52,131: DEBUG - + export domain_cert_ca=letsencrypt
2023-05-26 01:46:52,132: DEBUG - + domain_cert_ca=letsencrypt
2023-05-26 01:46:52,132: DEBUG - + grep -q '^maindomain.tld$'
2023-05-26 01:46:52,135: DEBUG - + export xmpp_enabled=False
2023-05-26 01:46:52,136: DEBUG - + xmpp_enabled=False
2023-05-26 01:46:52,137: DEBUG - + grep -q '^maindomain.tld$'
2023-05-26 01:46:52,140: DEBUG - + export mail_enabled=False
2023-05-26 01:46:52,140: DEBUG - + mail_enabled=False
2023-05-26 01:46:52,141: DEBUG - + ynh_render_template server.tpl.conf /var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/maindomain.tld.conf
2023-05-26 01:46:52,141: DEBUG - + local template_path=server.tpl.conf
2023-05-26 01:46:52,141: DEBUG - + local output_path=/var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/maindomain.tld.conf
2023-05-26 01:46:52,142: DEBUG - ++ dirname /var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/maindomain.tld.conf
2023-05-26 01:46:52,142: DEBUG - + mkdir -p /var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d
2023-05-26 01:46:52,145: DEBUG - + python3 -c 'import os, sys, jinja2; sys.stdout.write(
2023-05-26 01:46:52,145: DEBUG -                     jinja2.Template(sys.stdin.read()
2023-05-26 01:46:52,146: DEBUG -                     ).render(os.environ));'
2023-05-26 01:46:52,316: DEBUG - + '[' False == True ']'
2023-05-26 01:46:52,316: DEBUG - + touch /var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/maindomain.tld.d/yunohost_local.conf
2023-05-26 01:46:52,319: DEBUG - ++ yunohost settings get security.webadmin.webadmin_allowlist_enabled
2023-05-26 01:46:52,319: DEBUG - ++ int_to_bool
2023-05-26 01:46:52,320: DEBUG - ++ sed -e 's/^1$/True/g' -e 's/^0$/False/g'
2023-05-26 01:46:52,897: DEBUG - + export webadmin_allowlist_enabled=False
2023-05-26 01:46:52,898: DEBUG - + webadmin_allowlist_enabled=False
2023-05-26 01:46:52,898: DEBUG - + '[' False == True ']'
2023-05-26 01:46:52,898: DEBUG - + ynh_render_template yunohost_admin.conf.inc /var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/yunohost_admin.conf.inc
2023-05-26 01:46:52,899: DEBUG - + local template_path=yunohost_admin.conf.inc
2023-05-26 01:46:52,900: DEBUG - + local output_path=/var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/yunohost_admin.conf.inc
2023-05-26 01:46:52,900: DEBUG - ++ dirname /var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/yunohost_admin.conf.inc
2023-05-26 01:46:52,901: DEBUG - + mkdir -p /var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d
2023-05-26 01:46:52,903: DEBUG - + python3 -c 'import os, sys, jinja2; sys.stdout.write(
2023-05-26 01:46:52,904: DEBUG -                     jinja2.Template(sys.stdin.read()
2023-05-26 01:46:52,904: DEBUG -                     ).render(os.environ));'
2023-05-26 01:46:53,078: DEBUG - + ynh_render_template yunohost_api.conf.inc /var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/yunohost_api.conf.inc
2023-05-26 01:46:53,078: DEBUG - + local template_path=yunohost_api.conf.inc
2023-05-26 01:46:53,079: DEBUG - + local output_path=/var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/yunohost_api.conf.inc
2023-05-26 01:46:53,079: DEBUG - ++ dirname /var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/yunohost_api.conf.inc
2023-05-26 01:46:53,081: DEBUG - + mkdir -p /var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d
2023-05-26 01:46:53,083: DEBUG - + python3 -c 'import os, sys, jinja2; sys.stdout.write(
2023-05-26 01:46:53,083: DEBUG -                     jinja2.Template(sys.stdin.read()
2023-05-26 01:46:53,084: DEBUG -                     ).render(os.environ));'
2023-05-26 01:46:53,243: DEBUG - + ynh_render_template yunohost_admin.conf /var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/yunohost_admin.conf
2023-05-26 01:46:53,244: DEBUG - + local template_path=yunohost_admin.conf
2023-05-26 01:46:53,244: DEBUG - + local output_path=/var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/yunohost_admin.conf
2023-05-26 01:46:53,244: DEBUG - ++ dirname /var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/yunohost_admin.conf
2023-05-26 01:46:53,246: DEBUG - + mkdir -p /var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d
2023-05-26 01:46:53,248: DEBUG - + python3 -c 'import os, sys, jinja2; sys.stdout.write(
2023-05-26 01:46:53,249: DEBUG -                     jinja2.Template(sys.stdin.read()
2023-05-26 01:46:53,249: DEBUG -                     ).render(os.environ));'
2023-05-26 01:46:53,402: DEBUG - + mkdir -p /var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/default.d/
2023-05-26 01:46:53,404: DEBUG - + cp redirect_to_admin.conf /var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/default.d/
2023-05-26 01:46:53,408: DEBUG - ++ ls -1 /etc/nginx/conf.d
2023-05-26 01:46:53,409: DEBUG - ++ awk '/^[^\.]+\.[^\.]+.*\.conf$/ { print $1 }'
2023-05-26 01:46:53,414: DEBUG - + conf_files=maindomain.tld.conf
2023-05-26 01:46:53,414: DEBUG - + for file in $conf_files
2023-05-26 01:46:53,414: DEBUG - + domain=maindomain.tld
2023-05-26 01:46:53,415: DEBUG - + [[ maindomain.tld =~ maindomain.tld ]]
2023-05-26 01:46:53,415: DEBUG - ++ ls -1 /var/www/.well-known/maindomain.tld/autoconfig/mail/config-v1.1.xml
2023-05-26 01:46:53,418: DEBUG - + autoconfig_files=/var/www/.well-known/maindomain.tld/autoconfig/mail/config-v1.1.xml
2023-05-26 01:46:53,419: DEBUG - + for file in $autoconfig_files
2023-05-26 01:46:53,421: DEBUG - ++++ dirname /var/www/.well-known/maindomain.tld/autoconfig/mail/config-v1.1.xml
2023-05-26 01:46:53,423: DEBUG - +++ readlink -f /var/www/.well-known/maindomain.tld/autoconfig/mail/../..
2023-05-26 01:46:53,425: DEBUG - ++ basename /var/www/.well-known/maindomain.tld
2023-05-26 01:46:53,427: DEBUG - + domain=maindomain.tld
2023-05-26 01:46:53,428: DEBUG - + [[ maindomain.tld =~ maindomain.tld ]]
2023-05-26 01:46:53,428: DEBUG - + mkdir -p /var/cache/yunohost/regenconf/pending/nginx/etc/nginx/sites-enabled
2023-05-26 01:46:53,430: DEBUG - + touch /var/cache/yunohost/regenconf/pending/nginx/etc/nginx/sites-enabled/default
2023-05-26 01:46:54,433: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./19-postfix" pre \'\' \'\' /var/cache/yunohost/regenconf/pending/postfix 7>&1']'
2023-05-26 01:46:54,445: DEBUG - + set -e
2023-05-26 01:46:54,446: DEBUG - + . /usr/share/yunohost/helpers
2023-05-26 01:46:54,448: DEBUG - +++ set +o
2023-05-26 01:46:54,448: DEBUG - +++ grep xtrace
2023-05-26 01:46:54,451: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2023-05-26 01:46:54,452: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2023-05-26 01:46:54,481: DEBUG - + do_pre_regen /var/cache/yunohost/regenconf/pending/postfix
2023-05-26 01:46:54,481: DEBUG - + pending_dir=/var/cache/yunohost/regenconf/pending/postfix
2023-05-26 01:46:54,482: DEBUG - + cd /usr/share/yunohost/conf/postfix
2023-05-26 01:46:54,482: DEBUG - + postfix_dir=/var/cache/yunohost/regenconf/pending/postfix/etc/postfix
2023-05-26 01:46:54,483: DEBUG - + mkdir -p /var/cache/yunohost/regenconf/pending/postfix/etc/postfix
2023-05-26 01:46:54,484: DEBUG - + default_dir=/var/cache/yunohost/regenconf/pending/postfix/etc/default/
2023-05-26 01:46:54,484: DEBUG - + mkdir -p /var/cache/yunohost/regenconf/pending/postfix/etc/default/
2023-05-26 01:46:54,486: DEBUG - + cp plain/header_checks plain/ldap-accounts.cf plain/ldap-aliases.cf plain/ldap-domains.cf plain/ldap-groups.cf plain/master.cf plain/sender_canonical plain/smtp_reply_filter /var/cache/yunohost/regenconf/pending/postfix/etc/postfix
2023-05-26 01:46:54,490: DEBUG - ++ cat /etc/yunohost/current_host
2023-05-26 01:46:54,492: DEBUG - + main_domain=maindomain.tld
2023-05-26 01:46:54,493: DEBUG - ++ yunohost settings get security.postfix.postfix_compatibility
2023-05-26 01:46:55,080: DEBUG - + export compatibility=intermediate
2023-05-26 01:46:55,081: DEBUG - + compatibility=intermediate
2023-05-26 01:46:55,081: DEBUG - + export relay_port=
2023-05-26 01:46:55,082: DEBUG - + relay_port=
2023-05-26 01:46:55,082: DEBUG - + export relay_user=
2023-05-26 01:46:55,082: DEBUG - + relay_user=
2023-05-26 01:46:55,083: DEBUG - + export relay_host=
2023-05-26 01:46:55,083: DEBUG - + relay_host=
2023-05-26 01:46:55,083: DEBUG - ++ int_to_bool
2023-05-26 01:46:55,084: DEBUG - ++ sed -e 's/^1$/True/g' -e 's/^0$/False/g'
2023-05-26 01:46:55,084: DEBUG - ++ yunohost settings get email.smtp.smtp_relay_enabled
2023-05-26 01:46:55,668: DEBUG - + export relay_enabled=False
2023-05-26 01:46:55,669: DEBUG - + relay_enabled=False
2023-05-26 01:46:55,669: DEBUG - + '[' False == True ']'
2023-05-26 01:46:55,670: DEBUG - + export main_domain
2023-05-26 01:46:55,670: DEBUG - ++ tr '\n' ' '
2023-05-26 01:46:55,671: DEBUG - ++ jq -r '.domains[]'
2023-05-26 01:46:55,673: DEBUG - ++ yunohost domain list --features mail_in mail_out --output-as json
2023-05-26 01:46:56,304: DEBUG - + export domain_list=
2023-05-26 01:46:56,304: DEBUG - + domain_list=
2023-05-26 01:46:56,305: DEBUG - + ynh_render_template main.cf /var/cache/yunohost/regenconf/pending/postfix/etc/postfix/main.cf
2023-05-26 01:46:56,305: DEBUG - + local template_path=main.cf
2023-05-26 01:46:56,305: DEBUG - + local output_path=/var/cache/yunohost/regenconf/pending/postfix/etc/postfix/main.cf
2023-05-26 01:46:56,306: DEBUG - ++ dirname /var/cache/yunohost/regenconf/pending/postfix/etc/postfix/main.cf
2023-05-26 01:46:56,306: DEBUG - + mkdir -p /var/cache/yunohost/regenconf/pending/postfix/etc/postfix
2023-05-26 01:46:56,309: DEBUG - + python3 -c 'import os, sys, jinja2; sys.stdout.write(
2023-05-26 01:46:56,310: DEBUG -                     jinja2.Template(sys.stdin.read()
2023-05-26 01:46:56,310: DEBUG -                     ).render(os.environ));'
2023-05-26 01:46:56,473: DEBUG - + ynh_render_template sni /var/cache/yunohost/regenconf/pending/postfix/etc/postfix/sni
2023-05-26 01:46:56,474: DEBUG - + local template_path=sni
2023-05-26 01:46:56,475: DEBUG - + local output_path=/var/cache/yunohost/regenconf/pending/postfix/etc/postfix/sni
2023-05-26 01:46:56,475: DEBUG - ++ dirname /var/cache/yunohost/regenconf/pending/postfix/etc/postfix/sni
2023-05-26 01:46:56,476: DEBUG - + mkdir -p /var/cache/yunohost/regenconf/pending/postfix/etc/postfix
2023-05-26 01:46:56,480: DEBUG - + python3 -c 'import os, sys, jinja2; sys.stdout.write(
2023-05-26 01:46:56,481: DEBUG -                     jinja2.Template(sys.stdin.read()
2023-05-26 01:46:56,481: DEBUG -                     ).render(os.environ));'
2023-05-26 01:46:56,635: DEBUG - + cat postsrsd
2023-05-26 01:46:56,636: DEBUG - + sed 's/{{ domain_list }}//g'
2023-05-26 01:46:56,636: DEBUG - + sed 's/{{ main_domain }}/maindomain.tld/g'
2023-05-26 01:46:56,642: DEBUG - ++ yunohost settings get email.smtp.smtp_allow_ipv6
2023-05-26 01:46:56,643: DEBUG - ++ int_to_bool
2023-05-26 01:46:56,644: DEBUG - ++ sed -e 's/^1$/True/g' -e 's/^0$/False/g'
2023-05-26 01:46:57,212: DEBUG - + ipv6=True
2023-05-26 01:46:57,213: DEBUG - + '[' True == False ']'
2023-05-26 01:46:57,213: DEBUG - + '[' '!' -f /proc/net/if_inet6 ']'
2023-05-26 01:46:58,216: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./25-dovecot" pre \'\' \'\' /var/cache/yunohost/regenconf/pending/dovecot 7>&1']'
2023-05-26 01:46:58,228: DEBUG - + set -e
2023-05-26 01:46:58,229: DEBUG - + . /usr/share/yunohost/helpers
2023-05-26 01:46:58,230: DEBUG - +++ set +o
2023-05-26 01:46:58,231: DEBUG - +++ grep xtrace
2023-05-26 01:46:58,233: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2023-05-26 01:46:58,234: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2023-05-26 01:46:58,265: DEBUG - + do_pre_regen /var/cache/yunohost/regenconf/pending/dovecot
2023-05-26 01:46:58,266: DEBUG - + pending_dir=/var/cache/yunohost/regenconf/pending/dovecot
2023-05-26 01:46:58,266: DEBUG - + cd /usr/share/yunohost/conf/dovecot
2023-05-26 01:46:58,266: DEBUG - + dovecot_dir=/var/cache/yunohost/regenconf/pending/dovecot/etc/dovecot
2023-05-26 01:46:58,267: DEBUG - + mkdir -p /var/cache/yunohost/regenconf/pending/dovecot/etc/dovecot/global_script
2023-05-26 01:46:58,269: DEBUG - + cp dovecot-ldap.conf /var/cache/yunohost/regenconf/pending/dovecot/etc/dovecot/dovecot-ldap.conf
2023-05-26 01:46:58,271: DEBUG - + cp dovecot.sieve /var/cache/yunohost/regenconf/pending/dovecot/etc/dovecot/global_script/dovecot.sieve
2023-05-26 01:46:58,275: DEBUG - ++ yunohost settings get email.pop3.pop3_enabled
2023-05-26 01:46:58,276: DEBUG - ++ int_to_bool
2023-05-26 01:46:58,276: DEBUG - ++ sed -e 's/^1$/True/g' -e 's/^0$/False/g'
2023-05-26 01:46:58,844: DEBUG - + export pop3_enabled=False
2023-05-26 01:46:58,845: DEBUG - + pop3_enabled=False
2023-05-26 01:46:58,845: DEBUG - ++ cat /etc/yunohost/current_host
2023-05-26 01:46:58,847: DEBUG - + export main_domain=maindomain.tld
2023-05-26 01:46:58,848: DEBUG - + main_domain=maindomain.tld
2023-05-26 01:46:58,849: DEBUG - ++ yunohost domain list --features mail_in mail_out --output-as json
2023-05-26 01:46:58,849: DEBUG - ++ tr '\n' ' '
2023-05-26 01:46:58,851: DEBUG - ++ jq -r '.domains[]'
2023-05-26 01:46:59,459: DEBUG - + export domain_list=
2023-05-26 01:46:59,459: DEBUG - + domain_list=
2023-05-26 01:46:59,460: DEBUG - + ynh_render_template dovecot.conf /var/cache/yunohost/regenconf/pending/dovecot/etc/dovecot/dovecot.conf
2023-05-26 01:46:59,460: DEBUG - + local template_path=dovecot.conf
2023-05-26 01:46:59,460: DEBUG - + local output_path=/var/cache/yunohost/regenconf/pending/dovecot/etc/dovecot/dovecot.conf
2023-05-26 01:46:59,461: DEBUG - ++ dirname /var/cache/yunohost/regenconf/pending/dovecot/etc/dovecot/dovecot.conf
2023-05-26 01:46:59,461: DEBUG - + mkdir -p /var/cache/yunohost/regenconf/pending/dovecot/etc/dovecot
2023-05-26 01:46:59,464: DEBUG - + python3 -c 'import os, sys, jinja2; sys.stdout.write(
2023-05-26 01:46:59,465: DEBUG -                     jinja2.Template(sys.stdin.read()
2023-05-26 01:46:59,465: DEBUG -                     ).render(os.environ));'
2023-05-26 01:46:59,636: DEBUG - + '[' '!' -f /proc/net/if_inet6 ']'
2023-05-26 01:46:59,636: DEBUG - + mkdir -p /var/cache/yunohost/regenconf/pending/dovecot/etc/dovecot/yunohost.d
2023-05-26 01:46:59,639: DEBUG - + cp pre-ext.conf /var/cache/yunohost/regenconf/pending/dovecot/etc/dovecot/yunohost.d
2023-05-26 01:46:59,641: DEBUG - + cp post-ext.conf /var/cache/yunohost/regenconf/pending/dovecot/etc/dovecot/yunohost.d
2023-05-26 01:47:00,645: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./31-rspamd" pre \'\' \'\' /var/cache/yunohost/regenconf/pending/rspamd 7>&1']'
2023-05-26 01:47:00,657: DEBUG - + set -e
2023-05-26 01:47:00,658: DEBUG - + do_pre_regen /var/cache/yunohost/regenconf/pending/rspamd
2023-05-26 01:47:00,658: DEBUG - + pending_dir=/var/cache/yunohost/regenconf/pending/rspamd
2023-05-26 01:47:00,658: DEBUG - + cd /usr/share/yunohost/conf/rspamd
2023-05-26 01:47:00,659: DEBUG - + install -D -m 644 metrics.local.conf /var/cache/yunohost/regenconf/pending/rspamd/etc/rspamd/local.d/metrics.conf
2023-05-26 01:47:00,663: DEBUG - + install -D -m 644 dkim_signing.conf /var/cache/yunohost/regenconf/pending/rspamd/etc/rspamd/local.d/dkim_signing.conf
2023-05-26 01:47:00,666: DEBUG - + install -D -m 644 rspamd.sieve /var/cache/yunohost/regenconf/pending/rspamd/etc/dovecot/global_script/rspamd.sieve
2023-05-26 01:47:01,670: DEBUG - Vérification de la configuration en attente qui aurait été appliquée pour la catégorie 'metronome'...
2023-05-26 01:47:01,701: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/metronome/etc/metronome/metronome.cfg.lua' to system conf '/etc/metronome/metronome.cfg.lua'
2023-05-26 01:47:01,702: DEBUG - > system conf is already up-to-date
2023-05-26 01:47:01,702: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/metronome/etc/metronome/conf.d/maindomain.tld.cfg.lua' to system conf '/etc/metronome/conf.d/maindomain.tld.cfg.lua'
2023-05-26 01:47:01,705: DEBUG - Le fichier de configuration '/etc/metronome/conf.d/maindomain.tld.cfg.lua' a été sauvegardé sous '/var/cache/yunohost/regenconf/backup/etc/metronome/conf.d/maindomain.tld.cfg.lua-20230526.004701'
2023-05-26 01:47:01,705: DEBUG - Le fichier de configuration '/etc/metronome/conf.d/maindomain.tld.cfg.lua' a été supprimé
2023-05-26 01:47:01,706: SUCCESS - La configuration a été mise à jour pour 'metronome'
2023-05-26 01:47:01,707: DEBUG - updating conf hashes for 'metronome' with: {'/etc/metronome/conf.d/maindomain.tld.cfg.lua': None, '/etc/metronome/metronome.cfg.lua': '16a63aa3b50bce30d38bfad112879d00'}
2023-05-26 01:47:01,759: DEBUG - Vérification de la configuration en attente qui aurait été appliquée pour la catégorie 'nginx'...
2023-05-26 01:47:01,789: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/maindomain.tld.conf' to system conf '/etc/nginx/conf.d/maindomain.tld.conf'
2023-05-26 01:47:01,790: DEBUG - > system conf has been manually modified
2023-05-26 01:47:01,790: WARNING - Le fichier de configuration '/etc/nginx/conf.d/maindomain.tld.conf' a été modifié manuellement et ne sera pas mis à jour
2023-05-26 01:47:01,791: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/acme-challenge.conf.inc' to system conf '/etc/nginx/conf.d/acme-challenge.conf.inc'
2023-05-26 01:47:01,792: DEBUG - > system conf is already up-to-date
2023-05-26 01:47:01,792: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/yunohost_api.conf.inc' to system conf '/etc/nginx/conf.d/yunohost_api.conf.inc'
2023-05-26 01:47:01,793: DEBUG - > system conf is already up-to-date
2023-05-26 01:47:01,793: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/security.conf.inc' to system conf '/etc/nginx/conf.d/security.conf.inc'
2023-05-26 01:47:01,794: DEBUG - > system conf is already up-to-date
2023-05-26 01:47:01,794: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/global.conf' to system conf '/etc/nginx/conf.d/global.conf'
2023-05-26 01:47:01,795: DEBUG - > system conf is already up-to-date
2023-05-26 01:47:01,795: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/yunohost_panel.conf.inc' to system conf '/etc/nginx/conf.d/yunohost_panel.conf.inc'
2023-05-26 01:47:01,796: DEBUG - > system conf is already up-to-date
2023-05-26 01:47:01,796: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/yunohost_http_errors.conf.inc' to system conf '/etc/nginx/conf.d/yunohost_http_errors.conf.inc'
2023-05-26 01:47:01,796: DEBUG - > system conf is already up-to-date
2023-05-26 01:47:01,797: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/ssowat.conf' to system conf '/etc/nginx/conf.d/ssowat.conf'
2023-05-26 01:47:01,797: DEBUG - > system conf is already up-to-date
2023-05-26 01:47:01,798: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/yunohost_admin.conf' to system conf '/etc/nginx/conf.d/yunohost_admin.conf'
2023-05-26 01:47:01,798: DEBUG - > system conf is already up-to-date
2023-05-26 01:47:01,799: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/yunohost_admin.conf.inc' to system conf '/etc/nginx/conf.d/yunohost_admin.conf.inc'
2023-05-26 01:47:01,799: DEBUG - > system conf is already up-to-date
2023-05-26 01:47:01,800: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/yunohost_sso.conf.inc' to system conf '/etc/nginx/conf.d/yunohost_sso.conf.inc'
2023-05-26 01:47:01,800: DEBUG - > system conf is already up-to-date
2023-05-26 01:47:01,800: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/maindomain.tld.d/yunohost_local.conf' to system conf '/etc/nginx/conf.d/maindomain.tld.d/yunohost_local.conf'
2023-05-26 01:47:01,801: DEBUG - > system conf is already removed
2023-05-26 01:47:01,801: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/default.d/redirect_to_admin.conf' to system conf '/etc/nginx/conf.d/default.d/redirect_to_admin.conf'
2023-05-26 01:47:01,802: DEBUG - > system conf has been manually modified
2023-05-26 01:47:01,802: WARNING - Le fichier de configuration '/etc/nginx/conf.d/default.d/redirect_to_admin.conf' a été modifié manuellement et ne sera pas mis à jour
2023-05-26 01:47:01,803: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/nginx/etc/nginx/sites-enabled/default' to system conf '/etc/nginx/sites-enabled/default'
2023-05-26 01:47:01,804: DEBUG - > system conf is already removed
2023-05-26 01:47:01,804: DEBUG - processing pending conf 'None' to system conf '/var/www/.well-known/maindomain.tld/autoconfig/mail/config-v1.1.xml'
2023-05-26 01:47:01,805: WARNING - Le fichier de configuration '/var/www/.well-known/maindomain.tld/autoconfig/mail/config-v1.1.xml' a été modifié manuellement et ne sera pas mis à jour
2023-05-26 01:47:01,806: DEBUG - updating conf hashes for 'nginx' with: {'/etc/nginx/conf.d/acme-challenge.conf.inc': '6e532401262f7daf627c6482d6367f5d', '/etc/nginx/conf.d/default.d/redirect_to_admin.conf': '69b9d60d4f87f404e4d376458d9de4e1', '/etc/nginx/conf.d/global.conf': 'f8c8721f10d718546b2735080770d307', '/etc/nginx/conf.d/security.conf.inc': '2ceb56ca697e974c9021a47b7c415eb7', '/etc/nginx/conf.d/ssowat.conf': '88f0941db4a897c214f34a0661db890d', '/etc/nginx/conf.d/maindomain.tld.conf': '8b8f9badeaa0eb4d1239977698504779', '/etc/nginx/conf.d/yunohost_admin.conf': '4f23bfc63fa5614e5b6997efcd83706c', '/etc/nginx/conf.d/yunohost_admin.conf.inc': 'e50af8d763f22816f75e6d2f5955f14c', '/etc/nginx/conf.d/yunohost_api.conf.inc': '71e89f68f5af5d83d161c54ade8d192f', '/etc/nginx/conf.d/yunohost_http_errors.conf.inc': '7bd05c30c115a0101d1fd37e66fca33d', '/etc/nginx/conf.d/yunohost_panel.conf.inc': '3de64e15d9874e6e17ab29cb6e48f188', '/etc/nginx/conf.d/yunohost_sso.conf.inc': '2230d8402c1167bea5db3f06f327e8fa', '/var/www/.well-known/maindomain.tld/autoconfig/mail/config-v1.1.xml': '3314cbd4837546eb1fbb1976458afa4e', '/etc/nginx/conf.d/maindomain.tld.d/yunohost_local.conf': None, '/etc/nginx/sites-enabled/default': None}
2023-05-26 01:47:01,857: DEBUG - Vérification de la configuration en attente qui aurait été appliquée pour la catégorie 'postfix'...
2023-05-26 01:47:01,887: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/postfix/etc/postfix/main.cf' to system conf '/etc/postfix/main.cf'
2023-05-26 01:47:01,888: DEBUG - > system conf is already up-to-date
2023-05-26 01:47:01,888: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/postfix/etc/postfix/sender_canonical' to system conf '/etc/postfix/sender_canonical'
2023-05-26 01:47:01,888: DEBUG - > system conf is already up-to-date
2023-05-26 01:47:01,889: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/postfix/etc/postfix/ldap-accounts.cf' to system conf '/etc/postfix/ldap-accounts.cf'
2023-05-26 01:47:01,889: DEBUG - > system conf is already up-to-date
2023-05-26 01:47:01,890: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/postfix/etc/postfix/ldap-groups.cf' to system conf '/etc/postfix/ldap-groups.cf'
2023-05-26 01:47:01,890: DEBUG - > system conf is already up-to-date
2023-05-26 01:47:01,891: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/postfix/etc/postfix/smtp_reply_filter' to system conf '/etc/postfix/smtp_reply_filter'
2023-05-26 01:47:01,891: DEBUG - > system conf is already up-to-date
2023-05-26 01:47:01,892: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/postfix/etc/postfix/ldap-aliases.cf' to system conf '/etc/postfix/ldap-aliases.cf'
2023-05-26 01:47:01,892: DEBUG - > system conf is already up-to-date
2023-05-26 01:47:01,892: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/postfix/etc/postfix/header_checks' to system conf '/etc/postfix/header_checks'
2023-05-26 01:47:01,893: DEBUG - > system conf is already up-to-date
2023-05-26 01:47:01,893: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/postfix/etc/postfix/sni' to system conf '/etc/postfix/sni'
2023-05-26 01:47:01,895: DEBUG - Le fichier de configuration '/etc/postfix/sni' a été sauvegardé sous '/var/cache/yunohost/regenconf/backup/etc/postfix/sni-20230526.004701'
2023-05-26 01:47:01,895: DEBUG - Le fichier de configuration '/etc/postfix/sni' a été supprimé
2023-05-26 01:47:01,896: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/postfix/etc/postfix/master.cf' to system conf '/etc/postfix/master.cf'
2023-05-26 01:47:01,896: DEBUG - > system conf is already up-to-date
2023-05-26 01:47:01,897: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/postfix/etc/postfix/ldap-domains.cf' to system conf '/etc/postfix/ldap-domains.cf'
2023-05-26 01:47:01,897: DEBUG - > system conf is already up-to-date
2023-05-26 01:47:01,898: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/postfix/etc/default/postsrsd' to system conf '/etc/default/postsrsd'
2023-05-26 01:47:01,899: DEBUG - Le fichier de configuration '/etc/default/postsrsd' a été sauvegardé sous '/var/cache/yunohost/regenconf/backup/etc/default/postsrsd-20230526.004701'
2023-05-26 01:47:01,900: DEBUG - Le fichier de configuration '/etc/default/postsrsd' a été mis à jour
2023-05-26 01:47:01,901: SUCCESS - La configuration a été mise à jour pour 'postfix'
2023-05-26 01:47:01,902: DEBUG - updating conf hashes for 'postfix' with: {'/etc/default/postsrsd': '2d532ebb2e97b8ddc4daaf303f631fc7', '/etc/postfix/header_checks': '80a29f033d979766873a0bd90f5a6542', '/etc/postfix/ldap-accounts.cf': '301af4a3fa12e43fffa4216ffda0f2b2', '/etc/postfix/ldap-aliases.cf': '8712ccd28e11fda276abd34e8ce85b5a', '/etc/postfix/ldap-domains.cf': '082d1b0953e8021982c5cffd3d7f10a9', '/etc/postfix/ldap-groups.cf': '1cf2c66289db19475443b83d10a3f3eb', '/etc/postfix/main.cf': '7ee7b53bfb9d3907ec38e8eaceff732d', '/etc/postfix/master.cf': 'c32bf9a7d37a33b45a93d08e5fdbe1e2', '/etc/postfix/sender_canonical': '6af7cba824e4a563ec6d7d786f891e2f', '/etc/postfix/smtp_reply_filter': 'ff0bbf5d75d5e4096733c51d7745d924', '/etc/postfix/sni': None}
2023-05-26 01:47:01,952: DEBUG - Vérification de la configuration en attente qui aurait été appliquée pour la catégorie 'dovecot'...
2023-05-26 01:47:01,983: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/dovecot/etc/dovecot/dovecot.conf' to system conf '/etc/dovecot/dovecot.conf'
2023-05-26 01:47:01,983: DEBUG - > system conf is already up-to-date
2023-05-26 01:47:01,984: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/dovecot/etc/dovecot/dovecot-ldap.conf' to system conf '/etc/dovecot/dovecot-ldap.conf'
2023-05-26 01:47:01,984: DEBUG - > system conf is already up-to-date
2023-05-26 01:47:01,985: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/dovecot/etc/dovecot/global_script/dovecot.sieve' to system conf '/etc/dovecot/global_script/dovecot.sieve'
2023-05-26 01:47:01,985: DEBUG - > system conf is already up-to-date
2023-05-26 01:47:01,986: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/dovecot/etc/dovecot/yunohost.d/post-ext.conf' to system conf '/etc/dovecot/yunohost.d/post-ext.conf'
2023-05-26 01:47:01,986: DEBUG - > system conf is already up-to-date
2023-05-26 01:47:01,987: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/dovecot/etc/dovecot/yunohost.d/pre-ext.conf' to system conf '/etc/dovecot/yunohost.d/pre-ext.conf'
2023-05-26 01:47:01,987: DEBUG - > system conf is already up-to-date
2023-05-26 01:47:01,988: DEBUG - La configuration est déjà à jour pour la catégorie 'dovecot'
2023-05-26 01:47:01,988: DEBUG - Vérification de la configuration en attente qui aurait été appliquée pour la catégorie 'rspamd'...
2023-05-26 01:47:02,018: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/rspamd/etc/rspamd/local.d/metrics.conf' to system conf '/etc/rspamd/local.d/metrics.conf'
2023-05-26 01:47:02,019: DEBUG - > system conf is already up-to-date
2023-05-26 01:47:02,019: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/rspamd/etc/rspamd/local.d/dkim_signing.conf' to system conf '/etc/rspamd/local.d/dkim_signing.conf'
2023-05-26 01:47:02,020: DEBUG - > system conf is already up-to-date
2023-05-26 01:47:02,020: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/rspamd/etc/dovecot/global_script/rspamd.sieve' to system conf '/etc/dovecot/global_script/rspamd.sieve'
2023-05-26 01:47:02,020: DEBUG - > system conf is already up-to-date
2023-05-26 01:47:02,021: DEBUG - La configuration est déjà à jour pour la catégorie 'rspamd'
2023-05-26 01:47:02,022: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./12-metronome" post \'\' \'\' /etc/metronome/conf.d/maindomain.tld.cfg.lua 7>&1']'
2023-05-26 01:47:02,035: DEBUG - + set -e
2023-05-26 01:47:02,036: DEBUG - + dpkg --list
2023-05-26 01:47:02,037: DEBUG - + grep -q 'ii *metronome '
2023-05-26 01:47:02,076: DEBUG - + do_post_regen /etc/metronome/conf.d/maindomain.tld.cfg.lua
2023-05-26 01:47:02,077: DEBUG - + regen_conf_files=/etc/metronome/conf.d/maindomain.tld.cfg.lua
2023-05-26 01:47:02,077: DEBUG - ++ cat /etc/yunohost/current_host
2023-05-26 01:47:02,078: DEBUG - + main_domain=maindomain.tld
2023-05-26 01:47:02,079: DEBUG - + for domain in $YNH_MAIN_DOMAINS
2023-05-26 01:47:02,079: DEBUG - + mkdir -p /var/lib/metronome/maindomain%2etld/pep
2023-05-26 01:47:02,081: DEBUG - + mkdir -p /var/xmpp-upload/maindomain.tld/upload
2023-05-26 01:47:02,084: DEBUG - + chmod g+s /var/xmpp-upload/maindomain.tld/upload
2023-05-26 01:47:02,087: DEBUG - + '[' '!' -e /var/xmpp-upload ']'
2023-05-26 01:47:02,088: DEBUG - + chown -R metronome:www-data /var/xmpp-upload/
2023-05-26 01:47:02,096: DEBUG - + '[' '!' -e /var/xmpp-upload ']'
2023-05-26 01:47:02,096: DEBUG - + chmod 750 /var/xmpp-upload/
2023-05-26 01:47:02,098: DEBUG - + usermod -aG ssl-cert metronome
2023-05-26 01:47:02,112: DEBUG - + chown -R metronome: /var/lib/metronome/
2023-05-26 01:47:02,122: DEBUG - + chown -R metronome: /etc/metronome/conf.d/
2023-05-26 01:47:02,125: DEBUG - ++ ls '/etc/metronome/conf.d/*.cfg.lua'
2023-05-26 01:47:02,129: DEBUG - + [[ -z '' ]]
2023-05-26 01:47:02,129: DEBUG - + systemctl is-enabled metronome
2023-05-26 01:47:02,141: DEBUG - + systemctl disable metronome --now
2023-05-26 01:47:04,144: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./15-nginx" post \'\' \'\' \'\' 7>&1']'
2023-05-26 01:47:04,160: DEBUG - + set -e
2023-05-26 01:47:04,160: DEBUG - + . /usr/share/yunohost/helpers
2023-05-26 01:47:04,161: DEBUG - +++ set +o
2023-05-26 01:47:04,162: DEBUG - +++ grep xtrace
2023-05-26 01:47:04,164: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2023-05-26 01:47:04,165: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2023-05-26 01:47:04,195: DEBUG - + do_post_regen
2023-05-26 01:47:04,196: DEBUG - + regen_conf_files=
2023-05-26 01:47:04,196: DEBUG - + '[' -z '' ']'
2023-05-26 01:47:05,199: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./19-postfix" post \'\' \'\' /etc/postfix/sni,/etc/default/postsrsd 7>&1']'
2023-05-26 01:47:05,212: DEBUG - + set -e
2023-05-26 01:47:05,212: DEBUG - + . /usr/share/yunohost/helpers
2023-05-26 01:47:05,214: DEBUG - +++ set +o
2023-05-26 01:47:05,215: DEBUG - +++ grep xtrace
2023-05-26 01:47:05,217: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2023-05-26 01:47:05,218: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2023-05-26 01:47:05,248: DEBUG - + do_post_regen /etc/postfix/sni,/etc/default/postsrsd
2023-05-26 01:47:05,249: DEBUG - + regen_conf_files=/etc/postfix/sni,/etc/default/postsrsd
2023-05-26 01:47:05,249: DEBUG - + chown postfix /etc/postfix
2023-05-26 01:47:05,254: DEBUG - + '[' -e /etc/postfix/sasl_passwd ']'
2023-05-26 01:47:05,255: DEBUG - + postmap -F hash:/etc/postfix/sni
2023-05-26 01:47:05,287: WARNING - postmap: fatal: open /etc/postfix/sni: No such file or directory
2023-05-26 01:47:06,292: ERROR - Échec de l'exécution du script : /usr/share/yunohost/hooks/conf_regen/19-postfix
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/yunohost/hook.py", line 298, in hook_callback
    hook_return = hook_exec(
  File "/usr/lib/python3/dist-packages/yunohost/hook.py", line 410, in hook_exec
    raise YunohostError("hook_exec_failed", path=path)
yunohost.utils.error.YunohostError: Échec de l'exécution du script : /usr/share/yunohost/hooks/conf_regen/19-postfix
2023-05-26 01:47:06,298: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./25-dovecot" post \'\' \'\' \'\' 7>&1']'
2023-05-26 01:47:06,310: DEBUG - + set -e
2023-05-26 01:47:06,311: DEBUG - + . /usr/share/yunohost/helpers
2023-05-26 01:47:06,312: DEBUG - +++ set +o
2023-05-26 01:47:06,313: DEBUG - +++ grep xtrace
2023-05-26 01:47:06,315: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2023-05-26 01:47:06,316: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2023-05-26 01:47:06,346: DEBUG - + do_post_regen
2023-05-26 01:47:06,347: DEBUG - + regen_conf_files=
2023-05-26 01:47:06,347: DEBUG - + mkdir -p /etc/dovecot/yunohost.d/pre-ext.d
2023-05-26 01:47:06,350: DEBUG - + mkdir -p /etc/dovecot/yunohost.d/post-ext.d
2023-05-26 01:47:06,352: DEBUG - + id vmail
2023-05-26 01:47:06,372: DEBUG - + '[' '!' -e /home/vmail ']'
2023-05-26 01:47:06,373: DEBUG - + chown -R vmail:mail /etc/dovecot/global_script
2023-05-26 01:47:06,378: DEBUG - + chmod 770 /etc/dovecot/global_script
2023-05-26 01:47:06,380: DEBUG - + chown root:mail /var/mail
2023-05-26 01:47:06,386: DEBUG - + chmod 1775 /var/mail
2023-05-26 01:47:06,388: DEBUG - + '[' -z '' ']'
2023-05-26 01:47:07,391: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./31-rspamd" post \'\' \'\' \'\' 7>&1']'
2023-05-26 01:47:07,403: DEBUG - + set -e
2023-05-26 01:47:07,404: DEBUG - + do_post_regen
2023-05-26 01:47:07,405: DEBUG - + mkdir -p /etc/dkim
2023-05-26 01:47:07,407: DEBUG - + chown _rspamd /etc/dkim
2023-05-26 01:47:07,415: DEBUG - ++ yunohost domain list --features mail_in mail_out --output-as json
2023-05-26 01:47:07,415: DEBUG - ++ tr '\n' ' '
2023-05-26 01:47:07,417: DEBUG - ++ jq -r '.domains[]'
2023-05-26 01:47:08,056: DEBUG - + domain_list=
2023-05-26 01:47:08,057: DEBUG - + chown _rspamd /etc/dkim/thino.noho.st.mail.key /etc/dkim/maindomain.tld.mail.key
2023-05-26 01:47:08,059: DEBUG - + chmod 400 /etc/dkim/thino.noho.st.mail.key /etc/dkim/maindomain.tld.mail.key
2023-05-26 01:47:08,061: DEBUG - + '[' '!' -e /var/log/rspamd ']'
2023-05-26 01:47:08,062: DEBUG - + chown -R _rspamd:_rspamd /var/log/rspamd
2023-05-26 01:47:08,067: DEBUG - + regen_conf_files=
2023-05-26 01:47:08,068: DEBUG - + '[' -z '' ']'
2023-05-26 01:47:09,070: DEBUG - Journal complet de cette opération : '<a href="#/tools/logs/20230526-004645-regen_conf-5_categories" style="text-decoration:underline"> Régénérer les configurations du système '5_categories' </a>'
2023-05-26 01:47:09,088: SUCCESS - Config updated as expected

Renewing CERT

args:
  email: false
  force: true
  no_checks: false
ended_at: 2023-05-26 00:48:07.996666
error: null
interface: api
operation: letsencrypt_cert_renew
parent: null
related_to:
- - domain
  - maindomain.tld
started_at: 2023-05-26 00:47:38.627119
success: true
yunohost_version: 11.1.20

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

2023-05-26 01:47:38,644: DEBUG - Making sure tmp folders exists...
2023-05-26 01:47:38,653: DEBUG - Reusing IPv4 from cache: xx.xx.xx.xx
2023-05-26 01:47:38,654: DEBUG - Reusing IPv6 from cache: xx:xx:xx:xx:xx:xx
2023-05-26 01:47:38,675: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./43-dnsmasq" pre \'\' \'\' /var/cache/yunohost/regenconf/pending/dnsmasq 7>&1']'
2023-05-26 01:47:38,688: DEBUG - + set -e
2023-05-26 01:47:38,689: DEBUG - + . /usr/share/yunohost/helpers
2023-05-26 01:47:38,690: DEBUG - +++ set +o
2023-05-26 01:47:38,691: DEBUG - +++ grep xtrace
2023-05-26 01:47:38,693: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2023-05-26 01:47:38,694: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2023-05-26 01:47:38,725: DEBUG - + do_pre_regen /var/cache/yunohost/regenconf/pending/dnsmasq
2023-05-26 01:47:38,725: DEBUG - + pending_dir=/var/cache/yunohost/regenconf/pending/dnsmasq
2023-05-26 01:47:38,726: DEBUG - + cd /usr/share/yunohost/conf/dnsmasq
2023-05-26 01:47:38,726: DEBUG - + dnsmasq_dir=/var/cache/yunohost/regenconf/pending/dnsmasq/etc/dnsmasq.d
2023-05-26 01:47:38,726: DEBUG - + mkdir -p /var/cache/yunohost/regenconf/pending/dnsmasq/etc/dnsmasq.d
2023-05-26 01:47:38,728: DEBUG - + etcdefault_dir=/var/cache/yunohost/regenconf/pending/dnsmasq/etc/default
2023-05-26 01:47:38,728: DEBUG - + mkdir -p /var/cache/yunohost/regenconf/pending/dnsmasq/etc/default
2023-05-26 01:47:38,730: DEBUG - + cp plain/etcdefault /var/cache/yunohost/regenconf/pending/dnsmasq/etc/default/dnsmasq
2023-05-26 01:47:38,734: DEBUG - + cat plain/resolv.dnsmasq.conf
2023-05-26 01:47:38,735: DEBUG - + grep '^nameserver'
2023-05-26 01:47:38,736: DEBUG - + shuf
2023-05-26 01:47:38,741: DEBUG - ++ curl --max-time 10 -s -4 https://ip.yunohost.org
2023-05-26 01:47:38,817: DEBUG - + ipv4=xx.xx.xx.xx
2023-05-26 01:47:38,818: DEBUG - + ynh_validate_ip4 xx.xx.xx.xx
2023-05-26 01:47:38,833: DEBUG - + ynh_validate_ip --family=4 --ip_address=xx.xx.xx.xx
2023-05-26 01:47:38,882: DEBUG - + '[' 4 == 4 ']'
2023-05-26 01:47:38,883: DEBUG - + python3 /dev/stdin
2023-05-26 01:47:38,958: DEBUG - ++ curl --max-time 10 -s -6 https://ip6.yunohost.org
2023-05-26 01:47:39,035: DEBUG - + ipv6=xx:xx:xx:xx:xx:xx
2023-05-26 01:47:39,035: DEBUG - + ynh_validate_ip6 xx:xx:xx:xx:xx:xx
2023-05-26 01:47:39,052: DEBUG - + ynh_validate_ip --family=6 --ip_address=xx:xx:xx:xx:xx:xx
2023-05-26 01:47:39,102: DEBUG - + '[' 6 == 4 ']'
2023-05-26 01:47:39,103: DEBUG - + '[' 6 == 6 ']'
2023-05-26 01:47:39,103: DEBUG - + python3 /dev/stdin
2023-05-26 01:47:39,178: DEBUG - ++ ip -j addr show
2023-05-26 01:47:39,179: DEBUG - ++ jq -r '[.[].ifname]|join(" ")'
2023-05-26 01:47:39,263: DEBUG - + interfaces='lo enp0s3'
2023-05-26 01:47:39,263: DEBUG - + wireless_interfaces=lo
2023-05-26 01:47:39,264: DEBUG - ++ ls /sys/class/net
2023-05-26 01:47:39,266: DEBUG - + for dev in $(ls /sys/class/net)
2023-05-26 01:47:39,267: DEBUG - + '[' -d /sys/class/net/enp0s3/wireless ']'
2023-05-26 01:47:39,268: DEBUG - + for dev in $(ls /sys/class/net)
2023-05-26 01:47:39,268: DEBUG - + '[' -d /sys/class/net/lo/wireless ']'
2023-05-26 01:47:39,269: DEBUG - + export wireless_interfaces
2023-05-26 01:47:39,269: DEBUG - + ynh_render_template dnsmasq.conf.tpl /var/cache/yunohost/regenconf/pending/dnsmasq/etc/dnsmasq.conf
2023-05-26 01:47:39,270: DEBUG - + local template_path=dnsmasq.conf.tpl
2023-05-26 01:47:39,270: DEBUG - + local output_path=/var/cache/yunohost/regenconf/pending/dnsmasq/etc/dnsmasq.conf
2023-05-26 01:47:39,271: DEBUG - ++ dirname /var/cache/yunohost/regenconf/pending/dnsmasq/etc/dnsmasq.conf
2023-05-26 01:47:39,271: DEBUG - + mkdir -p /var/cache/yunohost/regenconf/pending/dnsmasq/etc
2023-05-26 01:47:39,273: DEBUG - + python3 -c 'import os, sys, jinja2; sys.stdout.write(
2023-05-26 01:47:39,273: DEBUG -                     jinja2.Template(sys.stdin.read()
2023-05-26 01:47:39,274: DEBUG -                     ).render(os.environ));'
2023-05-26 01:47:39,431: DEBUG - + export interfaces
2023-05-26 01:47:39,432: DEBUG - + export ipv4
2023-05-26 01:47:39,432: DEBUG - + export ipv6
2023-05-26 01:47:39,433: DEBUG - + for domain in $YNH_DOMAINS
2023-05-26 01:47:39,433: DEBUG - + [[ ! maindomain.tld =~ \.local$ ]]
2023-05-26 01:47:39,434: DEBUG - + export domain
2023-05-26 01:47:39,434: DEBUG - + ynh_render_template domain.tpl /var/cache/yunohost/regenconf/pending/dnsmasq/etc/dnsmasq.d/maindomain.tld
2023-05-26 01:47:39,435: DEBUG - + local template_path=domain.tpl
2023-05-26 01:47:39,435: DEBUG - + local output_path=/var/cache/yunohost/regenconf/pending/dnsmasq/etc/dnsmasq.d/maindomain.tld
2023-05-26 01:47:39,436: DEBUG - ++ dirname /var/cache/yunohost/regenconf/pending/dnsmasq/etc/dnsmasq.d/maindomain.tld
2023-05-26 01:47:39,436: DEBUG - + mkdir -p /var/cache/yunohost/regenconf/pending/dnsmasq/etc/dnsmasq.d
2023-05-26 01:47:39,437: DEBUG - + python3 -c 'import os, sys, jinja2; sys.stdout.write(
2023-05-26 01:47:39,437: DEBUG -                     jinja2.Template(sys.stdin.read()
2023-05-26 01:47:39,438: DEBUG -                     ).render(os.environ));'
2023-05-26 01:47:39,599: DEBUG - ++ ls -1 /etc/dnsmasq.d
2023-05-26 01:47:39,600: DEBUG - ++ awk '/^[^\.]+\.[^\.]+.*$/ { print $1 }'
2023-05-26 01:47:39,605: DEBUG - + conf_files=maindomain.tld
2023-05-26 01:47:39,605: DEBUG - + for domain in $conf_files
2023-05-26 01:47:39,606: DEBUG - + [[ ! maindomain.tld =~ maindomain.tld ]]
2023-05-26 01:47:40,608: DEBUG - Vérification de la configuration en attente qui aurait été appliquée pour la catégorie 'dnsmasq'...
2023-05-26 01:47:40,640: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/dnsmasq/etc/dnsmasq.conf' to system conf '/etc/dnsmasq.conf'
2023-05-26 01:47:40,640: DEBUG - > system conf is already up-to-date
2023-05-26 01:47:40,641: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/dnsmasq/etc/resolv.dnsmasq.conf' to system conf '/etc/resolv.dnsmasq.conf'
2023-05-26 01:47:40,642: DEBUG - Le fichier de configuration '/etc/resolv.dnsmasq.conf' a été sauvegardé sous '/var/cache/yunohost/regenconf/backup/etc/resolv.dnsmasq.conf-20230526.004740'
2023-05-26 01:47:40,643: DEBUG - Le fichier de configuration '/etc/resolv.dnsmasq.conf' a été mis à jour
2023-05-26 01:47:40,644: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/dnsmasq/etc/default/dnsmasq' to system conf '/etc/default/dnsmasq'
2023-05-26 01:47:40,644: DEBUG - > system conf is already up-to-date
2023-05-26 01:47:40,645: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/dnsmasq/etc/dnsmasq.d/maindomain.tld' to system conf '/etc/dnsmasq.d/maindomain.tld'
2023-05-26 01:47:40,645: DEBUG - > system conf is already up-to-date
2023-05-26 01:47:40,646: SUCCESS - La configuration a été mise à jour pour 'dnsmasq'
2023-05-26 01:47:40,647: DEBUG - updating conf hashes for 'dnsmasq' with: {'/etc/default/dnsmasq': 'ff5c2923b4d5e1e51ffd8d226c26fe2b', '/etc/dnsmasq.conf': 'eb5a7091f047b94f656ea5a2e4bfbaa0', '/etc/dnsmasq.d/maindomain.tld': '6d8baf72fb8c60b64e3d94aeaf7d3622', '/etc/resolv.dnsmasq.conf': 'f12961dc3c54c3765ad0cfe2addf677c'}
2023-05-26 01:47:40,700: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./43-dnsmasq" post \'\' \'\' /etc/resolv.dnsmasq.conf 7>&1']'
2023-05-26 01:47:40,712: DEBUG - + set -e
2023-05-26 01:47:40,713: DEBUG - + . /usr/share/yunohost/helpers
2023-05-26 01:47:40,714: DEBUG - +++ set +o
2023-05-26 01:47:40,714: DEBUG - +++ grep xtrace
2023-05-26 01:47:40,717: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2023-05-26 01:47:40,718: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2023-05-26 01:47:40,748: DEBUG - + do_post_regen /etc/resolv.dnsmasq.conf
2023-05-26 01:47:40,748: DEBUG - + regen_conf_files=/etc/resolv.dnsmasq.conf
2023-05-26 01:47:40,749: DEBUG - + chown 644 /etc/resolv.dnsmasq.conf
2023-05-26 01:47:40,755: DEBUG - + grep -q -E '^ *(domain|search)' /run/resolvconf/resolv.conf
2023-05-26 01:47:40,758: DEBUG - ++ hostname -s
2023-05-26 01:47:40,760: DEBUG - + short_hostname=thino
2023-05-26 01:47:40,760: DEBUG - + grep -q '127.0.0.1.*thino' /etc/hosts
2023-05-26 01:47:40,763: DEBUG - + [[ -n /etc/resolv.dnsmasq.conf ]]
2023-05-26 01:47:40,764: DEBUG - + for SERVICE in systemd-resolved bind9
2023-05-26 01:47:40,764: DEBUG - + systemctl is-enabled systemd-resolved
2023-05-26 01:47:40,777: DEBUG - + systemctl is-active systemd-resolved
2023-05-26 01:47:40,787: DEBUG - + for SERVICE in systemd-resolved bind9
2023-05-26 01:47:40,788: DEBUG - + systemctl is-enabled bind9
2023-05-26 01:47:40,796: DEBUG - + systemctl is-active bind9
2023-05-26 01:47:40,804: DEBUG - + systemctl restart dnsmasq
2023-05-26 01:47:41,806: DEBUG - Journal complet de cette opération : '<a href="#/tools/logs/20230526-004738-regen_conf-dnsmasq" style="text-decoration:underline"> Régénérer les configurations du système 'dnsmasq' </a>'
2023-05-26 01:47:41,823: DEBUG - Prepare key and certificate signing request (CSR) for maindomain.tld...
2023-05-26 01:47:42,518: DEBUG - Saving to /tmp/acme-challenge-private/maindomain.tld.csr.
2023-05-26 01:47:42,519: DEBUG - Now using ACME Tiny to sign the certificate...
2023-05-26 01:47:42,519: INFO - Parsing account key...
2023-05-26 01:47:42,537: INFO - Parsing CSR...
2023-05-26 01:47:42,555: INFO - Found domains: maindomain.tld
2023-05-26 01:47:42,557: INFO - Getting directory...
2023-05-26 01:47:42,951: INFO - Directory found!
2023-05-26 01:47:42,952: INFO - Registering account...
2023-05-26 01:47:43,826: INFO - Already registered!
2023-05-26 01:47:43,827: INFO - Creating new order...
2023-05-26 01:47:44,852: INFO - Order created!
2023-05-26 01:47:45,765: INFO - Verifying maindomain.tld...
2023-05-26 01:47:47,688: INFO - maindomain.tld verified!
2023-05-26 01:47:47,690: INFO - Signing certificate...
2023-05-26 01:47:52,019: INFO - Certificate signed!
2023-05-26 01:47:52,020: DEBUG - Saving the key and signed certificate...
2023-05-26 01:47:52,023: DEBUG - Enabling the certificate for domain maindomain.tld ...
2023-05-26 01:47:52,023: DEBUG - Restarting services...
2023-05-26 01:47:52,205: DEBUG - Running 'systemctl restart dovecot'
2023-05-26 01:47:53,613: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./15-nginx" pre \'\' \'\' /var/cache/yunohost/regenconf/pending/nginx 7>&1']'
2023-05-26 01:47:53,626: DEBUG - + set -e
2023-05-26 01:47:53,626: DEBUG - + . /usr/share/yunohost/helpers
2023-05-26 01:47:53,628: DEBUG - +++ set +o
2023-05-26 01:47:53,629: DEBUG - +++ grep xtrace
2023-05-26 01:47:53,631: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2023-05-26 01:47:53,632: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2023-05-26 01:47:53,663: DEBUG - + do_pre_regen /var/cache/yunohost/regenconf/pending/nginx
2023-05-26 01:47:53,664: DEBUG - + pending_dir=/var/cache/yunohost/regenconf/pending/nginx
2023-05-26 01:47:53,664: DEBUG - + cd /usr/share/yunohost/conf/nginx
2023-05-26 01:47:53,665: DEBUG - + nginx_dir=/var/cache/yunohost/regenconf/pending/nginx/etc/nginx
2023-05-26 01:47:53,665: DEBUG - + nginx_conf_dir=/var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d
2023-05-26 01:47:53,665: DEBUG - + mkdir -p /var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d
2023-05-26 01:47:53,666: DEBUG - + cp plain/acme-challenge.conf.inc plain/global.conf plain/ssowat.conf plain/yunohost_http_errors.conf.inc plain/yunohost_panel.conf.inc plain/yunohost_sso.conf.inc /var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d
2023-05-26 01:47:53,671: DEBUG - ++ yunohost settings get misc.portal.ssowat_panel_overlay_enabled
2023-05-26 01:47:53,672: DEBUG - ++ int_to_bool
2023-05-26 01:47:53,672: DEBUG - ++ sed -e 's/^1$/True/g' -e 's/^0$/False/g'
2023-05-26 01:47:54,275: DEBUG - + panel_overlay=True
2023-05-26 01:47:54,276: DEBUG - + '[' True == False ']'
2023-05-26 01:47:54,276: DEBUG - ++ cat /etc/yunohost/current_host
2023-05-26 01:47:54,279: DEBUG - + main_domain=maindomain.tld
2023-05-26 01:47:54,280: DEBUG - ++ yunohost settings get security.nginx.nginx_redirect_to_https
2023-05-26 01:47:54,281: DEBUG - ++ int_to_bool
2023-05-26 01:47:54,282: DEBUG - ++ sed -e 's/^1$/True/g' -e 's/^0$/False/g'
2023-05-26 01:47:54,864: DEBUG - + export redirect_to_https=True
2023-05-26 01:47:54,865: DEBUG - + redirect_to_https=True
2023-05-26 01:47:54,865: DEBUG - ++ yunohost settings get security.nginx.nginx_compatibility
2023-05-26 01:47:55,446: DEBUG - + export compatibility=intermediate
2023-05-26 01:47:55,447: DEBUG - + compatibility=intermediate
2023-05-26 01:47:55,447: DEBUG - ++ int_to_bool
2023-05-26 01:47:55,448: DEBUG - ++ sed -e 's/^1$/True/g' -e 's/^0$/False/g'
2023-05-26 01:47:55,449: DEBUG - ++ yunohost settings get security.experimental.security_experimental_enabled
2023-05-26 01:47:56,049: DEBUG - + export experimental=False
2023-05-26 01:47:56,050: DEBUG - + experimental=False
2023-05-26 01:47:56,050: DEBUG - + ynh_render_template security.conf.inc /var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/security.conf.inc
2023-05-26 01:47:56,051: DEBUG - + local template_path=security.conf.inc
2023-05-26 01:47:56,051: DEBUG - + local output_path=/var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/security.conf.inc
2023-05-26 01:47:56,053: DEBUG - ++ dirname /var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/security.conf.inc
2023-05-26 01:47:56,056: DEBUG - + mkdir -p /var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d
2023-05-26 01:47:56,060: DEBUG - + python3 -c 'import os, sys, jinja2; sys.stdout.write(
2023-05-26 01:47:56,061: DEBUG -                     jinja2.Template(sys.stdin.read()
2023-05-26 01:47:56,061: DEBUG -                     ).render(os.environ));'
2023-05-26 01:47:56,237: DEBUG - ++ yunohost domain cert status --json
2023-05-26 01:47:56,940: DEBUG - + cert_status='{"certificates": {"maindomain.tld": {"CA_type": "letsencrypt", "validity": 89, "style": "success", "summary": "letsencrypt"}}}'
2023-05-26 01:47:56,942: DEBUG - ++ jq -r '.domains[]'
2023-05-26 01:47:56,943: DEBUG - ++ yunohost domain list --features xmpp --output-as json
2023-05-26 01:47:57,584: DEBUG - + xmpp_domain_list=
2023-05-26 01:47:57,585: DEBUG - ++ yunohost domain list --features mail_in mail_out --output-as json
2023-05-26 01:47:57,587: DEBUG - ++ jq -r '.domains[]'
2023-05-26 01:47:58,199: DEBUG - + mail_domain_list=
2023-05-26 01:47:58,199: DEBUG - + for domain in $YNH_DOMAINS
2023-05-26 01:47:58,200: DEBUG - + domain_conf_dir=/var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/maindomain.tld.d
2023-05-26 01:47:58,200: DEBUG - + mkdir -p /var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/maindomain.tld.d
2023-05-26 01:47:58,202: DEBUG - + mail_autoconfig_dir=/var/cache/yunohost/regenconf/pending/nginx/var/www/.well-known/maindomain.tld/autoconfig/mail/
2023-05-26 01:47:58,202: DEBUG - + mkdir -p /var/cache/yunohost/regenconf/pending/nginx/var/www/.well-known/maindomain.tld/autoconfig/mail/
2023-05-26 01:47:58,205: DEBUG - + export domain
2023-05-26 01:47:58,206: DEBUG - ++ echo '{"certificates":' '{"maindomain.tld":' '{"CA_type":' '"letsencrypt",' '"validity":' 89, '"style":' '"success",' '"summary":' '"letsencrypt"}}}'
2023-05-26 01:47:58,207: DEBUG - ++ tr -d '"'
2023-05-26 01:47:58,209: DEBUG - ++ jq '.certificates."maindomain.tld".CA_type'
2023-05-26 01:47:58,298: DEBUG - + export domain_cert_ca=letsencrypt
2023-05-26 01:47:58,299: DEBUG - + domain_cert_ca=letsencrypt
2023-05-26 01:47:58,299: DEBUG - + grep -q '^maindomain.tld$'
2023-05-26 01:47:58,302: DEBUG - + export xmpp_enabled=False
2023-05-26 01:47:58,303: DEBUG - + xmpp_enabled=False
2023-05-26 01:47:58,303: DEBUG - + grep -q '^maindomain.tld$'
2023-05-26 01:47:58,306: DEBUG - + export mail_enabled=False
2023-05-26 01:47:58,306: DEBUG - + mail_enabled=False
2023-05-26 01:47:58,307: DEBUG - + ynh_render_template server.tpl.conf /var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/maindomain.tld.conf
2023-05-26 01:47:58,307: DEBUG - + local template_path=server.tpl.conf
2023-05-26 01:47:58,308: DEBUG - + local output_path=/var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/maindomain.tld.conf
2023-05-26 01:47:58,308: DEBUG - ++ dirname /var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/maindomain.tld.conf
2023-05-26 01:47:58,309: DEBUG - + mkdir -p /var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d
2023-05-26 01:47:58,312: DEBUG - + python3 -c 'import os, sys, jinja2; sys.stdout.write(
2023-05-26 01:47:58,312: DEBUG -                     jinja2.Template(sys.stdin.read()
2023-05-26 01:47:58,312: DEBUG -                     ).render(os.environ));'
2023-05-26 01:47:58,484: DEBUG - + '[' False == True ']'
2023-05-26 01:47:58,485: DEBUG - + touch /var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/maindomain.tld.d/yunohost_local.conf
2023-05-26 01:47:58,487: DEBUG - ++ yunohost settings get security.webadmin.webadmin_allowlist_enabled
2023-05-26 01:47:58,488: DEBUG - ++ int_to_bool
2023-05-26 01:47:58,488: DEBUG - ++ sed -e 's/^1$/True/g' -e 's/^0$/False/g'
2023-05-26 01:47:59,065: DEBUG - + export webadmin_allowlist_enabled=False
2023-05-26 01:47:59,066: DEBUG - + webadmin_allowlist_enabled=False
2023-05-26 01:47:59,067: DEBUG - + '[' False == True ']'
2023-05-26 01:47:59,067: DEBUG - + ynh_render_template yunohost_admin.conf.inc /var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/yunohost_admin.conf.inc
2023-05-26 01:47:59,067: DEBUG - + local template_path=yunohost_admin.conf.inc
2023-05-26 01:47:59,068: DEBUG - + local output_path=/var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/yunohost_admin.conf.inc
2023-05-26 01:47:59,068: DEBUG - ++ dirname /var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/yunohost_admin.conf.inc
2023-05-26 01:47:59,069: DEBUG - + mkdir -p /var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d
2023-05-26 01:47:59,071: DEBUG - + python3 -c 'import os, sys, jinja2; sys.stdout.write(
2023-05-26 01:47:59,072: DEBUG -                     jinja2.Template(sys.stdin.read()
2023-05-26 01:47:59,072: DEBUG -                     ).render(os.environ));'
2023-05-26 01:47:59,234: DEBUG - + ynh_render_template yunohost_api.conf.inc /var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/yunohost_api.conf.inc
2023-05-26 01:47:59,234: DEBUG - + local template_path=yunohost_api.conf.inc
2023-05-26 01:47:59,235: DEBUG - + local output_path=/var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/yunohost_api.conf.inc
2023-05-26 01:47:59,235: DEBUG - ++ dirname /var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/yunohost_api.conf.inc
2023-05-26 01:47:59,237: DEBUG - + mkdir -p /var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d
2023-05-26 01:47:59,239: DEBUG - + python3 -c 'import os, sys, jinja2; sys.stdout.write(
2023-05-26 01:47:59,240: DEBUG -                     jinja2.Template(sys.stdin.read()
2023-05-26 01:47:59,240: DEBUG -                     ).render(os.environ));'
2023-05-26 01:47:59,410: DEBUG - + ynh_render_template yunohost_admin.conf /var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/yunohost_admin.conf
2023-05-26 01:47:59,410: DEBUG - + local template_path=yunohost_admin.conf
2023-05-26 01:47:59,411: DEBUG - + local output_path=/var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/yunohost_admin.conf
2023-05-26 01:47:59,411: DEBUG - ++ dirname /var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/yunohost_admin.conf
2023-05-26 01:47:59,413: DEBUG - + mkdir -p /var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d
2023-05-26 01:47:59,415: DEBUG - + python3 -c 'import os, sys, jinja2; sys.stdout.write(
2023-05-26 01:47:59,415: DEBUG -                     jinja2.Template(sys.stdin.read()
2023-05-26 01:47:59,416: DEBUG -                     ).render(os.environ));'
2023-05-26 01:47:59,575: DEBUG - + mkdir -p /var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/default.d/
2023-05-26 01:47:59,577: DEBUG - + cp redirect_to_admin.conf /var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/default.d/
2023-05-26 01:47:59,582: DEBUG - ++ ls -1 /etc/nginx/conf.d
2023-05-26 01:47:59,582: DEBUG - ++ awk '/^[^\.]+\.[^\.]+.*\.conf$/ { print $1 }'
2023-05-26 01:47:59,587: DEBUG - + conf_files=maindomain.tld.conf
2023-05-26 01:47:59,588: DEBUG - + for file in $conf_files
2023-05-26 01:47:59,588: DEBUG - + domain=maindomain.tld
2023-05-26 01:47:59,589: DEBUG - + [[ maindomain.tld =~ maindomain.tld ]]
2023-05-26 01:47:59,589: DEBUG - ++ ls -1 /var/www/.well-known/maindomain.tld/autoconfig/mail/config-v1.1.xml
2023-05-26 01:47:59,592: DEBUG - + autoconfig_files=/var/www/.well-known/maindomain.tld/autoconfig/mail/config-v1.1.xml
2023-05-26 01:47:59,593: DEBUG - + for file in $autoconfig_files
2023-05-26 01:47:59,595: DEBUG - ++++ dirname /var/www/.well-known/maindomain.tld/autoconfig/mail/config-v1.1.xml
2023-05-26 01:47:59,597: DEBUG - +++ readlink -f /var/www/.well-known/maindomain.tld/autoconfig/mail/../..
2023-05-26 01:47:59,599: DEBUG - ++ basename /var/www/.well-known/maindomain.tld
2023-05-26 01:47:59,602: DEBUG - + domain=maindomain.tld
2023-05-26 01:47:59,602: DEBUG - + [[ maindomain.tld =~ maindomain.tld ]]
2023-05-26 01:47:59,602: DEBUG - + mkdir -p /var/cache/yunohost/regenconf/pending/nginx/etc/nginx/sites-enabled
2023-05-26 01:47:59,604: DEBUG - + touch /var/cache/yunohost/regenconf/pending/nginx/etc/nginx/sites-enabled/default
2023-05-26 01:48:00,610: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./19-postfix" pre \'\' \'\' /var/cache/yunohost/regenconf/pending/postfix 7>&1']'
2023-05-26 01:48:00,623: DEBUG - + set -e
2023-05-26 01:48:00,623: DEBUG - + . /usr/share/yunohost/helpers
2023-05-26 01:48:00,624: DEBUG - +++ grep xtrace
2023-05-26 01:48:00,625: DEBUG - +++ set +o
2023-05-26 01:48:00,627: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2023-05-26 01:48:00,627: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2023-05-26 01:48:00,657: DEBUG - + do_pre_regen /var/cache/yunohost/regenconf/pending/postfix
2023-05-26 01:48:00,658: DEBUG - + pending_dir=/var/cache/yunohost/regenconf/pending/postfix
2023-05-26 01:48:00,658: DEBUG - + cd /usr/share/yunohost/conf/postfix
2023-05-26 01:48:00,660: DEBUG - + postfix_dir=/var/cache/yunohost/regenconf/pending/postfix/etc/postfix
2023-05-26 01:48:00,660: DEBUG - + mkdir -p /var/cache/yunohost/regenconf/pending/postfix/etc/postfix
2023-05-26 01:48:00,661: DEBUG - + default_dir=/var/cache/yunohost/regenconf/pending/postfix/etc/default/
2023-05-26 01:48:00,661: DEBUG - + mkdir -p /var/cache/yunohost/regenconf/pending/postfix/etc/default/
2023-05-26 01:48:00,663: DEBUG - + cp plain/header_checks plain/ldap-accounts.cf plain/ldap-aliases.cf plain/ldap-domains.cf plain/ldap-groups.cf plain/master.cf plain/sender_canonical plain/smtp_reply_filter /var/cache/yunohost/regenconf/pending/postfix/etc/postfix
2023-05-26 01:48:00,667: DEBUG - ++ cat /etc/yunohost/current_host
2023-05-26 01:48:00,669: DEBUG - + main_domain=maindomain.tld
2023-05-26 01:48:00,670: DEBUG - ++ yunohost settings get security.postfix.postfix_compatibility
2023-05-26 01:48:01,243: DEBUG - + export compatibility=intermediate
2023-05-26 01:48:01,243: DEBUG - + compatibility=intermediate
2023-05-26 01:48:01,244: DEBUG - + export relay_port=
2023-05-26 01:48:01,244: DEBUG - + relay_port=
2023-05-26 01:48:01,244: DEBUG - + export relay_user=
2023-05-26 01:48:01,245: DEBUG - + relay_user=
2023-05-26 01:48:01,245: DEBUG - + export relay_host=
2023-05-26 01:48:01,245: DEBUG - + relay_host=
2023-05-26 01:48:01,246: DEBUG - ++ int_to_bool
2023-05-26 01:48:01,246: DEBUG - ++ sed -e 's/^1$/True/g' -e 's/^0$/False/g'
2023-05-26 01:48:01,246: DEBUG - ++ yunohost settings get email.smtp.smtp_relay_enabled
2023-05-26 01:48:01,815: DEBUG - + export relay_enabled=False
2023-05-26 01:48:01,816: DEBUG - + relay_enabled=False
2023-05-26 01:48:01,816: DEBUG - + '[' False == True ']'
2023-05-26 01:48:01,817: DEBUG - + export main_domain
2023-05-26 01:48:01,818: DEBUG - ++ yunohost domain list --features mail_in mail_out --output-as json
2023-05-26 01:48:01,818: DEBUG - ++ jq -r '.domains[]'
2023-05-26 01:48:01,820: DEBUG - ++ tr '\n' ' '
2023-05-26 01:48:02,460: DEBUG - + export domain_list=
2023-05-26 01:48:02,461: DEBUG - + domain_list=
2023-05-26 01:48:02,462: DEBUG - + ynh_render_template main.cf /var/cache/yunohost/regenconf/pending/postfix/etc/postfix/main.cf
2023-05-26 01:48:02,462: DEBUG - + local template_path=main.cf
2023-05-26 01:48:02,463: DEBUG - + local output_path=/var/cache/yunohost/regenconf/pending/postfix/etc/postfix/main.cf
2023-05-26 01:48:02,464: DEBUG - ++ dirname /var/cache/yunohost/regenconf/pending/postfix/etc/postfix/main.cf
2023-05-26 01:48:02,467: DEBUG - + mkdir -p /var/cache/yunohost/regenconf/pending/postfix/etc/postfix
2023-05-26 01:48:02,470: DEBUG - + python3 -c 'import os, sys, jinja2; sys.stdout.write(
2023-05-26 01:48:02,470: DEBUG -                     jinja2.Template(sys.stdin.read()
2023-05-26 01:48:02,471: DEBUG -                     ).render(os.environ));'
2023-05-26 01:48:02,636: DEBUG - + ynh_render_template sni /var/cache/yunohost/regenconf/pending/postfix/etc/postfix/sni
2023-05-26 01:48:02,636: DEBUG - + local template_path=sni
2023-05-26 01:48:02,637: DEBUG - + local output_path=/var/cache/yunohost/regenconf/pending/postfix/etc/postfix/sni
2023-05-26 01:48:02,637: DEBUG - ++ dirname /var/cache/yunohost/regenconf/pending/postfix/etc/postfix/sni
2023-05-26 01:48:02,639: DEBUG - + mkdir -p /var/cache/yunohost/regenconf/pending/postfix/etc/postfix
2023-05-26 01:48:02,641: DEBUG - + python3 -c 'import os, sys, jinja2; sys.stdout.write(
2023-05-26 01:48:02,642: DEBUG -                     jinja2.Template(sys.stdin.read()
2023-05-26 01:48:02,643: DEBUG -                     ).render(os.environ));'
2023-05-26 01:48:02,802: DEBUG - + cat postsrsd
2023-05-26 01:48:02,803: DEBUG - + sed 's/{{ domain_list }}//g'
2023-05-26 01:48:02,806: DEBUG - + sed 's/{{ main_domain }}/maindomain.tld/g'
2023-05-26 01:48:02,811: DEBUG - ++ yunohost settings get email.smtp.smtp_allow_ipv6
2023-05-26 01:48:02,812: DEBUG - ++ int_to_bool
2023-05-26 01:48:02,812: DEBUG - ++ sed -e 's/^1$/True/g' -e 's/^0$/False/g'
2023-05-26 01:48:03,391: DEBUG - + ipv6=True
2023-05-26 01:48:03,392: DEBUG - + '[' True == False ']'
2023-05-26 01:48:03,392: DEBUG - + '[' '!' -f /proc/net/if_inet6 ']'
2023-05-26 01:48:04,396: DEBUG - Vérification de la configuration en attente qui aurait été appliquée pour la catégorie 'nginx'...
2023-05-26 01:48:04,432: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/maindomain.tld.conf' to system conf '/etc/nginx/conf.d/maindomain.tld.conf'
2023-05-26 01:48:04,433: DEBUG - > system conf has been manually modified
2023-05-26 01:48:04,434: WARNING - Le fichier de configuration '/etc/nginx/conf.d/maindomain.tld.conf' a été modifié manuellement et ne sera pas mis à jour
2023-05-26 01:48:04,435: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/acme-challenge.conf.inc' to system conf '/etc/nginx/conf.d/acme-challenge.conf.inc'
2023-05-26 01:48:04,436: DEBUG - > system conf is already up-to-date
2023-05-26 01:48:04,436: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/yunohost_api.conf.inc' to system conf '/etc/nginx/conf.d/yunohost_api.conf.inc'
2023-05-26 01:48:04,437: DEBUG - > system conf is already up-to-date
2023-05-26 01:48:04,437: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/security.conf.inc' to system conf '/etc/nginx/conf.d/security.conf.inc'
2023-05-26 01:48:04,438: DEBUG - > system conf is already up-to-date
2023-05-26 01:48:04,438: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/global.conf' to system conf '/etc/nginx/conf.d/global.conf'
2023-05-26 01:48:04,439: DEBUG - > system conf is already up-to-date
2023-05-26 01:48:04,440: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/yunohost_panel.conf.inc' to system conf '/etc/nginx/conf.d/yunohost_panel.conf.inc'
2023-05-26 01:48:04,440: DEBUG - > system conf is already up-to-date
2023-05-26 01:48:04,441: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/yunohost_http_errors.conf.inc' to system conf '/etc/nginx/conf.d/yunohost_http_errors.conf.inc'
2023-05-26 01:48:04,441: DEBUG - > system conf is already up-to-date
2023-05-26 01:48:04,442: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/ssowat.conf' to system conf '/etc/nginx/conf.d/ssowat.conf'
2023-05-26 01:48:04,442: DEBUG - > system conf is already up-to-date
2023-05-26 01:48:04,443: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/yunohost_admin.conf' to system conf '/etc/nginx/conf.d/yunohost_admin.conf'
2023-05-26 01:48:04,443: DEBUG - > system conf is already up-to-date
2023-05-26 01:48:04,444: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/yunohost_admin.conf.inc' to system conf '/etc/nginx/conf.d/yunohost_admin.conf.inc'
2023-05-26 01:48:04,444: DEBUG - > system conf is already up-to-date
2023-05-26 01:48:04,445: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/yunohost_sso.conf.inc' to system conf '/etc/nginx/conf.d/yunohost_sso.conf.inc'
2023-05-26 01:48:04,445: DEBUG - > system conf is already up-to-date
2023-05-26 01:48:04,445: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/maindomain.tld.d/yunohost_local.conf' to system conf '/etc/nginx/conf.d/maindomain.tld.d/yunohost_local.conf'
2023-05-26 01:48:04,446: DEBUG - > system conf is already removed
2023-05-26 01:48:04,446: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/nginx/etc/nginx/conf.d/default.d/redirect_to_admin.conf' to system conf '/etc/nginx/conf.d/default.d/redirect_to_admin.conf'
2023-05-26 01:48:04,447: DEBUG - > system conf has been manually modified
2023-05-26 01:48:04,447: WARNING - Le fichier de configuration '/etc/nginx/conf.d/default.d/redirect_to_admin.conf' a été modifié manuellement et ne sera pas mis à jour
2023-05-26 01:48:04,448: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/nginx/etc/nginx/sites-enabled/default' to system conf '/etc/nginx/sites-enabled/default'
2023-05-26 01:48:04,449: DEBUG - > system conf is already removed
2023-05-26 01:48:04,449: DEBUG - processing pending conf 'None' to system conf '/var/www/.well-known/maindomain.tld/autoconfig/mail/config-v1.1.xml'
2023-05-26 01:48:04,450: WARNING - Le fichier de configuration '/var/www/.well-known/maindomain.tld/autoconfig/mail/config-v1.1.xml' a été modifié manuellement et ne sera pas mis à jour
2023-05-26 01:48:04,451: DEBUG - updating conf hashes for 'nginx' with: {'/etc/nginx/conf.d/acme-challenge.conf.inc': '6e532401262f7daf627c6482d6367f5d', '/etc/nginx/conf.d/default.d/redirect_to_admin.conf': '69b9d60d4f87f404e4d376458d9de4e1', '/etc/nginx/conf.d/global.conf': 'f8c8721f10d718546b2735080770d307', '/etc/nginx/conf.d/security.conf.inc': '2ceb56ca697e974c9021a47b7c415eb7', '/etc/nginx/conf.d/ssowat.conf': '88f0941db4a897c214f34a0661db890d', '/etc/nginx/conf.d/maindomain.tld.conf': '8b8f9badeaa0eb4d1239977698504779', '/etc/nginx/conf.d/yunohost_admin.conf': '4f23bfc63fa5614e5b6997efcd83706c', '/etc/nginx/conf.d/yunohost_admin.conf.inc': 'e50af8d763f22816f75e6d2f5955f14c', '/etc/nginx/conf.d/yunohost_api.conf.inc': '71e89f68f5af5d83d161c54ade8d192f', '/etc/nginx/conf.d/yunohost_http_errors.conf.inc': '7bd05c30c115a0101d1fd37e66fca33d', '/etc/nginx/conf.d/yunohost_panel.conf.inc': '3de64e15d9874e6e17ab29cb6e48f188', '/etc/nginx/conf.d/yunohost_sso.conf.inc': '2230d8402c1167bea5db3f06f327e8fa', '/var/www/.well-known/maindomain.tld/autoconfig/mail/config-v1.1.xml': '3314cbd4837546eb1fbb1976458afa4e', '/etc/nginx/conf.d/maindomain.tld.d/yunohost_local.conf': None, '/etc/nginx/sites-enabled/default': None}
2023-05-26 01:48:04,504: DEBUG - Vérification de la configuration en attente qui aurait été appliquée pour la catégorie 'postfix'...
2023-05-26 01:48:04,535: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/postfix/etc/postfix/main.cf' to system conf '/etc/postfix/main.cf'
2023-05-26 01:48:04,536: DEBUG - > system conf is already up-to-date
2023-05-26 01:48:04,536: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/postfix/etc/postfix/sender_canonical' to system conf '/etc/postfix/sender_canonical'
2023-05-26 01:48:04,537: DEBUG - > system conf is already up-to-date
2023-05-26 01:48:04,537: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/postfix/etc/postfix/ldap-accounts.cf' to system conf '/etc/postfix/ldap-accounts.cf'
2023-05-26 01:48:04,537: DEBUG - > system conf is already up-to-date
2023-05-26 01:48:04,538: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/postfix/etc/postfix/ldap-groups.cf' to system conf '/etc/postfix/ldap-groups.cf'
2023-05-26 01:48:04,538: DEBUG - > system conf is already up-to-date
2023-05-26 01:48:04,539: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/postfix/etc/postfix/smtp_reply_filter' to system conf '/etc/postfix/smtp_reply_filter'
2023-05-26 01:48:04,539: DEBUG - > system conf is already up-to-date
2023-05-26 01:48:04,540: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/postfix/etc/postfix/ldap-aliases.cf' to system conf '/etc/postfix/ldap-aliases.cf'
2023-05-26 01:48:04,540: DEBUG - > system conf is already up-to-date
2023-05-26 01:48:04,541: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/postfix/etc/postfix/header_checks' to system conf '/etc/postfix/header_checks'
2023-05-26 01:48:04,541: DEBUG - > system conf is already up-to-date
2023-05-26 01:48:04,542: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/postfix/etc/postfix/sni' to system conf '/etc/postfix/sni'
2023-05-26 01:48:04,542: DEBUG - > system conf is already removed
2023-05-26 01:48:04,542: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/postfix/etc/postfix/master.cf' to system conf '/etc/postfix/master.cf'
2023-05-26 01:48:04,543: DEBUG - > system conf is already up-to-date
2023-05-26 01:48:04,543: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/postfix/etc/postfix/ldap-domains.cf' to system conf '/etc/postfix/ldap-domains.cf'
2023-05-26 01:48:04,544: DEBUG - > system conf is already up-to-date
2023-05-26 01:48:04,544: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/postfix/etc/default/postsrsd' to system conf '/etc/default/postsrsd'
2023-05-26 01:48:04,545: DEBUG - > system conf is already up-to-date
2023-05-26 01:48:04,545: DEBUG - La configuration est déjà à jour pour la catégorie 'postfix'
2023-05-26 01:48:04,547: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./15-nginx" post \'\' \'\' \'\' 7>&1']'
2023-05-26 01:48:04,559: DEBUG - + set -e
2023-05-26 01:48:04,560: DEBUG - + . /usr/share/yunohost/helpers
2023-05-26 01:48:04,562: DEBUG - +++ set +o
2023-05-26 01:48:04,562: DEBUG - +++ grep xtrace
2023-05-26 01:48:04,565: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2023-05-26 01:48:04,565: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2023-05-26 01:48:04,595: DEBUG - + do_post_regen
2023-05-26 01:48:04,596: DEBUG - + regen_conf_files=
2023-05-26 01:48:04,596: DEBUG - + '[' -z '' ']'
2023-05-26 01:48:05,600: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./19-postfix" post \'\' \'\' \'\' 7>&1']'
2023-05-26 01:48:05,612: DEBUG - + set -e
2023-05-26 01:48:05,613: DEBUG - + . /usr/share/yunohost/helpers
2023-05-26 01:48:05,614: DEBUG - +++ set +o
2023-05-26 01:48:05,614: DEBUG - +++ grep xtrace
2023-05-26 01:48:05,618: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2023-05-26 01:48:05,618: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2023-05-26 01:48:05,648: DEBUG - + do_post_regen
2023-05-26 01:48:05,649: DEBUG - + regen_conf_files=
2023-05-26 01:48:05,649: DEBUG - + chown postfix /etc/postfix
2023-05-26 01:48:05,652: DEBUG - + '[' -e /etc/postfix/sasl_passwd ']'
2023-05-26 01:48:05,653: DEBUG - + postmap -F hash:/etc/postfix/sni
2023-05-26 01:48:05,661: WARNING - postmap: fatal: open /etc/postfix/sni: No such file or directory
2023-05-26 01:48:07,664: ERROR - Échec de l'exécution du script : /usr/share/yunohost/hooks/conf_regen/19-postfix
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/yunohost/hook.py", line 298, in hook_callback
    hook_return = hook_exec(
  File "/usr/lib/python3/dist-packages/yunohost/hook.py", line 410, in hook_exec
    raise YunohostError("hook_exec_failed", path=path)
yunohost.utils.error.YunohostError: Échec de l'exécution du script : /usr/share/yunohost/hooks/conf_regen/19-postfix
2023-05-26 01:48:07,667: DEBUG - Journal complet de cette opération : '<a href="#/tools/logs/20230526-004753-regen_conf-2_categories" style="text-decoration:underline"> Régénérer les configurations du système '2_categories' </a>'
2023-05-26 01:48:07,869: DEBUG - Running 'systemctl reload nginx'
2023-05-26 01:48:07,994: SUCCESS - Certificat Let's Encrypt renouvelé pour le domaine 'maindomain.tld'

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