Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solved: registering admin account fails without error #831

Closed
cptfixit opened this issue Jul 11, 2023 · 1 comment
Closed

Solved: registering admin account fails without error #831

cptfixit opened this issue Jul 11, 2023 · 1 comment

Comments

@cptfixit
Copy link

I am deploying the SKF stack using docker-compose. After booting up, I am presented with the login page where I can setup the admin account.

After filling out the form with the pre-defined information (as per the documentation) there are no messages, no errors and I am redirected to the login page. However, the username and password are not accepted, the account is invalid.

The solution lies in the docker-compose.yml file, where specific URLs are defined.

The docker-compose deployment assumes that you are using http://localhost for everything. This will not work correctly if you use Docker on a server/VM that is not on your local laptop.

Change the following settings when you are accessing SKF via het external network. Set the hostname to your host's name.

$ sudo grep -i myhost docker-compose.yml
      - FRONTEND_URI=http://myhost.domain
      - SKF_API_URL=http://myhost.domain/api
      - SKF_LABS_DOMAIN=http://myhost.domain
@cptfixit
Copy link
Author

Resolved as per the OP: if you are accessing the SKF via the network, be sure to set the URI configurations to your actual hostname, instead of to localhost.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant