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:
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:
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:
# 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?