# Error! Something unexpected happened. The setup cannot be completed

**URL:** <https://community.passbolt.com/t/error-something-unexpected-happened-the-setup-cannot-be-completed/1228>\
**Category:** Installation Issues\
**Created:** [November 13, 2018, 11:28pm UTC](https://community.passbolt.com/t/error-something-unexpected-happened-the-setup-cannot-be-completed/1228 "2018-11-13T23:28:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![RedOrion](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.passbolt.com/redorion/32/351_2.png) [@RedOrion](https://community.passbolt.com/u/RedOrion)\
**Post date:** [November 13, 2018, 11:28pm UTC](https://community.passbolt.com/t/error-something-unexpected-happened-the-setup-cannot-be-completed/1228/1 "2018-11-13T23:28:04Z")

</div>

**Checklist**  
[X] I have read intro post: [About the Installation Issues category](https://community.passbolt.com/t/about-the-installation-issues-category/12)  
[X] I have read the tutorials, help and searched for similar issues  
[X] I provide relevant information about my server (component names and versions, etc.)  
[X] I provide a copy of my logs and healthcheck  
[] I describe the steps I have taken to trouble shoot the problem  
[] I describe the steps on how to reproduce the issue

I’m using Debian 9 Stable. I have rebuilt the system system with the same errors multiple times. I’m also finding that the test email goes through with ./bin/cake passbolt send\_test\_email --recipient=XXX@XXXXXXXX.qwe but when attempting with the initial account creation I get no email.

```
**Error!** Something unexpected happened. The setup cannot be completed.

#### What to do now ?

Please contact us or your system administrator, and provide the debug information below.

```

Error message

```
{
  "error": "settings could not be validated",
  "setup": {
    "stepId": "",
    "stepsHistory": "",
    "user": {
      "username": "XXX@XXXXXXXX.qwe",
      "firstname": "XXX",
      "lastname": "XXX",
      "id": "XXXXXXXX"
    },
    "key": {},
    "settings": {
      "token": "",
      "domain": "",
      "securityToken": {},
      "armoredServerKey": ""
    }
  },
  "additional": {
    "settings": {
      "token": "XXXXXXXX",
      "domain": "http://passbolt.qwe",
      "workflow": "install"
    },
    "user": {
      "username": "gandalf@XXXXXXXX.qwe",
      "firstname": "XXX",
      "lastname": "XXX",
      "id": "XXXXXXXX"
    }
  }
}

```

Healthcheck shell

```
 Environment

 [PASS] PHP version 7.0.30-0+deb9u1.
 [PASS] PCRE compiled with unicode support.
 [PASS] The temporary directory and its content are writable.
 [PASS] The public image directory and its content are writable.
 [PASS] The logs directory and its content are writable.
 [PASS] GD or Imagick extension is installed.
 [PASS] Intl extension is installed.
 [PASS] Mbstring extension is installed.

 Config files

 [PASS] The application config file is present
 [PASS] The passbolt config file is present

 Core config

 [PASS] Debug mode is off.
 [PASS] Cache is working.
 [PASS] Unique value set for security.salt
 [PASS] Full base url is set to http://passbolt.qwe
 [FAIL] App.fullBaseUrl does not validate. http://passbolt.qwe.
  [HELP] Edit App.fullBaseUrl in config/passbolt.php
  [HELP] Select a valid domain name as defined by section 2.3.1 of http://www.ietf.org/rfc/rfc1035.txt
 [PASS] /healthcheck/status is reachable.

 SSL Certificate

 [PASS] SSL peer certificate validates
 [PASS] Hostname is matching in SSL certificate.
 [PASS] Not using a self-signed certificate

 Database

 [PASS] The application is able to connect to the database
 [PASS] 18 tables found
 [PASS] Some default content is present
 [PASS] The database schema up to date.

 GPG Configuration

 [PASS] PHP GPG Module is installed and loaded.
 [PASS] The server gpg key is not the default one
 [PASS] The environment variable GNUPGHOME is set to /var/www/.gnupg.
 [PASS] The directory /var/www/.gnupg containing the keyring is writable by the webserver user.
 [PASS] The public key file is defined in config/passbolt.php and readable.
 [PASS] The private key file is defined in config/passbolt.php and readable.
 [PASS] The server key fingerprint matches the one defined in config/passbolt.php.
 [PASS] The server public key defined in the config/passbolt.php is in the keyring.
 [PASS] There is a valid email id defined for the server key.
 [PASS] The public key can be used to encrypt a message.
 [PASS] The private key can be used to sign a message.
 [PASS] The public and private keys can be used to encrypt and sign a message.
 [PASS] The private key can be used to decrypt a message.
 [PASS] The private key can be used to decrypt and verify a message.
 [PASS] The public key can be used to verify a signature.

 Application configuration

 [PASS] Using latest passbolt version (2.4.0).
 [PASS] Passbolt is configured to force SSL use.
 [FAIL] App.fullBaseUrl is not set to HTTPS.
  [HELP] Check App.fullBaseUrl url scheme in config/passbolt.php.
 [PASS] Selenium API endpoints are disabled.
 [PASS] Search engine robots are told not to index content.
 [PASS] Registration is closed, only administrators can add users.
 [PASS] Serving the compiled version of the javascript app
 [PASS] All email notifications will be sent.

  2 error(s) found. Hang in there!
```

---

<div class="post-metadata">

**Author:** ![cedric](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.passbolt.com/cedric/32/3868_2.png) [@cedric](https://community.passbolt.com/u/cedric)\
**Post date:** [November 15, 2018, 5:05am UTC](https://community.passbolt.com/t/error-something-unexpected-happened-the-setup-cannot-be-completed/1228/2 "2018-11-15T05:05:13Z")

</div>

Hello @RedOrion,

Looking at your healtchecks output we can see that your App.fullBaseUrl does not validate. Passbolt requires a Top Level Domain to work properly. If the extension .qwe is the one you used and not an example to hide your real domain, then it won’t work.

> [@RedOrion](#):
>
> [FAIL] App.fullBaseUrl does not validate. [http://passbolt.qwe](http://passbolt.qwe). [HELP] Edit App.fullBaseUrl in config/passbolt.php [HELP] Select a valid domain name as defined by section 2.3.1 of [http://www.ietf.org/rfc/rfc1035.txt](http://www.ietf.org/rfc/rfc1035.txt) [PASS] /healthcheck/status is reachable.

Cheers

---

<div class="post-metadata">

**Author:** ![RedOrion](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.passbolt.com/redorion/32/351_2.png) [@RedOrion](https://community.passbolt.com/u/RedOrion)\
**Post date:** [November 19, 2018, 7:51pm UTC](https://community.passbolt.com/t/error-something-unexpected-happened-the-setup-cannot-be-completed/1228/3 "2018-11-19T19:51:43Z")

</div>

That makes sense and all but I’m using the domain “.qwe” as my in house local domain. Is there a way to bypass that check?

---

<div class="post-metadata">

**Author:** ![remy](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.passbolt.com/remy/32/17_2.png) [@remy](https://community.passbolt.com/u/remy)\
**Post date:** [November 20, 2018, 11:11am UTC](https://community.passbolt.com/t/error-something-unexpected-happened-the-setup-cannot-be-completed/1228/4 "2018-11-20T11:11:47Z")

</div>

@RedOrion it is not possible at the moment but there is an existing change requests for that: [https://github.com/passbolt/passbolt\_api/issues/238](https://github.com/passbolt/passbolt_api/issues/238)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex031/uploads/passbolt/original/2X/b/bee7d3f9329f668000d46e9fcb2e5db1e9d31348.svg) [@system](https://community.passbolt.com/u/system)\
**Post date:** [November 25, 2018, 11:11am UTC](https://community.passbolt.com/t/error-something-unexpected-happened-the-setup-cannot-be-completed/1228/5 "2018-11-25T11:11:51Z")

</div>

Closed on November 25, 2018, 11:11am UTC

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