Mender deployments migration error

With virgin installation via docker-compose of 3.2.1, at startup get following error from mender-deployments and continuous restarts.
WARNING: ca-certificates.crt does not contain exactly one certificate or CRL: skipping
WARNING: docker.mender.io.crt does not contain exactly one certificate or CRL: skipping
time=“2022-03-21T16:41:58Z” level=info msg="‘presign.secret’ not configured. Generating a random secret." file=main.go func=main.doMain.func1 line=99
time=“2022-03-21T16:41:58Z” level=info msg=“Deployments Service starting up” file=main.go func=main.cmdServer line=138
time=“2022-03-21T16:41:58Z” level=info msg=“automigrate is ON, will apply migrations” file=migrations.go func=mongo.Migrate line=48
time=“2022-03-21T16:41:58Z” level=info msg=“migrating deployment_service” file=migrations.go func=mongo.MigrateSingle line=70
time=“2022-03-21T16:41:58Z” 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-03-21T16:41:58Z” 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-03-21T16:41:58Z” 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-03-21T16:41:58Z” 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-03-21T16:41:58Z” 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-03-21T16:41:58Z” level=info msg=“migration to version 1.2.6 skipped” db=deployment_service file=migrator_simple.go func=“migrate.(*SimpleMigrator).Apply” line=125
time=“2022-03-21T16:41:58Z” level=info msg=“migration to version 1.2.7 skipped” db=deployment_service file=migrator_simple.go func=“migrate.(*SimpleMigrator).Apply” line=125
time=“2022-03-21T16:41:58Z” level=info msg=“DB migrated to version 1.2.7” db=deployment_service file=migrator_simple.go func=“migrate.(*SimpleMigrator).Apply” line=140
InternalServerError: Internal Server Error
status code: 500, request id: , host id:

Good Day!

I’m getting the extact same problem with v3.2.1. The deployments services keeps restarting. Any news on how to fix this?

Thank you for your time.

Update: Chaning the version of 3.2.1 to 3.2.x for mender-deployments in the docker-compose.yml has fixed the issue for me.

# mender-deployments
#
mender-deployments:
    image: mendersoftware/deployments:mender-3.2.x

@mflynn56 Hi, I hope I’m not too late, and I apologize for the late reply.
The issue you’re having seems to be related to an internal server error returned from the Minio service (I know, the logs are not very obvious in this case).
Could you please check if the Minio service is healthy and responding correctly?

Hi @kevin.gardthausen_dh

Glad that it worked out for you. But I think the issue is not related to the deployments service - in fact, there should be no difference between the 3.2.1 and 3.2.x image in this case.
Please see my last comment.

Good Day!

I had another Mender installation where my fix did not work but when I changed the storage URL to match the Mender URL it started up fine.