IQSS logo

IRC log for #dataverse, 2017-11-08

Connect via chat.dataverse.org to discuss Dataverse (dataverse.org, an open source web application for sharing, citing, analyzing, and preserving research data) with users and developers.

| Channels | #dataverse index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

All times shown according to UTC.

Time S Nick Message
07:59 jri joined #dataverse
09:00 Guest99448 joined #dataverse
11:22 donsizemore joined #dataverse
11:46 jri_ joined #dataverse
11:48 jri joined #dataverse
12:38 rebecabarros joined #dataverse
12:51 rebecabarros pameyer back to where we left off.
12:51 rebecabarros Summarizing: - dcm-test01 returns : 403 - Forbidden (from DCM server) 500 - Internal Server Error (from DVN server). Firewall are disable and both machines and lighttpd seens right in my DCM server (point to DVN ip)
13:19 pdurbin rebecabarros: did looking at https://github.com/sbgrid/data-capture-module/issues/10 help?
13:26 rebecabarros I did. My lighttpd.conf file seems right. It has the dvn ip and the localhost listed.
13:28 pdurbin rebecabarros: ok. An alternative is to comment out that entire check. That's what I started doing instead. You'll need to restart lighttpd afterward.
13:31 donsizemore joined #dataverse
13:36 rebecabarros pdurbin: you mean comment out the lines that function that starts after # refuse connections not from frontend or localhost, right?
13:37 pdurbin rebecabarros: I think so. I don't have the file in front of me. It was near the top the last time I looked at it.
13:38 pdurbin donsizemore: after seeing what you wrote at https://help.hmdc.harvard.edu/Ticket/Display.html?id=255153 I'm wondering if you saw me post these screenshots: https://groups.google.com/d/msg/dataverse-community/txP-gHrpXGA/lqXLuZiqAQAJ :)
13:38 donsizemore @pdurbin morning - i did, but i was pleased to see you show up on our test server as well
13:39 pdurbin :)
13:39 pdurbin It's great when stuff works.
13:40 donsizemore @pdurbin speaking of, i haven't forgotten the installer-in-python bit, i just got stuck on saving the asadmin credentials from within python and keep circling back to it when i have spare time
13:42 pdurbin donsizemore: ok, did you see the comment I left this week at https://docs.google.com/spreadsheets/d/1pl9U0_CtWQ3oz6ZllvSHeyB0EG1M_vZEC_aZ7hREnhE/edit?usp=sharing ?
13:42 donsizemore @pdurbin yes. "early days" is appropriate, though it works up to the asadmin credentials =)
13:44 pdurbin donsizemore: ok, I mean my comment my recent branch that adds and "insecure mode" (for developers) and the ability to have a postgresql admin user other than "postgres" (mine is "pdurbin" when I install postgresql from homebrew on my mac).
13:45 donsizemore @pdurbin i had decided to add a default.config file to be edited before firing off the installer... i can just add the admin username there
13:46 pdurbin ok. and the insecure mode too, please. otherwise the API tests don't work on developers' machines
13:47 donsizemore 10-4
13:48 pdurbin rebecabarros: did I ever ask you if you'd like to be added to the "who's who" spreadsheet in the topic? dzho and JonathanNeal andsivoais we can add you too if you'd like.
13:55 rebecabarros I think that is a good idea, since lately I am always around. Thanks pdurbin. You can put  rebecabarros Rebeca Barros CIDACS/Fiocruz
13:55 rebecabarros And I try comment out the lighttpd.conf lines and still getting the same error.
13:59 pdurbin rebecabarros: added. Thanks. I think we're going to have to wait for pameyer for help. :/
14:01 pdurbin donsizemore: you might be happy to see all the Python at https://github.com/IQSS/dataverse/compare/4157-backup-to-secondary-storage :)
14:03 donsizemore @pdurbin perl makes me happy <img src=grumpycat.gif>
14:03 pdurbin Oh! I thought you were trying to stamp out the Perl.
14:06 donsizemore @pdurbin i have 20 year-old perl that still runs =) but everybody loves python, so...
14:09 pdurbin I feel the same way.
14:46 andrewSC joined #dataverse
15:45 pameyer joined #dataverse
15:50 pameyer rebecabarros: something like  `$HTTP["remoteip"] !~ "192.168.2.2|127.0.0.1" ` for /etc/lighttd/lighttpd.conf?
15:50 pameyer anything informative in the lighttpd logs (/var/log/lighttpd access.log | error.log) ?
15:51 pameyer donsizemore: I ran into fortran code older than me in grad school; and I'm pretty sure that it's still in use
16:11 pameyer joined #dataverse
16:26 pameyer joined #dataverse
16:28 Thalia_UM joined #dataverse
16:38 rebecabarros pameyer: yes. there is this line `$HTTP["remoteip"] ! and it was with the dvn IP. I try to comment out and restart lighttd but the error remains.
16:38 rebecabarros here is the access.log - https://pastebin.com/L4FKD6VZ
16:59 Thalia_UM Good morning ! :)
17:16 pameyer joined #dataverse
17:33 pdurbin rebecabarros: can you also please paste your lighttpd.conf file?
17:33 pdurbin mornin, Thalia_UM
17:33 Thalia_UM :)
17:36 rebecabarros sure. here it is, pdurbin: https://pastebin.com/ruq3jg01
17:37 pdurbin rebecabarros: thanks. Can you please try commenting out those first three lines and restarting lighttpd and trying again?
17:43 rebecabarros pdurbin: I've tried that, no change. =/
17:45 pdurbin rebecabarros: right, you said you tried it but the file you just pasted still has those lines in it. They aren't commented out.
17:48 rebecabarros Yes, i know. Since it had no change, I update the file to how it was before.
17:48 pdurbin makes sense
17:49 pdurbin Are you sure you're editing the right file? Are there multiple copies of it on disk? What if you comment out the first two lines but leave the line with just "}" uncommented? When you restart, do you get an error? You should. This is just to prove to yourself that the edits you're making are having an effect.
17:53 rebecabarros I've comment out 3 lines (10, 11 and 12 from https://pastebin.com/ruq3jg01). I should receive an error when trying to restart lighttpd.conf after comment out these lines?
17:56 pdurbin At the moment, I'd like to make sure you're editing the right file. The easiest way to do this is to introduce a syntax error in the file and then restart lighttpd. I'm suggesting that you comment out lines 10 and 11 but leave 12 (the one with just "}") uncommented. This is a syntax error because every "{" is supposed to be closed with a "}".
17:57 pdurbin I hope this makes sense.
17:58 rebecabarros Yes, I understand. Let me try that.
17:58 pdurbin cool, thanks
18:08 rebecabarros pdurbin: just make it clear. I do not have /etc/init.d/lighttpd in my machine. But I guess this is not a problem. I'm using 'service lighttpd restart'. Anyway, it is the right file, comment out only lines 10 and 11 did got me an error.
18:11 pdurbin Ok, I'm glad you got an error. It proves it's the right file. pameyer was interested in seeing the file so I'll let him know you pasted it.
18:13 pameyer joined #dataverse
18:16 pameyer rebecabarros: do you need both ipv6 and ipv4 on the DCM system?
18:16 pameyer if not, I'd suggest disabling ipv6
18:18 rebecabarros I do not. How can I disable?
18:24 pameyer centos 7?
18:24 pameyer I've forgotten which OS you're running the DCM on
18:24 rebecabarros yes, centos 7
18:25 pameyer https://wiki.centos.org/FAQ/CentOS7#head-8984faf811faccca74c7bcdd74de7467f2fcd8ee should do it; but it's not something I've manually changed configuration for in a while
18:31 donsizemore joined #dataverse
18:31 rebecabarros Ok, thanks pameyer. I did that, should I change anything else regarding lighttpd?
18:33 axfelix joined #dataverse
18:33 pameyer do you get the same error codes from DCM and DV?
18:41 rebecabarros pameyer: no. 403 - Forbidden (from DCM server) 500 - Internal Server Error (from DV server).
18:43 axfelix joined #dataverse
18:44 pameyer ok - so two problems. 1) not failing the same way from both systems, 2) failing to produce expected results
18:45 pameyer no ipv6 addresses in access.log, I'm assuming
18:46 pdurbin I'm stumped.
18:46 rebecabarros I don't know if you saw but here is my access.log file https://pastebin.com/L4FKD6VZ
18:47 pameyer I'm thinking that it makes sense to get it working locally first, because that's downstream.
18:47 pameyer hmm…. wondering what happens if I use that lighttpd.conf in one of my dcm VMs
18:47 pdurbin yeah, leave Dataverse out of it for as long as possible :)
18:48 pdurbin pameyer: maybe you could do a `diff` at least
18:50 pdurbin I don't have a DCM running anymore or I'd do it myself.
18:50 axfelix joined #dataverse
18:55 pameyer dcm-test01.sh worked for me on a VM; had to change the path to the DCM repo
18:55 pameyer cent6 VM though
18:55 rebecabarros Ok, I just tried dcm-test01.sh and I got 500 internal server error also. So, same error em both sides.
18:55 pameyer both failing the same way is definitely progress
18:56 pameyer what does the lighttpd error.log show when you get the 500 errors
18:56 pameyer ?
18:56 pdurbin oh, 500 instead of 403? interesting
18:57 pameyer rebecabarros: btw, heading to a meeting now
18:59 axfelix joined #dataverse
18:59 jri joined #dataverse
19:02 pameyer joined #dataverse
19:04 rebecabarros Ok, pameyer thanks. error.log doens't show anything related, just when the server started or stopped - https://pastebin.com/gxPtAGN2
19:27 axfelix joined #dataverse
20:01 pdurbin sure doesn't
20:05 pameyer joined #dataverse
20:20 jri joined #dataverse
21:02 pameyer joined #dataverse
23:48 axfelix joined #dataverse

| Channels | #dataverse index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

Connect via chat.dataverse.org to discuss Dataverse (dataverse.org, an open source web application for sharing, citing, analyzing, and preserving research data) with users and developers.