Skip to content

v4.2

Compare
Choose a tag to compare
@pdurbin pdurbin released this 28 Sep 20:40
· 24579 commits to master since this release

Dataverse v4.2 is focused on improving performance of the files and permissions pages as well as adding batch editing of files.

Numerous bug fixes have been added and new features, including:

  • Not displaying the upload error triangle to the user
  • Allowing saving of files and terms of use when a required metadata field is not yet completed.
  • Ability to set Terms of Use and Terms of Access for a dataset template
  • Updates to the responsiveness of the application for smaller screens (including tablets and mobile phones)
  • Download all button returns for datasets

For more information see the <a href=https://github.com/IQSS/dataverse/milestones?state=closed>project milestone notes and <a href=https://github.com/IQSS/dataverse/issues?q=milestone%3A4.2+is%3Aclosed>individual issues .

Installation:
Please see our Installation Guide

Upgrades:
If upgrading from v3.6.2 or earlier, please contact us at [email protected] since this requires considerable planning and effort.

If upgrading from v4.x, you will need to follow the upgrade instructions for each intermediate version.

Please note that the added facets in v4.2 require a new Solr schema and a complete reindex. Depending on how much data you have, this could take a while.

For upgrading from the previous version, v4.1 to v4.2 do the folllowing:

  1. undeploy the current application
    /glassfish4/bin/asadmin list-applications
    /glassfish4/bin/asamin undeploy dataverse-4.1

  2. update the solr schema.xml file
    stop solr
    remove current schema.xml
    replace with the 4.2 schema.xml file provided
    start solr

  3. deploy the new war file
    /glassfish4/bin/asadmin deploy dataverse-4.2.war
    run the upgrade psql script provided: upgrade_v4.1_to_v4.2.sql
    restart glassfish

  4. Reindex Solr
    This is a non destructive reindex and can be done while the application is serving users. First clear index time from the dvobject table:
    update dvobject set indextime=null;
    Then from the web server console run:
    curl -X GET "http://localhost:8080/api/admin/index/continue?numPartitions=1&partitionIdToProcess=0"

    Alternatively, if you don’t mind doing a destructive reindex, clear the current index:
    curl -X GET “http://localhost:8080/api/admin/index/clear”
    Then do an index all:
    curl -X GET "http://localhost:8080/api/admin/index"

    Where 8080 is the port where Glassfish is running.