Unable to add a new domain

,

My YunoHost server

I only speak English but will post translated text:

Hardware: VPS bought online ther ARM board / …
YunoHost version: Most Current install availalbe
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
If yes, please explain:

Description of my issue

Server has been restored from other instance but this time I am unable to add domain, I receive a LDAP error and then a msg to submit log. I am wanted to avoid server reinstall and then restore apps. So hoping I am missing something in the log you may be able to point me to as I am learning. I thank you in advance for your help to anyone who responds.

2019-07-23 03:20:26,156: DEBUG - Generating a RSA private key
.........+++++
.........................................................................+++++
writing new private key to '/etc/yunohost/certs//peertube.somedomain.com-history/20190723.032025-selfsigned/key.pem'
-----

2019-07-23 03:20:26,174: DEBUG - Using configuration from /etc/yunohost/certs//peertube.somedomain.com-history/20190723.032025-selfsigned/openssl.cnf
Check that the request matches the signature
Signature ok
Certificate Details:
        Serial Number:
            09:aa:94:6b:cd:68:e9:18:12:d1:fd:d5:ee:7c:25:08:62:80:1f
        Validity
            Not Before: Jul 23 03:20:26 2019 GMT
            Not After : Jul 20 03:20:26 2029 GMT
        Subject:
            commonName                = peertube.somedomain.com
        X509v3 extensions:
            X509v3 Basic Constraints: 
                CA:FALSE
            Netscape Comment: 
                OpenSSL Generated Certificate
            X509v3 Subject Key Identifier: 
                71:12:72:22:BB:40:32:C2:B6:94:47:46:8E:99:E2:E1:C8:E2:AA:3B
            X509v3 Authority Key Identifier: 
                keyid:B6:0D:2E:23:DB:03:25:60:8E:36:17:60:FC:C9:2A:52:37:E8:5F:DF

            X509v3 Key Usage: 
                Digital Signature, Non Repudiation, Key Encipherment
            X509v3 Subject Alternative Name: 
                DNS:peertube.somedomain.com, DNS:www.peertube.somedomain.com, DNS:ns.peertube.somedomain.com
Certificate is to be certified until Jul 20 03:20:26 2029 GMT (3650 days)

Write out database with 1 new entries
Data Base Updated

2019-07-23 03:20:26,179: DEBUG - Enabling the certificate for domain peertube.somedomain.com ...
2019-07-23 03:20:26,180: DEBUG - Restarting services...
2019-07-23 03:20:26,188: DEBUG - Running 'systemctl restart postfix'
2019-07-23 03:20:26,643: DEBUG - Running 'systemctl restart dovecot'
2019-07-23 03:20:26,846: DEBUG - Running 'systemctl restart metronome'
2019-07-23 03:20:26,982: DEBUG - custom hook folder not found for action 'conf_regen' in /etc/yunohost/hooks.d/
2019-07-23 03:20:26,983: DEBUG - Executing command 'sh -c YNH_INTERFACE=api YNH_CWD=/usr/share/yunohost/hooks/conf_regen YNH_STDINFO=/tmp/tmpMzXtx9/stdinfo YNH_STDRETURN=/tmp/tmp4JOGMr/stdreturn BASH_XTRACEFD=7 /bin/bash -x "./15-nginx" pre 0 0 /home/yunohost.conf/pending/nginx 7>&1'…
2019-07-23 03:20:26,983: DEBUG - About to run the command '['sh', '-c', 'YNH_INTERFACE=api YNH_CWD=/usr/share/yunohost/hooks/conf_regen YNH_STDINFO=/tmp/tmpMzXtx9/stdinfo YNH_STDRETURN=/tmp/tmp4JOGMr/stdreturn BASH_XTRACEFD=7 /bin/bash -x "./15-nginx" pre 0 0 /home/yunohost.conf/pending/nginx 7>&1']'
2019-07-23 03:20:27,022: DEBUG - + set -e
2019-07-23 03:20:27,023: DEBUG - + . /usr/share/yunohost/helpers
2019-07-23 03:20:27,023: DEBUG - +++ run-parts --list /usr/share/yunohost/helpers.d
2019-07-23 03:20:27,024: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:27,024: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/apt ']'
2019-07-23 03:20:27,024: DEBUG - ++ . /usr/share/yunohost/helpers.d/apt
2019-07-23 03:20:27,024: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:27,024: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/backup ']'
2019-07-23 03:20:27,025: DEBUG - ++ . /usr/share/yunohost/helpers.d/backup
2019-07-23 03:20:27,025: DEBUG - +++ CAN_BIND=1
2019-07-23 03:20:27,025: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:27,025: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/fail2ban ']'
2019-07-23 03:20:27,025: DEBUG - ++ . /usr/share/yunohost/helpers.d/fail2ban
2019-07-23 03:20:27,025: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:27,026: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/getopts ']'
2019-07-23 03:20:27,026: DEBUG - ++ . /usr/share/yunohost/helpers.d/getopts
2019-07-23 03:20:27,026: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:27,026: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/logging ']'
2019-07-23 03:20:27,026: DEBUG - ++ . /usr/share/yunohost/helpers.d/logging
2019-07-23 03:20:27,027: DEBUG - +++ increment_progression=0
2019-07-23 03:20:27,027: DEBUG - +++ previous_weight=0
2019-07-23 03:20:27,027: DEBUG - +++ max_progression=-1
2019-07-23 03:20:27,027: DEBUG - +++ progress_scale=20
2019-07-23 03:20:27,027: DEBUG - +++ progress_string2='####################'
2019-07-23 03:20:27,027: DEBUG - +++ progress_string1=++++++++++++++++++++
2019-07-23 03:20:27,028: DEBUG - +++ progress_string0=....................
2019-07-23 03:20:27,028: DEBUG - ++++ date +%s
2019-07-23 03:20:27,028: DEBUG - +++ base_time=1563852027
2019-07-23 03:20:27,028: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:27,028: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/logrotate ']'
2019-07-23 03:20:27,028: DEBUG - ++ . /usr/share/yunohost/helpers.d/logrotate
2019-07-23 03:20:27,029: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:27,029: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/mysql ']'
2019-07-23 03:20:27,029: DEBUG - ++ . /usr/share/yunohost/helpers.d/mysql
2019-07-23 03:20:27,029: DEBUG - +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
2019-07-23 03:20:27,029: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:27,029: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/network ']'
2019-07-23 03:20:27,030: DEBUG - ++ . /usr/share/yunohost/helpers.d/network
2019-07-23 03:20:27,030: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:27,030: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nginx ']'
2019-07-23 03:20:27,030: DEBUG - ++ . /usr/share/yunohost/helpers.d/nginx
2019-07-23 03:20:27,030: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:27,031: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nodejs ']'
2019-07-23 03:20:27,031: DEBUG - ++ . /usr/share/yunohost/helpers.d/nodejs
2019-07-23 03:20:27,031: DEBUG - +++ n_install_dir=/opt/node_n
2019-07-23 03:20:27,031: DEBUG - +++ node_version_path=/opt/node_n/n/versions/node
2019-07-23 03:20:27,031: DEBUG - +++ export N_PREFIX=/opt/node_n
2019-07-23 03:20:27,031: DEBUG - +++ N_PREFIX=/opt/node_n
2019-07-23 03:20:27,031: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:27,032: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/php ']'
2019-07-23 03:20:27,032: DEBUG - ++ . /usr/share/yunohost/helpers.d/php
2019-07-23 03:20:27,032: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:27,032: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/postgresql ']'
2019-07-23 03:20:27,032: DEBUG - ++ . /usr/share/yunohost/helpers.d/postgresql
2019-07-23 03:20:27,032: DEBUG - +++ PSQL_ROOT_PWD_FILE=/etc/yunohost/psql
2019-07-23 03:20:27,033: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:27,033: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/setting ']'
2019-07-23 03:20:27,033: DEBUG - ++ . /usr/share/yunohost/helpers.d/setting
2019-07-23 03:20:27,033: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:27,033: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/string ']'
2019-07-23 03:20:27,033: DEBUG - ++ . /usr/share/yunohost/helpers.d/string
2019-07-23 03:20:27,034: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:27,034: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/systemd ']'
2019-07-23 03:20:27,034: DEBUG - ++ . /usr/share/yunohost/helpers.d/systemd
2019-07-23 03:20:27,034: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:27,034: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/user ']'
2019-07-23 03:20:27,035: DEBUG - ++ . /usr/share/yunohost/helpers.d/user
2019-07-23 03:20:27,035: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:27,035: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/utils ']'
2019-07-23 03:20:27,035: DEBUG - ++ . /usr/share/yunohost/helpers.d/utils
2019-07-23 03:20:27,035: DEBUG - + FORCE=0
2019-07-23 03:20:27,036: DEBUG - + DRY_RUN=0
2019-07-23 03:20:27,036: DEBUG - + case "$1" in
2019-07-23 03:20:27,036: DEBUG - + do_pre_regen /home/yunohost.conf/pending/nginx
2019-07-23 03:20:27,036: DEBUG - + pending_dir=/home/yunohost.conf/pending/nginx
2019-07-23 03:20:27,036: DEBUG - + cd /usr/share/yunohost/templates/nginx
2019-07-23 03:20:27,036: DEBUG - + nginx_dir=/home/yunohost.conf/pending/nginx/etc/nginx
2019-07-23 03:20:27,037: DEBUG - + nginx_conf_dir=/home/yunohost.conf/pending/nginx/etc/nginx/conf.d
2019-07-23 03:20:27,037: DEBUG - + mkdir -p /home/yunohost.conf/pending/nginx/etc/nginx/conf.d
2019-07-23 03:20:27,037: DEBUG - + cp plain/global.conf plain/ssowat.conf plain/yunohost_admin.conf.inc plain/yunohost_api.conf.inc plain/yunohost_panel.conf.inc /home/yunohost.conf/pending/nginx/etc/nginx/conf.d
2019-07-23 03:20:27,037: DEBUG - ++ cat /etc/yunohost/current_host
2019-07-23 03:20:27,138: DEBUG - + main_domain=hate.somedomain.com
2019-07-23 03:20:27,138: DEBUG - ++ sudo yunohost domain list --output-as plain --quiet
2019-07-23 03:20:27,339: DEBUG - + domain_list='hate.somedomain.com
2019-07-23 03:20:27,339: DEBUG - nomad.somedomain.com
2019-07-23 03:20:27,339: DEBUG - search.somedomain.com
2019-07-23 03:20:27,339: DEBUG - pleroma.somedomain.com'
2019-07-23 03:20:27,340: DEBUG - ++ yunohost settings get security.nginx.compatibility
2019-07-23 03:20:27,540: DEBUG - + export compatibility=intermediate
2019-07-23 03:20:27,541: DEBUG - + compatibility=intermediate
2019-07-23 03:20:27,541: DEBUG - + for domain in $domain_list
2019-07-23 03:20:27,541: DEBUG - + domain_conf_dir=/home/yunohost.conf/pending/nginx/etc/nginx/conf.d/hate.somedomain.com.d
2019-07-23 03:20:27,541: DEBUG - + mkdir -p /home/yunohost.conf/pending/nginx/etc/nginx/conf.d/hate.somedomain.com.d
2019-07-23 03:20:27,541: DEBUG - + mail_autoconfig_dir=/home/yunohost.conf/pending/nginx/var/www/.well-known/hate.somedomain.com/autoconfig/mail/
2019-07-23 03:20:27,542: DEBUG - + mkdir -p /home/yunohost.conf/pending/nginx/var/www/.well-known/hate.somedomain.com/autoconfig/mail/
2019-07-23 03:20:27,542: DEBUG - + export domain
2019-07-23 03:20:27,542: DEBUG - ++ yunohost domain cert-status hate.somedomain.com --json
2019-07-23 03:20:27,542: DEBUG - ++ jq '.certificates."hate.somedomain.com".CA_type'
2019-07-23 03:20:27,542: DEBUG - ++ tr -d '"'
2019-07-23 03:20:28,644: DEBUG - + export 'domain_cert_ca=Let'\''s Encrypt'
2019-07-23 03:20:28,645: DEBUG - + domain_cert_ca='Let'\''s Encrypt'
2019-07-23 03:20:28,645: DEBUG - + ynh_render_template server.tpl.conf /home/yunohost.conf/pending/nginx/etc/nginx/conf.d/hate.somedomain.com.conf
2019-07-23 03:20:28,645: DEBUG - + local template_path=server.tpl.conf
2019-07-23 03:20:28,645: DEBUG - + local output_path=/home/yunohost.conf/pending/nginx/etc/nginx/conf.d/hate.somedomain.com.conf
2019-07-23 03:20:28,645: DEBUG - ++ dirname /home/yunohost.conf/pending/nginx/etc/nginx/conf.d/hate.somedomain.com.conf
2019-07-23 03:20:28,645: DEBUG - + mkdir -p /home/yunohost.conf/pending/nginx/etc/nginx/conf.d
2019-07-23 03:20:28,646: DEBUG - + python2.7 -c 'import os, sys, jinja2; sys.stdout.write(
2019-07-23 03:20:28,646: DEBUG -                     jinja2.Template(sys.stdin.read()
2019-07-23 03:20:28,646: DEBUG -                  ).render(os.environ));'
2019-07-23 03:20:28,646: DEBUG - + ynh_render_template autoconfig.tpl.xml /home/yunohost.conf/pending/nginx/var/www/.well-known/hate.somedomain.com/autoconfig/mail//config-v1.1.xml
2019-07-23 03:20:28,646: DEBUG - + local template_path=autoconfig.tpl.xml
2019-07-23 03:20:28,646: DEBUG - + local output_path=/home/yunohost.conf/pending/nginx/var/www/.well-known/hate.somedomain.com/autoconfig/mail//config-v1.1.xml
2019-07-23 03:20:28,647: DEBUG - ++ dirname /home/yunohost.conf/pending/nginx/var/www/.well-known/hate.somedomain.com/autoconfig/mail//config-v1.1.xml
2019-07-23 03:20:28,647: DEBUG - + mkdir -p /home/yunohost.conf/pending/nginx/var/www/.well-known/hate.somedomain.com/autoconfig/mail
2019-07-23 03:20:28,647: DEBUG - + python2.7 -c 'import os, sys, jinja2; sys.stdout.write(
2019-07-23 03:20:28,647: DEBUG -                     jinja2.Template(sys.stdin.read()
2019-07-23 03:20:28,647: DEBUG -                  ).render(os.environ));'
2019-07-23 03:20:28,748: DEBUG - + [[ hate.somedomain.com != hate.somedomain.com ]]
2019-07-23 03:20:28,748: DEBUG - + cp yunohost_local.conf /home/yunohost.conf/pending/nginx/etc/nginx/conf.d/hate.somedomain.com.d/yunohost_local.conf
2019-07-23 03:20:28,748: DEBUG - + for domain in $domain_list
2019-07-23 03:20:28,749: DEBUG - + domain_conf_dir=/home/yunohost.conf/pending/nginx/etc/nginx/conf.d/nomad.somedomain.com.d
2019-07-23 03:20:28,749: DEBUG - + mkdir -p /home/yunohost.conf/pending/nginx/etc/nginx/conf.d/nomad.somedomain.com.d
2019-07-23 03:20:28,749: DEBUG - + mail_autoconfig_dir=/home/yunohost.conf/pending/nginx/var/www/.well-known/nomad.somedomain.com/autoconfig/mail/
2019-07-23 03:20:28,749: DEBUG - + mkdir -p /home/yunohost.conf/pending/nginx/var/www/.well-known/nomad.somedomain.com/autoconfig/mail/
2019-07-23 03:20:28,750: DEBUG - + export domain
2019-07-23 03:20:28,750: DEBUG - ++ yunohost domain cert-status nomad.somedomain.com --json
2019-07-23 03:20:28,750: DEBUG - ++ jq '.certificates."nomad.somedomain.com".CA_type'
2019-07-23 03:20:28,750: DEBUG - ++ tr -d '"'
2019-07-23 03:20:29,752: DEBUG - + export 'domain_cert_ca=Let'\''s Encrypt'
2019-07-23 03:20:29,753: DEBUG - + domain_cert_ca='Let'\''s Encrypt'
2019-07-23 03:20:29,753: DEBUG - + ynh_render_template server.tpl.conf /home/yunohost.conf/pending/nginx/etc/nginx/conf.d/nomad.somedomain.com.conf
2019-07-23 03:20:29,753: DEBUG - + local template_path=server.tpl.conf
2019-07-23 03:20:29,753: DEBUG - + local output_path=/home/yunohost.conf/pending/nginx/etc/nginx/conf.d/nomad.somedomain.com.conf
2019-07-23 03:20:29,753: DEBUG - ++ dirname /home/yunohost.conf/pending/nginx/etc/nginx/conf.d/nomad.somedomain.com.conf
2019-07-23 03:20:29,754: DEBUG - + mkdir -p /home/yunohost.conf/pending/nginx/etc/nginx/conf.d
2019-07-23 03:20:29,754: DEBUG - + python2.7 -c 'import os, sys, jinja2; sys.stdout.write(
2019-07-23 03:20:29,754: DEBUG -                     jinja2.Template(sys.stdin.read()
2019-07-23 03:20:29,754: DEBUG -                  ).render(os.environ));'
2019-07-23 03:20:29,854: DEBUG - + ynh_render_template autoconfig.tpl.xml /home/yunohost.conf/pending/nginx/var/www/.well-known/nomad.somedomain.com/autoconfig/mail//config-v1.1.xml
2019-07-23 03:20:29,855: DEBUG - + local template_path=autoconfig.tpl.xml
2019-07-23 03:20:29,855: DEBUG - + local output_path=/home/yunohost.conf/pending/nginx/var/www/.well-known/nomad.somedomain.com/autoconfig/mail//config-v1.1.xml
2019-07-23 03:20:29,855: DEBUG - ++ dirname /home/yunohost.conf/pending/nginx/var/www/.well-known/nomad.somedomain.com/autoconfig/mail//config-v1.1.xml
2019-07-23 03:20:29,855: DEBUG - + mkdir -p /home/yunohost.conf/pending/nginx/var/www/.well-known/nomad.somedomain.com/autoconfig/mail
2019-07-23 03:20:29,855: DEBUG - + python2.7 -c 'import os, sys, jinja2; sys.stdout.write(
2019-07-23 03:20:29,856: DEBUG -                     jinja2.Template(sys.stdin.read()
2019-07-23 03:20:29,856: DEBUG -                  ).render(os.environ));'
2019-07-23 03:20:29,856: DEBUG - + [[ hate.somedomain.com != nomad.somedomain.com ]]
2019-07-23 03:20:29,856: DEBUG - + touch /home/yunohost.conf/pending/nginx/etc/nginx/conf.d/nomad.somedomain.com.d/yunohost_local.conf
2019-07-23 03:20:29,856: DEBUG - + for domain in $domain_list
2019-07-23 03:20:29,856: DEBUG - + domain_conf_dir=/home/yunohost.conf/pending/nginx/etc/nginx/conf.d/search.somedomain.com.d
2019-07-23 03:20:29,857: DEBUG - + mkdir -p /home/yunohost.conf/pending/nginx/etc/nginx/conf.d/search.somedomain.com.d
2019-07-23 03:20:29,857: DEBUG - + mail_autoconfig_dir=/home/yunohost.conf/pending/nginx/var/www/.well-known/search.somedomain.com/autoconfig/mail/
2019-07-23 03:20:29,857: DEBUG - + mkdir -p /home/yunohost.conf/pending/nginx/var/www/.well-known/search.somedomain.com/autoconfig/mail/
2019-07-23 03:20:29,857: DEBUG - + export domain
2019-07-23 03:20:29,857: DEBUG - ++ yunohost domain cert-status search.somedomain.com --json
2019-07-23 03:20:29,857: DEBUG - ++ jq '.certificates."search.somedomain.com".CA_type'
2019-07-23 03:20:29,858: DEBUG - ++ tr -d '"'
2019-07-23 03:20:30,960: DEBUG - + export 'domain_cert_ca=Let'\''s Encrypt'
2019-07-23 03:20:30,960: DEBUG - + domain_cert_ca='Let'\''s Encrypt'
2019-07-23 03:20:30,960: DEBUG - + ynh_render_template server.tpl.conf /home/yunohost.conf/pending/nginx/etc/nginx/conf.d/search.somedomain.com.conf
2019-07-23 03:20:30,960: DEBUG - + local template_path=server.tpl.conf
2019-07-23 03:20:30,961: DEBUG - + local output_path=/home/yunohost.conf/pending/nginx/etc/nginx/conf.d/search.somedomain.com.conf
2019-07-23 03:20:30,961: DEBUG - ++ dirname /home/yunohost.conf/pending/nginx/etc/nginx/conf.d/search.somedomain.com.conf
2019-07-23 03:20:30,961: DEBUG - + mkdir -p /home/yunohost.conf/pending/nginx/etc/nginx/conf.d
2019-07-23 03:20:30,961: DEBUG - + python2.7 -c 'import os, sys, jinja2; sys.stdout.write(
2019-07-23 03:20:30,961: DEBUG -                     jinja2.Template(sys.stdin.read()
2019-07-23 03:20:30,961: DEBUG -                  ).render(os.environ));'
2019-07-23 03:20:30,962: DEBUG - + ynh_render_template autoconfig.tpl.xml /home/yunohost.conf/pending/nginx/var/www/.well-known/search.somedomain.com/autoconfig/mail//config-v1.1.xml
2019-07-23 03:20:30,962: DEBUG - + local template_path=autoconfig.tpl.xml
2019-07-23 03:20:30,962: DEBUG - + local output_path=/home/yunohost.conf/pending/nginx/var/www/.well-known/search.somedomain.com/autoconfig/mail//config-v1.1.xml
2019-07-23 03:20:30,962: DEBUG - ++ dirname /home/yunohost.conf/pending/nginx/var/www/.well-known/search.somedomain.com/autoconfig/mail//config-v1.1.xml
2019-07-23 03:20:30,962: DEBUG - + mkdir -p /home/yunohost.conf/pending/nginx/var/www/.well-known/search.somedomain.com/autoconfig/mail
2019-07-23 03:20:30,962: DEBUG - + python2.7 -c 'import os, sys, jinja2; sys.stdout.write(
2019-07-23 03:20:30,963: DEBUG -                     jinja2.Template(sys.stdin.read()
2019-07-23 03:20:30,963: DEBUG -                  ).render(os.environ));'
2019-07-23 03:20:31,063: DEBUG - + [[ hate.somedomain.com != search.somedomain.com ]]
2019-07-23 03:20:31,063: DEBUG - + touch /home/yunohost.conf/pending/nginx/etc/nginx/conf.d/search.somedomain.com.d/yunohost_local.conf
2019-07-23 03:20:31,064: DEBUG - + for domain in $domain_list
2019-07-23 03:20:31,064: DEBUG - + domain_conf_dir=/home/yunohost.conf/pending/nginx/etc/nginx/conf.d/pleroma.somedomain.com.d
2019-07-23 03:20:31,064: DEBUG - + mkdir -p /home/yunohost.conf/pending/nginx/etc/nginx/conf.d/pleroma.somedomain.com.d
2019-07-23 03:20:31,065: DEBUG - + mail_autoconfig_dir=/home/yunohost.conf/pending/nginx/var/www/.well-known/pleroma.somedomain.com/autoconfig/mail/
2019-07-23 03:20:31,065: DEBUG - + mkdir -p /home/yunohost.conf/pending/nginx/var/www/.well-known/pleroma.somedomain.com/autoconfig/mail/
2019-07-23 03:20:31,065: DEBUG - + export domain
2019-07-23 03:20:31,065: DEBUG - ++ yunohost domain cert-status pleroma.somedomain.com --json
2019-07-23 03:20:31,065: DEBUG - ++ jq '.certificates."pleroma.somedomain.com".CA_type'
2019-07-23 03:20:31,066: DEBUG - ++ tr -d '"'
2019-07-23 03:20:32,068: DEBUG - + export 'domain_cert_ca=Let'\''s Encrypt'
2019-07-23 03:20:32,068: DEBUG - + domain_cert_ca='Let'\''s Encrypt'
2019-07-23 03:20:32,068: DEBUG - + ynh_render_template server.tpl.conf /home/yunohost.conf/pending/nginx/etc/nginx/conf.d/pleroma.somedomain.com.conf
2019-07-23 03:20:32,068: DEBUG - + local template_path=server.tpl.conf
2019-07-23 03:20:32,069: DEBUG - + local output_path=/home/yunohost.conf/pending/nginx/etc/nginx/conf.d/pleroma.somedomain.com.conf
2019-07-23 03:20:32,069: DEBUG - ++ dirname /home/yunohost.conf/pending/nginx/etc/nginx/conf.d/pleroma.somedomain.com.conf
2019-07-23 03:20:32,069: DEBUG - + mkdir -p /home/yunohost.conf/pending/nginx/etc/nginx/conf.d
2019-07-23 03:20:32,069: DEBUG - + python2.7 -c 'import os, sys, jinja2; sys.stdout.write(
2019-07-23 03:20:32,069: DEBUG -                     jinja2.Template(sys.stdin.read()
2019-07-23 03:20:32,069: DEBUG -                  ).render(os.environ));'
2019-07-23 03:20:32,170: DEBUG - + ynh_render_template autoconfig.tpl.xml /home/yunohost.conf/pending/nginx/var/www/.well-known/pleroma.somedomain.com/autoconfig/mail//config-v1.1.xml
2019-07-23 03:20:32,170: DEBUG - + local template_path=autoconfig.tpl.xml
2019-07-23 03:20:32,170: DEBUG - + local output_path=/home/yunohost.conf/pending/nginx/var/www/.well-known/pleroma.somedomain.com/autoconfig/mail//config-v1.1.xml
2019-07-23 03:20:32,170: DEBUG - ++ dirname /home/yunohost.conf/pending/nginx/var/www/.well-known/pleroma.somedomain.com/autoconfig/mail//config-v1.1.xml
2019-07-23 03:20:32,171: DEBUG - + mkdir -p /home/yunohost.conf/pending/nginx/var/www/.well-known/pleroma.somedomain.com/autoconfig/mail
2019-07-23 03:20:32,171: DEBUG - + python2.7 -c 'import os, sys, jinja2; sys.stdout.write(
2019-07-23 03:20:32,171: DEBUG -                     jinja2.Template(sys.stdin.read()
2019-07-23 03:20:32,171: DEBUG -                  ).render(os.environ));'
2019-07-23 03:20:32,171: DEBUG - + [[ hate.somedomain.com != pleroma.somedomain.com ]]
2019-07-23 03:20:32,171: DEBUG - + touch /home/yunohost.conf/pending/nginx/etc/nginx/conf.d/pleroma.somedomain.com.d/yunohost_local.conf
2019-07-23 03:20:32,172: DEBUG - + ynh_render_template yunohost_admin.conf /home/yunohost.conf/pending/nginx/etc/nginx/conf.d/yunohost_admin.conf
2019-07-23 03:20:32,172: DEBUG - + local template_path=yunohost_admin.conf
2019-07-23 03:20:32,172: DEBUG - + local output_path=/home/yunohost.conf/pending/nginx/etc/nginx/conf.d/yunohost_admin.conf
2019-07-23 03:20:32,172: DEBUG - ++ dirname /home/yunohost.conf/pending/nginx/etc/nginx/conf.d/yunohost_admin.conf
2019-07-23 03:20:32,172: DEBUG - + mkdir -p /home/yunohost.conf/pending/nginx/etc/nginx/conf.d
2019-07-23 03:20:32,172: DEBUG - + python2.7 -c 'import os, sys, jinja2; sys.stdout.write(
2019-07-23 03:20:32,172: DEBUG -                     jinja2.Template(sys.stdin.read()
2019-07-23 03:20:32,173: DEBUG -                  ).render(os.environ));'
2019-07-23 03:20:32,273: DEBUG - ++ ls -1 /etc/nginx/conf.d
2019-07-23 03:20:32,274: DEBUG - ++ awk '/^[^\.]+\.[^\.]+.*\.conf$/ { print $1 }'
2019-07-23 03:20:32,274: DEBUG - + conf_files='hate.somedomain.com.conf
2019-07-23 03:20:32,274: DEBUG - nomad.somedomain.com.conf
2019-07-23 03:20:32,275: DEBUG - pleroma.somedomain.com.conf
2019-07-23 03:20:32,275: DEBUG - search.somedomain.com.conf'
2019-07-23 03:20:32,275: DEBUG - + for file in $conf_files
2019-07-23 03:20:32,276: DEBUG - + domain=hate.somedomain.com
2019-07-23 03:20:32,276: DEBUG - + [[ hate.somedomain.com
2019-07-23 03:20:32,276: DEBUG - nomad.somedomain.com
2019-07-23 03:20:32,277: DEBUG - search.somedomain.com
2019-07-23 03:20:32,277: DEBUG - pleroma.somedomain.com =~ hate.somedomain.com ]]
2019-07-23 03:20:32,277: DEBUG - + for file in $conf_files
2019-07-23 03:20:32,278: DEBUG - + domain=nomad.somedomain.com
2019-07-23 03:20:32,278: DEBUG - + [[ hate.somedomain.com
2019-07-23 03:20:32,278: DEBUG - nomad.somedomain.com
2019-07-23 03:20:32,279: DEBUG - search.somedomain.com
2019-07-23 03:20:32,279: DEBUG - pleroma.somedomain.com =~ nomad.somedomain.com ]]
2019-07-23 03:20:32,279: DEBUG - + for file in $conf_files
2019-07-23 03:20:32,280: DEBUG - + domain=pleroma.somedomain.com
2019-07-23 03:20:32,280: DEBUG - + [[ hate.somedomain.com
2019-07-23 03:20:32,280: DEBUG - nomad.somedomain.com
2019-07-23 03:20:32,281: DEBUG - search.somedomain.com
2019-07-23 03:20:32,281: DEBUG - pleroma.somedomain.com =~ pleroma.somedomain.com ]]
2019-07-23 03:20:32,281: DEBUG - + for file in $conf_files
2019-07-23 03:20:32,282: DEBUG - + domain=search.somedomain.com
2019-07-23 03:20:32,282: DEBUG - + [[ hate.somedomain.com
2019-07-23 03:20:32,282: DEBUG - nomad.somedomain.com
2019-07-23 03:20:32,283: DEBUG - search.somedomain.com
2019-07-23 03:20:32,283: DEBUG - pleroma.somedomain.com =~ search.somedomain.com ]]
2019-07-23 03:20:32,283: DEBUG - ++ ls -1 /var/www/.well-known/hate.somedomain.com/autoconfig/mail/config-v1.1.xml /var/www/.well-known/nomad.somedomain.com/autoconfig/mail/config-v1.1.xml /var/www/.well-known/pleroma.somedomain.com/autoconfig/mail/config-v1.1.xml /var/www/.well-known/search.somedomain.com/autoconfig/mail/config-v1.1.xml
2019-07-23 03:20:32,284: DEBUG - + autoconfig_files='/var/www/.well-known/hate.somedomain.com/autoconfig/mail/config-v1.1.xml
2019-07-23 03:20:32,284: DEBUG - /var/www/.well-known/nomad.somedomain.com/autoconfig/mail/config-v1.1.xml
2019-07-23 03:20:32,284: DEBUG - /var/www/.well-known/pleroma.somedomain.com/autoconfig/mail/config-v1.1.xml
2019-07-23 03:20:32,285: DEBUG - /var/www/.well-known/search.somedomain.com/autoconfig/mail/config-v1.1.xml'
2019-07-23 03:20:32,285: DEBUG - + for file in $autoconfig_files
2019-07-23 03:20:32,285: DEBUG - ++++ dirname /var/www/.well-known/hate.somedomain.com/autoconfig/mail/config-v1.1.xml
2019-07-23 03:20:32,286: DEBUG - +++ readlink -f /var/www/.well-known/hate.somedomain.com/autoconfig/mail/../..
2019-07-23 03:20:32,286: DEBUG - ++ basename /var/www/.well-known/hate.somedomain.com
2019-07-23 03:20:32,286: DEBUG - + domain=hate.somedomain.com
2019-07-23 03:20:32,286: DEBUG - + [[ hate.somedomain.com
2019-07-23 03:20:32,286: DEBUG - nomad.somedomain.com
2019-07-23 03:20:32,286: DEBUG - search.somedomain.com
2019-07-23 03:20:32,287: DEBUG - pleroma.somedomain.com =~ hate.somedomain.com ]]
2019-07-23 03:20:32,287: DEBUG - + for file in $autoconfig_files
2019-07-23 03:20:32,287: DEBUG - ++++ dirname /var/www/.well-known/nomad.somedomain.com/autoconfig/mail/config-v1.1.xml
2019-07-23 03:20:32,287: DEBUG - +++ readlink -f /var/www/.well-known/nomad.somedomain.com/autoconfig/mail/../..
2019-07-23 03:20:32,287: DEBUG - ++ basename /var/www/.well-known/nomad.somedomain.com
2019-07-23 03:20:32,287: DEBUG - + domain=nomad.somedomain.com
2019-07-23 03:20:32,288: DEBUG - + [[ hate.somedomain.com
2019-07-23 03:20:32,288: DEBUG - nomad.somedomain.com
2019-07-23 03:20:32,288: DEBUG - search.somedomain.com
2019-07-23 03:20:32,288: DEBUG - pleroma.somedomain.com =~ nomad.somedomain.com ]]
2019-07-23 03:20:32,288: DEBUG - + for file in $autoconfig_files
2019-07-23 03:20:32,288: DEBUG - ++++ dirname /var/www/.well-known/pleroma.somedomain.com/autoconfig/mail/config-v1.1.xml
2019-07-23 03:20:32,288: DEBUG - +++ readlink -f /var/www/.well-known/pleroma.somedomain.com/autoconfig/mail/../..
2019-07-23 03:20:32,289: DEBUG - ++ basename /var/www/.well-known/pleroma.somedomain.com
2019-07-23 03:20:32,289: DEBUG - + domain=pleroma.somedomain.com
2019-07-23 03:20:32,289: DEBUG - + [[ hate.somedomain.com
2019-07-23 03:20:32,289: DEBUG - nomad.somedomain.com
2019-07-23 03:20:32,289: DEBUG - search.somedomain.com
2019-07-23 03:20:32,289: DEBUG - pleroma.somedomain.com =~ pleroma.somedomain.com ]]
2019-07-23 03:20:32,290: DEBUG - + for file in $autoconfig_files
2019-07-23 03:20:32,290: DEBUG - ++++ dirname /var/www/.well-known/search.somedomain.com/autoconfig/mail/config-v1.1.xml
2019-07-23 03:20:32,290: DEBUG - +++ readlink -f /var/www/.well-known/search.somedomain.com/autoconfig/mail/../..
2019-07-23 03:20:32,290: DEBUG - ++ basename /var/www/.well-known/search.somedomain.com
2019-07-23 03:20:32,290: DEBUG - + domain=search.somedomain.com
2019-07-23 03:20:32,290: DEBUG - + [[ hate.somedomain.com
2019-07-23 03:20:32,290: DEBUG - nomad.somedomain.com
2019-07-23 03:20:32,291: DEBUG - search.somedomain.com
2019-07-23 03:20:32,291: DEBUG - pleroma.somedomain.com =~ search.somedomain.com ]]
2019-07-23 03:20:32,291: DEBUG - + mkdir -p /home/yunohost.conf/pending/nginx/etc/nginx/sites-enabled
2019-07-23 03:20:32,291: DEBUG - + touch /home/yunohost.conf/pending/nginx/etc/nginx/sites-enabled/default
2019-07-23 03:20:32,291: DEBUG - + exit 0
2019-07-23 03:20:32,338: DEBUG - Applying pending configuration for category 'nginx'…
2019-07-23 03:20:32,361: DEBUG - processing pending conf '/home/yunohost.conf/pending/nginx/etc/nginx/conf.d/search.somedomain.com.d/yunohost_local.conf' to system conf '/etc/nginx/conf.d/search.somedomain.com.d/yunohost_local.conf'
2019-07-23 03:20:32,361: DEBUG - > system conf is already removed
2019-07-23 03:20:32,361: DEBUG - processing pending conf '/home/yunohost.conf/pending/nginx/var/www/.well-known/hate.somedomain.com/autoconfig/mail/config-v1.1.xml' to system conf '/var/www/.well-known/hate.somedomain.com/autoconfig/mail/config-v1.1.xml'
2019-07-23 03:20:32,361: DEBUG - > system conf is already up-to-date
2019-07-23 03:20:32,362: DEBUG - processing pending conf '/home/yunohost.conf/pending/nginx/etc/nginx/conf.d/yunohost_admin.conf.inc' to system conf '/etc/nginx/conf.d/yunohost_admin.conf.inc'
2019-07-23 03:20:32,362: DEBUG - > system conf is already up-to-date
2019-07-23 03:20:32,362: DEBUG - processing pending conf '/home/yunohost.conf/pending/nginx/etc/nginx/conf.d/nomad.somedomain.com.d/yunohost_local.conf' to system conf '/etc/nginx/conf.d/nomad.somedomain.com.d/yunohost_local.conf'
2019-07-23 03:20:32,362: DEBUG - > system conf is already removed
2019-07-23 03:20:32,362: DEBUG - processing pending conf '/home/yunohost.conf/pending/nginx/etc/nginx/conf.d/pleroma.somedomain.com.conf' to system conf '/etc/nginx/conf.d/pleroma.somedomain.com.conf'
2019-07-23 03:20:32,363: DEBUG - > system conf is already up-to-date
2019-07-23 03:20:32,363: DEBUG - processing pending conf '/home/yunohost.conf/pending/nginx/etc/nginx/conf.d/nomad.somedomain.com.conf' to system conf '/etc/nginx/conf.d/nomad.somedomain.com.conf'
2019-07-23 03:20:32,363: DEBUG - > system conf is already up-to-date
2019-07-23 03:20:32,363: DEBUG - processing pending conf '/home/yunohost.conf/pending/nginx/etc/nginx/conf.d/yunohost_panel.conf.inc' to system conf '/etc/nginx/conf.d/yunohost_panel.conf.inc'
2019-07-23 03:20:32,363: DEBUG - > system conf is already up-to-date
2019-07-23 03:20:32,363: DEBUG - processing pending conf '/home/yunohost.conf/pending/nginx/var/www/.well-known/nomad.somedomain.com/autoconfig/mail/config-v1.1.xml' to system conf '/var/www/.well-known/nomad.somedomain.com/autoconfig/mail/config-v1.1.xml'
2019-07-23 03:20:32,364: DEBUG - > system conf is already up-to-date
2019-07-23 03:20:32,364: DEBUG - processing pending conf '/home/yunohost.conf/pending/nginx/etc/nginx/conf.d/yunohost_api.conf.inc' to system conf '/etc/nginx/conf.d/yunohost_api.conf.inc'
2019-07-23 03:20:32,364: DEBUG - > system conf is already up-to-date
2019-07-23 03:20:32,364: DEBUG - processing pending conf '/home/yunohost.conf/pending/nginx/etc/nginx/conf.d/yunohost_admin.conf' to system conf '/etc/nginx/conf.d/yunohost_admin.conf'
2019-07-23 03:20:32,364: DEBUG - > system conf is already up-to-date
2019-07-23 03:20:32,365: DEBUG - processing pending conf '/home/yunohost.conf/pending/nginx/etc/nginx/conf.d/ssowat.conf' to system conf '/etc/nginx/conf.d/ssowat.conf'
2019-07-23 03:20:32,365: DEBUG - > system conf is already up-to-date
2019-07-23 03:20:32,365: DEBUG - processing pending conf '/home/yunohost.conf/pending/nginx/etc/nginx/conf.d/hate.somedomain.com.d/yunohost_local.conf' to system conf '/etc/nginx/conf.d/hate.somedomain.com.d/yunohost_local.conf'
2019-07-23 03:20:32,365: DEBUG - > system conf is already up-to-date
2019-07-23 03:20:32,365: DEBUG - processing pending conf '/home/yunohost.conf/pending/nginx/etc/nginx/conf.d/global.conf' to system conf '/etc/nginx/conf.d/global.conf'
2019-07-23 03:20:32,365: DEBUG - > system conf is already up-to-date
2019-07-23 03:20:32,366: DEBUG - processing pending conf '/home/yunohost.conf/pending/nginx/etc/nginx/conf.d/pleroma.somedomain.com.d/yunohost_local.conf' to system conf '/etc/nginx/conf.d/pleroma.somedomain.com.d/yunohost_local.conf'
2019-07-23 03:20:32,366: DEBUG - > system conf is already removed
2019-07-23 03:20:32,366: DEBUG - processing pending conf '/home/yunohost.conf/pending/nginx/etc/nginx/conf.d/hate.somedomain.com.conf' to system conf '/etc/nginx/conf.d/hate.somedomain.com.conf'
2019-07-23 03:20:32,366: DEBUG - > system conf is already up-to-date
2019-07-23 03:20:32,366: DEBUG - processing pending conf '/home/yunohost.conf/pending/nginx/etc/nginx/conf.d/search.somedomain.com.conf' to system conf '/etc/nginx/conf.d/search.somedomain.com.conf'
2019-07-23 03:20:32,367: DEBUG - > system conf is already up-to-date
2019-07-23 03:20:32,367: DEBUG - processing pending conf '/home/yunohost.conf/pending/nginx/var/www/.well-known/pleroma.somedomain.com/autoconfig/mail/config-v1.1.xml' to system conf '/var/www/.well-known/pleroma.somedomain.com/autoconfig/mail/config-v1.1.xml'
2019-07-23 03:20:32,367: DEBUG - > system conf is already up-to-date
2019-07-23 03:20:32,367: DEBUG - processing pending conf '/home/yunohost.conf/pending/nginx/etc/nginx/sites-enabled/default' to system conf '/etc/nginx/sites-enabled/default'
2019-07-23 03:20:32,367: DEBUG - > system conf is already removed
2019-07-23 03:20:32,367: DEBUG - processing pending conf '/home/yunohost.conf/pending/nginx/var/www/.well-known/search.somedomain.com/autoconfig/mail/config-v1.1.xml' to system conf '/var/www/.well-known/search.somedomain.com/autoconfig/mail/config-v1.1.xml'
2019-07-23 03:20:32,368: DEBUG - > system conf is already up-to-date
2019-07-23 03:20:32,368: DEBUG - The configuration is already up-to-date for category 'nginx'
2019-07-23 03:20:32,368: DEBUG - custom hook folder not found for action 'conf_regen' in /etc/yunohost/hooks.d/
2019-07-23 03:20:32,368: DEBUG - Executing command 'sh -c YNH_INTERFACE=api YNH_CWD=/usr/share/yunohost/hooks/conf_regen YNH_STDINFO=/tmp/tmpjeyCpk/stdinfo YNH_STDRETURN=/tmp/tmpv9AjSG/stdreturn BASH_XTRACEFD=7 /bin/bash -x "./15-nginx" post 0 0 '' 7>&1'…
2019-07-23 03:20:32,369: DEBUG - About to run the command '['sh', '-c', 'YNH_INTERFACE=api YNH_CWD=/usr/share/yunohost/hooks/conf_regen YNH_STDINFO=/tmp/tmpjeyCpk/stdinfo YNH_STDRETURN=/tmp/tmpv9AjSG/stdreturn BASH_XTRACEFD=7 /bin/bash -x "./15-nginx" post 0 0 \'\' 7>&1']'
2019-07-23 03:20:32,403: DEBUG - + set -e
2019-07-23 03:20:32,405: DEBUG - + . /usr/share/yunohost/helpers
2019-07-23 03:20:32,405: DEBUG - +++ run-parts --list /usr/share/yunohost/helpers.d
2019-07-23 03:20:32,405: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:32,405: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/apt ']'
2019-07-23 03:20:32,406: DEBUG - ++ . /usr/share/yunohost/helpers.d/apt
2019-07-23 03:20:32,406: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:32,406: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/backup ']'
2019-07-23 03:20:32,407: DEBUG - ++ . /usr/share/yunohost/helpers.d/backup
2019-07-23 03:20:32,407: DEBUG - +++ CAN_BIND=1
2019-07-23 03:20:32,407: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:32,407: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/fail2ban ']'
2019-07-23 03:20:32,407: DEBUG - ++ . /usr/share/yunohost/helpers.d/fail2ban
2019-07-23 03:20:32,407: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:32,408: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/getopts ']'
2019-07-23 03:20:32,408: DEBUG - ++ . /usr/share/yunohost/helpers.d/getopts
2019-07-23 03:20:32,408: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:32,408: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/logging ']'
2019-07-23 03:20:32,408: DEBUG - ++ . /usr/share/yunohost/helpers.d/logging
2019-07-23 03:20:32,409: DEBUG - +++ increment_progression=0
2019-07-23 03:20:32,409: DEBUG - +++ previous_weight=0
2019-07-23 03:20:32,409: DEBUG - +++ max_progression=-1
2019-07-23 03:20:32,409: DEBUG - +++ progress_scale=20
2019-07-23 03:20:32,409: DEBUG - +++ progress_string2='####################'
2019-07-23 03:20:32,410: DEBUG - +++ progress_string1=++++++++++++++++++++
2019-07-23 03:20:32,410: DEBUG - +++ progress_string0=....................
2019-07-23 03:20:32,410: DEBUG - ++++ date +%s
2019-07-23 03:20:32,410: DEBUG - +++ base_time=1563852032
2019-07-23 03:20:32,410: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:32,410: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/logrotate ']'
2019-07-23 03:20:32,411: DEBUG - ++ . /usr/share/yunohost/helpers.d/logrotate
2019-07-23 03:20:32,411: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:32,411: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/mysql ']'
2019-07-23 03:20:32,411: DEBUG - ++ . /usr/share/yunohost/helpers.d/mysql
2019-07-23 03:20:32,411: DEBUG - +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
2019-07-23 03:20:32,411: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:32,412: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/network ']'
2019-07-23 03:20:32,412: DEBUG - ++ . /usr/share/yunohost/helpers.d/network
2019-07-23 03:20:32,412: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:32,412: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nginx ']'
2019-07-23 03:20:32,413: DEBUG - ++ . /usr/share/yunohost/helpers.d/nginx
2019-07-23 03:20:32,413: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:32,413: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nodejs ']'
2019-07-23 03:20:32,413: DEBUG - ++ . /usr/share/yunohost/helpers.d/nodejs
2019-07-23 03:20:32,413: DEBUG - +++ n_install_dir=/opt/node_n
2019-07-23 03:20:32,414: DEBUG - +++ node_version_path=/opt/node_n/n/versions/node
2019-07-23 03:20:32,414: DEBUG - +++ export N_PREFIX=/opt/node_n
2019-07-23 03:20:32,414: DEBUG - +++ N_PREFIX=/opt/node_n
2019-07-23 03:20:32,414: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:32,414: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/php ']'
2019-07-23 03:20:32,414: DEBUG - ++ . /usr/share/yunohost/helpers.d/php
2019-07-23 03:20:32,415: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:32,415: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/postgresql ']'
2019-07-23 03:20:32,415: DEBUG - ++ . /usr/share/yunohost/helpers.d/postgresql
2019-07-23 03:20:32,415: DEBUG - +++ PSQL_ROOT_PWD_FILE=/etc/yunohost/psql
2019-07-23 03:20:32,415: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:32,415: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/setting ']'
2019-07-23 03:20:32,415: DEBUG - ++ . /usr/share/yunohost/helpers.d/setting
2019-07-23 03:20:32,416: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:32,416: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/string ']'
2019-07-23 03:20:32,416: DEBUG - ++ . /usr/share/yunohost/helpers.d/string
2019-07-23 03:20:32,416: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:32,416: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/systemd ']'
2019-07-23 03:20:32,416: DEBUG - ++ . /usr/share/yunohost/helpers.d/systemd
2019-07-23 03:20:32,417: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:32,417: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/user ']'
2019-07-23 03:20:32,417: DEBUG - ++ . /usr/share/yunohost/helpers.d/user
2019-07-23 03:20:32,417: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:32,417: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/utils ']'
2019-07-23 03:20:32,417: DEBUG - ++ . /usr/share/yunohost/helpers.d/utils
2019-07-23 03:20:32,418: DEBUG - + FORCE=0
2019-07-23 03:20:32,418: DEBUG - + DRY_RUN=0
2019-07-23 03:20:32,418: DEBUG - + case "$1" in
2019-07-23 03:20:32,418: DEBUG - + do_post_regen
2019-07-23 03:20:32,418: DEBUG - + regen_conf_files=
2019-07-23 03:20:32,418: DEBUG - + '[' -z '' ']'
2019-07-23 03:20:32,419: DEBUG - + exit 0
2019-07-23 03:20:32,559: DEBUG - Full log of this operation: '<a href="#/tools/logs/20190723-032026-regen_conf-nginx" style="text-decoration:underline">Regenerate system configurations 'nginx'</a>'
2019-07-23 03:20:32,576: DEBUG - Running 'systemctl reload nginx'
2019-07-23 03:20:32,721: DEBUG - system hook folder not found for action 'post_cert_update' in /usr/share/yunohost/hooks/
2019-07-23 03:20:32,722: DEBUG - custom hook folder not found for action 'post_cert_update' in /etc/yunohost/hooks.d/
2019-07-23 03:20:33,222: SUCCESS - Successfully installed a self-signed certificate for domain peertube.somedomain.com!
2019-07-23 03:20:33,223: DEBUG - Full log of this operation: '<a href="#/tools/logs/20190723-032026-selfsigned_cert_install-peertube.somedomain.com" style="text-decoration:underline">Install self signed certificate on 'peertube.somedomain.com' domain</a>'
2019-07-23 03:20:33,243: INFO - <strong>The operation 'Remove 'peertube.somedomain.com' domain from system configuration' has failed! To get help, please <a href="#/tools/logs/20190723-032033-domain_remove-peertube.somedomain.com">provide the full log of this operation by clicking here</a></strong>


:fr: Modèle de message (français)

La catégorie “support” est destinée à l’aide et au dépannage lié à l’installation et utilisation de YunoHost et de ses applications. Elle n’est pas destinée à de l’assistance généraliste pour l’administration système, réseau, ou pour les cas particuliers qui vont au dela de ce que propose le projet. Si vous souhaitez discuter de cas d’usage avancés, merci d’utiliser la catégorie “Advanced Use Case”.

Avant de poster, merci de :

Mon serveur YunoHost

Matériel: VPS acheté en ligne
Version de YunoHost: Latest
J’ai accès à mon serveur : En SSH
Êtes-vous dans un contexte particulier ou avez-vous effectué des modificiations particulières sur votre instance ? : non
Si oui, expliquer:

Description du problème

Le serveur a été restauré à partir d’une autre instance, mais cette fois, je ne parviens pas à ajouter de domaine. Je reçois une erreur LDAP, puis un message pour l’envoi du journal. Je veux éviter la réinstallation du serveur, puis la restauration des applications. Donc, en espérant que je manque quelque chose dans le journal, vous pourrez peut-être m’indiquer pendant que j’apprends. Je vous remercie par avance de votre aide à quiconque répond.

2019-07-23 03:20:26,156: DEBUG - Generating a RSA private key
.........+++++
.........................................................................+++++
writing new private key to '/etc/yunohost/certs//peertube.somedomain.com-history/20190723.032025-selfsigned/key.pem'
-----

2019-07-23 03:20:26,174: DEBUG - Using configuration from /etc/yunohost/certs//peertube.somedomain.com-history/20190723.032025-selfsigned/openssl.cnf
Check that the request matches the signature
Signature ok
Certificate Details:
        Serial Number:
            09:aa:94:6b:cd:68:e9:18:12:d1:fd:d5:ee:7c:25:08:62:80:1f
        Validity
            Not Before: Jul 23 03:20:26 2019 GMT
            Not After : Jul 20 03:20:26 2029 GMT
        Subject:
            commonName                = peertube.somedomain.com
        X509v3 extensions:
            X509v3 Basic Constraints: 
                CA:FALSE
            Netscape Comment: 
                OpenSSL Generated Certificate
            X509v3 Subject Key Identifier: 
                71:12:72:22:BB:40:32:C2:B6:94:47:46:8E:99:E2:E1:C8:E2:AA:3B
            X509v3 Authority Key Identifier: 
                keyid:B6:0D:2E:23:DB:03:25:60:8E:36:17:60:FC:C9:2A:52:37:E8:5F:DF

            X509v3 Key Usage: 
                Digital Signature, Non Repudiation, Key Encipherment
            X509v3 Subject Alternative Name: 
                DNS:peertube.somedomain.com, DNS:www.peertube.somedomain.com, DNS:ns.peertube.somedomain.com
Certificate is to be certified until Jul 20 03:20:26 2029 GMT (3650 days)

Write out database with 1 new entries
Data Base Updated

2019-07-23 03:20:26,179: DEBUG - Enabling the certificate for domain peertube.somedomain.com ...
2019-07-23 03:20:26,180: DEBUG - Restarting services...
2019-07-23 03:20:26,188: DEBUG - Running 'systemctl restart postfix'
2019-07-23 03:20:26,643: DEBUG - Running 'systemctl restart dovecot'
2019-07-23 03:20:26,846: DEBUG - Running 'systemctl restart metronome'
2019-07-23 03:20:26,982: DEBUG - custom hook folder not found for action 'conf_regen' in /etc/yunohost/hooks.d/
2019-07-23 03:20:26,983: DEBUG - Executing command 'sh -c YNH_INTERFACE=api YNH_CWD=/usr/share/yunohost/hooks/conf_regen YNH_STDINFO=/tmp/tmpMzXtx9/stdinfo YNH_STDRETURN=/tmp/tmp4JOGMr/stdreturn BASH_XTRACEFD=7 /bin/bash -x "./15-nginx" pre 0 0 /home/yunohost.conf/pending/nginx 7>&1'…
2019-07-23 03:20:26,983: DEBUG - About to run the command '['sh', '-c', 'YNH_INTERFACE=api YNH_CWD=/usr/share/yunohost/hooks/conf_regen YNH_STDINFO=/tmp/tmpMzXtx9/stdinfo YNH_STDRETURN=/tmp/tmp4JOGMr/stdreturn BASH_XTRACEFD=7 /bin/bash -x "./15-nginx" pre 0 0 /home/yunohost.conf/pending/nginx 7>&1']'
2019-07-23 03:20:27,022: DEBUG - + set -e
2019-07-23 03:20:27,023: DEBUG - + . /usr/share/yunohost/helpers
2019-07-23 03:20:27,023: DEBUG - +++ run-parts --list /usr/share/yunohost/helpers.d
2019-07-23 03:20:27,024: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:27,024: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/apt ']'
2019-07-23 03:20:27,024: DEBUG - ++ . /usr/share/yunohost/helpers.d/apt
2019-07-23 03:20:27,024: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:27,024: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/backup ']'
2019-07-23 03:20:27,025: DEBUG - ++ . /usr/share/yunohost/helpers.d/backup
2019-07-23 03:20:27,025: DEBUG - +++ CAN_BIND=1
2019-07-23 03:20:27,025: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:27,025: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/fail2ban ']'
2019-07-23 03:20:27,025: DEBUG - ++ . /usr/share/yunohost/helpers.d/fail2ban
2019-07-23 03:20:27,025: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:27,026: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/getopts ']'
2019-07-23 03:20:27,026: DEBUG - ++ . /usr/share/yunohost/helpers.d/getopts
2019-07-23 03:20:27,026: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:27,026: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/logging ']'
2019-07-23 03:20:27,026: DEBUG - ++ . /usr/share/yunohost/helpers.d/logging
2019-07-23 03:20:27,027: DEBUG - +++ increment_progression=0
2019-07-23 03:20:27,027: DEBUG - +++ previous_weight=0
2019-07-23 03:20:27,027: DEBUG - +++ max_progression=-1
2019-07-23 03:20:27,027: DEBUG - +++ progress_scale=20
2019-07-23 03:20:27,027: DEBUG - +++ progress_string2='####################'
2019-07-23 03:20:27,027: DEBUG - +++ progress_string1=++++++++++++++++++++
2019-07-23 03:20:27,028: DEBUG - +++ progress_string0=....................
2019-07-23 03:20:27,028: DEBUG - ++++ date +%s
2019-07-23 03:20:27,028: DEBUG - +++ base_time=1563852027
2019-07-23 03:20:27,028: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:27,028: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/logrotate ']'
2019-07-23 03:20:27,028: DEBUG - ++ . /usr/share/yunohost/helpers.d/logrotate
2019-07-23 03:20:27,029: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:27,029: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/mysql ']'
2019-07-23 03:20:27,029: DEBUG - ++ . /usr/share/yunohost/helpers.d/mysql
2019-07-23 03:20:27,029: DEBUG - +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
2019-07-23 03:20:27,029: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:27,029: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/network ']'
2019-07-23 03:20:27,030: DEBUG - ++ . /usr/share/yunohost/helpers.d/network
2019-07-23 03:20:27,030: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:27,030: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nginx ']'
2019-07-23 03:20:27,030: DEBUG - ++ . /usr/share/yunohost/helpers.d/nginx
2019-07-23 03:20:27,030: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:27,031: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nodejs ']'
2019-07-23 03:20:27,031: DEBUG - ++ . /usr/share/yunohost/helpers.d/nodejs
2019-07-23 03:20:27,031: DEBUG - +++ n_install_dir=/opt/node_n
2019-07-23 03:20:27,031: DEBUG - +++ node_version_path=/opt/node_n/n/versions/node
2019-07-23 03:20:27,031: DEBUG - +++ export N_PREFIX=/opt/node_n
2019-07-23 03:20:27,031: DEBUG - +++ N_PREFIX=/opt/node_n
2019-07-23 03:20:27,031: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:27,032: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/php ']'
2019-07-23 03:20:27,032: DEBUG - ++ . /usr/share/yunohost/helpers.d/php
2019-07-23 03:20:27,032: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:27,032: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/postgresql ']'
2019-07-23 03:20:27,032: DEBUG - ++ . /usr/share/yunohost/helpers.d/postgresql
2019-07-23 03:20:27,032: DEBUG - +++ PSQL_ROOT_PWD_FILE=/etc/yunohost/psql
2019-07-23 03:20:27,033: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:27,033: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/setting ']'
2019-07-23 03:20:27,033: DEBUG - ++ . /usr/share/yunohost/helpers.d/setting
2019-07-23 03:20:27,033: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:27,033: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/string ']'
2019-07-23 03:20:27,033: DEBUG - ++ . /usr/share/yunohost/helpers.d/string
2019-07-23 03:20:27,034: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:27,034: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/systemd ']'
2019-07-23 03:20:27,034: DEBUG - ++ . /usr/share/yunohost/helpers.d/systemd
2019-07-23 03:20:27,034: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:27,034: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/user ']'
2019-07-23 03:20:27,035: DEBUG - ++ . /usr/share/yunohost/helpers.d/user
2019-07-23 03:20:27,035: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:27,035: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/utils ']'
2019-07-23 03:20:27,035: DEBUG - ++ . /usr/share/yunohost/helpers.d/utils
2019-07-23 03:20:27,035: DEBUG - + FORCE=0
2019-07-23 03:20:27,036: DEBUG - + DRY_RUN=0
2019-07-23 03:20:27,036: DEBUG - + case "$1" in
2019-07-23 03:20:27,036: DEBUG - + do_pre_regen /home/yunohost.conf/pending/nginx
2019-07-23 03:20:27,036: DEBUG - + pending_dir=/home/yunohost.conf/pending/nginx
2019-07-23 03:20:27,036: DEBUG - + cd /usr/share/yunohost/templates/nginx
2019-07-23 03:20:27,036: DEBUG - + nginx_dir=/home/yunohost.conf/pending/nginx/etc/nginx
2019-07-23 03:20:27,037: DEBUG - + nginx_conf_dir=/home/yunohost.conf/pending/nginx/etc/nginx/conf.d
2019-07-23 03:20:27,037: DEBUG - + mkdir -p /home/yunohost.conf/pending/nginx/etc/nginx/conf.d
2019-07-23 03:20:27,037: DEBUG - + cp plain/global.conf plain/ssowat.conf plain/yunohost_admin.conf.inc plain/yunohost_api.conf.inc plain/yunohost_panel.conf.inc /home/yunohost.conf/pending/nginx/etc/nginx/conf.d
2019-07-23 03:20:27,037: DEBUG - ++ cat /etc/yunohost/current_host
2019-07-23 03:20:27,138: DEBUG - + main_domain=hate.somedomain.com
2019-07-23 03:20:27,138: DEBUG - ++ sudo yunohost domain list --output-as plain --quiet
2019-07-23 03:20:27,339: DEBUG - + domain_list='hate.somedomain.com
2019-07-23 03:20:27,339: DEBUG - nomad.somedomain.com
2019-07-23 03:20:27,339: DEBUG - search.somedomain.com
2019-07-23 03:20:27,339: DEBUG - pleroma.somedomain.com'
2019-07-23 03:20:27,340: DEBUG - ++ yunohost settings get security.nginx.compatibility
2019-07-23 03:20:27,540: DEBUG - + export compatibility=intermediate
2019-07-23 03:20:27,541: DEBUG - + compatibility=intermediate
2019-07-23 03:20:27,541: DEBUG - + for domain in $domain_list
2019-07-23 03:20:27,541: DEBUG - + domain_conf_dir=/home/yunohost.conf/pending/nginx/etc/nginx/conf.d/hate.somedomain.com.d
2019-07-23 03:20:27,541: DEBUG - + mkdir -p /home/yunohost.conf/pending/nginx/etc/nginx/conf.d/hate.somedomain.com.d
2019-07-23 03:20:27,541: DEBUG - + mail_autoconfig_dir=/home/yunohost.conf/pending/nginx/var/www/.well-known/hate.somedomain.com/autoconfig/mail/
2019-07-23 03:20:27,542: DEBUG - + mkdir -p /home/yunohost.conf/pending/nginx/var/www/.well-known/hate.somedomain.com/autoconfig/mail/
2019-07-23 03:20:27,542: DEBUG - + export domain
2019-07-23 03:20:27,542: DEBUG - ++ yunohost domain cert-status hate.somedomain.com --json
2019-07-23 03:20:27,542: DEBUG - ++ jq '.certificates."hate.somedomain.com".CA_type'
2019-07-23 03:20:27,542: DEBUG - ++ tr -d '"'
2019-07-23 03:20:28,644: DEBUG - + export 'domain_cert_ca=Let'\''s Encrypt'
2019-07-23 03:20:28,645: DEBUG - + domain_cert_ca='Let'\''s Encrypt'
2019-07-23 03:20:28,645: DEBUG - + ynh_render_template server.tpl.conf /home/yunohost.conf/pending/nginx/etc/nginx/conf.d/hate.somedomain.com.conf
2019-07-23 03:20:28,645: DEBUG - + local template_path=server.tpl.conf
2019-07-23 03:20:28,645: DEBUG - + local output_path=/home/yunohost.conf/pending/nginx/etc/nginx/conf.d/hate.somedomain.com.conf
2019-07-23 03:20:28,645: DEBUG - ++ dirname /home/yunohost.conf/pending/nginx/etc/nginx/conf.d/hate.somedomain.com.conf
2019-07-23 03:20:28,645: DEBUG - + mkdir -p /home/yunohost.conf/pending/nginx/etc/nginx/conf.d
2019-07-23 03:20:28,646: DEBUG - + python2.7 -c 'import os, sys, jinja2; sys.stdout.write(
2019-07-23 03:20:28,646: DEBUG -                     jinja2.Template(sys.stdin.read()
2019-07-23 03:20:28,646: DEBUG -                  ).render(os.environ));'
2019-07-23 03:20:28,646: DEBUG - + ynh_render_template autoconfig.tpl.xml /home/yunohost.conf/pending/nginx/var/www/.well-known/hate.somedomain.com/autoconfig/mail//config-v1.1.xml
2019-07-23 03:20:28,646: DEBUG - + local template_path=autoconfig.tpl.xml
2019-07-23 03:20:28,646: DEBUG - + local output_path=/home/yunohost.conf/pending/nginx/var/www/.well-known/hate.somedomain.com/autoconfig/mail//config-v1.1.xml
2019-07-23 03:20:28,647: DEBUG - ++ dirname /home/yunohost.conf/pending/nginx/var/www/.well-known/hate.somedomain.com/autoconfig/mail//config-v1.1.xml
2019-07-23 03:20:28,647: DEBUG - + mkdir -p /home/yunohost.conf/pending/nginx/var/www/.well-known/hate.somedomain.com/autoconfig/mail
2019-07-23 03:20:28,647: DEBUG - + python2.7 -c 'import os, sys, jinja2; sys.stdout.write(
2019-07-23 03:20:28,647: DEBUG -                     jinja2.Template(sys.stdin.read()
2019-07-23 03:20:28,647: DEBUG -                  ).render(os.environ));'
2019-07-23 03:20:28,748: DEBUG - + [[ hate.somedomain.com != hate.somedomain.com ]]
2019-07-23 03:20:28,748: DEBUG - + cp yunohost_local.conf /home/yunohost.conf/pending/nginx/etc/nginx/conf.d/hate.somedomain.com.d/yunohost_local.conf
2019-07-23 03:20:28,748: DEBUG - + for domain in $domain_list
2019-07-23 03:20:28,749: DEBUG - + domain_conf_dir=/home/yunohost.conf/pending/nginx/etc/nginx/conf.d/nomad.somedomain.com.d
2019-07-23 03:20:28,749: DEBUG - + mkdir -p /home/yunohost.conf/pending/nginx/etc/nginx/conf.d/nomad.somedomain.com.d
2019-07-23 03:20:28,749: DEBUG - + mail_autoconfig_dir=/home/yunohost.conf/pending/nginx/var/www/.well-known/nomad.somedomain.com/autoconfig/mail/
2019-07-23 03:20:28,749: DEBUG - + mkdir -p /home/yunohost.conf/pending/nginx/var/www/.well-known/nomad.somedomain.com/autoconfig/mail/
2019-07-23 03:20:28,750: DEBUG - + export domain
2019-07-23 03:20:28,750: DEBUG - ++ yunohost domain cert-status nomad.somedomain.com --json
2019-07-23 03:20:28,750: DEBUG - ++ jq '.certificates."nomad.somedomain.com".CA_type'
2019-07-23 03:20:28,750: DEBUG - ++ tr -d '"'
2019-07-23 03:20:29,752: DEBUG - + export 'domain_cert_ca=Let'\''s Encrypt'
2019-07-23 03:20:29,753: DEBUG - + domain_cert_ca='Let'\''s Encrypt'
2019-07-23 03:20:29,753: DEBUG - + ynh_render_template server.tpl.conf /home/yunohost.conf/pending/nginx/etc/nginx/conf.d/nomad.somedomain.com.conf
2019-07-23 03:20:29,753: DEBUG - + local template_path=server.tpl.conf
2019-07-23 03:20:29,753: DEBUG - + local output_path=/home/yunohost.conf/pending/nginx/etc/nginx/conf.d/nomad.somedomain.com.conf
2019-07-23 03:20:29,753: DEBUG - ++ dirname /home/yunohost.conf/pending/nginx/etc/nginx/conf.d/nomad.somedomain.com.conf
2019-07-23 03:20:29,754: DEBUG - + mkdir -p /home/yunohost.conf/pending/nginx/etc/nginx/conf.d
2019-07-23 03:20:29,754: DEBUG - + python2.7 -c 'import os, sys, jinja2; sys.stdout.write(
2019-07-23 03:20:29,754: DEBUG -                     jinja2.Template(sys.stdin.read()
2019-07-23 03:20:29,754: DEBUG -                  ).render(os.environ));'
2019-07-23 03:20:29,854: DEBUG - + ynh_render_template autoconfig.tpl.xml /home/yunohost.conf/pending/nginx/var/www/.well-known/nomad.somedomain.com/autoconfig/mail//config-v1.1.xml
2019-07-23 03:20:29,855: DEBUG - + local template_path=autoconfig.tpl.xml
2019-07-23 03:20:29,855: DEBUG - + local output_path=/home/yunohost.conf/pending/nginx/var/www/.well-known/nomad.somedomain.com/autoconfig/mail//config-v1.1.xml
2019-07-23 03:20:29,855: DEBUG - ++ dirname /home/yunohost.conf/pending/nginx/var/www/.well-known/nomad.somedomain.com/autoconfig/mail//config-v1.1.xml
2019-07-23 03:20:29,855: DEBUG - + mkdir -p /home/yunohost.conf/pending/nginx/var/www/.well-known/nomad.somedomain.com/autoconfig/mail
2019-07-23 03:20:29,855: DEBUG - + python2.7 -c 'import os, sys, jinja2; sys.stdout.write(
2019-07-23 03:20:29,856: DEBUG -                     jinja2.Template(sys.stdin.read()
2019-07-23 03:20:29,856: DEBUG -                  ).render(os.environ));'
2019-07-23 03:20:29,856: DEBUG - + [[ hate.somedomain.com != nomad.somedomain.com ]]
2019-07-23 03:20:29,856: DEBUG - + touch /home/yunohost.conf/pending/nginx/etc/nginx/conf.d/nomad.somedomain.com.d/yunohost_local.conf
2019-07-23 03:20:29,856: DEBUG - + for domain in $domain_list
2019-07-23 03:20:29,856: DEBUG - + domain_conf_dir=/home/yunohost.conf/pending/nginx/etc/nginx/conf.d/search.somedomain.com.d
2019-07-23 03:20:29,857: DEBUG - + mkdir -p /home/yunohost.conf/pending/nginx/etc/nginx/conf.d/search.somedomain.com.d
2019-07-23 03:20:29,857: DEBUG - + mail_autoconfig_dir=/home/yunohost.conf/pending/nginx/var/www/.well-known/search.somedomain.com/autoconfig/mail/
2019-07-23 03:20:29,857: DEBUG - + mkdir -p /home/yunohost.conf/pending/nginx/var/www/.well-known/search.somedomain.com/autoconfig/mail/
2019-07-23 03:20:29,857: DEBUG - + export domain
2019-07-23 03:20:29,857: DEBUG - ++ yunohost domain cert-status search.somedomain.com --json
2019-07-23 03:20:29,857: DEBUG - ++ jq '.certificates."search.somedomain.com".CA_type'
2019-07-23 03:20:29,858: DEBUG - ++ tr -d '"'
2019-07-23 03:20:30,960: DEBUG - + export 'domain_cert_ca=Let'\''s Encrypt'
2019-07-23 03:20:30,960: DEBUG - + domain_cert_ca='Let'\''s Encrypt'
2019-07-23 03:20:30,960: DEBUG - + ynh_render_template server.tpl.conf /home/yunohost.conf/pending/nginx/etc/nginx/conf.d/search.somedomain.com.conf
2019-07-23 03:20:30,960: DEBUG - + local template_path=server.tpl.conf
2019-07-23 03:20:30,961: DEBUG - + local output_path=/home/yunohost.conf/pending/nginx/etc/nginx/conf.d/search.somedomain.com.conf
2019-07-23 03:20:30,961: DEBUG - ++ dirname /home/yunohost.conf/pending/nginx/etc/nginx/conf.d/search.somedomain.com.conf
2019-07-23 03:20:30,961: DEBUG - + mkdir -p /home/yunohost.conf/pending/nginx/etc/nginx/conf.d
2019-07-23 03:20:30,961: DEBUG - + python2.7 -c 'import os, sys, jinja2; sys.stdout.write(
2019-07-23 03:20:30,961: DEBUG -                     jinja2.Template(sys.stdin.read()
2019-07-23 03:20:30,961: DEBUG -                  ).render(os.environ));'
2019-07-23 03:20:30,962: DEBUG - + ynh_render_template autoconfig.tpl.xml /home/yunohost.conf/pending/nginx/var/www/.well-known/search.somedomain.com/autoconfig/mail//config-v1.1.xml
2019-07-23 03:20:30,962: DEBUG - + local template_path=autoconfig.tpl.xml
2019-07-23 03:20:30,962: DEBUG - + local output_path=/home/yunohost.conf/pending/nginx/var/www/.well-known/search.somedomain.com/autoconfig/mail//config-v1.1.xml
2019-07-23 03:20:30,962: DEBUG - ++ dirname /home/yunohost.conf/pending/nginx/var/www/.well-known/search.somedomain.com/autoconfig/mail//config-v1.1.xml
2019-07-23 03:20:30,962: DEBUG - + mkdir -p /home/yunohost.conf/pending/nginx/var/www/.well-known/search.somedomain.com/autoconfig/mail
2019-07-23 03:20:30,962: DEBUG - + python2.7 -c 'import os, sys, jinja2; sys.stdout.write(
2019-07-23 03:20:30,963: DEBUG -                     jinja2.Template(sys.stdin.read()
2019-07-23 03:20:30,963: DEBUG -                  ).render(os.environ));'
2019-07-23 03:20:31,063: DEBUG - + [[ hate.somedomain.com != search.somedomain.com ]]
2019-07-23 03:20:31,063: DEBUG - + touch /home/yunohost.conf/pending/nginx/etc/nginx/conf.d/search.somedomain.com.d/yunohost_local.conf
2019-07-23 03:20:31,064: DEBUG - + for domain in $domain_list
2019-07-23 03:20:31,064: DEBUG - + domain_conf_dir=/home/yunohost.conf/pending/nginx/etc/nginx/conf.d/pleroma.somedomain.com.d
2019-07-23 03:20:31,064: DEBUG - + mkdir -p /home/yunohost.conf/pending/nginx/etc/nginx/conf.d/pleroma.somedomain.com.d
2019-07-23 03:20:31,065: DEBUG - + mail_autoconfig_dir=/home/yunohost.conf/pending/nginx/var/www/.well-known/pleroma.somedomain.com/autoconfig/mail/
2019-07-23 03:20:31,065: DEBUG - + mkdir -p /home/yunohost.conf/pending/nginx/var/www/.well-known/pleroma.somedomain.com/autoconfig/mail/
2019-07-23 03:20:31,065: DEBUG - + export domain
2019-07-23 03:20:31,065: DEBUG - ++ yunohost domain cert-status pleroma.somedomain.com --json
2019-07-23 03:20:31,065: DEBUG - ++ jq '.certificates."pleroma.somedomain.com".CA_type'
2019-07-23 03:20:31,066: DEBUG - ++ tr -d '"'
2019-07-23 03:20:32,068: DEBUG - + export 'domain_cert_ca=Let'\''s Encrypt'
2019-07-23 03:20:32,068: DEBUG - + domain_cert_ca='Let'\''s Encrypt'
2019-07-23 03:20:32,068: DEBUG - + ynh_render_template server.tpl.conf /home/yunohost.conf/pending/nginx/etc/nginx/conf.d/pleroma.somedomain.com.conf
2019-07-23 03:20:32,068: DEBUG - + local template_path=server.tpl.conf
2019-07-23 03:20:32,069: DEBUG - + local output_path=/home/yunohost.conf/pending/nginx/etc/nginx/conf.d/pleroma.somedomain.com.conf
2019-07-23 03:20:32,069: DEBUG - ++ dirname /home/yunohost.conf/pending/nginx/etc/nginx/conf.d/pleroma.somedomain.com.conf
2019-07-23 03:20:32,069: DEBUG - + mkdir -p /home/yunohost.conf/pending/nginx/etc/nginx/conf.d
2019-07-23 03:20:32,069: DEBUG - + python2.7 -c 'import os, sys, jinja2; sys.stdout.write(
2019-07-23 03:20:32,069: DEBUG -                     jinja2.Template(sys.stdin.read()
2019-07-23 03:20:32,069: DEBUG -                  ).render(os.environ));'
2019-07-23 03:20:32,170: DEBUG - + ynh_render_template autoconfig.tpl.xml /home/yunohost.conf/pending/nginx/var/www/.well-known/pleroma.somedomain.com/autoconfig/mail//config-v1.1.xml
2019-07-23 03:20:32,170: DEBUG - + local template_path=autoconfig.tpl.xml
2019-07-23 03:20:32,170: DEBUG - + local output_path=/home/yunohost.conf/pending/nginx/var/www/.well-known/pleroma.somedomain.com/autoconfig/mail//config-v1.1.xml
2019-07-23 03:20:32,170: DEBUG - ++ dirname /home/yunohost.conf/pending/nginx/var/www/.well-known/pleroma.somedomain.com/autoconfig/mail//config-v1.1.xml
2019-07-23 03:20:32,171: DEBUG - + mkdir -p /home/yunohost.conf/pending/nginx/var/www/.well-known/pleroma.somedomain.com/autoconfig/mail
2019-07-23 03:20:32,171: DEBUG - + python2.7 -c 'import os, sys, jinja2; sys.stdout.write(
2019-07-23 03:20:32,171: DEBUG -                     jinja2.Template(sys.stdin.read()
2019-07-23 03:20:32,171: DEBUG -                  ).render(os.environ));'
2019-07-23 03:20:32,171: DEBUG - + [[ hate.somedomain.com != pleroma.somedomain.com ]]
2019-07-23 03:20:32,171: DEBUG - + touch /home/yunohost.conf/pending/nginx/etc/nginx/conf.d/pleroma.somedomain.com.d/yunohost_local.conf
2019-07-23 03:20:32,172: DEBUG - + ynh_render_template yunohost_admin.conf /home/yunohost.conf/pending/nginx/etc/nginx/conf.d/yunohost_admin.conf
2019-07-23 03:20:32,172: DEBUG - + local template_path=yunohost_admin.conf
2019-07-23 03:20:32,172: DEBUG - + local output_path=/home/yunohost.conf/pending/nginx/etc/nginx/conf.d/yunohost_admin.conf
2019-07-23 03:20:32,172: DEBUG - ++ dirname /home/yunohost.conf/pending/nginx/etc/nginx/conf.d/yunohost_admin.conf
2019-07-23 03:20:32,172: DEBUG - + mkdir -p /home/yunohost.conf/pending/nginx/etc/nginx/conf.d
2019-07-23 03:20:32,172: DEBUG - + python2.7 -c 'import os, sys, jinja2; sys.stdout.write(
2019-07-23 03:20:32,172: DEBUG -                     jinja2.Template(sys.stdin.read()
2019-07-23 03:20:32,173: DEBUG -                  ).render(os.environ));'
2019-07-23 03:20:32,273: DEBUG - ++ ls -1 /etc/nginx/conf.d
2019-07-23 03:20:32,274: DEBUG - ++ awk '/^[^\.]+\.[^\.]+.*\.conf$/ { print $1 }'
2019-07-23 03:20:32,274: DEBUG - + conf_files='hate.somedomain.com.conf
2019-07-23 03:20:32,274: DEBUG - nomad.somedomain.com.conf
2019-07-23 03:20:32,275: DEBUG - pleroma.somedomain.com.conf
2019-07-23 03:20:32,275: DEBUG - search.somedomain.com.conf'
2019-07-23 03:20:32,275: DEBUG - + for file in $conf_files
2019-07-23 03:20:32,276: DEBUG - + domain=hate.somedomain.com
2019-07-23 03:20:32,276: DEBUG - + [[ hate.somedomain.com
2019-07-23 03:20:32,276: DEBUG - nomad.somedomain.com
2019-07-23 03:20:32,277: DEBUG - search.somedomain.com
2019-07-23 03:20:32,277: DEBUG - pleroma.somedomain.com =~ hate.somedomain.com ]]
2019-07-23 03:20:32,277: DEBUG - + for file in $conf_files
2019-07-23 03:20:32,278: DEBUG - + domain=nomad.somedomain.com
2019-07-23 03:20:32,278: DEBUG - + [[ hate.somedomain.com
2019-07-23 03:20:32,278: DEBUG - nomad.somedomain.com
2019-07-23 03:20:32,279: DEBUG - search.somedomain.com
2019-07-23 03:20:32,279: DEBUG - pleroma.somedomain.com =~ nomad.somedomain.com ]]
2019-07-23 03:20:32,279: DEBUG - + for file in $conf_files
2019-07-23 03:20:32,280: DEBUG - + domain=pleroma.somedomain.com
2019-07-23 03:20:32,280: DEBUG - + [[ hate.somedomain.com
2019-07-23 03:20:32,280: DEBUG - nomad.somedomain.com
2019-07-23 03:20:32,281: DEBUG - search.somedomain.com
2019-07-23 03:20:32,281: DEBUG - pleroma.somedomain.com =~ pleroma.somedomain.com ]]
2019-07-23 03:20:32,281: DEBUG - + for file in $conf_files
2019-07-23 03:20:32,282: DEBUG - + domain=search.somedomain.com
2019-07-23 03:20:32,282: DEBUG - + [[ hate.somedomain.com
2019-07-23 03:20:32,282: DEBUG - nomad.somedomain.com
2019-07-23 03:20:32,283: DEBUG - search.somedomain.com
2019-07-23 03:20:32,283: DEBUG - pleroma.somedomain.com =~ search.somedomain.com ]]
2019-07-23 03:20:32,283: DEBUG - ++ ls -1 /var/www/.well-known/hate.somedomain.com/autoconfig/mail/config-v1.1.xml /var/www/.well-known/nomad.somedomain.com/autoconfig/mail/config-v1.1.xml /var/www/.well-known/pleroma.somedomain.com/autoconfig/mail/config-v1.1.xml /var/www/.well-known/search.somedomain.com/autoconfig/mail/config-v1.1.xml
2019-07-23 03:20:32,284: DEBUG - + autoconfig_files='/var/www/.well-known/hate.somedomain.com/autoconfig/mail/config-v1.1.xml
2019-07-23 03:20:32,284: DEBUG - /var/www/.well-known/nomad.somedomain.com/autoconfig/mail/config-v1.1.xml
2019-07-23 03:20:32,284: DEBUG - /var/www/.well-known/pleroma.somedomain.com/autoconfig/mail/config-v1.1.xml
2019-07-23 03:20:32,285: DEBUG - /var/www/.well-known/search.somedomain.com/autoconfig/mail/config-v1.1.xml'
2019-07-23 03:20:32,285: DEBUG - + for file in $autoconfig_files
2019-07-23 03:20:32,285: DEBUG - ++++ dirname /var/www/.well-known/hate.somedomain.com/autoconfig/mail/config-v1.1.xml
2019-07-23 03:20:32,286: DEBUG - +++ readlink -f /var/www/.well-known/hate.somedomain.com/autoconfig/mail/../..
2019-07-23 03:20:32,286: DEBUG - ++ basename /var/www/.well-known/hate.somedomain.com
2019-07-23 03:20:32,286: DEBUG - + domain=hate.somedomain.com
2019-07-23 03:20:32,286: DEBUG - + [[ hate.somedomain.com
2019-07-23 03:20:32,286: DEBUG - nomad.somedomain.com
2019-07-23 03:20:32,286: DEBUG - search.somedomain.com
2019-07-23 03:20:32,287: DEBUG - pleroma.somedomain.com =~ hate.somedomain.com ]]
2019-07-23 03:20:32,287: DEBUG - + for file in $autoconfig_files
2019-07-23 03:20:32,287: DEBUG - ++++ dirname /var/www/.well-known/nomad.somedomain.com/autoconfig/mail/config-v1.1.xml
2019-07-23 03:20:32,287: DEBUG - +++ readlink -f /var/www/.well-known/nomad.somedomain.com/autoconfig/mail/../..
2019-07-23 03:20:32,287: DEBUG - ++ basename /var/www/.well-known/nomad.somedomain.com
2019-07-23 03:20:32,287: DEBUG - + domain=nomad.somedomain.com
2019-07-23 03:20:32,288: DEBUG - + [[ hate.somedomain.com
2019-07-23 03:20:32,288: DEBUG - nomad.somedomain.com
2019-07-23 03:20:32,288: DEBUG - search.somedomain.com
2019-07-23 03:20:32,288: DEBUG - pleroma.somedomain.com =~ nomad.somedomain.com ]]
2019-07-23 03:20:32,288: DEBUG - + for file in $autoconfig_files
2019-07-23 03:20:32,288: DEBUG - ++++ dirname /var/www/.well-known/pleroma.somedomain.com/autoconfig/mail/config-v1.1.xml
2019-07-23 03:20:32,288: DEBUG - +++ readlink -f /var/www/.well-known/pleroma.somedomain.com/autoconfig/mail/../..
2019-07-23 03:20:32,289: DEBUG - ++ basename /var/www/.well-known/pleroma.somedomain.com
2019-07-23 03:20:32,289: DEBUG - + domain=pleroma.somedomain.com
2019-07-23 03:20:32,289: DEBUG - + [[ hate.somedomain.com
2019-07-23 03:20:32,289: DEBUG - nomad.somedomain.com
2019-07-23 03:20:32,289: DEBUG - search.somedomain.com
2019-07-23 03:20:32,289: DEBUG - pleroma.somedomain.com =~ pleroma.somedomain.com ]]
2019-07-23 03:20:32,290: DEBUG - + for file in $autoconfig_files
2019-07-23 03:20:32,290: DEBUG - ++++ dirname /var/www/.well-known/search.somedomain.com/autoconfig/mail/config-v1.1.xml
2019-07-23 03:20:32,290: DEBUG - +++ readlink -f /var/www/.well-known/search.somedomain.com/autoconfig/mail/../..
2019-07-23 03:20:32,290: DEBUG - ++ basename /var/www/.well-known/search.somedomain.com
2019-07-23 03:20:32,290: DEBUG - + domain=search.somedomain.com
2019-07-23 03:20:32,290: DEBUG - + [[ hate.somedomain.com
2019-07-23 03:20:32,290: DEBUG - nomad.somedomain.com
2019-07-23 03:20:32,291: DEBUG - search.somedomain.com
2019-07-23 03:20:32,291: DEBUG - pleroma.somedomain.com =~ search.somedomain.com ]]
2019-07-23 03:20:32,291: DEBUG - + mkdir -p /home/yunohost.conf/pending/nginx/etc/nginx/sites-enabled
2019-07-23 03:20:32,291: DEBUG - + touch /home/yunohost.conf/pending/nginx/etc/nginx/sites-enabled/default
2019-07-23 03:20:32,291: DEBUG - + exit 0
2019-07-23 03:20:32,338: DEBUG - Applying pending configuration for category 'nginx'…
2019-07-23 03:20:32,361: DEBUG - processing pending conf '/home/yunohost.conf/pending/nginx/etc/nginx/conf.d/search.somedomain.com.d/yunohost_local.conf' to system conf '/etc/nginx/conf.d/search.somedomain.com.d/yunohost_local.conf'
2019-07-23 03:20:32,361: DEBUG - > system conf is already removed
2019-07-23 03:20:32,361: DEBUG - processing pending conf '/home/yunohost.conf/pending/nginx/var/www/.well-known/hate.somedomain.com/autoconfig/mail/config-v1.1.xml' to system conf '/var/www/.well-known/hate.somedomain.com/autoconfig/mail/config-v1.1.xml'
2019-07-23 03:20:32,361: DEBUG - > system conf is already up-to-date
2019-07-23 03:20:32,362: DEBUG - processing pending conf '/home/yunohost.conf/pending/nginx/etc/nginx/conf.d/yunohost_admin.conf.inc' to system conf '/etc/nginx/conf.d/yunohost_admin.conf.inc'
2019-07-23 03:20:32,362: DEBUG - > system conf is already up-to-date
2019-07-23 03:20:32,362: DEBUG - processing pending conf '/home/yunohost.conf/pending/nginx/etc/nginx/conf.d/nomad.somedomain.com.d/yunohost_local.conf' to system conf '/etc/nginx/conf.d/nomad.somedomain.com.d/yunohost_local.conf'
2019-07-23 03:20:32,362: DEBUG - > system conf is already removed
2019-07-23 03:20:32,362: DEBUG - processing pending conf '/home/yunohost.conf/pending/nginx/etc/nginx/conf.d/pleroma.somedomain.com.conf' to system conf '/etc/nginx/conf.d/pleroma.somedomain.com.conf'
2019-07-23 03:20:32,363: DEBUG - > system conf is already up-to-date
2019-07-23 03:20:32,363: DEBUG - processing pending conf '/home/yunohost.conf/pending/nginx/etc/nginx/conf.d/nomad.somedomain.com.conf' to system conf '/etc/nginx/conf.d/nomad.somedomain.com.conf'
2019-07-23 03:20:32,363: DEBUG - > system conf is already up-to-date
2019-07-23 03:20:32,363: DEBUG - processing pending conf '/home/yunohost.conf/pending/nginx/etc/nginx/conf.d/yunohost_panel.conf.inc' to system conf '/etc/nginx/conf.d/yunohost_panel.conf.inc'
2019-07-23 03:20:32,363: DEBUG - > system conf is already up-to-date
2019-07-23 03:20:32,363: DEBUG - processing pending conf '/home/yunohost.conf/pending/nginx/var/www/.well-known/nomad.somedomain.com/autoconfig/mail/config-v1.1.xml' to system conf '/var/www/.well-known/nomad.somedomain.com/autoconfig/mail/config-v1.1.xml'
2019-07-23 03:20:32,364: DEBUG - > system conf is already up-to-date
2019-07-23 03:20:32,364: DEBUG - processing pending conf '/home/yunohost.conf/pending/nginx/etc/nginx/conf.d/yunohost_api.conf.inc' to system conf '/etc/nginx/conf.d/yunohost_api.conf.inc'
2019-07-23 03:20:32,364: DEBUG - > system conf is already up-to-date
2019-07-23 03:20:32,364: DEBUG - processing pending conf '/home/yunohost.conf/pending/nginx/etc/nginx/conf.d/yunohost_admin.conf' to system conf '/etc/nginx/conf.d/yunohost_admin.conf'
2019-07-23 03:20:32,364: DEBUG - > system conf is already up-to-date
2019-07-23 03:20:32,365: DEBUG - processing pending conf '/home/yunohost.conf/pending/nginx/etc/nginx/conf.d/ssowat.conf' to system conf '/etc/nginx/conf.d/ssowat.conf'
2019-07-23 03:20:32,365: DEBUG - > system conf is already up-to-date
2019-07-23 03:20:32,365: DEBUG - processing pending conf '/home/yunohost.conf/pending/nginx/etc/nginx/conf.d/hate.somedomain.com.d/yunohost_local.conf' to system conf '/etc/nginx/conf.d/hate.somedomain.com.d/yunohost_local.conf'
2019-07-23 03:20:32,365: DEBUG - > system conf is already up-to-date
2019-07-23 03:20:32,365: DEBUG - processing pending conf '/home/yunohost.conf/pending/nginx/etc/nginx/conf.d/global.conf' to system conf '/etc/nginx/conf.d/global.conf'
2019-07-23 03:20:32,365: DEBUG - > system conf is already up-to-date
2019-07-23 03:20:32,366: DEBUG - processing pending conf '/home/yunohost.conf/pending/nginx/etc/nginx/conf.d/pleroma.somedomain.com.d/yunohost_local.conf' to system conf '/etc/nginx/conf.d/pleroma.somedomain.com.d/yunohost_local.conf'
2019-07-23 03:20:32,366: DEBUG - > system conf is already removed
2019-07-23 03:20:32,366: DEBUG - processing pending conf '/home/yunohost.conf/pending/nginx/etc/nginx/conf.d/hate.somedomain.com.conf' to system conf '/etc/nginx/conf.d/hate.somedomain.com.conf'
2019-07-23 03:20:32,366: DEBUG - > system conf is already up-to-date
2019-07-23 03:20:32,366: DEBUG - processing pending conf '/home/yunohost.conf/pending/nginx/etc/nginx/conf.d/search.somedomain.com.conf' to system conf '/etc/nginx/conf.d/search.somedomain.com.conf'
2019-07-23 03:20:32,367: DEBUG - > system conf is already up-to-date
2019-07-23 03:20:32,367: DEBUG - processing pending conf '/home/yunohost.conf/pending/nginx/var/www/.well-known/pleroma.somedomain.com/autoconfig/mail/config-v1.1.xml' to system conf '/var/www/.well-known/pleroma.somedomain.com/autoconfig/mail/config-v1.1.xml'
2019-07-23 03:20:32,367: DEBUG - > system conf is already up-to-date
2019-07-23 03:20:32,367: DEBUG - processing pending conf '/home/yunohost.conf/pending/nginx/etc/nginx/sites-enabled/default' to system conf '/etc/nginx/sites-enabled/default'
2019-07-23 03:20:32,367: DEBUG - > system conf is already removed
2019-07-23 03:20:32,367: DEBUG - processing pending conf '/home/yunohost.conf/pending/nginx/var/www/.well-known/search.somedomain.com/autoconfig/mail/config-v1.1.xml' to system conf '/var/www/.well-known/search.somedomain.com/autoconfig/mail/config-v1.1.xml'
2019-07-23 03:20:32,368: DEBUG - > system conf is already up-to-date
2019-07-23 03:20:32,368: DEBUG - The configuration is already up-to-date for category 'nginx'
2019-07-23 03:20:32,368: DEBUG - custom hook folder not found for action 'conf_regen' in /etc/yunohost/hooks.d/
2019-07-23 03:20:32,368: DEBUG - Executing command 'sh -c YNH_INTERFACE=api YNH_CWD=/usr/share/yunohost/hooks/conf_regen YNH_STDINFO=/tmp/tmpjeyCpk/stdinfo YNH_STDRETURN=/tmp/tmpv9AjSG/stdreturn BASH_XTRACEFD=7 /bin/bash -x "./15-nginx" post 0 0 '' 7>&1'…
2019-07-23 03:20:32,369: DEBUG - About to run the command '['sh', '-c', 'YNH_INTERFACE=api YNH_CWD=/usr/share/yunohost/hooks/conf_regen YNH_STDINFO=/tmp/tmpjeyCpk/stdinfo YNH_STDRETURN=/tmp/tmpv9AjSG/stdreturn BASH_XTRACEFD=7 /bin/bash -x "./15-nginx" post 0 0 \'\' 7>&1']'
2019-07-23 03:20:32,403: DEBUG - + set -e
2019-07-23 03:20:32,405: DEBUG - + . /usr/share/yunohost/helpers
2019-07-23 03:20:32,405: DEBUG - +++ run-parts --list /usr/share/yunohost/helpers.d
2019-07-23 03:20:32,405: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:32,405: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/apt ']'
2019-07-23 03:20:32,406: DEBUG - ++ . /usr/share/yunohost/helpers.d/apt
2019-07-23 03:20:32,406: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:32,406: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/backup ']'
2019-07-23 03:20:32,407: DEBUG - ++ . /usr/share/yunohost/helpers.d/backup
2019-07-23 03:20:32,407: DEBUG - +++ CAN_BIND=1
2019-07-23 03:20:32,407: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:32,407: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/fail2ban ']'
2019-07-23 03:20:32,407: DEBUG - ++ . /usr/share/yunohost/helpers.d/fail2ban
2019-07-23 03:20:32,407: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:32,408: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/getopts ']'
2019-07-23 03:20:32,408: DEBUG - ++ . /usr/share/yunohost/helpers.d/getopts
2019-07-23 03:20:32,408: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:32,408: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/logging ']'
2019-07-23 03:20:32,408: DEBUG - ++ . /usr/share/yunohost/helpers.d/logging
2019-07-23 03:20:32,409: DEBUG - +++ increment_progression=0
2019-07-23 03:20:32,409: DEBUG - +++ previous_weight=0
2019-07-23 03:20:32,409: DEBUG - +++ max_progression=-1
2019-07-23 03:20:32,409: DEBUG - +++ progress_scale=20
2019-07-23 03:20:32,409: DEBUG - +++ progress_string2='####################'
2019-07-23 03:20:32,410: DEBUG - +++ progress_string1=++++++++++++++++++++
2019-07-23 03:20:32,410: DEBUG - +++ progress_string0=....................
2019-07-23 03:20:32,410: DEBUG - ++++ date +%s
2019-07-23 03:20:32,410: DEBUG - +++ base_time=1563852032
2019-07-23 03:20:32,410: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:32,410: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/logrotate ']'
2019-07-23 03:20:32,411: DEBUG - ++ . /usr/share/yunohost/helpers.d/logrotate
2019-07-23 03:20:32,411: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:32,411: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/mysql ']'
2019-07-23 03:20:32,411: DEBUG - ++ . /usr/share/yunohost/helpers.d/mysql
2019-07-23 03:20:32,411: DEBUG - +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
2019-07-23 03:20:32,411: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:32,412: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/network ']'
2019-07-23 03:20:32,412: DEBUG - ++ . /usr/share/yunohost/helpers.d/network
2019-07-23 03:20:32,412: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:32,412: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nginx ']'
2019-07-23 03:20:32,413: DEBUG - ++ . /usr/share/yunohost/helpers.d/nginx
2019-07-23 03:20:32,413: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:32,413: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nodejs ']'
2019-07-23 03:20:32,413: DEBUG - ++ . /usr/share/yunohost/helpers.d/nodejs
2019-07-23 03:20:32,413: DEBUG - +++ n_install_dir=/opt/node_n
2019-07-23 03:20:32,414: DEBUG - +++ node_version_path=/opt/node_n/n/versions/node
2019-07-23 03:20:32,414: DEBUG - +++ export N_PREFIX=/opt/node_n
2019-07-23 03:20:32,414: DEBUG - +++ N_PREFIX=/opt/node_n
2019-07-23 03:20:32,414: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:32,414: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/php ']'
2019-07-23 03:20:32,414: DEBUG - ++ . /usr/share/yunohost/helpers.d/php
2019-07-23 03:20:32,415: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:32,415: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/postgresql ']'
2019-07-23 03:20:32,415: DEBUG - ++ . /usr/share/yunohost/helpers.d/postgresql
2019-07-23 03:20:32,415: DEBUG - +++ PSQL_ROOT_PWD_FILE=/etc/yunohost/psql
2019-07-23 03:20:32,415: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:32,415: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/setting ']'
2019-07-23 03:20:32,415: DEBUG - ++ . /usr/share/yunohost/helpers.d/setting
2019-07-23 03:20:32,416: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:32,416: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/string ']'
2019-07-23 03:20:32,416: DEBUG - ++ . /usr/share/yunohost/helpers.d/string
2019-07-23 03:20:32,416: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:32,416: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/systemd ']'
2019-07-23 03:20:32,416: DEBUG - ++ . /usr/share/yunohost/helpers.d/systemd
2019-07-23 03:20:32,417: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:32,417: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/user ']'
2019-07-23 03:20:32,417: DEBUG - ++ . /usr/share/yunohost/helpers.d/user
2019-07-23 03:20:32,417: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-23 03:20:32,417: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/utils ']'
2019-07-23 03:20:32,417: DEBUG - ++ . /usr/share/yunohost/helpers.d/utils
2019-07-23 03:20:32,418: DEBUG - + FORCE=0
2019-07-23 03:20:32,418: DEBUG - + DRY_RUN=0
2019-07-23 03:20:32,418: DEBUG - + case "$1" in
2019-07-23 03:20:32,418: DEBUG - + do_post_regen
2019-07-23 03:20:32,418: DEBUG - + regen_conf_files=
2019-07-23 03:20:32,418: DEBUG - + '[' -z '' ']'
2019-07-23 03:20:32,419: DEBUG - + exit 0
2019-07-23 03:20:32,559: DEBUG - Full log of this operation: '<a href="#/tools/logs/20190723-032026-regen_conf-nginx" style="text-decoration:underline">Regenerate system configurations 'nginx'</a>'
2019-07-23 03:20:32,576: DEBUG - Running 'systemctl reload nginx'
2019-07-23 03:20:32,721: DEBUG - system hook folder not found for action 'post_cert_update' in /usr/share/yunohost/hooks/
2019-07-23 03:20:32,722: DEBUG - custom hook folder not found for action 'post_cert_update' in /etc/yunohost/hooks.d/
2019-07-23 03:20:33,222: SUCCESS - Successfully installed a self-signed certificate for domain peertube.somedomain.com!
2019-07-23 03:20:33,223: DEBUG - Full log of this operation: '<a href="#/tools/logs/20190723-032026-selfsigned_cert_install-peertube.somedomain.com" style="text-decoration:underline">Install self signed certificate on 'peertube.somedomain.com' domain</a>'
2019-07-23 03:20:33,243: INFO - <strong>The operation 'Remove 'peertube.somedomain.com' domain from system configuration' has failed! To get help, please <a href="#/tools/logs/20190723-032033-domain_remove-peertube.somedomain.com">provide the full log of this operation by clicking here</a></strong>

Salut à toi.
Quand tu dis que le serveur a été restauré depuis une autre instance, qu’entends-tu par là?
Quelle opération as-tu mené pour ce faire?

Uh but I don’t understand … can’t you provide the full logs as mentionned by the link, with the full metadata and so on ? Here it sounds like a subset of the log …

Based on additional research it appears it is better I reinstall with Debian. This server move was off VPZ instance which to me is different enough that I will be troubleshooting many items over time. Better to reinstall base system and restore apps to correct this LDAP and Certificate issues. Thanks!

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