- Karol ZającKHello, I am trying my best with Dataverse fresh installation and I met a problem with logging as superuser. After prompting for password change, the loading icon shows and nothing happen (no redirect). After going to login page again - newly set password is incorrect, and old one still results with infinite loading. Same after submitting sign up form - but in this case the account is created, and I can log in after refreshing. Can you specify what this problem is connected with? I cannot see any logs in server.log.
- * Hello, I am trying my best with Dataverse fresh installation and I met a problem with logging as superuser. After prompting for password change, the loading icon shows and nothing happen (no redirect). After going to login page again - newly set password is incorrect, and old one still results with infinite loading. Same after submitting sign up form - but in this case the account is created, and I can log in after refreshing. Can you specify what this problem is connected with? I cannot see any logs related to this in server.log.
- pdurbinKKarol Zając: sorry to hear about the trouble. Have you installed the latest version of Dataverse, 5.13? And did you install it manually by following the installation guide or by using a tool like dataverse-ansible or dataverse-docker?
- Karol ZającKYes, I installed the latest version, following the installation guide and running the install.py script.
- pdurbinAnything in the browser console?
- Don SizemoreDKKarol Zając: Hello, Leonid at IQSS asks if you've double-checked your dataverse.siteUrl jvm-option in /usr/local/payara5/glassfish/domains/domain1/config.xml? He's right, it sounds like Dataverse may be redirecting you to localhost.
- reis.quarteuRHello. I tried to use agrovoc on our dataverse but the URL is not known
This message is being deleted (worng url)…
- reis.quarteuR
- reis.quarteuRWhat can I do to fix it?
- Karol ZającKNothing in the browser console.
In reply to
pdurbinAnything in the browser console? - If you meant: /usr/local/payara5/glassfish/domains/domain1/config/domain.xml, it contains:
In reply to
DDon SizemoreKKarol Zając: Hello, Leonid at IQSS asks if you've double-checked your dataverse.siteUrl jvm-option in /usr/local/payara5/glassfish/domains/domain1/config.xml? He's right, it sounds like Dataverse may be redirecting you to localhost.
<jvm-options>-Ddataverse.siteUrl=http://${dataverse.fqdn}:8080</jvm-options>. - Don SizemoreDKKarol Zając: that's likely one problem, if not the. is your instance listening externally on port 80 instead of 8080 (or better yet, using https)?
- Don SizemoreD@pdurbin you're correct that we don't grab setup-all.*.log but we can
- pdurbinKKarol Zając: please also verify what
<jvm-options>-Ddataverse.fqdn...
says - DDon Sizemore: great! Should I open an issue?
- Don SizemoreD@pdurbin you're welcome to, or I will.
- pdurbin
- sennin changed their name to stefankasberger
- Karol ZającKit is http and 8080 port number
In reply to
DDon SizemoreKKarol Zając: that's likely one problem, if not the. is your instance listening externally on port 80 instead of 8080 (or better yet, using https)? - Ddataverse.fqdn value is a FQDN that I am passing during installation, and it is ported (DNAT) to our available IP address.
In reply to
pdurbinKKarol Zając: please also verify what<jvm-options>-Ddataverse.fqdn...
says - Don SizemoreDKKarol Zając: can the Dataverse instance reach itself via the expanded dataverse.siteurl value?
- pdurbinKKarol Zając: likeDDon Sizemore is saying the siteUrl should be the final URL that users see, the one that you put on flyers around campus
- container meeting in about 45 minutes: https://ct.gdcc.io
- Don SizemoreDKKarol Zając: well, siteUrl needs to be correct, and it needs to be reachable by the Payara service over that URL. I'm wondering if your NAT setup doesn't allow this.
- Karol ZającKWe will try to set up a reverse proxy to reach the instance on the proper URL. Thank you!
- Don SizemoreDKKarol Zając: if you're using Shibboleth you'll need to use Apache (for mod_shib). otherwise you can just use nginx or traefik or whatever proxy you'd like.
- @pdurbin I'm about to head to campus and will likely miss the container meeting. I'm therefore proxying to you to make decisions for me.
- g.sarigiannisGhelloPpdurbin , is there a way to restrict Dataverse guests to only view datasets?
- pdurbinDDon Sizemore: heh. Ok. I wish I was skipping. I'd go listen to Tom Hanks: https://www.thecrimson.com/article/2023/3/21/tom-hanks-commencement/
- Gg.sarigiannis: you don't want guests to see collections (dataverses) or files?
- g.sarigiannisGWe want guests to be able to only view published datasets, not download them. In addition, we don't want them to be able to view unpublished datasets/dataverses
- Most important thing would be to not have the DownloadFile role permission as a default for non-registered users
- Don SizemoreDGg.sarigiannis: there is a "meta group"
:AllUsers
IIRC from which you may revoke downloading permissions? or perhaps:unauthenticated-users
if that exists - pdurbinGg.sarigiannis: does restricting files help?
- g.sarigiannisGPpdurbin: yes that's what we are going to go with if there's no other option
- pdurbinWould this help? Dataverse setting to restrict files by default #6158 - https://github.com/IQSS/dataverse/issues/6158
- g.sarigiannisGThat would be very helpful indeed
- g.sarigiannisGDDon Sizemore: the default permissions for AllUsers seem to be ViewPublishedDataset, ViewUnpublishedDataset and DownloadFile. I don't see any way to edit this, at least from the dashboard / dataverse roles + permissions. Perhaps this can be changed on the backend somewhere?
- So f.e. you could allow guests to keep the ViewUnpublishedDataset, ViewPublishedDataset and maybe redirect them to the login screen when they attempt to download a file, or just a produce a message stating that you need to be logged in to download files
- Don SizemoreDGg.sarigiannis: you can define a custom role: https://guides.dataverse.org/en/latest/api/native-api.html#create-a-new-role-in-a-dataverse-collection
- g.sarigiannisGYup, the issue with what you sent is that any role you create would be a subgroup of the guest role
- Don SizemoreDyou could assign that to the root collection, then apply inheritance: https://guides.dataverse.org/en/latest/api/native-api.html#inherit-dataverse-collection-role-assignments
- if you want to edit the default role, you may have to tinker in the DB
- g.sarigiannisGyup I thought so, just prompted to confirm this is the way to go and whether going this way will have any consequences that you are aware of
- Don SizemoreDI would askPpdurbin to be certain
- pdurbinlast I checked AllUsers was hard coded
- Don SizemoreD@pdurbin 48 open issues. that dude's a real pain in the butt ;)
- pdurbinha
- poikilotherm (CEST,UTC+2)You referring to me? 🤨 /me clicks nuckels
In reply to
DDon Sizemore@pdurbin 48 open issues. that dude's a real pain in the butt ;) - * You referring to me? 🤨 /me clicks nuckels (:wink:)
- * You referring to me? 🤨 /me clicks nuckels (😉)
- pdurbindon't make me run my open issues by author script again
- Kazi Al Refat Pranta joined the room
- Kazi Al Refat PrantaKHello. I hope you guys are doing well. I am not sure if this is the appropriate place to ask such questions. But I am trying to download a data set of "MoLa InCar AR: Dataset for Action Recognition" and it seems to stop and restart the download at around 77% for a file. It does say that the download is unresumable. But I have tried my best to download it using browser, download manager and GNU Wget in a command line terminal. I have again tried using different device with different internet connection. It would be much appreciated if anyone can guide me in this matter.
- pdurbinI think you mean this one: https://datarepositorium.uminho.pt/dataset.xhtml?persistentId=doi:10.34622/datarepositorium/1S8QVP . Have you tried the "Support" link at the top of the page?
- Don SizemoreDKKazi Al Refat Pranta: can you send a link to the dataset? (I don't find it on Harvard DV)
- KKazi Al Refat Pranta: if you're comfortable running Python, I have a silly little script to individually download all files within a dataset.
- Kazi Al Refat PrantaKPlease do share. I will be much obliged.
In reply to
DDon SizemoreKKazi Al Refat Pranta: if you're comfortable running Python, I have a silly little script to individually download all files within a dataset. - Don SizemoreDKKazi Al Refat Pranta: it's just a script I wrote for our archivists who wanted all files in original format. if you're having timeouts with an individual file this may not help much, but if you're selecting multiple files, Dataverse will try to first generate a zip, then send you that, so individual files are the way to go if you suspect transfer problems.
- Kazi Al Refat PrantaKyes this is the link. I wasn't sure if it was a problem from my lack of knowledge or the surver.
In reply to
pdurbinI think you mean this one: https://datarepositorium.uminho.pt/dataset.xhtml?persistentId=doi:10.34622/datarepositorium/1S8QVP . Have you tried the "Support" link at the top of the page? - pdurbinIf you want, I could try downloading one file just to see if it works.
- Don SizemoreDKKazi Al Refat Pranta: don't thank me until it works!
- Kazi Al Refat PrantaKIf it won't bother you please do.
In reply to
pdurbinIf you want, I could try downloading one file just to see if it works. - Don SizemoreD@pdurbin GeoIP sez 193.136.21.46 is in Braga; my traceroute starts timing out once it hits Level3 in DC
- pdurbinwget is showing about 2.68MB/s ... 10% done
- pdurbinKKazi Al Refat Pranta: I was able to download the file in 7m 31s. The md5 looks good. This file: https://datarepositorium.uminho.pt/file.xhtml?persistentId=doi:10.34622/datarepositorium/1S8QVP/BXXHPP&version=2.2
- Kazi Al Refat PrantaK
In reply to
pdurbinKKazi Al Refat Pranta: I was able to download the file in 7m 31s. The md5 looks good. This file: https://datarepositorium.uminho.pt/file.xhtml?persistentId=doi:10.34622/datarepositorium/1S8QVP/BXXHPP&version=2.2i am using this to download the file. Unfortunately this is my first time downloading from this serve. is there any thing wrong in the command?
wget "https://datarepositorium.uminho.pt/api/access/datafile/:persistentId?persistentId=doi:10.34622/datarepositorium/1S8QVP/BXXHPP" --no-check-certificate
- pdurbinLooks fine to me. It's almost exactly what I used:
wget --no-check-certificate 'https://datarepositorium.uminho.pt/api/access/datafile/:persistentId?persistentId=doi:10.34622/datarepositorium/1S8QVP/BXXHPP'
- Kazi Al Refat PrantaKdo you think it has to do anything with my country? I live in Bangladesh, a country in South Asia. Should I try using vpn? is it legal?
In reply to
pdurbinLooks fine to me. It's almost exactly what I used:wget --no-check-certificate 'https://datarepositorium.uminho.pt/api/access/datafile/:persistentId?persistentId=doi:10.34622/datarepositorium/1S8QVP/BXXHPP'
- Don SizemoreDKKazi Al Refat Pranta: it sounds to me like you're having trouble with connectivity dropping during the file transfer. if anything using a VPN might exacerbate that problem.
- pdurbinKKazi Al Refat Pranta: have you tried
wget --continue
? We mention it here: https://guides.dataverse.org/en/5.13/api/native-api.html#view-dataset-files-and-folders-as-a-directory-index - Santiago FlorezSHi everyone
- Don SizemoreDHello!
- Santiago FlorezS
I have a developer mode dataverse installation and need to change a metadata block - the citation metadata
- so i changed it and run the curl commands but i don't see the changes
- The change is that when you select a Subject that is displayed in link format
- pdurbinright, I remember
- Santiago FlorezSYesPpdurbin
- When I reload the citation metadata with curl, it's as if the change didn't take effect
- Do I need to recompile something?
- pdurbinI think you'd need to write a SQL script. Please check this out: https://github.com/IQSS/dataverse/issues/3337#issuecomment-394481875
- Please remind me, are you planning to create a pull request for this change?
- Santiago FlorezSno it's just for me
- but if anyone is interested...
- pdurbinmaybe!
- Here, I'll quote our disclaimer:
"Generally speaking it is safer to create your own custom metadata block rather than editing metadata blocks that ship with the Dataverse Software, because changes to these blocks may be made in future releases. If you’d like to make improvements to any of the metadata blocks shipped with the Dataverse Software, please open an issue at https://github.com/IQSS/dataverse/issues so it can be discussed before a pull request is made."
https://guides.dataverse.org/en/5.13/admin/metadatacustomization.html - Akash Yadav joined the room
- pdurbinHave a good weekend! It's a holiday in the US on Monday. See you Tuesday!
- poikilotherm (CEST,UTC+2)Same in Germany! 😄