deploying dataverse.war failed

246 views
Skip to first unread message

Su Sa

unread,
Jan 12, 2024, 9:42:36 AM1/12/24
to Dataverse Users Community
Hello @all,

I set up everything and it works fine. But now I'm running into a failure and I cannot find any reason why. I hope anybody can help me.
I run the install.py and then it tries to deploying the application (dataverse.war) 
And then the error : 'No response from Domain Admin Server after 600 seconds.
The command is either taking too long to complete or the server has failed.
Please see the server log files for command status.
Command deploy failed.
Failed to deploy the application!'
I atteched the server.log file. I cannot find whats wrong.
When I look into the payara admin console I see the deployed dataverse war. But I canot open localhost:8080. What is wrong with my server.
Thanks a lot for looking on my problem. 

2024-01-12_14h06_34.png
server.log
2024-01-12_14h07_18.png

Philip Durbin

unread,
Jan 12, 2024, 10:14:30 AM1/12/24
to dataverse...@googlegroups.com
Thanks for the log. You're using Payara 6.2023.8 so I assume you're installing Dataverse 6.1.

It seems like the war file is being deployed but the subsequent setup is failing.

In addition to server.log there are additional files and output that are helpful to review. Can you please send these as well? The list is here: https://guides.dataverse.org/en/6.1/installation/intro.html#information-to-send-to-support-when-installation-fails

Thanks,

Phil

--
You received this message because you are subscribed to the Google Groups "Dataverse Users Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dataverse-commu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dataverse-community/9f7c192f-48ca-4265-bffc-74d7115907aan%40googlegroups.com.


--

Su Sa

unread,
Jan 12, 2024, 3:02:18 PM1/12/24
to dataverse...@googlegroups.com
Hi Phil, I would really like to do it but I cannot find the directory scripts/api.... would you be so kind and give me a hint, where I can find it. 

Philip Durbin

unread,
Jan 12, 2024, 3:11:14 PM1/12/24
to dataverse...@googlegroups.com
Hmm, for me they get saved in files like this:

./scripts/api/setup-all.25027.log
./scripts/api/setup-all.25689.log
./scripts/api/setup-all.26009.log

But I'm running install.py from the scripts/installer directory after cloning the dataverse repo from GitHub.

I assume your starting point is the dvinstall.zip downloaded from https://github.com/IQSS/dataverse/releases/tag/v6.1

I would expect the log files to show up in the root of the directory (dvinstall) but I'm not sure.

For me these files start with "Setup the metadata blocks" and end with "Setup done."

Su Sa

unread,
Jan 15, 2024, 8:21:54 AM1/15/24
to dataverse...@googlegroups.com
It gives me the willies. I searched the hole weekend for the fils but I cannot find them. I looked up everywhere. I installed everything as described in the instructions but there is no   /setup-all.*.log I only can find the setup-all.sh. Is in one of the files a hint where I can find the logs. Or are there any writing permission blogged, so that my system cannot write the log?
Below is the contents of the directory from which I start the installation. 
2024-01-15_08h45_26.png


Su Sa

unread,
Jan 16, 2024, 8:26:03 AM1/16/24
to Dataverse Users Community
ah, I got ist. Something went wrong while the deployment. Payara canceled the process after 600 seconds. But when I take a look into the admin console I can see, that he need 827 seconds. Maybe I should rise the time?
2024-01-16_11h29_03.png

Philip Durbin

unread,
Jan 16, 2024, 9:51:46 AM1/16/24
to dataverse...@googlegroups.com
Yes, allowing more time should help. Good catch.

I'm still not sure why you aren't seeing those setup logs. Hmm.

Su Sa

unread,
Jan 17, 2024, 8:17:05 AM1/17/24
to Dataverse Users Community
When I look into the install.py I can see, that the part where the logfiles where created came after the part from the doployment of the war. So I thought it cut the deployment because of some reason and then it break the installation. And so it do not create the log files. 
Do you have an idea what I could try? 

Philip Durbin

unread,
Jan 17, 2024, 2:34:40 PM1/17/24
to dataverse...@googlegroups.com
Hmm. First, I'm not sure why increasing the timeout is necessary. Is there anything particularly exotic or interesting about your hardware/software combination?

I was hoping that we could simply edit install.py to increase and existing timeout value but I don't see anything to edit:

print("Deploying the application ("+warfile+")")
returnCode = subprocess.call([asadmincmd, "deploy", warfile])
if returnCode != 0:
   sys.exit("Failed to deploy the application!")

And to be clear, it's the deployment of the war file (asadmin deploy) rather than the starting of the application server (asadmin start-domain) that's taking a long time, right? Or am I confused?

Also, I think you sent some of this already, but please feel free to send any console output. That is, you can select all and copy from the terminal from which you are running install.py.

If it's easier, please feel free to start a thread under #troubleshooting at https://chat.dataverse.org

I'll also make a little noise internally to see if there's something obvious I'm missing.

Hang in there! We'll get things sorted eventually! :)

Reply all
Reply to author
Forward
0 new messages