# Ozone docker installation directory not found error

**URL:** <https://talk.openmrs.org/t/ozone-docker-installation-directory-not-found-error/42072>\
**Category:** Ozone HIS\
**Created:** [March 16, 2024, 12:41pm UTC](https://talk.openmrs.org/t/ozone-docker-installation-directory-not-found-error/42072 "2024-03-16T12:41:00Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![aseembhube](https://talk.openmrs.org/letter_avatar/aseembhube/32/6_449c533f586939b6e5f246632a46421f.png) [@aseembhube](https://talk.openmrs.org/u/aseembhube)\
**Post date:** [March 16, 2024, 12:41pm UTC](https://talk.openmrs.org/t/ozone-docker-installation-directory-not-found-error/42072/1 "2024-03-16T12:41:00Z")

</div>

2024-03-16- Hello Ozone HIS Team , I have been trying to install ozone docker github repository on my system. The build was successful but I’m facing error to pull some containers from OpenMRS and Superset which is showing OCI runtime error create failed and which is unable to start container process and also the path /etc/superset/superset-init.sh which is unknown or no such file directory exist. I’m attatching the error screenshot and request you to provide me solution for the same.Thank you.

 ![Screenshot](https://talk.openmrs.org/uploads/default/original/3X/1/b/1b60bc11376f210f83554ef990c6e16138e481be.png)

---

<div class="post-metadata">

**Author:** ![achachiez](https://talk.openmrs.org/user_avatar/talk.openmrs.org/achachiez/32/2049_2.png) [@achachiez](https://talk.openmrs.org/u/achachiez)\
**Post date:** [March 18, 2024, 5:43am UTC](https://talk.openmrs.org/t/ozone-docker-installation-directory-not-found-error/42072/2 "2024-03-18T05:43:41Z")

</div>

Hello @aseembhube welcome to the community. Are you following the quickstart instructions [here](https://docs.ozone-his.com/)?

---

<div class="post-metadata">

**Author:** ![aseembhube](https://talk.openmrs.org/letter_avatar/aseembhube/32/6_449c533f586939b6e5f246632a46421f.png) [@aseembhube](https://talk.openmrs.org/u/aseembhube)\
**Post date:** [March 18, 2024, 6:07am UTC](https://talk.openmrs.org/t/ozone-docker-installation-directory-not-found-error/42072/3 "2024-03-18T06:07:50Z")

</div>

Hello @achachiez thanks for your reply. Yes, I followed the quickstart steps.

---

<div class="post-metadata">

**Author:** ![achachiez](https://talk.openmrs.org/user_avatar/talk.openmrs.org/achachiez/32/2049_2.png) [@achachiez](https://talk.openmrs.org/u/achachiez)\
**Post date:** [March 18, 2024, 4:03pm UTC](https://talk.openmrs.org/t/ozone-docker-installation-directory-not-found-error/42072/4 "2024-03-18T16:03:29Z")

</div>

Thanks let me try to replicate the issue and get back to you.

---

<div class="post-metadata">

**Author:** ![achachiez](https://talk.openmrs.org/user_avatar/talk.openmrs.org/achachiez/32/2049_2.png) [@achachiez](https://talk.openmrs.org/u/achachiez)\
**Post date:** [March 19, 2024, 7:55am UTC](https://talk.openmrs.org/t/ozone-docker-installation-directory-not-found-error/42072/5 "2024-03-19T07:55:06Z")

</div>

@aseembhube, please share the logs when you run

`curl -s https://raw.githubusercontent.com/ozone-his/ozone/main/scripts/install-latest.sh | bash /dev/stdin`

Also, it’s always helpful to share details of your environment like

- Operating System
- Docker version etc.

---

<div class="post-metadata">

**Author:** ![aseembhube](https://talk.openmrs.org/letter_avatar/aseembhube/32/6_449c533f586939b6e5f246632a46421f.png) [@aseembhube](https://talk.openmrs.org/u/aseembhube)\
**Post date:** [March 19, 2024, 11:43am UTC](https://talk.openmrs.org/t/ozone-docker-installation-directory-not-found-error/42072/6 "2024-03-19T11:43:51Z")

</div>

@achachiez I’m sharing the screenshot of logs after running `curl -s https://raw.githubusercontent.com/ozone-his/ozone/main/scripts/install-latest.sh | bash /dev/stdin` on my system.

Operating System : Linux Ubuntu 22.04.4 LTS Docker Version : 25.0.3

 ![Screenshot 2024-03-19 161444](https://talk.openmrs.org/uploads/default/original/3X/6/3/6330abcb4e89139b243fd03ae4f7d6035441092d.png)

---

<div class="post-metadata">

**Author:** ![aseembhube](https://talk.openmrs.org/letter_avatar/aseembhube/32/6_449c533f586939b6e5f246632a46421f.png) [@aseembhube](https://talk.openmrs.org/u/aseembhube)\
**Post date:** [March 19, 2024, 11:49am UTC](https://talk.openmrs.org/t/ozone-docker-installation-directory-not-found-error/42072/7 "2024-03-19T11:49:29Z")

</div>

After 1st command when I’m running the next command `./start-demo.sh` it is showing the error

> `dependency failed to start: container ozone-openmrs-1 is unhealthy.`

Please provide the solution for the same.

 ![Screenshot 3-19-2024](https://talk.openmrs.org/uploads/default/original/3X/e/4/e435aaeea9a2ff9d1f97bbc65b016a984aefb0e0.png)

---

<div class="post-metadata">

**Author:** ![ruhanga](https://talk.openmrs.org/user_avatar/talk.openmrs.org/ruhanga/32/8318_2.png) [@ruhanga](https://talk.openmrs.org/u/ruhanga)\
**Post date:** [March 21, 2024, 7:40am UTC](https://talk.openmrs.org/t/ozone-docker-installation-directory-not-found-error/42072/8 "2024-03-21T07:40:54Z")

</div>

If you are re-using a Gitpod workspace with Ozone or you need to restart the same instance on the workspace, you have to first run `./destroy-demo.sh` before you run `./start-demo.sh`.

Some references here for you: [Create Your Own Distribution - Docs](https://docs.ozone-his.com/create-distro/#available-commands)

---

<div class="post-metadata">

**Author:** ![aseembhube](https://talk.openmrs.org/letter_avatar/aseembhube/32/6_449c533f586939b6e5f246632a46421f.png) [@aseembhube](https://talk.openmrs.org/u/aseembhube)\
**Post date:** [March 22, 2024, 5:43am UTC](https://talk.openmrs.org/t/ozone-docker-installation-directory-not-found-error/42072/9 "2024-03-22T05:43:38Z")

</div>

Hello @ruhanga thank for your reply. After running ./destroy-demo.sh I was able to restart the service and was able to load all the containers into the docker. But now I’m not able to start URLs. Please provide the solution for same.

 ![Screenshot 2024-03-22 110739](https://talk.openmrs.org/uploads/default/original/3X/b/1/b145841503b0d7aa038d15f3b59cda08a5bd4831.png)

---

<div class="post-metadata">

**Author:** ![aseembhube](https://talk.openmrs.org/letter_avatar/aseembhube/32/6_449c533f586939b6e5f246632a46421f.png) [@aseembhube](https://talk.openmrs.org/u/aseembhube)\
**Post date:** [March 22, 2024, 5:52am UTC](https://talk.openmrs.org/t/ozone-docker-installation-directory-not-found-error/42072/10 "2024-03-22T05:52:18Z")

</div>

![image](https://talk.openmrs.org/uploads/default/original/3X/f/9/f903fa03026a76320a2a2aa8d5faa5a693877ef7.png)

---

<div class="post-metadata">

**Author:** ![mksd](https://talk.openmrs.org/user_avatar/talk.openmrs.org/mksd/32/11729_2.png) [@mksd](https://talk.openmrs.org/u/mksd)\
**Post date:** [March 22, 2024, 6:19am UTC](https://talk.openmrs.org/t/ozone-docker-installation-directory-not-found-error/42072/11 "2024-03-22T06:19:34Z")

</div>

@mksrom / @ruhanga looks like `$O3_HOSTNAME`, unlike the others, isn’t specifying its port?

* * *

**Drifting off topic:**

@mksrom I didn’t know about [ozone-urls-template.csv](https://github.com/ozone-his/ozone-docker-compose/blob/c7a647f57437b3d860ff007d525b7db459cdc212/scripts/ozone-urls-template.csv) until now.

First of all the INFO message above is awesome 👍 Clearly popping up exactly when needed. But I’m wondering if instead of maintaining this CSV file we shouldn’t just point to the docs’ Quick Start?

Or probably better (and unavoidable anyway): we need to establish a docs checklist ticket for every release. I’ll set myself a reminder for that.

---

<div class="post-metadata">

**Author:** ![mksrom](https://talk.openmrs.org/user_avatar/talk.openmrs.org/mksrom/32/20221_2.png) [@mksrom](https://talk.openmrs.org/u/mksrom)\
**Post date:** [March 22, 2024, 9:28am UTC](https://talk.openmrs.org/t/ozone-docker-installation-directory-not-found-error/42072/12 "2024-03-22T09:28:29Z")

</div>

> [@mksd](#):
>
> @mksrom / @ruhanga looks like `$O3_HOSTNAME`, unlike the others, isn’t specifying its port?

What makes you think that @mksd ? The OpenMRS service is running on port 80, which needn’t to be specified.

@aseembhube , did you wait a bit for the services to start? Maybe 5 min. Are you able to access the OpenMRS 3 Legacy UI at [http://localhost/openmrs](http://localhost/openmrs)

I have encountered sometimes that the browser switches to `https://` by itself (we need to investigate this bug), which could explain why you can’t access the O3 UI.

Do the other components work? Odoo? SENAITE?

* * *

> [@mksd](#):
>
> if instead of maintaining this CSV file we shouldn’t just point to the docs’ Quick Start?

What’s convenient here is that this is dynamically parsed and only shows services that have been activated. It is indeed not ideal to maintain 2 versions of the URLs.

The first step of this quick start script to install Ozone will output the following message, which mentions the Ozone Docs already.

```txt
 Type in the following command to run Ozone:

    cd ozone/run/docker/scripts/
    ./start-demo.sh

(💡 Refer to https://docs.ozone-his.com/ for more information)

```

What we could do, though would have to be tried, is to pull this text from the Ozone Docs page itself. So that we don’t hardcode the paths, and maintain it only in one place.

---

<div class="post-metadata">

**Author:** ![mksrom](https://talk.openmrs.org/user_avatar/talk.openmrs.org/mksrom/32/20221_2.png) [@mksrom](https://talk.openmrs.org/u/mksrom)\
**Post date:** [March 22, 2024, 11:02am UTC](https://talk.openmrs.org/t/ozone-docker-installation-directory-not-found-error/42072/13 "2024-03-22T11:02:00Z")

</div>

> [@mksrom](#):
>
> I have encountered sometimes that the browser switches to `https://` by itself (we need to investigate this bug), which could explain why you can’t access the O3 UI.

@kdaud @achachiez is that something you have encountered as well? Could it be that the Nginx proxy has a configuration to rewrite/redirect to HTTPS?

---

<div class="post-metadata">

**Author:** ![kdaud](https://talk.openmrs.org/user_avatar/talk.openmrs.org/kdaud/32/13346_2.png) [@kdaud](https://talk.openmrs.org/u/kdaud)\
**Post date:** [March 22, 2024, 11:38am UTC](https://talk.openmrs.org/t/ozone-docker-installation-directory-not-found-error/42072/14 "2024-03-22T11:38:36Z")

</div>

> [@mksrom](#):
>
> I have encountered sometimes that the browser switches to `https://` by itself (we need to investigate this bug), which could explain why you can’t access the O3 UI.
> 
> is that something you have encountered as well?

I’ve ever encountered the issue on chrome and this [documentation](https://howchoo.com/webdev/stop-chrome-from-automatically-redirecting-https/) provides a workaround.

---

<div class="post-metadata">

**Author:** ![mksd](https://talk.openmrs.org/user_avatar/talk.openmrs.org/mksd/32/11729_2.png) [@mksd](https://talk.openmrs.org/u/mksd)\
**Post date:** [March 22, 2024, 12:41pm UTC](https://talk.openmrs.org/t/ozone-docker-installation-directory-not-found-error/42072/15 "2024-03-22T12:41:11Z")

</div>

> [@mksrom](#):
>
> What’s convenient here is that this is dynamically parsed and only shows services that have been activated. It is indeed not ideal to maintain 2 versions of the URLs.

Btw this information should live at the Ozone level no, not the Ozone Docker Compose level?

---

<div class="post-metadata">

**Author:** ![mksrom](https://talk.openmrs.org/user_avatar/talk.openmrs.org/mksrom/32/20221_2.png) [@mksrom](https://talk.openmrs.org/u/mksrom)\
**Post date:** [March 22, 2024, 12:56pm UTC](https://talk.openmrs.org/t/ozone-docker-installation-directory-not-found-error/42072/16 "2024-03-22T12:56:28Z")

</div>

> [@mksd](#):
>
> Btw this information should live at the Ozone level no, not the Ozone Docker Compose level?

I’m not sure. It is really tied to the deployment of Ozone, so Ozone Docker Compose. Having it at the Ozone level would be a bit weird when you look at the code. It is also related to the startup script itself, which lives there too…

---

<div class="post-metadata">

**Author:** ![aseembhube](https://talk.openmrs.org/letter_avatar/aseembhube/32/6_449c533f586939b6e5f246632a46421f.png) [@aseembhube](https://talk.openmrs.org/u/aseembhube)\
**Post date:** [March 22, 2024, 2:21pm UTC](https://talk.openmrs.org/t/ozone-docker-installation-directory-not-found-error/42072/17 "2024-03-22T14:21:24Z")

</div>

Hello @mksrom thanks for your reply. Waited for more than 5min but still was not able to start services. Even tried to access OpenMRS 3 Legacy UI at [http://localhost/openmrs](http://localhost/openmrs) by entering manually. Also tried URLs with http:// as well as https:// but could not access the O3 UI. Checked with other components even they are facing same issue not able to load.

 ![image](https://talk.openmrs.org/uploads/default/original/3X/f/a/fafcf0012d5148e8dea1a5d7efe8189e001b4f10.png)

---

<div class="post-metadata">

**Author:** ![aseembhube](https://talk.openmrs.org/letter_avatar/aseembhube/32/6_449c533f586939b6e5f246632a46421f.png) [@aseembhube](https://talk.openmrs.org/u/aseembhube)\
**Post date:** [March 27, 2024, 6:20am UTC](https://talk.openmrs.org/t/ozone-docker-installation-directory-not-found-error/42072/18 "2024-03-27T06:20:04Z")

</div>

Not able to start services and getting warning Found Orphan Containers. start.sh: line 84: .urls\_1.txt: Permission denied

 ![Screenshot 2024-03-27 114727](https://talk.openmrs.org/uploads/default/original/3X/b/d/bd7fad4866fec7e19316b999af59b40ccf525472.png)

---

<div class="post-metadata">

**Author:** ![mksrom](https://talk.openmrs.org/user_avatar/talk.openmrs.org/mksrom/32/20221_2.png) [@mksrom](https://talk.openmrs.org/u/mksrom)\
**Post date:** [March 27, 2024, 10:11am UTC](https://talk.openmrs.org/t/ozone-docker-installation-directory-not-found-error/42072/19 "2024-03-27T10:11:46Z")

</div>

@aseembhube , don’t worry about the orphan containers. That’s just a warning and will not cause any issue.

Regarding the `start.sh: line 84: .urls_1.txt: Permission denied` error, the script tries to create a file named **.urls\_1.txt** in the current folder.

> <https://github.com/ozone-his/ozone-docker-compose/blob/ddf0e1e8aace509d7667492fe546557dec535869/scripts/start.sh#L84>

Could it be that you don’t have write access to your current folder?

In any case, at this stage, Ozone should be started already. Those last lines in the script are meant to display in your terminal the URLs to access the services.

---

<div class="post-metadata">

**Author:** ![aseembhube](https://talk.openmrs.org/letter_avatar/aseembhube/32/6_449c533f586939b6e5f246632a46421f.png) [@aseembhube](https://talk.openmrs.org/u/aseembhube)\
**Post date:** [March 27, 2024, 10:51am UTC](https://talk.openmrs.org/t/ozone-docker-installation-directory-not-found-error/42072/20 "2024-03-27T10:51:27Z")

</div>

Thanks for your support. @mksrom @mksd @ruhanga @kdaud @achachiez services started.

 ![image](https://talk.openmrs.org/uploads/default/original/3X/e/6/e6904e8fb96cc63afeda779246854e4485ee9fb7.png)
