[Solved] Error creating new domain

hello,
on a server that was recovered from a previous backup (and updated since) I cannot create new domains
there is an error similar to what other people had before (but it has not been corrected, people tends to just reinstall instead of correcting the error ex : Unable to add a new domain )

My YunoHost server

Hardware: tower 6core amd with 8 GB Ram
YunoHost version: x.x.x
I have access to my server : Through SSH | through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no - except this server was reinstalled using a backup

Description of my issue

add a new domain to a server already having multiple ones by the web interface or CLI gives same error


 + exit 0
2019-11-19 11:44:01,886: DEBUG - Full log of this operation: '<a href="#/tools/logs/20191119-104357-regen_conf-nginx" style="text-decoration:underline">Regenerate system configurations 'nginx'</a>'
2019-11-19 11:44:01,911: DEBUG - Running 'systemctl reload nginx'
2019-11-19 11:44:02,026: DEBUG - system hook folder not found for action 'post_cert_update' in /usr/share/yunohost/hooks/
2019-11-19 11:44:02,027: DEBUG - custom hook folder not found for action 'post_cert_update' in /etc/yunohost/hooks.d/
2019-11-19 11:44:02,231: SUCCESS - Successfully installed a self-signed certificate for domain video.olm-e.be!
2019-11-19 11:44:02,232: DEBUG - Full log of this operation: '<a href="#/tools/logs/20191119-104356-selfsigned_cert_install-video.olm-e.be" style="text-decoration:underline">Install self signed certificate on 'video.olm-e.be' domain</a>'
2019-11-19 11:44:02,272: INFO - <strong>The operation 'Remove 'video.olm-e.be' domain from system configuration' has failed! To get help, please <a href="#/tools/logs/20191119-104402-domain_remove-video.olm-e.be">provide the full log of this operation by clicking here</a></strong>

Powered by YunoHost 3.6.5.3 (stable).

Hmm okay so do you have the full log ?

Or maybe can you reproduce the issue if you run from the CLI : yunohost tools regen-conf nginx

full log here of a today attempt (with some domain names changed for privacy)
the nginx regen-conf does “nothing”
and actually it also does bad gateway error on the discourse instances I have on this server now :confused:

2019-11-20 12:12:11,795: DEBUG - Generating a RSA private key
......................................+++++
.....+++++
writing new private key to '/etc/yunohost/certs//video.olm-e.be-history/20191120.111211-selfsigned/key.pem'
-----

2019-11-20 12:12:11,841: DEBUG - Using configuration from /etc/yunohost/certs//video.olm-e.be-history/20191120.111211-selfsigned/openssl.cnf
Check that the request matches the signature
Signature ok
Certificate Details:
        Serial Number:
            9c:64:15:92:9b:a3:cd:df:03:31:62:22:d2:2e:b4:93:cf:1b:bc
        Validity
            Not Before: Nov 20 11:12:11 2019 GMT
            Not After : Nov 17 11:12:11 2029 GMT
        Subject:
            commonName                = video.olm-e.be
        X509v3 extensions:
            X509v3 Basic Constraints: 
                CA:FALSE
            Netscape Comment: 
                OpenSSL Generated Certificate
            X509v3 Subject Key Identifier: 
                9E:38:7A:64:5B:25:6D:70:88:2E:1E:D6:E5:89:72:A7:B2:E0:A2:74
            X509v3 Authority Key Identifier: 
                keyid:83:E2:F1:0C:AD:5D:D6:8B:00:FE:74:FA:1E:0F:90:DA:45:91:FC:8F

            X509v3 Key Usage: 
                Digital Signature, Non Repudiation, Key Encipherment
            X509v3 Subject Alternative Name: 
                DNS:video.olm-e.be, DNS:www.video.olm-e.be, DNS:ns.video.olm-e.be
Certificate is to be certified until Nov 17 11:12:11 2029 GMT (3650 days)

Write out database with 1 new entries
Data Base Updated

2019-11-20 12:12:11,848: DEBUG - Enabling the certificate for domain video.olm-e.be ...
2019-11-20 12:12:11,849: DEBUG - Restarting services...
2019-11-20 12:12:11,872: DEBUG - Running 'systemctl restart postfix'
2019-11-20 12:12:12,537: DEBUG - Running 'systemctl restart dovecot'
2019-11-20 12:12:12,779: DEBUG - Running 'systemctl restart metronome'
2019-11-20 12:12:13,022: DEBUG - custom hook folder not found for action 'conf_regen' in /etc/yunohost/hooks.d/
2019-11-20 12:12:13,022: DEBUG - Executing command 'sh -c YNH_INTERFACE=api YNH_CWD=/usr/share/yunohost/hooks/conf_regen YNH_STDINFO=/tmp/tmp5U6gr6/stdinfo YNH_STDRETURN=/tmp/tmpCTdWLO/stdreturn BASH_XTRACEFD=7 /bin/bash -x "./15-nginx" pre 0 0 /home/yunohost.conf/pending/nginx 7>&1'…
2019-11-20 12:12:13,023: DEBUG - About to run the command '['sh', '-c', 'YNH_INTERFACE=api YNH_CWD=/usr/share/yunohost/hooks/conf_regen YNH_STDINFO=/tmp/tmp5U6gr6/stdinfo YNH_STDRETURN=/tmp/tmpCTdWLO/stdreturn BASH_XTRACEFD=7 /bin/bash -x "./15-nginx" pre 0 0 /home/yunohost.conf/pending/nginx 7>&1']'
2019-11-20 12:12:13,104: DEBUG - + set -e
2019-11-20 12:12:13,105: DEBUG - + . /usr/share/yunohost/helpers
2019-11-20 12:12:13,105: DEBUG - +++ run-parts --list /usr/share/yunohost/helpers.d
2019-11-20 12:12:13,105: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-20 12:12:13,106: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/apt ']'
2019-11-20 12:12:13,106: DEBUG - ++ . /usr/share/yunohost/helpers.d/apt
2019-11-20 12:12:13,106: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-20 12:12:13,106: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/backup ']'
2019-11-20 12:12:13,106: DEBUG - ++ . /usr/share/yunohost/helpers.d/backup
2019-11-20 12:12:13,107: DEBUG - +++ CAN_BIND=1
2019-11-20 12:12:13,107: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-20 12:12:13,107: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/fail2ban ']'
2019-11-20 12:12:13,107: DEBUG - ++ . /usr/share/yunohost/helpers.d/fail2ban
2019-11-20 12:12:13,108: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-20 12:12:13,108: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/getopts ']'
2019-11-20 12:12:13,108: DEBUG - ++ . /usr/share/yunohost/helpers.d/getopts
2019-11-20 12:12:13,108: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-20 12:12:13,108: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/logging ']'
2019-11-20 12:12:13,109: DEBUG - ++ . /usr/share/yunohost/helpers.d/logging
2019-11-20 12:12:13,109: DEBUG - +++ increment_progression=0
2019-11-20 12:12:13,109: DEBUG - +++ previous_weight=0
2019-11-20 12:12:13,109: DEBUG - +++ max_progression=-1
2019-11-20 12:12:13,110: DEBUG - +++ progress_scale=20
2019-11-20 12:12:13,110: DEBUG - +++ progress_string2='####################'
2019-11-20 12:12:13,110: DEBUG - +++ progress_string1=++++++++++++++++++++
2019-11-20 12:12:13,110: DEBUG - +++ progress_string0=....................
2019-11-20 12:12:13,110: DEBUG - ++++ date +%s
2019-11-20 12:12:13,111: DEBUG - +++ base_time=1574248333
2019-11-20 12:12:13,111: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-20 12:12:13,111: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/logrotate ']'
2019-11-20 12:12:13,111: DEBUG - ++ . /usr/share/yunohost/helpers.d/logrotate
2019-11-20 12:12:13,111: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-20 12:12:13,112: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/mysql ']'
2019-11-20 12:12:13,112: DEBUG - ++ . /usr/share/yunohost/helpers.d/mysql
2019-11-20 12:12:13,112: DEBUG - +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
2019-11-20 12:12:13,112: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-20 12:12:13,112: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/network ']'
2019-11-20 12:12:13,112: DEBUG - ++ . /usr/share/yunohost/helpers.d/network
2019-11-20 12:12:13,113: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-20 12:12:13,113: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nginx ']'
2019-11-20 12:12:13,113: DEBUG - ++ . /usr/share/yunohost/helpers.d/nginx
2019-11-20 12:12:13,113: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-20 12:12:13,114: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nodejs ']'
2019-11-20 12:12:13,114: DEBUG - ++ . /usr/share/yunohost/helpers.d/nodejs
2019-11-20 12:12:13,114: DEBUG - +++ n_install_dir=/opt/node_n
2019-11-20 12:12:13,114: DEBUG - +++ node_version_path=/opt/node_n/n/versions/node
2019-11-20 12:12:13,114: DEBUG - +++ export N_PREFIX=/opt/node_n
2019-11-20 12:12:13,114: DEBUG - +++ N_PREFIX=/opt/node_n
2019-11-20 12:12:13,115: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-20 12:12:13,115: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/php ']'
2019-11-20 12:12:13,115: DEBUG - ++ . /usr/share/yunohost/helpers.d/php
2019-11-20 12:12:13,115: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-20 12:12:13,115: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/postgresql ']'
2019-11-20 12:12:13,116: DEBUG - ++ . /usr/share/yunohost/helpers.d/postgresql
2019-11-20 12:12:13,116: DEBUG - +++ PSQL_ROOT_PWD_FILE=/etc/yunohost/psql
2019-11-20 12:12:13,116: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-20 12:12:13,116: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/setting ']'
2019-11-20 12:12:13,116: DEBUG - ++ . /usr/share/yunohost/helpers.d/setting
2019-11-20 12:12:13,117: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-20 12:12:13,117: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/string ']'
2019-11-20 12:12:13,117: DEBUG - ++ . /usr/share/yunohost/helpers.d/string
2019-11-20 12:12:13,117: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-20 12:12:13,117: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/systemd ']'
2019-11-20 12:12:13,118: DEBUG - ++ . /usr/share/yunohost/helpers.d/systemd
2019-11-20 12:12:13,118: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-20 12:12:13,118: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/user ']'
2019-11-20 12:12:13,118: DEBUG - ++ . /usr/share/yunohost/helpers.d/user
2019-11-20 12:12:13,118: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-20 12:12:13,119: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/utils ']'
2019-11-20 12:12:13,119: DEBUG - ++ . /usr/share/yunohost/helpers.d/utils
2019-11-20 12:12:13,119: DEBUG - + FORCE=0
2019-11-20 12:12:13,119: DEBUG - + DRY_RUN=0
2019-11-20 12:12:13,119: DEBUG - + case "$1" in
2019-11-20 12:12:13,120: DEBUG - + do_pre_regen /home/yunohost.conf/pending/nginx
2019-11-20 12:12:13,120: DEBUG - + pending_dir=/home/yunohost.conf/pending/nginx
2019-11-20 12:12:13,120: DEBUG - + cd /usr/share/yunohost/templates/nginx
2019-11-20 12:12:13,120: DEBUG - + nginx_dir=/home/yunohost.conf/pending/nginx/etc/nginx
2019-11-20 12:12:13,120: DEBUG - + nginx_conf_dir=/home/yunohost.conf/pending/nginx/etc/nginx/conf.d
2019-11-20 12:12:13,120: DEBUG - + mkdir -p /home/yunohost.conf/pending/nginx/etc/nginx/conf.d
2019-11-20 12:12:13,121: 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-11-20 12:12:13,121: DEBUG - ++ cat /etc/yunohost/current_host
2019-11-20 12:12:13,121: DEBUG - + main_domain=mydyndns.noho.st
2019-11-20 12:12:13,121: DEBUG - ++ sudo yunohost domain list --output-as plain --quiet
2019-11-20 12:12:13,423: DEBUG - + domain_list='mydyndns.noho.st
2019-11-20 12:12:13,424: DEBUG - blog.olm-e.be
2019-11-20 12:12:13,424: DEBUG - forum.myforumsite.be'
2019-11-20 12:12:13,425: DEBUG - ++ yunohost settings get security.nginx.compatibility
2019-11-20 12:12:13,727: DEBUG - + export compatibility=intermediate
2019-11-20 12:12:13,728: DEBUG - + compatibility=intermediate
2019-11-20 12:12:13,729: DEBUG - + for domain in $domain_list
2019-11-20 12:12:13,730: DEBUG - + domain_conf_dir=/home/yunohost.conf/pending/nginx/etc/nginx/conf.d/mydyndns.noho.st.d
2019-11-20 12:12:13,731: DEBUG - + mkdir -p /home/yunohost.conf/pending/nginx/etc/nginx/conf.d/mydyndns.noho.st.d
2019-11-20 12:12:13,731: DEBUG - + mail_autoconfig_dir=/home/yunohost.conf/pending/nginx/var/www/.well-known/mydyndns.noho.st/autoconfig/mail/
2019-11-20 12:12:13,732: DEBUG - + mkdir -p /home/yunohost.conf/pending/nginx/var/www/.well-known/mydyndns.noho.st/autoconfig/mail/
2019-11-20 12:12:13,733: DEBUG - + export domain
2019-11-20 12:12:13,733: DEBUG - ++ yunohost domain cert-status mydyndns.noho.st --json
2019-11-20 12:12:13,734: DEBUG - ++ jq '.certificates."mydyndns.noho.st".CA_type'
2019-11-20 12:12:13,734: DEBUG - ++ tr -d '"'
2019-11-20 12:12:14,537: DEBUG - + export 'domain_cert_ca=Let'\''s Encrypt'
2019-11-20 12:12:14,538: DEBUG - + domain_cert_ca='Let'\''s Encrypt'
2019-11-20 12:12:14,539: DEBUG - + ynh_render_template server.tpl.conf /home/yunohost.conf/pending/nginx/etc/nginx/conf.d/mydyndns.noho.st.conf
2019-11-20 12:12:14,539: DEBUG - + local template_path=server.tpl.conf
2019-11-20 12:12:14,540: DEBUG - + local output_path=/home/yunohost.conf/pending/nginx/etc/nginx/conf.d/mydyndns.noho.st.conf
2019-11-20 12:12:14,541: DEBUG - ++ dirname /home/yunohost.conf/pending/nginx/etc/nginx/conf.d/mydyndns.noho.st.conf
2019-11-20 12:12:14,542: DEBUG - + mkdir -p /home/yunohost.conf/pending/nginx/etc/nginx/conf.d
2019-11-20 12:12:14,542: DEBUG - + python2.7 -c 'import os, sys, jinja2; sys.stdout.write(
2019-11-20 12:12:14,543: DEBUG -                     jinja2.Template(sys.stdin.read()
2019-11-20 12:12:14,544: DEBUG -                  ).render(os.environ));'
2019-11-20 12:12:14,645: DEBUG - + ynh_render_template autoconfig.tpl.xml /home/yunohost.conf/pending/nginx/var/www/.well-known/mydyndns.noho.st/autoconfig/mail//config-v1.1.xml
2019-11-20 12:12:14,646: DEBUG - + local template_path=autoconfig.tpl.xml
2019-11-20 12:12:14,647: DEBUG - + local output_path=/home/yunohost.conf/pending/nginx/var/www/.well-known/mydyndns.noho.st/autoconfig/mail//config-v1.1.xml
2019-11-20 12:12:14,648: DEBUG - ++ dirname /home/yunohost.conf/pending/nginx/var/www/.well-known/mydyndns.noho.st/autoconfig/mail//config-v1.1.xml
2019-11-20 12:12:14,648: DEBUG - + mkdir -p /home/yunohost.conf/pending/nginx/var/www/.well-known/mydyndns.noho.st/autoconfig/mail
2019-11-20 12:12:14,649: DEBUG - + python2.7 -c 'import os, sys, jinja2; sys.stdout.write(
2019-11-20 12:12:14,650: DEBUG -                     jinja2.Template(sys.stdin.read()
2019-11-20 12:12:14,651: DEBUG -                  ).render(os.environ));'
2019-11-20 12:12:14,652: DEBUG - + [[ mydyndns.noho.st != mydyndns.noho.st ]]
2019-11-20 12:12:14,652: DEBUG - + cp yunohost_local.conf /home/yunohost.conf/pending/nginx/etc/nginx/conf.d/mydyndns.noho.st.d/yunohost_local.conf
2019-11-20 12:12:14,653: DEBUG - + for domain in $domain_list
2019-11-20 12:12:14,654: DEBUG - + domain_conf_dir=/home/yunohost.conf/pending/nginx/etc/nginx/conf.d/blog.olm-e.be.d
2019-11-20 12:12:14,655: DEBUG - + mkdir -p /home/yunohost.conf/pending/nginx/etc/nginx/conf.d/blog.olm-e.be.d
2019-11-20 12:12:14,656: DEBUG - + mail_autoconfig_dir=/home/yunohost.conf/pending/nginx/var/www/.well-known/blog.olm-e.be/autoconfig/mail/
2019-11-20 12:12:14,656: DEBUG - + mkdir -p /home/yunohost.conf/pending/nginx/var/www/.well-known/blog.olm-e.be/autoconfig/mail/
2019-11-20 12:12:14,758: DEBUG - + export domain
2019-11-20 12:12:14,759: DEBUG - ++ yunohost domain cert-status blog.olm-e.be --json
2019-11-20 12:12:14,759: DEBUG - ++ jq '.certificates."blog.olm-e.be".CA_type'
2019-11-20 12:12:14,760: DEBUG - ++ tr -d '"'
2019-11-20 12:12:15,563: DEBUG - + export 'domain_cert_ca=Let'\''s Encrypt'
2019-11-20 12:12:15,564: DEBUG - + domain_cert_ca='Let'\''s Encrypt'
2019-11-20 12:12:15,565: DEBUG - + ynh_render_template server.tpl.conf /home/yunohost.conf/pending/nginx/etc/nginx/conf.d/blog.olm-e.be.conf
2019-11-20 12:12:15,566: DEBUG - + local template_path=server.tpl.conf
2019-11-20 12:12:15,566: DEBUG - + local output_path=/home/yunohost.conf/pending/nginx/etc/nginx/conf.d/blog.olm-e.be.conf
2019-11-20 12:12:15,567: DEBUG - ++ dirname /home/yunohost.conf/pending/nginx/etc/nginx/conf.d/blog.olm-e.be.conf
2019-11-20 12:12:15,568: DEBUG - + mkdir -p /home/yunohost.conf/pending/nginx/etc/nginx/conf.d
2019-11-20 12:12:15,569: DEBUG - + python2.7 -c 'import os, sys, jinja2; sys.stdout.write(
2019-11-20 12:12:15,569: DEBUG -                     jinja2.Template(sys.stdin.read()
2019-11-20 12:12:15,570: DEBUG -                  ).render(os.environ));'
2019-11-20 12:12:15,670: DEBUG - + ynh_render_template autoconfig.tpl.xml /home/yunohost.conf/pending/nginx/var/www/.well-known/blog.olm-e.be/autoconfig/mail//config-v1.1.xml
2019-11-20 12:12:15,671: DEBUG - + local template_path=autoconfig.tpl.xml
2019-11-20 12:12:15,671: DEBUG - + local output_path=/home/yunohost.conf/pending/nginx/var/www/.well-known/blog.olm-e.be/autoconfig/mail//config-v1.1.xml
2019-11-20 12:12:15,672: DEBUG - ++ dirname /home/yunohost.conf/pending/nginx/var/www/.well-known/blog.olm-e.be/autoconfig/mail//config-v1.1.xml
2019-11-20 12:12:15,672: DEBUG - + mkdir -p /home/yunohost.conf/pending/nginx/var/www/.well-known/blog.olm-e.be/autoconfig/mail
2019-11-20 12:12:15,673: DEBUG - + python2.7 -c 'import os, sys, jinja2; sys.stdout.write(
2019-11-20 12:12:15,673: DEBUG -                     jinja2.Template(sys.stdin.read()
2019-11-20 12:12:15,674: DEBUG -                  ).render(os.environ));'
2019-11-20 12:12:15,674: DEBUG - + [[ mydyndns.noho.st != blog.olm-e.be ]]
2019-11-20 12:12:15,674: DEBUG - + touch /home/yunohost.conf/pending/nginx/etc/nginx/conf.d/blog.olm-e.be.d/yunohost_local.conf
2019-11-20 12:12:15,675: DEBUG - + for domain in $domain_list
2019-11-20 12:12:15,675: DEBUG - + domain_conf_dir=/home/yunohost.conf/pending/nginx/etc/nginx/conf.d/forum.myforumsite.be.d
2019-11-20 12:12:15,676: DEBUG - + mkdir -p /home/yunohost.conf/pending/nginx/etc/nginx/conf.d/forum.myforumsite.be.d
2019-11-20 12:12:15,676: DEBUG - + mail_autoconfig_dir=/home/yunohost.conf/pending/nginx/var/www/.well-known/forum.myforumsite.be/autoconfig/mail/
2019-11-20 12:12:15,676: DEBUG - + mkdir -p /home/yunohost.conf/pending/nginx/var/www/.well-known/forum.myforumsite.be/autoconfig/mail/
2019-11-20 12:12:15,677: DEBUG - + export domain
2019-11-20 12:12:15,677: DEBUG - ++ yunohost domain cert-status forum.myforumsite.be --json
2019-11-20 12:12:15,677: DEBUG - ++ jq '.certificates."forum.myforumsite.be".CA_type'
2019-11-20 12:12:15,678: DEBUG - ++ tr -d '"'
2019-11-20 12:12:16,580: DEBUG - + export 'domain_cert_ca=Let'\''s Encrypt'
2019-11-20 12:12:16,581: DEBUG - + domain_cert_ca='Let'\''s Encrypt'
2019-11-20 12:12:16,582: DEBUG - + ynh_render_template server.tpl.conf /home/yunohost.conf/pending/nginx/etc/nginx/conf.d/forum.myforumsite.be.conf
2019-11-20 12:12:16,583: DEBUG - + local template_path=server.tpl.conf
2019-11-20 12:12:16,584: DEBUG - + local output_path=/home/yunohost.conf/pending/nginx/etc/nginx/conf.d/forum.myforumsite.be.conf
2019-11-20 12:12:16,585: DEBUG - ++ dirname /home/yunohost.conf/pending/nginx/etc/nginx/conf.d/forum.myforumsite.be.conf
2019-11-20 12:12:16,585: DEBUG - + mkdir -p /home/yunohost.conf/pending/nginx/etc/nginx/conf.d
2019-11-20 12:12:16,586: DEBUG - + python2.7 -c 'import os, sys, jinja2; sys.stdout.write(
2019-11-20 12:12:16,587: DEBUG -                     jinja2.Template(sys.stdin.read()
2019-11-20 12:12:16,588: DEBUG -                  ).render(os.environ));'
2019-11-20 12:12:16,689: DEBUG - + ynh_render_template autoconfig.tpl.xml /home/yunohost.conf/pending/nginx/var/www/.well-known/forum.myforumsite.be/autoconfig/mail//config-v1.1.xml
2019-11-20 12:12:16,690: DEBUG - + local template_path=autoconfig.tpl.xml
2019-11-20 12:12:16,691: DEBUG - + local output_path=/home/yunohost.conf/pending/nginx/var/www/.well-known/forum.myforumsite.be/autoconfig/mail//config-v1.1.xml
2019-11-20 12:12:16,692: DEBUG - ++ dirname /home/yunohost.conf/pending/nginx/var/www/.well-known/forum.myforumsite.be/autoconfig/mail//config-v1.1.xml
2019-11-20 12:12:16,692: DEBUG - + mkdir -p /home/yunohost.conf/pending/nginx/var/www/.well-known/forum.myforumsite.be/autoconfig/mail
2019-11-20 12:12:16,693: DEBUG - + python2.7 -c 'import os, sys, jinja2; sys.stdout.write(
2019-11-20 12:12:16,694: DEBUG -                     jinja2.Template(sys.stdin.read()
2019-11-20 12:12:16,695: DEBUG -                  ).render(os.environ));'
2019-11-20 12:12:16,695: DEBUG - + [[ mydyndns.noho.st != forum.myforumsite.be ]]
2019-11-20 12:12:16,696: DEBUG - + touch /home/yunohost.conf/pending/nginx/etc/nginx/conf.d/forum.myforumsite.be.d/yunohost_local.conf
2019-11-20 12:12:16,697: DEBUG - + ynh_render_template yunohost_admin.conf /home/yunohost.conf/pending/nginx/etc/nginx/conf.d/yunohost_admin.conf
2019-11-20 12:12:16,698: DEBUG - + local template_path=yunohost_admin.conf
2019-11-20 12:12:16,699: DEBUG - + local output_path=/home/yunohost.conf/pending/nginx/etc/nginx/conf.d/yunohost_admin.conf
2019-11-20 12:12:16,699: DEBUG - ++ dirname /home/yunohost.conf/pending/nginx/etc/nginx/conf.d/yunohost_admin.conf
2019-11-20 12:12:16,700: DEBUG - + mkdir -p /home/yunohost.conf/pending/nginx/etc/nginx/conf.d
2019-11-20 12:12:16,701: DEBUG - + python2.7 -c 'import os, sys, jinja2; sys.stdout.write(
2019-11-20 12:12:16,702: DEBUG -                     jinja2.Template(sys.stdin.read()
2019-11-20 12:12:16,702: DEBUG -                  ).render(os.environ));'
2019-11-20 12:12:16,804: DEBUG - ++ ls -1 /etc/nginx/conf.d
2019-11-20 12:12:16,805: DEBUG - ++ awk '/^[^\.]+\.[^\.]+.*\.conf$/ { print $1 }'
2019-11-20 12:12:16,806: DEBUG - + conf_files='blog.olm-e.be.conf
2019-11-20 12:12:16,806: DEBUG - forum.myforumsite.be.conf
2019-11-20 12:12:16,807: DEBUG - myforumsite.be.conf
2019-11-20 12:12:16,808: DEBUG - mydyndns.noho.st.conf'
2019-11-20 12:12:16,808: DEBUG - + for file in $conf_files
2019-11-20 12:12:16,809: DEBUG - + domain=blog.olm-e.be
2019-11-20 12:12:16,810: DEBUG - + [[ mydyndns.noho.st
2019-11-20 12:12:16,811: DEBUG - blog.olm-e.be
2019-11-20 12:12:16,811: DEBUG - forum.myforumsite.be =~ blog.olm-e.be ]]
2019-11-20 12:12:16,812: DEBUG - + for file in $conf_files
2019-11-20 12:12:16,813: DEBUG - + domain=forum.myforumsite.be
2019-11-20 12:12:16,813: DEBUG - + [[ mydyndns.noho.st
2019-11-20 12:12:16,814: DEBUG - blog.olm-e.be
2019-11-20 12:12:16,814: DEBUG - forum.myforumsite.be =~ forum.myforumsite.be ]]
2019-11-20 12:12:16,814: DEBUG - + for file in $conf_files
2019-11-20 12:12:16,814: DEBUG - + domain=myforumsite.be
2019-11-20 12:12:16,815: DEBUG - + [[ mydyndns.noho.st
2019-11-20 12:12:16,815: DEBUG - blog.olm-e.be
2019-11-20 12:12:16,815: DEBUG - forum.myforumsite.be =~ myforumsite.be ]]
2019-11-20 12:12:16,815: DEBUG - + for file in $conf_files
2019-11-20 12:12:16,816: DEBUG - + domain=mydyndns.noho.st
2019-11-20 12:12:16,816: DEBUG - + [[ mydyndns.noho.st
2019-11-20 12:12:16,816: DEBUG - blog.olm-e.be
2019-11-20 12:12:16,817: DEBUG - forum.myforumsite.be =~ mydyndns.noho.st ]]
2019-11-20 12:12:16,817: DEBUG - ++ ls -1 /var/www/.well-known/blog.olm-e.be/autoconfig/mail/config-v1.1.xml /var/www/.well-known/forum.myforumsite.be/autoconfig/mail/config-v1.1.xml /var/www/.well-known/myforumsite.be/autoconfig/mail/config-v1.1.xml /var/www/.well-known/mydyndns.noho.st/autoconfig/mail/config-v1.1.xml
2019-11-20 12:12:16,817: DEBUG - + autoconfig_files='/var/www/.well-known/blog.olm-e.be/autoconfig/mail/config-v1.1.xml
2019-11-20 12:12:16,817: DEBUG - /var/www/.well-known/forum.myforumsite.be/autoconfig/mail/config-v1.1.xml
2019-11-20 12:12:16,818: DEBUG - /var/www/.well-known/myforumsite.be/autoconfig/mail/config-v1.1.xml
2019-11-20 12:12:16,818: DEBUG - /var/www/.well-known/mydyndns.noho.st/autoconfig/mail/config-v1.1.xml'
2019-11-20 12:12:16,818: DEBUG - + for file in $autoconfig_files
2019-11-20 12:12:16,819: DEBUG - ++++ dirname /var/www/.well-known/blog.olm-e.be/autoconfig/mail/config-v1.1.xml
2019-11-20 12:12:16,819: DEBUG - +++ readlink -f /var/www/.well-known/blog.olm-e.be/autoconfig/mail/../..
2019-11-20 12:12:16,819: DEBUG - ++ basename /var/www/.well-known/blog.olm-e.be
2019-11-20 12:12:16,819: DEBUG - + domain=blog.olm-e.be
2019-11-20 12:12:16,820: DEBUG - + [[ mydyndns.noho.st
2019-11-20 12:12:16,820: DEBUG - blog.olm-e.be
2019-11-20 12:12:16,820: DEBUG - forum.myforumsite.be =~ blog.olm-e.be ]]
2019-11-20 12:12:16,820: DEBUG - + for file in $autoconfig_files
2019-11-20 12:12:16,821: DEBUG - ++++ dirname /var/www/.well-known/forum.myforumsite.be/autoconfig/mail/config-v1.1.xml
2019-11-20 12:12:16,821: DEBUG - +++ readlink -f /var/www/.well-known/forum.myforumsite.be/autoconfig/mail/../..
2019-11-20 12:12:16,821: DEBUG - ++ basename /var/www/.well-known/forum.myforumsite.be
2019-11-20 12:12:16,821: DEBUG - + domain=forum.myforumsite.be
2019-11-20 12:12:16,822: DEBUG - + [[ mydyndns.noho.st
2019-11-20 12:12:16,822: DEBUG - blog.olm-e.be
2019-11-20 12:12:16,822: DEBUG - forum.myforumsite.be =~ forum.myforumsite.be ]]
2019-11-20 12:12:16,823: DEBUG - + for file in $autoconfig_files
2019-11-20 12:12:16,823: DEBUG - ++++ dirname /var/www/.well-known/myforumsite.be/autoconfig/mail/config-v1.1.xml
2019-11-20 12:12:16,823: DEBUG - +++ readlink -f /var/www/.well-known/myforumsite.be/autoconfig/mail/../..
2019-11-20 12:12:16,823: DEBUG - ++ basename /var/www/.well-known/myforumsite.be
2019-11-20 12:12:16,824: DEBUG - + domain=myforumsite.be
2019-11-20 12:12:16,824: DEBUG - + [[ mydyndns.noho.st
2019-11-20 12:12:16,824: DEBUG - blog.olm-e.be
2019-11-20 12:12:16,824: DEBUG - forum.myforumsite.be =~ myforumsite.be ]]
2019-11-20 12:12:16,825: DEBUG - + for file in $autoconfig_files
2019-11-20 12:12:16,825: DEBUG - ++++ dirname /var/www/.well-known/mydyndns.noho.st/autoconfig/mail/config-v1.1.xml
2019-11-20 12:12:16,825: DEBUG - +++ readlink -f /var/www/.well-known/mydyndns.noho.st/autoconfig/mail/../..
2019-11-20 12:12:16,825: DEBUG - ++ basename /var/www/.well-known/mydyndns.noho.st
2019-11-20 12:12:16,826: DEBUG - + domain=mydyndns.noho.st
2019-11-20 12:12:16,826: DEBUG - + [[ mydyndns.noho.st
2019-11-20 12:12:16,826: DEBUG - blog.olm-e.be
2019-11-20 12:12:16,826: DEBUG - forum.myforumsite.be =~ mydyndns.noho.st ]]
2019-11-20 12:12:16,826: DEBUG - + mkdir -p /home/yunohost.conf/pending/nginx/etc/nginx/sites-enabled
2019-11-20 12:12:16,826: DEBUG - + touch /home/yunohost.conf/pending/nginx/etc/nginx/sites-enabled/default
2019-11-20 12:12:16,827: DEBUG - + exit 0
2019-11-20 12:12:16,895: DEBUG - Applying pending configuration for category 'nginx'…
2019-11-20 12:12:16,923: DEBUG - processing pending conf '/home/yunohost.conf/pending/nginx/etc/nginx/conf.d/forum.myforumsite.be.d/yunohost_local.conf' to system conf '/etc/nginx/conf.d/forum.myforumsite.be.d/yunohost_local.conf'
2019-11-20 12:12:16,923: DEBUG - > system conf is already removed
2019-11-20 12:12:16,923: 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-11-20 12:12:16,923: DEBUG - > system conf is already up-to-date
2019-11-20 12:12:16,923: DEBUG - processing pending conf '/home/yunohost.conf/pending/nginx/etc/nginx/conf.d/mydyndns.noho.st.conf' to system conf '/etc/nginx/conf.d/mydyndns.noho.st.conf'
2019-11-20 12:12:16,924: DEBUG - > system conf is already up-to-date
2019-11-20 12:12:16,924: DEBUG - processing pending conf '/home/yunohost.conf/pending/nginx/etc/nginx/conf.d/blog.olm-e.be.d/yunohost_local.conf' to system conf '/etc/nginx/conf.d/blog.olm-e.be.d/yunohost_local.conf'
2019-11-20 12:12:16,924: DEBUG - > system conf is already removed
2019-11-20 12:12:16,924: 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-11-20 12:12:16,925: DEBUG - > system conf is already up-to-date
2019-11-20 12:12:16,925: DEBUG - processing pending conf '/home/yunohost.conf/pending/nginx/var/www/.well-known/forum.myforumsite.be/autoconfig/mail/config-v1.1.xml' to system conf '/var/www/.well-known/forum.myforumsite.be/autoconfig/mail/config-v1.1.xml'
2019-11-20 12:12:16,925: DEBUG - > system conf is already up-to-date
2019-11-20 12:12:16,925: 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-11-20 12:12:16,926: DEBUG - > system conf is already up-to-date
2019-11-20 12:12:16,926: 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-11-20 12:12:16,926: DEBUG - > system conf is already up-to-date
2019-11-20 12:12:16,926: 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-11-20 12:12:16,926: DEBUG - > system conf is already up-to-date
2019-11-20 12:12:16,927: DEBUG - processing pending conf '/home/yunohost.conf/pending/nginx/etc/nginx/conf.d/forum.myforumsite.be.conf' to system conf '/etc/nginx/conf.d/forum.myforumsite.be.conf'
2019-11-20 12:12:16,927: DEBUG - > system conf is already up-to-date
2019-11-20 12:12:16,927: 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-11-20 12:12:16,927: DEBUG - > system conf is already up-to-date
2019-11-20 12:12:16,928: DEBUG - processing pending conf '/home/yunohost.conf/pending/nginx/etc/nginx/conf.d/mydyndns.noho.st.d/yunohost_local.conf' to system conf '/etc/nginx/conf.d/mydyndns.noho.st.d/yunohost_local.conf'
2019-11-20 12:12:16,928: DEBUG - > system conf is already up-to-date
2019-11-20 12:12:16,928: DEBUG - processing pending conf '/home/yunohost.conf/pending/nginx/var/www/.well-known/blog.olm-e.be/autoconfig/mail/config-v1.1.xml' to system conf '/var/www/.well-known/blog.olm-e.be/autoconfig/mail/config-v1.1.xml'
2019-11-20 12:12:16,928: DEBUG - > system conf is already up-to-date
2019-11-20 12:12:16,928: DEBUG - processing pending conf '/home/yunohost.conf/pending/nginx/etc/nginx/sites-enabled/default' to system conf '/etc/nginx/sites-enabled/default'
2019-11-20 12:12:16,929: DEBUG - > system conf is already removed
2019-11-20 12:12:16,929: DEBUG - processing pending conf '/home/yunohost.conf/pending/nginx/var/www/.well-known/mydyndns.noho.st/autoconfig/mail/config-v1.1.xml' to system conf '/var/www/.well-known/mydyndns.noho.st/autoconfig/mail/config-v1.1.xml'
2019-11-20 12:12:16,929: DEBUG - > system conf is already up-to-date
2019-11-20 12:12:16,929: DEBUG - processing pending conf '/home/yunohost.conf/pending/nginx/etc/nginx/conf.d/blog.olm-e.be.conf' to system conf '/etc/nginx/conf.d/blog.olm-e.be.conf'
2019-11-20 12:12:16,930: DEBUG - > system conf is already up-to-date
2019-11-20 12:12:16,930: DEBUG - The configuration is already up-to-date for category 'nginx'
2019-11-20 12:12:16,930: DEBUG - custom hook folder not found for action 'conf_regen' in /etc/yunohost/hooks.d/
2019-11-20 12:12:16,931: DEBUG - Executing command 'sh -c YNH_INTERFACE=api YNH_CWD=/usr/share/yunohost/hooks/conf_regen YNH_STDINFO=/tmp/tmpMA36D4/stdinfo YNH_STDRETURN=/tmp/tmp4uIbE6/stdreturn BASH_XTRACEFD=7 /bin/bash -x "./15-nginx" post 0 0 '' 7>&1'…
2019-11-20 12:12:16,931: DEBUG - About to run the command '['sh', '-c', 'YNH_INTERFACE=api YNH_CWD=/usr/share/yunohost/hooks/conf_regen YNH_STDINFO=/tmp/tmpMA36D4/stdinfo YNH_STDRETURN=/tmp/tmp4uIbE6/stdreturn BASH_XTRACEFD=7 /bin/bash -x "./15-nginx" post 0 0 \'\' 7>&1']'
2019-11-20 12:12:17,013: DEBUG - + set -e
2019-11-20 12:12:17,014: DEBUG - + . /usr/share/yunohost/helpers
2019-11-20 12:12:17,014: DEBUG - +++ run-parts --list /usr/share/yunohost/helpers.d
2019-11-20 12:12:17,015: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-20 12:12:17,015: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/apt ']'
2019-11-20 12:12:17,015: DEBUG - ++ . /usr/share/yunohost/helpers.d/apt
2019-11-20 12:12:17,015: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-20 12:12:17,016: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/backup ']'
2019-11-20 12:12:17,016: DEBUG - ++ . /usr/share/yunohost/helpers.d/backup
2019-11-20 12:12:17,016: DEBUG - +++ CAN_BIND=1
2019-11-20 12:12:17,016: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-20 12:12:17,017: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/fail2ban ']'
2019-11-20 12:12:17,017: DEBUG - ++ . /usr/share/yunohost/helpers.d/fail2ban
2019-11-20 12:12:17,017: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-20 12:12:17,017: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/getopts ']'
2019-11-20 12:12:17,017: DEBUG - ++ . /usr/share/yunohost/helpers.d/getopts
2019-11-20 12:12:17,018: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-20 12:12:17,018: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/logging ']'
2019-11-20 12:12:17,018: DEBUG - ++ . /usr/share/yunohost/helpers.d/logging
2019-11-20 12:12:17,018: DEBUG - +++ increment_progression=0
2019-11-20 12:12:17,019: DEBUG - +++ previous_weight=0
2019-11-20 12:12:17,019: DEBUG - +++ max_progression=-1
2019-11-20 12:12:17,019: DEBUG - +++ progress_scale=20
2019-11-20 12:12:17,019: DEBUG - +++ progress_string2='####################'
2019-11-20 12:12:17,019: DEBUG - +++ progress_string1=++++++++++++++++++++
2019-11-20 12:12:17,020: DEBUG - +++ progress_string0=....................
2019-11-20 12:12:17,020: DEBUG - ++++ date +%s
2019-11-20 12:12:17,020: DEBUG - +++ base_time=1574248336
2019-11-20 12:12:17,020: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-20 12:12:17,021: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/logrotate ']'
2019-11-20 12:12:17,021: DEBUG - ++ . /usr/share/yunohost/helpers.d/logrotate
2019-11-20 12:12:17,021: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-20 12:12:17,021: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/mysql ']'
2019-11-20 12:12:17,022: DEBUG - ++ . /usr/share/yunohost/helpers.d/mysql
2019-11-20 12:12:17,022: DEBUG - +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
2019-11-20 12:12:17,022: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-20 12:12:17,022: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/network ']'
2019-11-20 12:12:17,022: DEBUG - ++ . /usr/share/yunohost/helpers.d/network
2019-11-20 12:12:17,023: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-20 12:12:17,023: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nginx ']'
2019-11-20 12:12:17,023: DEBUG - ++ . /usr/share/yunohost/helpers.d/nginx
2019-11-20 12:12:17,023: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-20 12:12:17,023: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nodejs ']'
2019-11-20 12:12:17,024: DEBUG - ++ . /usr/share/yunohost/helpers.d/nodejs
2019-11-20 12:12:17,024: DEBUG - +++ n_install_dir=/opt/node_n
2019-11-20 12:12:17,024: DEBUG - +++ node_version_path=/opt/node_n/n/versions/node
2019-11-20 12:12:17,024: DEBUG - +++ export N_PREFIX=/opt/node_n
2019-11-20 12:12:17,024: DEBUG - +++ N_PREFIX=/opt/node_n
2019-11-20 12:12:17,025: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-20 12:12:17,025: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/php ']'
2019-11-20 12:12:17,025: DEBUG - ++ . /usr/share/yunohost/helpers.d/php
2019-11-20 12:12:17,025: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-20 12:12:17,025: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/postgresql ']'
2019-11-20 12:12:17,026: DEBUG - ++ . /usr/share/yunohost/helpers.d/postgresql
2019-11-20 12:12:17,026: DEBUG - +++ PSQL_ROOT_PWD_FILE=/etc/yunohost/psql
2019-11-20 12:12:17,026: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-20 12:12:17,026: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/setting ']'
2019-11-20 12:12:17,026: DEBUG - ++ . /usr/share/yunohost/helpers.d/setting
2019-11-20 12:12:17,027: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-20 12:12:17,027: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/string ']'
2019-11-20 12:12:17,027: DEBUG - ++ . /usr/share/yunohost/helpers.d/string
2019-11-20 12:12:17,027: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-20 12:12:17,027: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/systemd ']'
2019-11-20 12:12:17,028: DEBUG - ++ . /usr/share/yunohost/helpers.d/systemd
2019-11-20 12:12:17,028: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-20 12:12:17,028: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/user ']'
2019-11-20 12:12:17,028: DEBUG - ++ . /usr/share/yunohost/helpers.d/user
2019-11-20 12:12:17,028: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-20 12:12:17,029: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/utils ']'
2019-11-20 12:12:17,029: DEBUG - ++ . /usr/share/yunohost/helpers.d/utils
2019-11-20 12:12:17,029: DEBUG - + FORCE=0
2019-11-20 12:12:17,029: DEBUG - + DRY_RUN=0
2019-11-20 12:12:17,029: DEBUG - + case "$1" in
2019-11-20 12:12:17,030: DEBUG - + do_post_regen
2019-11-20 12:12:17,030: DEBUG - + regen_conf_files=
2019-11-20 12:12:17,030: DEBUG - + '[' -z '' ']'
2019-11-20 12:12:17,030: DEBUG - + exit 0
2019-11-20 12:12:17,192: DEBUG - Full log of this operation: '<a href="#/tools/logs/20191120-111213-regen_conf-nginx" style="text-decoration:underline">Regenerate system configurations 'nginx'</a>'
2019-11-20 12:12:17,216: DEBUG - Running 'systemctl reload nginx'
2019-11-20 12:12:17,368: DEBUG - system hook folder not found for action 'post_cert_update' in /usr/share/yunohost/hooks/
2019-11-20 12:12:17,370: DEBUG - custom hook folder not found for action 'post_cert_update' in /etc/yunohost/hooks.d/
2019-11-20 12:12:17,567: SUCCESS - Successfully installed a self-signed certificate for domain video.olm-e.be!
2019-11-20 12:12:17,567: DEBUG - Full log of this operation: '<a href="#/tools/logs/20191120-111211-selfsigned_cert_install-video.olm-e.be" style="text-decoration:underline">Install self signed certificate on 'video.olm-e.be' domain</a>'
2019-11-20 12:12:17,611: INFO - <strong>The operation 'Remove 'video.olm-e.be' domain from system configuration' has failed! To get help, please <a href="#/tools/logs/20191120-111217-domain_remove-video.olm-e.be">provide the full log of this operation by clicking here</a></strong>

Hmokay looking at the code I might have an idea of what 's going on … Can you check that the service metronome is running ?

And / or can you check that yunohost app ssowatconf works ?

both works …

if I do
$ sudo yunohost tools regen-conf
Warning: The configuration file ‘/etc/metronome/metronome.cfg.lua’ has been manually modified and will not be updated
Success! The configuration has been updated for category ‘dnsmasq’
Warning: The configuration file ‘/etc/ldap/slapd.conf’ has been manually modified and will not be updated
dnsmasq:
applied:
/etc/resolv.dnsmasq.conf:
status: updated
pending:
metronome:
applied:
pending:
/etc/metronome/metronome.cfg.lua:
status: modified
slapd:
applied:
pending:
/etc/ldap/slapd.conf:
status: modified

I did not touched any file by hand …

could it be that those files are “changed” by the backup/restore process and thereafter locked to normal process ??
how to “unlock” them ?

so if I do

$ sudo yunohost tools regen-conf --force

then it pass, and I can register a new domain name

\o/

(had to look at the tools.py file to see that option existed, and hope it do the trick, which it did :wink: )

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