Hey everybody. I already obened a conversation here https://groups.google.com/g/dataverse-community/c/wL6Q2bsvw04/m/4KDBFk1IAgAJ?utm_medium=email&utm_source=footer but it is hard to find the reason, why the deployment failed. Maybe it is better in zulip.
Short summary: In the console I entered python3 install.py. Everthing worked fine and when it tryed to deploy the dataverse.war file I got this output
'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!'
But then when I look into the payara admin console I see the deployed dataverse war. But I cannot open localhost:8080. What happend there?
Can anybody help me?
server.log
2024-01-12_14h07_18.png
2024-01-12_14h06_34.png
Hi! Thanks for joining.
What do you get if you go to http://localhost:8080/api/info/version ?
{
"status": "OK",
"data": {
"version": "6.0",
"build": "1512-366fd41"
}
}
ah, hi philip, its you. cool
Ok, so the war file has definitely been deployed.
How about http://localhost:8080/api/metadatablocks ?
yes I also think so. but so console say it wasn't deployed
{
"status": "OK",
"data": []
}
Ok, that's bad. It should have a lot of data, like this: https://demo.dataverse.org/api/metadatablocks
How attached are you to this installation? Can we throw it away and start again?
yes, thats no problem. we can install everything from the beginning
Great. What flavor of Linux are you using? Rocky? Ubuntu?
neither nor I use debian
Ok. RHEL/Rocky is the preferred distro but Ubuntu/Debian should work.
I suspect that the bootstrap wasn't successful
These are the recommended steps for a fresh reinstall: https://guides.dataverse.org/en/6.0/installation/installation-main.html#fresh-reinstall
I've seen exactly this behaviour with @Jutta Schnabel's deployment
Well, this is not in containers.
WAR successfully deployed (themed 404 error and /api/info), but nothing else works
True, but the symptoms are the same
Maybe not the reason
yeah
I've been trying to get more output. To see what is going wrong.
https://guides.dataverse.org/en/6.0/installation/installation-main.html#fresh-reinstall i do this for more than 5 times
Probably the result is not going to be a different one then :wink:
Could you provide a server.log and output from the installer from one of the attempts?
That would be really helpful in trying to corner reasons why things blow up
(If these filenames and things mean nothing to you, let us know - happy to explain more)
One of the five server.log's is above.
I've been trying to get output from the terminal and setup logs: https://guides.dataverse.org/en/6.0/installation/intro.html#information-to-send-to-support-when-installation-fails
Installer log would be perfect - if some of the scripts fail, that might not be visible from the Payara logs
gotta bike through the ice... back soon
Break a leg!
yes that would be no problem. I converted the server.log to fine should i return that?
what ist 'output from the installer from one of the attempts?'
'The scripts/api/setup-all.*.log files left behind by the installer.' this files are not genered. if I look into the install.py i can see, that this files will be genereted after deploying of the war. I thing its not generedet because it interrupt the installing process before it will generate this files.
I got an error when I tried to drop the database
'psql: Error: Connection to server failed on socket '/var/run/postgresql/.s.PGSQL.5432': FATAL: Peer authentication failed for user 'dvnapp''
Hmm, I wonder if the database was ever created. If not, there's nothing to drop.
ok, how can i check it?
[postgres@ip-172-31-5-10 ~]$ psql
psql (13.9)
Type "help" for help.
postgres=# \l
List of databases
Name | Owner | Encoding | Collate | Ctype | Access privileges
-----------+----------+----------+-------------+-------------+-----------------------
dvndb | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =Tc/postgres +
| | | | | postgres=CTc/postgres+
| | | | | dvnuser=CTc/postgres
postgres | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 |
template0 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/postgres +
| | | | | postgres=CTc/postgres
template1 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/postgres +
| | | | | postgres=CTc/postgres
(4 rows)
postgres=#
Something like that. ^^
The database is called "dvndb".
yes i check it. but I saw this before
but now nothing happen. Only this error appears.
Can you drop the "dvndb" database using the "postgres" user instead of the "dvnapp" user?
Also, apologies, but I need to run a meeting soon. You're welcome to join if you like: #containers > weekly meeting
no problem. then we go on later.
Also, even if the setup log files can't be found, you see output on your terminal, right? When you run install.py.
yes i see
Can you please share that output?
yes now it says performing database setup
Admin database connectivity succeeds.
PostgreSQL version: 13
Looks like the user already exists. Continuing.
Couldn't create database or database already exists.
now something went wrong with the database
ok, I think we have to go on tomorow. I have to pick up my kids.....
Sounds good. I'm taking a day off tomorrow but I'm happy to help on Monday.
Good morning. A miracle has happened. I deleted the database manually and the install.py could run throught to the end. I tried a lot to delete the dvndb but there was no way. Both the dnvapp and the postgres were not allowed to delete the dvndb. I disable all the access restrictions on localhost connections in the pg_hba.conf.
... and now everything is working? You can log into Dataverse? You can create a dataset?
No, unfortunately not yet. I can log into Dataverse, but then I see this errors.
2024-01-23_10h46_41.png
Did you install Solr? Is it running? Can you query Solr outside of Dataverse?
yes i istalled it. and it seems to be not running
image.png
What if you curl http://localhost:8983/solr/collection1/schema/fields ? What do you get?
ERR_CONNECTION_REFUSED
the site is not availabe
Hmm, sounds like we need to fix Solr. I assume you've tried stopping and starting it again. Maybe reinstall it?
hmmm, yes something went wrong with my solr
I started and stoped it but the when I asked for the status the solr is offline
How can I reinstall it?
I would stop it, rm -rf the directory, and then try again: https://guides.dataverse.org/en/6.1/installation/prerequisites.html#solr
At this point, I'd feel remiss if I didn't point out you could let Ansible install Dataverse for you. Please see https://github.com/GlobalDataverseCommunityConsortium/dataverse-ansible#quickstart
It was created and is maintained by @Don Sizemore and we use it all the time in our continuous integration (CI) testing.
shit don't work. I remove everything and make it new. but same result
yes, i see ansible. mybe thats a good idea.
ha, i got it. yyyeeeeaaaahhhh. I have to change the jetty host to 0.0.0.0. but what I do not do was to delete the comment out. small cause big effect
so next step I try to upload some datas
Shoot, the jetty 0.0.0.0 thing. That's a definite gotcha. @Don Sizemore let us know about it.
... and fixed it in this PR: document localhost-only behavior of Solr-9.3.0 and later #10037
is there a way to figure out why I cannot upload some datas?
Oh! Sounds like you're making progress. You can create a dataset at least?
Which files can be uploaded? Which can't?
Yes, a little bit. :P I can creat a dataverse but I cannot uplaod datasets
What do you see in server.log?
Where is it hidden again?
https://guides.dataverse.org/en/6.1/admin/troubleshooting.html#finding-the-payara-log-file
ah glassfish domain 1. I got it
ha, now its available... crazy. I tried to uplaod it yesterday but the page was frozen. Now the dataset is available.... confusing but great
there is no new server log since last week friday
not perfect but great to hear! :tada:
yes, I have to play a litte bit and observe the theme
Well, please keep the questions coming. And please start a new topic (here in Zulip) as needed.
Last updated: Oct 30 2025 at 05:14 UTC