diff --git a/src/mailserver.js b/src/mailserver.js index c60d73c43..61c13d473 100644 --- a/src/mailserver.js +++ b/src/mailserver.js @@ -219,11 +219,11 @@ async function restartIfActivated() { const activated = await users.isActivated(); if (!activated) { - debug('restartMailIfActivated: skipping restart of mail container since Cloudron is not activated yet'); + debug('restartIfActivated: skipping restart of mail container since Cloudron is not activated yet'); return; // not provisioned yet, do not restart container after dns setup } - debug('restartMailIfActivated: restarting on activated'); + debug('restartIfActivated: restarting on activated'); await restart(); } diff --git a/src/provision.js b/src/provision.js index d0797c624..9ac7426f3 100644 --- a/src/provision.js +++ b/src/provision.js @@ -77,6 +77,7 @@ async function setupTask(domain, auditSource) { const location = { subdomain: constants.DASHBOARD_SUBDOMAIN, domain }; try { + debug(`setupTask: subdomain ${location.subdomain} and domain ${location.domain}`); await dns.registerLocations([location], { overwriteDns: true }, (progress) => setProgress('setup', progress.message)); await dns.waitForLocations([location], (progress) => setProgress('setup', progress.message)); await reverseProxy.ensureCertificate(location, {}, auditSource);