# Demo installation issue: useradm/auth/login error 404

**URL:** https://hub.mender.io/t/demo-installation-issue-useradm-auth-login-error-404/4462
**Category:** General Discussions
**Created:** [January 11, 2022, 10:09am UTC](https://hub.mender.io/t/demo-installation-issue-useradm-auth-login-error-404/4462 "2022-01-11T10:09:40Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![tperrot](https://avatars.discourse-cdn.com/v4/letter/t/e19adc/32.png) [@tperrot](https://hub.mender.io/u/tperrot)
#### Post date: [January 11, 2022, 10:09am UTC](https://hub.mender.io/t/demo-installation-issue-useradm-auth-login-error-404/4462/1 "2022-01-11T10:09:40Z")

</div>

I’m trying to install a demo 2.7.2 without success for the moment, a little help would not be refused.

During the demo script execution the following error occurs:

```auto
Failed to get the 'JWT' token from the useradm service.
This is needed in order to upload the demo Artifact.
curl exit code: 22
Retrying in 5...
Retried 5 times without success. Giving up.

```

In addition, deployments:mender is restarted in loop:

```auto
WARNING: ca-certificates.crt does not contain exactly one certificate or CRL: skipping
time="2022-01-11T10:04:13Z" level=info msg="'presign.secret' not configured. Generating a random secret." file=main.go func=main.doMain.func1 line=99
time="2022-01-11T10:04:13Z" level=info msg="Deployments Service, version unknown starting up"
time="2022-01-11T10:04:13Z" level=info msg="automigrate is ON, will apply migrations" file=migrations.go func=mongo.Migrate line=48
time="2022-01-11T10:04:13Z" level=info msg="migrating deployment_service" file=migrations.go func=mongo.MigrateSingle line=70
time="2022-01-11T10:04:13Z" level=info msg="migration to version 1.2.1 skipped" db=deployment_service file=migrator_simple.go func="migrate.(*SimpleMigrator).Apply" line=125
time="2022-01-11T10:04:13Z" level=info msg="migration to version 1.2.2 skipped" db=deployment_service file=migrator_simple.go func="migrate.(*SimpleMigrator).Apply" line=125
time="2022-01-11T10:04:13Z" level=info msg="migration to version 1.2.3 skipped" db=deployment_service file=migrator_simple.go func="migrate.(*SimpleMigrator).Apply" line=125
time="2022-01-11T10:04:13Z" level=info msg="migration to version 1.2.4 skipped" db=deployment_service file=migrator_simple.go func="migrate.(*SimpleMigrator).Apply" line=125
time="2022-01-11T10:04:13Z" level=info msg="migration to version 1.2.5 skipped" db=deployment_service file=migrator_simple.go func="migrate.(*SimpleMigrator).Apply" line=125
time="2022-01-11T10:04:13Z" level=info msg="DB migrated to version 1.2.5" db=deployment_service file=migrator_simple.go func="migrate.(*SimpleMigrator).Apply" line=140
NotFound: Not Found
        status code: 404, request id: , host id: 

```

At first, I checked login has been well created, but I’m not able to use it:

```auto
      # Create a new user
      docker exec integration272_mender-useradm_1 /usr/bin/useradm create-user --username=mender-demo@example.com --password=ADE8120A2883
5938164a-efdd-46d6-84a9-edad6c9225c9
      # Try to login with the fresh user account
      curl -k -X POST -u mender-demo@example.com:ADE8120A2883 --fail --connect-timeout 5 https://localhost/api/management/v1/useradm/auth/login
      curl: (22) The requested URL returned error: 404

```

Do you have any idea to fix this issue?

---

<div class="post-metadata">

### Author: ![mzedel](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/mzedel/32/261_2.png) [@mzedel](https://hub.mender.io/u/mzedel)
#### Post date: [January 20, 2022, 7:02pm UTC](https://hub.mender.io/t/demo-installation-issue-useradm-auth-login-error-404/4462/2 "2022-01-20T19:02:40Z")

</div>

Heyho @tperrot,

based on the issue in the deployments service, can you check if `minio` starts up fine (and stays up)? And are you starting from scratch or are you intending to upgrade with existing data?

---

<div class="post-metadata">

### Author: ![tperrot](https://avatars.discourse-cdn.com/v4/letter/t/e19adc/32.png) [@tperrot](https://hub.mender.io/u/tperrot)
#### Post date: [January 22, 2022, 8:42am UTC](https://hub.mender.io/t/demo-installation-issue-useradm-auth-login-error-404/4462/3 "2022-01-22T08:42:00Z")

</div>

Hell @mzedel,

minion seems starts up fine, but the browser access doesn’t work:

```auto
c45a7fc3afc1 docker.io/minio/minio:RELEASE.2019-04-23T23-50-36Z server /export 3 minutes ago Up 3 minutes ago integration272_minio_1

 You are running an older version of MinIO released 2 years ago 
 Update: https://dl.min.io/server/minio/release/linux-amd64/minio 

Endpoint: http://10.89.0.2:9000 http://127.0.0.1:9000    

Browser Access:
   http://10.89.0.2:9000 http://127.0.0.1:9000    

Object API (Amazon S3 compatible):
   Go: https://docs.min.io/docs/golang-client-quickstart-guide
   Java: https://docs.min.io/docs/java-client-quickstart-guide
   Python: https://docs.min.io/docs/python-client-quickstart-guide
   JavaScript: https://docs.min.io/docs/javascript-client-quickstart-guide
   .NET: https://docs.min.io/docs/dotnet-client-quickstart-guide

```

I’m starting from scratch

---

<div class="post-metadata">

### Author: ![Vinicius](https://avatars.discourse-cdn.com/v4/letter/v/bcef8e/32.png) [@Vinicius](https://hub.mender.io/u/Vinicius)
#### Post date: [June 13, 2022, 1:19pm UTC](https://hub.mender.io/t/demo-installation-issue-useradm-auth-login-error-404/4462/4 "2022-06-13T13:19:23Z")

</div>

Estou tendo o mesmo problema, e não consigo achar nenhuma solução. Alguém tem alguma resposta? @tperrot @mzedel
