Error starting OpenElis

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

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

But currently you need to upgrade to Java 21 for development

Hi Moses,

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

Regards,
Deborah

1 Like

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

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

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

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!

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

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

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.

1 Like

Bingo …!!, you are good to go now

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
:check_mark: Container openelisglobal-proxy Stopped 0.0s
✘ Container openelisglobal-webapp Error while Stopping 14.1s
:check_mark: 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

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

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