Hi Oliver,
Thanks for your reply and for letting me know that it works for you. The testing I did, not as a solution but as a way to figure out what was happening was the following:
1) I clone the repo and run
mvn -Pct docker:run
2) All the containers initialize, and the configbaker-1 shows as active, at this point the container is just waiting for a response from dataverse:8080/api/info/version, after a few seconds the service starts, and this is the response:
{
"status": "OK",
"data": {
"version": "5.14",
"build": null
}
}
3)The container then proceeds to execute the /scripts/bootstrap/dev/init.sh. and shows the first Permission error, this is the full console from the container:
2023-09-11 09:54:53 Waiting for http://dataverse:8080 to become ready in max 2m.
2023-09-11 09:54:53 Now executing bootstrapping script at /scripts/bootstrap/dev/init.sh.
2023-09-11 09:54:53 Running base setup-all.sh (INSECURE MODE)...
2023-09-11 09:54:53 2023-09-11T13:54:53Z INF [HTTP] Checking the http://dataverse:8080/api/info/version ...
2023-09-11 09:54:53 /scripts/bootstrap/dev/init.sh: line 10: /scripts/bootstrap/base/setup-all.sh: Permission denied
4) At this point is where I go to the docker console and modify /scripts/bootstrap/dev/init.sh by adding "chmod a+x "${BOOTSTRAP_DIR}"/base/setup-all.sh", after I restart the server, and the outputs changes:
2023-09-11 10:03:41 Waiting for http://dataverse:8080 to become ready in max 2m.
2023-09-11 10:03:41 Now executing bootstrapping script at /scripts/bootstrap/dev/init.sh.
2023-09-11 10:03:41 2023-09-11T14:03:41Z INF [HTTP] Checking the http://dataverse:8080/api/info/version ...
2023-09-11 10:03:41 /scripts/bootstrap.sh: line 59: /scripts/bootstrap/dev/init.sh: Permission denied
5) This time I used the same logic on /scripts/bootstrap.sh I add "chmod a+x exec "${BOOTSTRAP_DIR}/${PERSONA}/init.sh"", then save and restart the container, and this time the console shows this:
2023-09-11 10:06:43 [dumb-init] bootstrap.sh: Permission denied
At this point, I ran out of ideas, but I will try again and see if there is anything that I am missing or if I can find a solution.
___________________________
Edition Windows 10 Pro
Version 22H2
Installed on 8/21/2020
OS build 19045.3324
Experience Windows Feature Experience Pack 1000.19041.1000.0
___________________________
Docker version 24.0.5, build ced0996
___________________________
Could you please guide me through B and C? I am not sure the information I provided might give you an insight into these but just to be sure.
- B) Can you verify that the scripts have the executable bit set inside the container?
- C) Can you verify that the container is running as root? (It shouldn't matter, but lets see if there might be a problem)
I joined the Zulip! Thank you so much.