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

Could not create admin user for Camunda #434

Closed
loumarven opened this issue Mar 3, 2020 · 8 comments
Closed

Could not create admin user for Camunda #434

loumarven opened this issue Mar 3, 2020 · 8 comments

Comments

@loumarven
Copy link

Hi,

I'm at step 10 in homs README (Navigate to Camunda Admin and create admin user with credentials equal to BPM_USER:BPM_PASSWORD values from .env file.).
I get redirected to http://localhost:8766/camunda/app/welcome/default/#/login, so I couldn't create an admin user for Camunda.

How do I create an admin user for Camunda?
Am I missing a step?

Thank you!

@dolfinus
Copy link
Contributor

dolfinus commented Mar 3, 2020

Hello.

If you use the latest Camunda image you can skip this step because user will be created automatically using credentials you've provided in environment variables.
Please sign in using BPM_USER:BPM_PASSWORD as username and password.

@loumarven
Copy link
Author

Hi @dolfinus. Thank you for responding to my issue.
I tried to sign in using kermit as username and kermit as the password (default BPM_USER:BPM_PASSWORD), but login fails (Wrong credentials or missing access rights to application).
What do you suggest I try next?

Note:
I am running this on a mac, with postgresql installed view brew (brew install postgresql).
Do I change the HOMS_DB_PATH and BPM_DB_PATH?

Thank you.

@dolfinus
Copy link
Contributor

dolfinus commented Mar 3, 2020

Can you please provide your docker-compose.yml and .env files?

@dolfinus
Copy link
Contributor

dolfinus commented Mar 3, 2020

I've just checked startup scripts and .env file examples again and found that in case then you set ADMIN_PASSWORD environment variable it is being used by both Camunda and Hydra OMS as password source. So you should try credentials kermit:changeme.

@loumarven
Copy link
Author

loumarven commented Mar 3, 2020

I was able to get past step 10 with this combination:
username: kermit
password: changeme

I guess we can update the steps in the README so others wouldn't run into the same issue?

Thanks a lot @dolfinus!

@loumarven
Copy link
Author

A quick grep of "BPM_PASSWORD" shows that its value is not used(?).

If ADMIN_PASSWORD is not set in .env, the admin password defaults to changeme

@dolfinus
Copy link
Contributor

dolfinus commented Mar 3, 2020

You are searching in wrong repo. Camunda is located here: https://github.com/latera/camunda-ext

@dolfinus
Copy link
Contributor

We'll update installation manual here: #443

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

2 participants