IQSS logo

IRC log for #dataverse, 2020-11-23

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:36 Virgile joined #dataverse
08:02 Virgile joined #dataverse
09:06 Virgile joined #dataverse
09:07 Virgile joined #dataverse
09:12 Virgile joined #dataverse
09:22 Virgile joined #dataverse
10:43 GitterIntegratio joined #dataverse
11:01 poikilotherm joined #dataverse
11:27 juancorr joined #dataverse
12:42 donsizemore joined #dataverse
12:47 Virgile joined #dataverse
14:29 pameyer joined #dataverse
14:56 pdurbin joined #dataverse
15:18 nightowl313 joined #dataverse
15:28 pdurbin Fishmongering: the Perl installer was a better experience than the Python installer?
15:28 nightowl313 joined #dataverse
15:33 nightowl313 hey all ... this is probably a dumb question, but is there a way for me to serve web documents on our dataverse installation? ie: we want to link our policies from the main nav ... i know we can add an html link to the "Guide" and "About" nav menu options (and database settings), but can those html files reside on the dataverse server? I tried the doc root folder, but I probably have to set up apache for that right (or server from another web
15:34 pdurbin nightowl313: since you're talking about docroot you're close to the answer, I think.
15:36 pdurbin nightowl313: as a test, can you please try putting a file at docroot/guides/index.html?
15:36 pameyer yeah - if you've got a web server in front, you should be able to grab the url before glassfish/payara gets it
15:37 pdurbin That's true, if you have Apache in front you've got more flexibility.
15:39 pdurbin My understanding is that you don't need Apache if you put files in these 4 directories: https://github.com/IQSS/dataverse/blob/v5.2/src/main/webapp/WEB-INF/glassfish-web.xml#L11-L14
15:40 nightowl313 oh great! that is really helpful (I do look for these things!) ... we have apache but just the default config for ssl
15:40 pameyer pdurbin: I _think_ that restricts which urls the files will be at
15:41 pameyer don't know for sure, but I think if you want arbitrary URLs that you'd need to keep them from getting to the app
15:41 pameyer but I'll defer to your knowledge of jsf url routing, since I have pretty much none
15:41 pdurbin pameyer: yeah, you're right, it's more of a restriction, really.
15:42 pdurbin nightowl313: if you want to use Apache to server some files, please check your ProxyPass settings. Right now Apache is probably sending all URL paths to Payara.
15:44 nightowl313 yes, it is ... okay, that makes sense ... thanks! I assume most orgs use a different web server/site for docs just for ease of updating? (ie: I've seen some using wikis or main library website, or libguides)
15:46 pdurbin I'm not sure. poikilotherm has his own docs.
15:48 nightowl313 okay thanks so much all! that helps a lot
15:56 donsizemore joined #dataverse
15:57 poikilotherm pdurbin nightowl313 happy to share details if interested
15:59 nightowl313 yes share! =)
15:59 donsizemore @nightowl313 anything you don't want passed to Payara can be a ProxyPass as @pdurbin suggests https://github.com/GlobalDataverseCommunityConsortium/dataverse-ansible/blob/master/templates/http.proxy.conf.j2#L85
16:00 poikilotherm OK so we are using NGINX as reverse proxy, but that shouldn't bother you doing it with apache
16:00 donsizemore @nightowl313 similarly if you want to redirect requests somewhere you could redirect that in the Apache VirtualHost before the AJP proxy line
16:01 poikilotherm We send ^/(logos|branding)/ to a static location (using a gitops deployment of the branding)
16:01 poikilotherm Also I hacked that to point to my /docroot, which is inside the Glassfish/Payara docroot space
16:02 poikilotherm This is just to be able to serve the files through both
16:02 poikilotherm It's a hack. Dataverse is a bit hacky here...
16:02 nightowl313 oh I used dataverse-ansible to set up our site! so my config looks very similary
16:05 nightowl313 similar
16:05 donsizemore @nightowl313 in Apache or nginx either way, you'll listen in a VirtualHost or a "server" as nginx calls it
16:05 donsizemore @nightowl313 and peck off each condition that you _don't_ want passed to Payara, which happens at the bottom of the list
16:08 nightowl313 oh yes, i see .. i'm pretty much using this same config that came from the dataverse-ansible templates when I installed
16:09 nightowl313 just need to tweak a few things I think
16:12 nightowl313 Thanks so much!!!
18:45 donsizemore @pdurbin if ZeroSSL allows *.aws.amazon.com you may finally have your certs on demand https://scotthelme.co.uk/introducing-another-free-ca-as-an-alternative-to-lets-encrypt/
19:16 pdurbin huh, do you think it's worth a shot?
20:28 donsizemore joined #dataverse
20:28 donsizemore @pdurbin easy way to find out
20:34 donsizemore joined #dataverse
22:15 nightowl313 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.