dataverse

  • Karol Zając
    K
    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 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.
  • pdurbin
    K
    Karol 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ąc
    K
    Yes, I installed the latest version, following the installation guide and running the install.py script.
  • pdurbin
    Anything in the browser console?
  • Don Sizemore
    D
    K
    Karol 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.quarteu
    R
    Hello. I tried to use agrovoc on our dataverse but the URL is not known
  • This message is being deleted (worng url)…

  • reis.quarteu
    R
  • reis.quarteu
    R
    What can I do to fix it?
  • Karol Zając
    K
    In reply to
    pdurbin

  • Anything in the browser console?
  • Nothing in the browser console.
  • In reply to
    D
    Don Sizemore

  • K
    Karol 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.
  • If you meant: /usr/local/payara5/glassfish/domains/domain1/config/domain.xml, it contains:
    <jvm-options>-Ddataverse.siteUrl=http://${dataverse.fqdn}:8080</jvm-options>.
  • Don Sizemore
    D
    K
    Karol 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 Sizemore
    D
    @pdurbin you're correct that we don't grab setup-all.*.log but we can
  • pdurbin
    K
    Karol Zając
    : please also verify what <jvm-options>-Ddataverse.fqdn... says
  • D
    Don Sizemore
    : great! Should I open an issue?
  • Don Sizemore
    D
    @pdurbin you're welcome to, or I will.
  • pdurbin
  • sennin changed their name to stefankasberger
  • Karol Zając
    K
    In reply to
    D
    Don Sizemore

  • K
    Karol 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)?
  • it is http and 8080 port number
  • In reply to
    pdurbin

  • K
    Karol Zając
    : please also verify what <jvm-options>-Ddataverse.fqdn... says
  • Ddataverse.fqdn value is a FQDN that I am passing during installation, and it is ported (DNAT) to our available IP address.
  • Don Sizemore
    D
    K
    Karol Zając
    : can the Dataverse instance reach itself via the expanded dataverse.siteurl value?
  • pdurbin
    K
    Karol Zając
    : like
    D
    Don 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 Sizemore
    D
    K
    Karol 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ąc
    K
    We will try to set up a reverse proxy to reach the instance on the proper URL. Thank you!
  • Don Sizemore
    D
    K
    Karol 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.sarigiannis
    G
    hello
    P
    pdurbin
    , is there a way to restrict Dataverse guests to only view datasets?
  • pdurbin
    D
    Don 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/
  • G
    g.sarigiannis
    : you don't want guests to see collections (dataverses) or files?
  • g.sarigiannis
    G
    We 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 Sizemore
    D
    G
    g.sarigiannis
    : there is a "meta group" :AllUsers IIRC from which you may revoke downloading permissions? or perhaps :unauthenticated-users if that exists
  • pdurbin
    G
    g.sarigiannis
    : does restricting files help?
  • g.sarigiannis
    G
    P
    pdurbin
    : yes that's what we are going to go with if there's no other option
  • pdurbin
    Would this help? Dataverse setting to restrict files by default #6158 - https://github.com/IQSS/dataverse/issues/6158
  • g.sarigiannis
    G
    That would be very helpful indeed
  • g.sarigiannis
    G
    D
    Don 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 Sizemore
    D
  • g.sarigiannis
    G
    Yup, the issue with what you sent is that any role you create would be a subgroup of the guest role
  • Don Sizemore
    D
    you 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.sarigiannis
    G
    yup 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 Sizemore
    D
    I would ask
    P
    pdurbin
    to be certain
  • pdurbin
    last I checked AllUsers was hard coded
  • Don Sizemore
    D
    @pdurbin 48 open issues. that dude's a real pain in the butt ;)
  • pdurbin
    ha
  • poikilotherm (CEST,UTC+2)
    In reply to
    D
    Don Sizemore

  • @pdurbin 48 open issues. that dude's a real pain in the butt ;)
  • You referring to me? 🤨 /me clicks nuckels
  • * You referring to me? 🤨 /me clicks nuckels (:wink:)
  • * You referring to me? 🤨 /me clicks nuckels (😉)
  • pdurbin
    don't make me run my open issues by author script again
  • Kazi Al Refat Pranta joined the room
  • Kazi Al Refat Pranta
    K
    Hello. 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.
  • pdurbin
    I 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 Sizemore
    D
    K
    Kazi Al Refat Pranta
    : can you send a link to the dataset? (I don't find it on Harvard DV)
  • K
    Kazi 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 Pranta
    K
    In reply to
    D
    Don Sizemore

  • K
    Kazi Al Refat Pranta
    : if you're comfortable running Python, I have a silly little script to individually download all files within a dataset.
  • Please do share. I will be much obliged.
  • Don Sizemore
    D
    K
    Kazi 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 Pranta
    K
    In reply to
    pdurbin

  • I 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?
  • yes this is the link. I wasn't sure if it was a problem from my lack of knowledge or the surver.
  • pdurbin
    If you want, I could try downloading one file just to see if it works.
  • Don Sizemore
    D
    K
    Kazi Al Refat Pranta
    : don't thank me until it works!
  • Kazi Al Refat Pranta
    K
    In reply to
    pdurbin

  • If you want, I could try downloading one file just to see if it works.
  • If it won't bother you please do.
  • Don Sizemore
    D
    @pdurbin GeoIP sez 193.136.21.46 is in Braga; my traceroute starts timing out once it hits Level3 in DC
  • pdurbin
    wget is showing about 2.68MB/s ... 10% done
  • pdurbin
    K
    Kazi 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 Pranta
    K
    In reply to
    pdurbin

  • K
    Kazi 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
  • i 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

  • pdurbin
    Looks 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 Pranta
    K
    do 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?
  • Don Sizemore
    D
    K
    Kazi 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.
  • pdurbin
  • Santiago Florez
    S
    Hi everyone
  • Don Sizemore
    D
    Hello!
  • Santiago Florez
    S

    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
  • pdurbin
    right, I remember
  • Santiago Florez
    S
    Yes
    P
    pdurbin
  • When I reload the citation metadata with curl, it's as if the change didn't take effect
  • Do I need to recompile something?
  • pdurbin
    I 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 Florez
    S
    no it's just for me
  • but if anyone is interested...
  • pdurbin
    maybe!
  • 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
  • pdurbin
    Have a good weekend! It's a holiday in the US on Monday. See you Tuesday!
  • poikilotherm (CEST,UTC+2)
    Same in Germany! 😄

You're viewing an archive of events from 2023-05-27. Use a Matrix client to start chatting in this room.

May 2023

  1. Sun
  2. Mon
  3. Tue
  4. Wed
  5. Thu
  6. Fri
  7. Sat
  8. 1
  9. 2
  10. 3
  11. 4
  12. 5
  13. 6
  14. 7
  15. 8
  16. 9
  17. 10
  18. 11
  19. 12
  20. 13
  21. 14
  22. 15
  23. 16
  24. 17
  25. 18
  26. 19
  27. 20
  28. 21
  29. 22
  30. 23
  31. 24
  32. 25
  33. 26
  34. 27
  35. 28
  36. 29
  37. 30
  38. 31

Developer options

Toggles

Backend timing

todo: window.tracingSpansForRequest

Room ID

!AmypvmJtUjBesRrnLM:matrix.org