# Production installation - api-gateway not started, deployments restarting regularly

**URL:** <https://hub.mender.io/t/production-installation-api-gateway-not-started-deployments-restarting-regularly/1096>\
**Category:** General Discussions\
**Created:** [October 3, 2019, 5:19am UTC](https://hub.mender.io/t/production-installation-api-gateway-not-started-deployments-restarting-regularly/1096 "2019-10-03T05:19:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jkumar.ooty](https://avatars.discourse-cdn.com/v4/letter/j/ac91a4/32.png) [@jkumar.ooty](https://hub.mender.io/u/jkumar.ooty)\
**Post date:** [October 3, 2019, 5:19am UTC](https://hub.mender.io/t/production-installation-api-gateway-not-started-deployments-restarting-regularly/1096/1 "2019-10-03T05:19:37Z")

</div>

I have taken the latest docker compose, find the details below

**Dockers**

The following is created and not started

- mendersoftware/api-gateway:2.0.0

The following is created and restarting regularly

- mendersoftware/deployments:1.7.0
- redis:5-alpine3.8

Below is the error in the container of “mendersoftware/deployments:1.7.0”

WARNING: ca-certificates.crt does not contain exactly one certificate or CRL: skipping  
time=“2019-09-18T06:39:21Z” level=info msg=“Deployments Service, version unknown starting up”  
time=“2019-09-18T06:39:21Z” level=info msg=“automigrate is ON, will apply migrations” file=migrations.go func=migrations.Migrate line=48  
time=“2019-09-18T06:39:21Z” level=info msg=“migrating deployment\_service” file=migrations.go func=migrations.MigrateSingle line=70  
time=“2019-09-18T06:39:21Z” level=info msg=“migration to version 1.2.1 skipped” db=deployment\_service file=migrator\_simple.go func=“migrate.(\*SimpleMigrator).Apply” line=125  
time=“2019-09-18T06:39:21Z” level=info msg=“DB migrated to version 1.2.1” db=deployment\_service file=migrator\_simple.go func=“migrate.(\*SimpleMigrator).Apply” line=140  
NoCredentialProviders: no valid providers in chain. Deprecated.  
For verbose messaging see aws.Config.CredentialsChainVerboseErrors

---

<div class="post-metadata">

**Author:** ![kacf](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/kacf/32/146_2.png) [@kacf](https://hub.mender.io/u/kacf)\
**Post date:** [October 4, 2019, 7:10am UTC](https://hub.mender.io/t/production-installation-api-gateway-not-started-deployments-restarting-regularly/1096/2 "2019-10-04T07:10:10Z")

</div>

I cannot reproduce this. Can you tell us a bit more about your setup?  
Did you upgrade from a previous version?

---

<div class="post-metadata">

**Author:** ![jkumar.ooty](https://avatars.discourse-cdn.com/v4/letter/j/ac91a4/32.png) [@jkumar.ooty](https://hub.mender.io/u/jkumar.ooty)\
**Post date:** [October 4, 2019, 9:59am UTC](https://hub.mender.io/t/production-installation-api-gateway-not-started-deployments-restarting-regularly/1096/3 "2019-10-04T09:59:11Z")

</div>

I have just followed the document given in the link below

[https://docs.mender.io/2.0/administration/production-installation](https://docs.mender.io/2.0/administration/production-installation)

I am are not using any AWS environment.  
I am using an on premise server.  
I have tried with the following OS and docker version

- RHL 7 (docker 18.06.3-ce)
- local laptop (docker 2.1.03)

---

<div class="post-metadata">

**Author:** ![jkumar.ooty](https://avatars.discourse-cdn.com/v4/letter/j/ac91a4/32.png) [@jkumar.ooty](https://hub.mender.io/u/jkumar.ooty)\
**Post date:** [October 17, 2019, 5:36am UTC](https://hub.mender.io/t/production-installation-api-gateway-not-started-deployments-restarting-regularly/1096/5 "2019-10-17T05:36:48Z")

</div>

I have just followed the document given in the link below

[https://docs.mender.io/2.0/administration/production-installation](https://docs.mender.io/2.0/administration/production-installation)

I am are not using any AWS environment.  
I am using an on premise server.  
I have tried with the following OS and docker version

- RHL 7 (docker 18.06.3-ce)
- local laptop (docker 2.1.03)

---

<div class="post-metadata">

**Author:** ![kacf](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/kacf/32/146_2.png) [@kacf](https://hub.mender.io/u/kacf)\
**Post date:** [October 17, 2019, 7:10am UTC](https://hub.mender.io/t/production-installation-api-gateway-not-started-deployments-restarting-regularly/1096/6 "2019-10-17T07:10:17Z")

</div>

I honestly don’t know why it doesn’t work for you. Do you have a chance to try with the [recommended setup](https://docs.mender.io/2.2/administration/production-installation#prerequisites), using Ubuntu?
