DataVerse 4.X installation problems

205 views
Skip to first unread message

闫帅

unread,
Sep 21, 2015, 2:36:57 PM9/21/15
to Dataverse Users Community
hi guys,

    I got an error during the process of installation, that the browser have given the following information:

HTTP Status 500 - Internal Server Error


type Exception report

messageInternal Server Error

descriptionThe server encountered an internal error that prevented it from fulfilling this request.

exception

javax.servlet.ServletException

root cause

javax.ejb.EJBException

root cause

javax.persistence.NoResultException: getSingleResult() did not retrieve any entities.

note The full stack traces of the exception and its root causes are available in the GlassFish Server Open Source Edition 4.1 logs.


In the linux shell, it printed some error information:
{"status":"OK","data":{"message":"User @dataverseAdmin set as a superuser."}}
Setting up the root dataverse
./setup-all.sh: line 48: /usr/bin/jq: cannot execute binary file
{"status":"ERROR","message":"Bad api key ''"}
Set the metadata block for Root
{"status":"ERROR","message":"Bad api key ''"}
Set the default facets for Root
{"status":"ERROR","message":"Can't find dataverse with identifier=':root'"}
Setup done. Consider running post-install-api-block.sh for blocking the sensitive API.
ok!
You should now have a running DVN instance at
 http://localhost.localdomain[:YOURPORT]

In the glassfish4.1  log:


[2015-09-22T10:18:03.772+0800] [glassfish 4.1] [WARNING] [AS-EJB-00056] [javax.enterprise.ejb.container] [tid: _ThreadID=27 _ThreadName=http-listener-1(4)] [timeMillis: 1442888283772] [levelValue: 900] [[
  A system exception occurred during an invocation on EJB DataverseServiceBean, method: public edu.harvard.iq.dataverse.Dataverse edu.harvard.iq.dataverse.DataverseServiceBean.findRootDataverse()]]

[2015-09-22T10:18:03.772+0800] [glassfish 4.1] [WARNING] [] [javax.enterprise.ejb.container] [tid: _ThreadID=27 _ThreadName=http-listener-1(4)] [timeMillis: 1442888283772] [levelValue: 900] [[
  
javax.ejb.EJBException ...
 and I had upload the server log.Hope someone could help solve the problem.

Jemas
log-files-server.zip
server.log

Philip Durbin

unread,
Sep 21, 2015, 3:02:40 PM9/21/15
to dataverse...@googlegroups.com
Hi Jemas,

Seeing "./setup-all.sh: line 48: /usr/bin/jq: cannot execute binary file" makes me pretty sure the problem is that `jq` is either not on your system or not executable.

The script at https://github.com/IQSS/dataverse/blob/v4.1/scripts/api/setup-all.sh tries to make sure you have `jq` before proceeding but maybe it's not checking for if `jq` is executable...

Can you please just type "jq" and see if you get any output? Here's what I see on my Mac:

murphy:dataverse pdurbin$ jq

jq - commandline JSON processor [version 1.4]
Usage: jq [options] <jq filter> [file...]

For a description of the command line options and
how to write jq filters (and why you might want to)
see the jq manpage, or the online documentation at
http://stedolan.github.com/jq

murphy:dataverse pdurbin$

If you need to make it executable you can do `chmod 755 jq` or `chmod +x jq`.

Anyway, without jq, the rest of the installation can't continue, which is why you see the 500 error (because a root dataverse was not created).

I hope this helps!

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 post to this group, send email to dataverse...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dataverse-community/58bbf7d5-43e2-4738-8a1d-4b05251fe661%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

闫帅

unread,
Sep 22, 2015, 2:38:54 AM9/22/15
to Dataverse Users Community, philip...@harvard.edu
Success! thanks so much! I was able to run the application.

在 2015年9月22日星期二 UTC+8上午3:02:40,Philip Durbin写道:
To unsubscribe from this group and stop receiving emails from it, send an email to dataverse-community+unsub...@googlegroups.com.

Philip Durbin

unread,
Sep 22, 2015, 9:44:40 AM9/22/15
to dataverse...@googlegroups.com
Great! I'd be curious to know if the problem was that the `jq` binary was not executable or if it was some other problem.

Also, please check out the Installation guide improvement and reorganisation proposal here and help contribute ideas if you have the time: https://groups.google.com/d/msg/dataverse-community/qujUFJDYXG0/0BhECCp0HQAJ

Phil

To unsubscribe from this group and stop receiving emails from it, send an email to dataverse-commu...@googlegroups.com.

--
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 post to this group, send email to dataverse...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

mboundor diouf

unread,
Jun 28, 2019, 5:41:14 AM6/28/19
to Dataverse Users Community
help please !

Philip Durbin

unread,
Jun 28, 2019, 6:55:22 AM6/28/19
to dataverse...@googlegroups.com
Hi, I replied on the other thread, the one you started: https://groups.google.com/d/msg/dataverse-community/riBECCvYxt8/Q7hZTal4AgAJ


--
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 post to this group, send email to dataverse...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages