{"action":"created","issue":{"url":"https://api.github.com/repos/passbolt/passbolt_api/issues/41","repository_url":"https://api.github.com/repos/passbolt/passbolt_api","labels_url":"https://api.github.com/repos/passbolt/passbolt_api/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/passbolt/passbolt_api/issues/41/comments","events_url":"https://api.github.com/repos/passbolt/passbolt_api/issues/41/events","html_url":"https://github.com/passbolt/passbolt_api/issues/41","id":208152426,"number":41,"title":"Unable to setup first Admin account","user":{"login":"nevasway","id":6116276,"avatar_url":"https://avatars.githubusercontent.com/u/6116276?v=3","gravatar_id":"","url":"https://api.github.com/users/nevasway","html_url":"https://github.com/nevasway","followers_url":"https://api.github.com/users/nevasway/followers","following_url":"https://api.github.com/users/nevasway/following{/other_user}","gists_url":"https://api.github.com/users/nevasway/gists{/gist_id}","starred_url":"https://api.github.com/users/nevasway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nevasway/subscriptions","organizations_url":"https://api.github.com/users/nevasway/orgs","repos_url":"https://api.github.com/users/nevasway/repos","events_url":"https://api.github.com/users/nevasway/events{/privacy}","received_events_url":"https://api.github.com/users/nevasway/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-02-16T15:23:33Z","updated_at":"2017-02-16T16:41:52Z","closed_at":null,"body":"Why can't I setup the first Admin account? Here's what happens... \r\n\r\nFirst, I successfully initialize the Passbolt mysql database and register my first admin user:\r\n```\r\nsu -s /bin/bash -c \"/var/www/passbolt/app/Console/cake install --no-admin\" www-data\r\n/var/www/passbolt/app/Console/cake passbolt register_user -u henry@xxxx.com -f Henry -l xxxxx -r admin\r\n```\r\nThen I copy the link displayed (I don't have email configured yet) and paste it into my browser (Chrome):\r\nhttps://server-name:6443/setup/install/d46de1f2-ed84-3d5c-aedb-5bda3ecbc43a/35f779d0-072e-419a-a98e-c0182c34a54a\r\n\r\nMy browser flashes up a page for a few milli-seconds that says something like `Welcome to passbolt! Let's take 5 min to setup your system` But then displays a page with the following error:\r\n```\r\nDamn...\r\nAn error occured\r\n Error! Something unexpected happened. The setup cannot be completed.\r\nWhat to do now ?\r\nPlease contact us or your system administrator, and provide the debug information below.\r\n See debug info\r\n```\r\nHere's the debug info:\r\n```\r\n{\r\n  \"error\": \"settings could not be validated\",\r\n  \"setup\": {\r\n    \"stepId\": \"\",\r\n    \"stepsHistory\": \"\",\r\n    \"user\": {\r\n      \"username\": \"henry@xxxx.com\",\r\n      \"firstname\": \"Henry\",\r\n      \"lastname\": \"xxxxx\",\r\n      \"id\": \"d46de1f2-ed84-3d5c-aedb-5bda3ecbc43a\"\r\n    },\r\n    \"key\": {},\r\n    \"settings\": {\r\n      \"token\": \"\",\r\n      \"domain\": \"\",\r\n      \"securityToken\": {},\r\n      \"armoredServerKey\": \"\"\r\n    }\r\n  },\r\n  \"additional\": {\r\n    \"settings\": {\r\n      \"token\": \"35f779d0-072e-419a-a98e-c0182c34a54a\",\r\n      \"domain\": \"https://server-name:6443\"\r\n    },\r\n    \"user\": {\r\n      \"username\": \"henry@xxxx.com\",\r\n      \"firstname\": \"Henry\",\r\n      \"lastname\": \"xxxxx\",\r\n      \"id\": \"d46de1f2-ed84-3d5c-aedb-5bda3ecbc43a\"\r\n    }\r\n  }\r\n}\r\n```\r\n\r\nNo errors reported in `/var/log/apache2/error.log`\r\nNo errors reported in `/var/www/passbolt/app/tmp/logs/error.log`\r\nAre there any other log files that might help me troubleshoot this problem?\r\n\r\nI'm running a Passbolt server on my own computer inside the Passbolt Debian Docker container. I don't think my trouble is with docker, which is why I'm looking for help here in the passbolt_api repository. I'm also using port 6443 for ssl, which *shouldn't* be a problem, but I'm open to anything at this point.\r\n"},"comment":{"url":"https://api.github.com/repos/passbolt/passbolt_api/issues/comments/280385502","html_url":"https://github.com/passbolt/passbolt_api/issues/41#issuecomment-280385502","issue_url":"https://api.github.com/repos/passbolt/passbolt_api/issues/41","id":280385502,"user":{"login":"cedricalfonsi","id":1582917,"avatar_url":"https://avatars.githubusercontent.com/u/1582917?v=3","gravatar_id":"","url":"https://api.github.com/users/cedricalfonsi","html_url":"https://github.com/cedricalfonsi","followers_url":"https://api.github.com/users/cedricalfonsi/followers","following_url":"https://api.github.com/users/cedricalfonsi/following{/other_user}","gists_url":"https://api.github.com/users/cedricalfonsi/gists{/gist_id}","starred_url":"https://api.github.com/users/cedricalfonsi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cedricalfonsi/subscriptions","organizations_url":"https://api.github.com/users/cedricalfonsi/orgs","repos_url":"https://api.github.com/users/cedricalfonsi/repos","events_url":"https://api.github.com/users/cedricalfonsi/events{/privacy}","received_events_url":"https://api.github.com/users/cedricalfonsi/received_events","type":"User","site_admin":false},"created_at":"2017-02-16T16:41:52Z","updated_at":"2017-02-16T16:41:52Z","body":"Hello nevasway,\r\n\r\nThanks for your interest in passbolt.\r\n\r\nDid you check the passbolt healhcheck yet ? if not, ensure first that your passbolt is fine tuned.\r\n\r\n1. Enable the debug mode. In the file app/Config/core.php, set the debug variable to 1.\r\n2. Go to the healthcheck page : https://server-name:6443/healthcheck\r\n\r\nBest regards."}}
{"actor":{"display_login":"cedricalfonsi"}}