Commit e30eb804 authored by Mark Harding's avatar Mark Harding

(chore): allow for failure to create username and site

-subdomain=sgtpepper
parent 530e76dd
No related merge requests found
Pipeline #68461077 failed with stages
in 8 minutes and 12 seconds
......@@ -91,9 +91,13 @@ class Install extends Cli\Controller implements Interfaces\CliControllerInterfac
$provisioner->setupSite();
$this->out('OK');
$this->out('- Setting up administrative user (ignore warnings, if any):', $this::OUTPUT_INLINE);
$provisioner->setupFirstAdmin();
$this->out('OK');
try {
$this->out('- Setting up administrative user (ignore warnings, if any):', $this::OUTPUT_INLINE);
$provisioner->setupFirstAdmin();
$this->out('OK');
} catch (Exception $ex) {
$this->out('Could not setup initial user');
}
}
$this->out(['Done!', 'Open your browser and go to ' . $provisioner->getSiteUrl()], $this::OUTPUT_PRE);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment