Commit 67d5c323 authored by Mark Harding's avatar Mark Harding

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

-subdomain=sgtpepper
No related merge requests found
Pipeline #68465186 passed with stages
in 7 minutes and 58 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