Stream: containers

Topic: eval timeout


view this post on Zulip mjlassila (Apr 29 2024 at 11:26):

I'm trying to figure out what could be wrong when I try to spin up an evaluation instance using instructions in Dataverse container setup. Somehow the docker compose up does not make progress past getting Payara up and running, so when I go to localhost:8080, I get the "Hello from Payara - your server is now running" page and nothing else. I increased the bootstrap timeout value to 20 minutes, but it did not help.

view this post on Zulip Philip Durbin ๐Ÿš€ (Apr 29 2024 at 11:57):

@mjlassila hmm, could you please post output from the "dataverse" container? It sounds like the war file wasn't properly deployed.

view this post on Zulip Philip Durbin ๐Ÿš€ (Apr 29 2024 at 13:48):

I believe the container is called "dataverse" (if not, you can check with docker ps). So docker logs dataverse should show the output.

view this post on Zulip mjlassila (Apr 30 2024 at 11:48):

Here's the output I got by redirecting docker logs dataverse to the file docker-dataverse.log. Additionally there's some likely relevant output displayed in terminal when I run docker compose up:

dataverse         |
dataverse exited with code 0
dataverse         | /opt/payara/scripts/entrypoint.sh: line 15: /opt/payara/config/pre-boot-commands.asadmin: Permission denied
dataverse         | /opt/payara/scripts/entrypoint.sh: line 17: /opt/payara/config/post-boot-commands.asadmin: Permission denied
dataverse         | [Entrypoint] running /opt/payara/scripts/init_1_generate_deploy_commands.sh
dataverse         | post boot commands already deploys /opt/payara/deployments/dataverse
dataverse         |
dataverse         | [Entrypoint] running /opt/payara/scripts/init_1_generate_devmode_commands.sh

view this post on Zulip Philip Durbin ๐Ÿš€ (Apr 30 2024 at 12:02):

Permission denied. Hmm

view this post on Zulip Philip Durbin ๐Ÿš€ (Apr 30 2024 at 12:04):

Are you on Windows? If so, did you clone the repo from a Linux terminal?

view this post on Zulip mjlassila (Apr 30 2024 at 14:13):

I'm running MacOS 14.4

view this post on Zulip Philip Durbin ๐Ÿš€ (Apr 30 2024 at 14:20):

Huh, I'm on MacOS too

view this post on Zulip Philip Durbin ๐Ÿš€ (Apr 30 2024 at 14:22):

Do you happen to have Java and Maven installed? If so, you could try this developer-oriented version: https://guides.dataverse.org/en/6.2/developers/dev-environment.html#quickstart

view this post on Zulip Philip Durbin ๐Ÿš€ (Apr 30 2024 at 14:22):

I'm not sure why you're getting that permission error.

view this post on Zulip Philip Durbin ๐Ÿš€ (May 02 2024 at 14:28):

@mjlassila we just talked about this during (#containers > weekly meeting ) but no one had any ideas off hand. Any progress?

view this post on Zulip mjlassila (May 03 2024 at 11:41):

I finally managed to get this working using docker compose by tweaking my Docker setup. I'm using colima as my Docker runtime and the latest version was using vz for virtualization in M3 Macs, instead of better supported QEMU and 9p for filesystem mounts.

view this post on Zulip mjlassila (May 03 2024 at 11:41):

When I got Dataverse up, the final hurdle was to get Solr to initialize. From the log I saw error that schema.xml was not found in /var/solr/data/collection1 in the solr container. When I copied schema.xml to the [directory-with-docker-compose]/data/solr/data/data/collection1 I got Solr up and running.

view this post on Zulip Philip Durbin ๐Ÿš€ (May 03 2024 at 11:47):

Interesting. Should we add any of this to our documentation? Would you want to make a pull request?

I'm glad you got it working! :tada:


Last updated: Oct 30 2025 at 05:14 UTC