Error! Something unexpected happened. The setup cannot be completed

Checklist
[X] I have read intro post: About the Installation Issues category
[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!

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.

Cheers

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?

@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

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