# Error starting OpenElis

**URL:** <https://talk.openelis-global.org/t/error-starting-openelis/1331>\
**Category:** Uncategorized\
**Created:** [March 14, 2025, 5:21am UTC](https://talk.openelis-global.org/t/error-starting-openelis/1331 "2025-03-14T05:21:47Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![DebbieLou](https://avatars.discourse-cdn.com/v4/letter/d/e36b37/32.png) [@DebbieLou](https://talk.openelis-global.org/u/DebbieLou)\
**Post date:** [March 14, 2025, 5:21am UTC](https://talk.openelis-global.org/t/error-starting-openelis/1331/1 "2025-03-14T05:21:47Z")

</div>

My name is Deborah & i’m new to OpenElis. I’ve encountered the error below while following these steps. I am running on Ubuntu 24.04 & i’m using Java 11  
cd OpenELIS-Global-2  
git submodule update --init --recursive  
cd dataexport  
mvn clean install -DskipTests  
Error: [https://pastebin.com/Yct87gYz](https://pastebin.com/Yct87gYz)

---

<div class="post-metadata">

**Author:** ![Moses\_Mutesasira](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.openelis-global.org/moses_mutesasira/32/72_2.png) [@Moses\_Mutesasira](https://talk.openelis-global.org/u/Moses_Mutesasira)\
**Post date:** [March 14, 2025, 6:45am UTC](https://talk.openelis-global.org/t/error-starting-openelis/1331/2 "2025-03-14T06:45:05Z")

</div>

Hello @DebbieLou ,  
The pastebin link is no longer accesible .

But currently you need to upgrade to Java 21 for development

---

<div class="post-metadata">

**Author:** ![DebbieLou](https://avatars.discourse-cdn.com/v4/letter/d/e36b37/32.png) [@DebbieLou](https://talk.openelis-global.org/u/DebbieLou)\
**Post date:** [March 14, 2025, 7:04am UTC](https://talk.openelis-global.org/t/error-starting-openelis/1331/3 "2025-03-14T07:04:28Z")

</div>

Hi Moses,

I guess let me uninstall java 8 coz I had both 8 & 21 then I try again.

Regards,  
Deborah

---

<div class="post-metadata">

**Author:** ![Moses\_Mutesasira](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.openelis-global.org/moses_mutesasira/32/72_2.png) [@Moses\_Mutesasira](https://talk.openelis-global.org/u/Moses_Mutesasira)\
**Post date:** [March 14, 2025, 7:14am UTC](https://talk.openelis-global.org/t/error-starting-openelis/1331/4 "2025-03-14T07:14:39Z")

</div>

You dont need to uninstall any . you can always have multiple java versions installed and only switch to whatever version you need to use , technically updating the `PATH` and `JAVA_HOME` variables

I think on ubuntu you just run `sudo update-alternatives --config java`

---

<div class="post-metadata">

**Author:** ![DebbieLou](https://avatars.discourse-cdn.com/v4/letter/d/e36b37/32.png) [@DebbieLou](https://talk.openelis-global.org/u/DebbieLou)\
**Post date:** [March 14, 2025, 7:32am UTC](https://talk.openelis-global.org/t/error-starting-openelis/1331/5 "2025-03-14T07:32:24Z")

</div>

Thanks for the guidance. i will update once i re-run the commands

---

<div class="post-metadata">

**Author:** ![DebbieLou](https://avatars.discourse-cdn.com/v4/letter/d/e36b37/32.png) [@DebbieLou](https://talk.openelis-global.org/u/DebbieLou)\
**Post date:** [March 14, 2025, 7:40am UTC](https://talk.openelis-global.org/t/error-starting-openelis/1331/6 "2025-03-14T07:40:29Z")

</div>

See the error when i try to run the steps. Did i not clone it right?  
debbie@debbie-HP-ZBook-14u-G5:~$ cd /home/debbie/OpenELIS-Global-2  
debbie@debbie-HP-ZBook-14u-G5:~/OpenELIS-Global-2$ git submodule update --init --recursive  
fatal: not a git repository (or any of the parent directories): .git  
debbie@debbie-HP-ZBook-14u-G5:~/OpenELIS-Global-2$ cd dataexport  
bash: cd: dataexport: No such file or directory

---

<div class="post-metadata">

**Author:** ![aditya](https://avatars.discourse-cdn.com/v4/letter/a/df705f/32.png) [@aditya](https://talk.openelis-global.org/u/aditya)\
**Post date:** [March 15, 2025, 7:25am UTC](https://talk.openelis-global.org/t/error-starting-openelis/1331/7 "2025-03-15T07:25:27Z")

</div>

Are u using a windows machine? If yes

Then you should have installed Git in your Pc first then Java 21 { and an extra step setup PATH }

after that only try to run the steps!

---

<div class="post-metadata">

**Author:** ![tasksolver](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.openelis-global.org/tasksolver/32/1067_2.png) [@tasksolver](https://talk.openelis-global.org/u/tasksolver)\
**Post date:** [March 15, 2025, 8:01pm UTC](https://talk.openelis-global.org/t/error-starting-openelis/1331/8 "2025-03-15T20:01:40Z")

</div>

please re-share the link and consider updrading to Java 21, the re-run and share the results

---

<div class="post-metadata">

**Author:** ![DebbieLou](https://avatars.discourse-cdn.com/v4/letter/d/e36b37/32.png) [@DebbieLou](https://talk.openelis-global.org/u/DebbieLou)\
**Post date:** [March 16, 2025, 5:43am UTC](https://talk.openelis-global.org/t/error-starting-openelis/1331/9 "2025-03-16T05:43:16Z")

</div>

I’m using Linux & java 21 however when i get to the step for maven clean & build, i get all these errors. Check out this paste bin. [https://pastebin.com/UMc5GGx1](https://pastebin.com/UMc5GGx1)

---

<div class="post-metadata">

**Author:** ![DebbieLou](https://avatars.discourse-cdn.com/v4/letter/d/e36b37/32.png) [@DebbieLou](https://talk.openelis-global.org/u/DebbieLou)\
**Post date:** [March 16, 2025, 6:23am UTC](https://talk.openelis-global.org/t/error-starting-openelis/1331/10 "2025-03-16T06:23:14Z")

</div>

Please ignore. I’ve reviewed the errors & they were about version conflict. I’ve made java 21 my default & I’ve successfully run through the set up.

---

<div class="post-metadata">

**Author:** ![tasksolver](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.openelis-global.org/tasksolver/32/1067_2.png) [@tasksolver](https://talk.openelis-global.org/u/tasksolver)\
**Post date:** [March 16, 2025, 8:44am UTC](https://talk.openelis-global.org/t/error-starting-openelis/1331/11 "2025-03-16T08:44:19Z")

</div>

Bingo …!!, you are good to go now

---

<div class="post-metadata">

**Author:** ![DebbieLou](https://avatars.discourse-cdn.com/v4/letter/d/e36b37/32.png) [@DebbieLou](https://talk.openelis-global.org/u/DebbieLou)\
**Post date:** [March 16, 2025, 9:25am UTC](https://talk.openelis-global.org/t/error-starting-openelis/1331/12 "2025-03-16T09:25:17Z")

</div>

No, I’m not good yet. i got excited early but I couldn’t complete stage 5, with the error below. It seems i dont have the necessary permissions  
debbie@debbie-HP-ZBook-14u-G5:~/git\_projects/OpenELIS-Global-2$ docker-compose -f dev.docker-compose.yml up -d  
WARN[0000] /home/debbie/git\_projects/OpenELIS-Global-2/dev.docker-compose.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion  
[+] Running 4/4  
✔ Container openelisglobal-proxy Stopped 0.0s  
✘ Container openelisglobal-webapp Error while Stopping 14.1s  
✔ Container d3f01bd69b9b\_openelisglobal-webapp Stopped 0.0s  
✘ Container external-fhir-api Error while Stopping 14.1s  
Error response from daemon: cannot stop container: cc6576e7eaf7baadb445f69af971823c7aa54f6cbb87126fd9215321d90cfeed: permission denied

---

<div class="post-metadata">

**Author:** ![tasksolver](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.openelis-global.org/tasksolver/32/1067_2.png) [@tasksolver](https://talk.openelis-global.org/u/tasksolver)\
**Post date:** [March 16, 2025, 10:44am UTC](https://talk.openelis-global.org/t/error-starting-openelis/1331/13 "2025-03-16T10:44:58Z")

</div>

try running `sudo docker-compose -f dev.docker-compose.yml up -d`

---

<div class="post-metadata">

**Author:** ![Mohammad\_Kamal](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.openelis-global.org/mohammad_kamal/32/768_2.png) [@Mohammad\_Kamal](https://talk.openelis-global.org/u/Mohammad_Kamal)\
**Post date:** [March 18, 2025, 9:56am UTC](https://talk.openelis-global.org/t/error-starting-openelis/1331/14 "2025-03-18T09:56:19Z")

</div>

Can you send the logs of this command  
mvn clean install -DskipTests
