# Docker build failing

**URL:** <https://forum.getodk.org/t/docker-build-failing/43988>\
**Category:** Support\
**Tags:** odk-central\
**Created:** [November 25, 2023, 2:55pm UTC](https://forum.getodk.org/t/docker-build-failing/43988 "2023-11-25T14:55:24Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Raj\_Pravat](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/raj_pravat/32/15777_2.png) [@Raj\_Pravat](https://forum.getodk.org/u/Raj_Pravat)\
**Post date:** [November 25, 2023, 2:55pm UTC](https://forum.getodk.org/t/docker-build-failing/43988/1 "2023-11-25T14:55:24Z")

</div>

Hi @Ayub,

I am also struggling to install Central in Digital Ocean, which in earlier version was with no difficulties! Docker build does not work this time.

Regards,  
Raj

---

<div class="post-metadata">

**Author:** ![yanokwa](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/yanokwa/32/1695_2.png) [@yanokwa](https://forum.getodk.org/u/yanokwa)\
**Post date:** [November 25, 2023, 5:42pm UTC](https://forum.getodk.org/t/docker-build-failing/43988/2 "2023-11-25T17:42:45Z")

</div>

What is the exact error message you are seeing? What you tried so far to resolve the problem?

---

<div class="post-metadata">

**Author:** ![Ayub](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/ayub/32/17023_2.png) [@Ayub](https://forum.getodk.org/u/Ayub)\
**Post date:** [November 26, 2023, 6:54am UTC](https://forum.getodk.org/t/docker-build-failing/43988/3 "2023-11-26T06:54:37Z")

</div>

Hi Raj,

As Yaw suggested, can you please attach some screenshots where you're stuck or think is an error

---

<div class="post-metadata">

**Author:** ![Raj\_Pravat](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/raj_pravat/32/15777_2.png) [@Raj\_Pravat](https://forum.getodk.org/u/Raj_Pravat)\
**Post date:** [November 26, 2023, 3:43pm UTC](https://forum.getodk.org/t/docker-build-failing/43988/4 "2023-11-26T15:43:35Z")

</div>

Hi @yanokwa, @Ayub ,

Yes, please wait, I am trying again. Will let you know. Thanks.

Raj

---

<div class="post-metadata">

**Author:** ![Raj\_Pravat](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/raj_pravat/32/15777_2.png) [@Raj\_Pravat](https://forum.getodk.org/u/Raj_Pravat)\
**Post date:** [November 26, 2023, 3:59pm UTC](https://forum.getodk.org/t/docker-build-failing/43988/5 "2023-11-26T15:59:47Z")

</div>

Hi @yanokwa,

I am getting these screenshots in terminal. Previously, installation in Digital Ocean was straightforward, now struggling though followed the doc - [https://docs.getodk.org/central-install-digital-ocean/](https://docs.getodk.org/central-install-digital-ocean/)

Regards.

 ![Docker Compose](https://getodk.b-cdn.net/uploads/default/original/3X/a/1/a18f1272691d177d97a91b004f7d1aad85e11365.png)  
 ![starting message](https://getodk.b-cdn.net/uploads/default/original/3X/2/3/23221a7621a4ea28c8ff9012542ed0a9710ca321.png)  
 ![odk installation](https://getodk.b-cdn.net/uploads/default/original/3X/d/a/da7e24d7f6595d4bd155b31435286f04a9bd583b.png)

---

<div class="post-metadata">

**Author:** ![yanokwa](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/yanokwa/32/1695_2.png) [@yanokwa](https://forum.getodk.org/u/yanokwa)\
**Post date:** [November 26, 2023, 4:57pm UTC](https://forum.getodk.org/t/docker-build-failing/43988/6 "2023-11-26T16:57:03Z")

</div>

Everything you've showed so far shows that the build is complete.

When you say "Docker build does not work this time" what exactly do you mean? What exactly are you expecting and how do you know that the build is not working?

---

<div class="post-metadata">

**Author:** ![Raj\_Pravat](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/raj_pravat/32/15777_2.png) [@Raj\_Pravat](https://forum.getodk.org/u/Raj_Pravat)\
**Post date:** [November 27, 2023, 8:11am UTC](https://forum.getodk.org/t/docker-build-failing/43988/7 "2023-11-27T08:11:15Z")

</div>

Hi @yanokwa,

I used the phrase 'Docker build failing', maybe prematurely. Sorry for that. I tried the installation in digitalocean following those commands step by step, but the Central is not starting. I am wondering because my last projects' installation were so straightforward with the described commands. Why is 'docker compose ps' not producing desired screens; 'docker compose build' is not showing "Successfully built" type text after taking 15 minutes.

1. I set domain in digitalocean and linked that to odc-central droplet, after changing nameservers in domain registrar.
2. I was able to get into droplet console with root user and password that was set while making droplet.
3. I successfully edited nano .env and saved with my domain name ([abcdc.com](http://abcdc.com)) and email ([abcdefg@gmail.com](mailto:abcdefg@gmail.com))  
can you provide any suggestion?

Regards,  
Raj

---

<div class="post-metadata">

**Author:** ![Raj\_Pravat](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/raj_pravat/32/15777_2.png) [@Raj\_Pravat](https://forum.getodk.org/u/Raj_Pravat)\
**Post date:** [November 28, 2023, 11:04am UTC](https://forum.getodk.org/t/docker-build-failing/43988/8 "2023-11-28T11:04:35Z")

</div>

Hi @yanokwa,

I am getting this screen after hitting the domain name which I set in nano. Is there any problem, please suggest. I am finding little struggling this time than earlier, to install the ODK central.

Regards,  
Raj

 ![ODK central](https://getodk.b-cdn.net/uploads/default/original/3X/0/5/05ba7636de5a36e25f67467bc5ad16bdb15a8a14.png)

---

<div class="post-metadata">

**Author:** ![yanokwa](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/yanokwa/32/1695_2.png) [@yanokwa](https://forum.getodk.org/u/yanokwa)\
**Post date:** [November 28, 2023, 10:33pm UTC](https://forum.getodk.org/t/docker-build-failing/43988/9 "2023-11-28T22:33:35Z")

</div>

Read your nginx and service [container logs](https://docs.getodk.org/central-troubleshooting/#reading-container-logs). What do they say?
