Time
S
Nick
Message
02:24
axfelix joined #dataverse
02:58
axfelix joined #dataverse
06:07
axfelix joined #dataverse
06:18
axfelix joined #dataverse
06:21
axfelix joined #dataverse
06:24
axfelix joined #dataverse
07:09
axfelix joined #dataverse
07:11
axfelix joined #dataverse
08:34
jri joined #dataverse
12:42
pdurbin left #dataverse
13:31
andrewSC joined #dataverse
13:46
donsizemore joined #dataverse
14:02
djbrooke joined #dataverse
14:43
djbrooke joined #dataverse
14:48
djbrooke joined #dataverse
14:53
pameyer joined #dataverse
15:53
donsizemore joined #dataverse
16:13
yoh joined #dataverse
16:52
djbrooke joined #dataverse
17:05
iamtimmo joined #dataverse
17:06
djbrooke joined #dataverse
17:24
djbrooke joined #dataverse
18:00
dataverse-user joined #dataverse
18:02
dataverse-user
could not open up the explore buttons
18:16
donsizemore
@dataverse-user which version of dataverse? and do you get a pop-up window (blank, or tworavens header with no data?)
18:18
dataverse-user
I have been using dataverse 4.5.1
18:18
dataverse-user
and yes there is pop up window
18:19
dataverse-user
and the error says :Internal Server Error - An unexpected error was encountered, no more information is available.
18:20
dataverse-user
http://drtc1.isibang.ac.in/%7BTWORAVENS_URL%7D?dfId=71&key=7aa3cc6b-a621-42cd-8571-3c295416b870
18:20
donsizemore
@dataverse-user you'll want to make sure that /var/www/html/dataexplore/rook/preprocess/preprocess.R and /usr/local/glassfish4/glassfish/domains/domain1/applications/dataverse-4.6/WEB-INF/classes/edu/harvard/iq/dataverse/rserve/scripts/preprocess.R
18:20
donsizemore
@dataverse-user ah, that sounds like an apache config error. have you checked your web server's error log?
18:21
donsizemore
@dataverse-user oh, wait. scratch that. IIRC TwoRavens only works with public data, so it may not know what to do with your API key
18:23
donsizemore
@dataverse-user and you'll want to set TWORAVENS_URL now that i notice it
18:25
dataverse-user
please can you guide ..how to set TWO ravens url
18:25
donsizemore
curl -X PUT -d {TWORAVENS_URL} http://localhost:8080/api/admin/settings/:TwoRavensUrl (where the URL is likely your Dataverse homepage)
18:26
donsizemore
@dataverse-user from http://guides.dataverse.org/en/latest/installation/r-rapache-tworavens.html
18:27
dataverse-user
[root dv dataexplore]# curl -X PUT -d {TWORAVENS_URL} http://drtc1.isibang.ac.in:8080/api/admin/settings/:TwoRavensUrl <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=ISO -8859-1"/> <title>Error 404 </title> </head> <body> <h2>HTTP ERROR: 404</h2> <p>Problem accessing /api/admin/settings/:TwoRavensUrl. Reason: <pre> Not Found</pre></p> <hr /><i><small>Powered by Jetty://</small></i> </body> </html>
18:28
donsizemore
@dataverse-user and ignore what I said about your API key, i'm finally waking up =)
18:28
dataverse-user
:)
18:28
donsizemore
@dataverse-user I think the admin endpoints are all restricted to localhost. Since it looks like you're on your Dataverse box, try changing it to look like this:
18:29
donsizemore
curl -X PUT -d http://drtc1.isibang.ac.in http://localhost:8080/api/admin/settings/:TwoRavensUrl
18:31
dataverse-user
http://drtc1.isibang.ac.in/dataset.xhtml?persistentId=doi:10.5072/FK2/5CKITW
18:32
dataverse-user
when I click on the explore button...above link open up..with the same error
18:35
donsizemore
@dataverse-user are you proxied behind apache, or going straight to glassfish?
18:36
donsizemore
@dataverse-user if your glassfish instance is listening on port 80, make it: curl -X PUT -d http://drtc1.isibang.ac.in http://localhost:8080/admin/settings/:TwoRavensUrl
18:36
donsizemore
whoops: curl -X PUT -d http://drtc1.isibang.ac.in http://localhost/api/admin/settings/:TwoRavensUrl
18:37
donsizemore
in any case you should see JSON output from the curl command
18:38
dataverse-user
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>405 Method Not Allowed</title> </head><body> <h1>Method Not Allowed</h1> <p>The requested method PUT is not allowed for the URL /api/admin/settings/:TwoRavensUrl.</p> </body></html>
18:41
donsizemore
@dataverse-user on which port is Glassfish listening?
18:42
dataverse-user
sorry how do i know that
18:42
dataverse-user
i think its on port 80
18:42
dataverse-user
now explore button re-routing to the home page
18:42
donsizemore
look in /usr/local/glassfish4/glassfish/domains/domain1/config/domain.xml for the http-listener-1 setting.
18:43
donsizemore
that means you're closer! and you've followed the instructions on http://guides.dataverse.org/en/latest/installation/r-rapache-tworavens.html ?
18:45
jri joined #dataverse
18:52
jri joined #dataverse
18:55
jri joined #dataverse
19:19
dataverse-user
<virtual-server network-listeners="http-listener-1,http-listener-2,jk-connector" id="server"></virtual-server> <virtual-server network-listeners="admin-listener" id="__asadmin"></virtual-server> </http-service> <iiop-service> <orb use-thread-pool-ids="thread-pool-1"></orb> <iiop-listener address="0.0.0.0" port="3700" lazy-init="true" id="orb-listener-1"></iiop-listener> <iiop-listener address="0.
19:20
dataverse-user
is it correct??
19:21
donsizemore joined #dataverse
19:23
donsizemore
as long as your Dataverse instance is working it's correct =) though you'll need Apache and r-apache for TwoRavens. you could set that up on a separate host if you wish
19:24
donsizemore
if you've already got Apache proxying for Glassfish, you can just use it
19:28
dataverse-user
my Dataverse instance is working correct..,
19:29
dataverse-user
I am using Glassfish ...do I need Apache also??
19:31
donsizemore
Yes. It's the first prerequisite for TwoRavens: http://guides.dataverse.org/en/latest/installation/r-rapache-tworavens.html
19:31
donsizemore
but you can set Apache/TwoRavens up on an external host if you don't want to mess with your Glassfish installation
19:33
dataverse-user
plz can u guide ...i can set it up on another machine
19:38
dataverse-user
how can i set Apache/TwoRavnes up on an external host
19:41
donsizemore
if you're using RHEL or CentOS, most of the instructions are highlighted on the page above
19:45
dataverse-user
i have followed all the steps , highlighted ...
19:46
dataverse-user
anyway thanks ...
19:46
dataverse-user
I should again try it from beginning
19:48
shiva joined #dataverse
19:50
donsizemore
@dataverse-user ah, ok. how about section II down at the bottom?
19:56
donsizemore
@dataverse-user i'm really half-asleep today. if you've followed all the instructions, try something like "curl -X PUT -d http://drtc1.isibang.ac.in/dataexplore/gui.html http://localhost:8080/admin/settings/:TwoRavensUrl " on your Glassfish host
20:20
dataverse-user joined #dataverse
20:20
dataverse-user left #dataverse
20:20
shivadcedtu joined #dataverse
20:42
dataverse-user joined #dataverse
20:42
dataverse-user joined #dataverse
20:42
shivadcedtu joined #dataverse
20:43
shivadcedtu80 joined #dataverse
20:46
shivadcedtu joined #dataverse
20:49
shivadcedtu joined #dataverse
20:49
shivadcedtu
hello
20:51
shivadcedtu joined #dataverse
20:54
dataverse-user joined #dataverse
21:06
shivadcedtu joined #dataverse
21:19
shivadcedtu
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>405 Method Not Allowed</title> </head><body> <h1>Method Not Allowed</h1> <p>The requested method PUT is not allowed for the URL /api/admin/settings/:TwoRavensUrl.</p> </body></html>
21:20
shivadcedtu
can anybody help me in Two ravnes
21:20
shivadcedtu
#TwoRavens
21:21
pameyer
shivadcedtu - I can't help w\ two ravens; but from your error text it looks like mismatch in the request type
21:21
pameyer
have you tried post/get instead of put?
21:21
shivadcedtu
okk..
21:21
shivadcedtu
curl -X PUT -d http://drtc1.isibang.ac.in http://localhost/api/admin/settings/:TwoRavensUrl
21:22
shivadcedtu
i had use this command
21:23
axfelix joined #dataverse
21:23
pameyer
are the results the same with "curl -X GET … " / "curl -X POST …"?
21:24
pameyer
it's possible there's a mismatch between the request type the docs specify and what the app expects
21:24
shivadcedtu
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> <h1>Not Found</h1> <p>The requested URL /api/admin/settings/:TwoRavensUrl was not found on this server.</p> </body></html>
21:24
shivadcedtu
with get and post
21:25
axfelix joined #dataverse
21:25
pameyer
possibly a silly question - but are you running glassfish on port 80 (it's usually on 8080)?
21:26
pameyer
aka http://localhost/api/admin/settings/:TwoRavensUrl
21:28
pameyer
wait - something ate my port specification on that
21:28
pameyer
"http://localhost:8080/api/admin/settings/:TwoRavensUrl "
21:29
shivadcedtu
yes i m running glassfish on port 80
21:29
shivadcedtu
and the server from remote system
21:32
shivadcedtu
??
21:32
shivadcedtu
and i m accessing the server from remote system
21:36
pameyer
one more thing that I could suggest (we're already out of my depth on TwoRavens; but past this we'll be far enough out of my depth that I'd only be adding noise)
21:36
dataverse-user joined #dataverse
21:36
pameyer
from a quick scan of the installer script, it looks like the url for the admin endpoint to set TwoRavensUrl shouldn't have the "/api/" section
21:36
dataverse-user
is anyone help me with two ravens installation??
21:36
pameyer
aka − "http://localhost:8080/admin/settings/:TwoRavensUrl "
21:40
shivadcedtu
anyway thanks
21:47
djbrooke
Hey Shiva - let me get up to speed on this and see what we can do to help you
21:48
djbrooke
Big thanks to donsizemore and pameyer for answering questions!
21:52
djbrooke
shivadcedtu: someone from the Dataverse team will connect with on the Google Groups post that you made
21:52
shivadcedtu
thank you very much
21:56
Kevin joined #dataverse
21:58
axfelix joined #dataverse
22:00
donsizemore joined #dataverse
22:07
shivadcedtu
at present the explore button re-routing me to the home page of the dataverse
22:08
shivadcedtu
and this is the url id http://drtc1.isibang.ac.in/?dfId=48&key=7aa3cc6b-a621-42cd-8571-3c295416b870
22:12
dataverse-user95 joined #dataverse
22:12
shivadcedtu17 joined #dataverse
22:15
pameyer
shivadcedtu - looks like there's info on this at https://groups.google.com/forum/#!topic/dataverse-community/c7cFcOiABhg (from someone who knows more about it than me)
22:17
pdurbin joined #dataverse
22:20
iamtimmo joined #dataverse
22:21
donsizemore joined #dataverse
22:24
shivadcedtu joined #dataverse
22:25
axfelix joined #dataverse
22:40
dataverse-user joined #dataverse
22:41
djbrooke joined #dataverse
23:06
iamtimmo joined #dataverse
23:11
dataverse-user joined #dataverse
23:25
axfelix joined #dataverse
23:29
djbrooke joined #dataverse
23:31
djbrooke
Because everyone loves a happy ending: https://groups.google.com/forum/#!topic/dataverse-community/c7cFcOiABhg
23:32
axfelix joined #dataverse
23:46
dataverse-user joined #dataverse
23:48
djbrooke joined #dataverse