# Devkinsta cant start due to NGINX Container not running

**URL:** <https://community.kinsta.com/t/devkinsta-cant-start-due-to-nginx-container-not-running/1641>\
**Category:** Bug Reports\
**Created:** [July 26, 2022, 2:34pm UTC](https://community.kinsta.com/t/devkinsta-cant-start-due-to-nginx-container-not-running/1641 "2022-07-26T14:34:21Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mikyboy](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/mikyboy/32/1603_2.png) [@Mikyboy](https://community.kinsta.com/u/Mikyboy)\
**Post date:** [July 26, 2022, 2:34pm UTC](https://community.kinsta.com/t/devkinsta-cant-start-due-to-nginx-container-not-running/1641/1 "2022-07-26T14:34:21Z")

</div>

Trying to start DevKinsta which was running fine so long. But it brought up error DK0005. I did the restart of Docker didn’t work. I also deleted the containers and restarted with terminal command; docker volume prune etc. from the other bug report I found. Even if Devkinsta then rebuilds the containers, the NGINX container will stop running and keep in mode “Restarting” but never doing so.

I am running it on MacOS 12.4  
Devkinsta Version 2.7.0 (2.7.0.4846)  
Docker 4.10.1 (82475)

Find a screen of Docker statuses. NGINX log as DM no probs. Thanks for your help!

 ![Bildschirmfoto 2022-07-26 um 16.25.47](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/0/0b5010651280da3d6ff406ed3c76b1b5cf8f9b8e.png)

---

<div class="post-metadata">

**Author:** ![Kevin](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/kevin/32/808_2.png) [@Kevin](https://community.kinsta.com/u/Kevin)\
**Post date:** [July 26, 2022, 4:09pm UTC](https://community.kinsta.com/t/devkinsta-cant-start-due-to-nginx-container-not-running/1641/2 "2022-07-26T16:09:28Z")

</div>

Hi @Mikyboy, thanks for reaching out. Can you use this command in your terminal and share the error/output?

```auto
docker logs -f devkinsta_nginx

```

Does it look anything like what we encountered [here](https://community.kinsta.com/t/non-saying-error/1603/18)?

---

<div class="post-metadata">

**Author:** ![Mikyboy](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/mikyboy/32/1603_2.png) [@Mikyboy](https://community.kinsta.com/u/Mikyboy)\
**Post date:** [July 26, 2022, 4:37pm UTC](https://community.kinsta.com/t/devkinsta-cant-start-due-to-nginx-container-not-running/1641/3 "2022-07-26T16:37:27Z")

</div>

Yes it does, i also saw the SSL error in there. I have created the Certificate through the terminal commands there. Deleted Nginx in Docker. Restarted Docer, restarted Devkinsta, same issue still.

---

<div class="post-metadata">

**Author:** ![Kevin](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/kevin/32/808_2.png) [@Kevin](https://community.kinsta.com/u/Kevin)\
**Post date:** [July 26, 2022, 6:02pm UTC](https://community.kinsta.com/t/devkinsta-cant-start-due-to-nginx-container-not-running/1641/4 "2022-07-26T18:02:13Z")

</div>

Can you please share what the container log says? Is it saying that the exact certificate that you created is not there?

---

<div class="post-metadata">

**Author:** ![Mikyboy](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/mikyboy/32/1603_2.png) [@Mikyboy](https://community.kinsta.com/u/Mikyboy)\
**Post date:** [July 26, 2022, 6:42pm UTC](https://community.kinsta.com/t/devkinsta-cant-start-due-to-nginx-container-not-running/1641/6 "2022-07-26T18:42:38Z")

</div>

Hold on no its missing the space44-1.local.crt… let me try something.

---

<div class="post-metadata">

**Author:** ![Mikyboy](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/mikyboy/32/1603_2.png) [@Mikyboy](https://community.kinsta.com/u/Mikyboy)\
**Post date:** [July 26, 2022, 7:19pm UTC](https://community.kinsta.com/t/devkinsta-cant-start-due-to-nginx-container-not-running/1641/7 "2022-07-26T19:19:19Z")

</div>

OK i have deleted inappropriate certificates. Created the space44-1 version. But as there is also a space44 project it now mentioned in the log the space44 certificate is missing. So I tried to create that one. But for some reason now the command lines don’t make it happen anymore.

---

<div class="post-metadata">

**Author:** ![Mikyboy](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/mikyboy/32/1603_2.png) [@Mikyboy](https://community.kinsta.com/u/Mikyboy)\
**Post date:** [July 26, 2022, 7:33pm UTC](https://community.kinsta.com/t/devkinsta-cant-start-due-to-nginx-container-not-running/1641/8 "2022-07-26T19:33:30Z")

</div>

OK i did a blunt approach. I have now just duplicated the existing key and crt file and renamed them to the missing ones. It worked! nginx immediately started once name was updated.

OK the database was corrupted but no probs, I just pulled a new version from the server, luckily it was all on staging already.

Thanks for your help though you brought me on the right track here @Kevin !

---

<div class="post-metadata">

**Author:** ![Mikyboy](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/mikyboy/32/1603_2.png) [@Mikyboy](https://community.kinsta.com/u/Mikyboy)\
**Post date:** [July 26, 2022, 7:39pm UTC](https://community.kinsta.com/t/devkinsta-cant-start-due-to-nginx-container-not-running/1641/9 "2022-07-26T19:39:22Z")

</div>

Oh no next error comes up now:

Failed to import database dump.

---

<div class="post-metadata">

**Author:** ![Kevin](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/kevin/32/808_2.png) [@Kevin](https://community.kinsta.com/u/Kevin)\
**Post date:** [July 26, 2022, 8:09pm UTC](https://community.kinsta.com/t/devkinsta-cant-start-due-to-nginx-container-not-running/1641/10 "2022-07-26T20:09:55Z")

</div>

Hmm can you look into your main.log to see what the exact error is? Is it an SQL error? Maybe something SSH related?

---

<div class="post-metadata">

**Author:** ![Mikyboy](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/mikyboy/32/1603_2.png) [@Mikyboy](https://community.kinsta.com/u/Mikyboy)\
**Post date:** [July 26, 2022, 8:13pm UTC](https://community.kinsta.com/t/devkinsta-cant-start-due-to-nginx-container-not-running/1641/11 "2022-07-26T20:13:11Z")

</div>

I deleted the complete DevKinsta installation as the pages are all live. So wasn’t an issue to pull them again to local. Its fixed now the hard way but worked 🙂

Thanks again!
