Stream: troubleshooting

Topic: Upgrade to 6.0


view this post on Zulip Ana (Jan 14 2026 at 12:46):

Hi everyone,
I upgraded Dataverse from 5.14 to 6.0. During the WAR deploy, I got 300+ warnings related to database constraints that already exist, and the process ended with “Command deploy completed with warnings”. No errors were reported.

After deployment, I verified the running version using the API endpoint:
curl http://localhost:8080/api/info/version
The response was:
{"status": "OK","data": {"version": "6.0","build": "1512-366fd41"}}

Before continuing with the next upgrade steps (for example, upgrading Solr), I would like to confirm whether these warnings are expected and non-critical, or if any additional actions or procedures are required as a result of them.

Thanks!

view this post on Zulip Philip Durbin 🚀 (Jan 14 2026 at 14:09):

@Ana hi, it's safe to ignore those warnings. We are tracking this here: #11074.

view this post on Zulip Ana (Jan 14 2026 at 14:17):

Thanks for confirming!

view this post on Zulip Ana (Jan 16 2026 at 15:58):

Hi,
After upgrading to Dataverse 6.2 and Dataverse Previewers 1.5, image previews are no longer displayed for datasets in draft version. Instead, the image preview generates an error.
image.png
To troubleshoot, I removed the existing external tool using the API and recreated it with the following json, but the issue persists:

{
  "displayName":"View Image",
  "description":"Preview an image file.",
  "toolName":"imagePreviewer",
  "scope":"file",
  "types":["preview"],
  "toolUrl":"https://gdcc.github.io/dataverse-previewers/previewers/v1.5/ImagePreview.html",
  "toolParameters": {
      "queryParameters":[
        {"fileid":"{fileId}"},
        {"siteUrl":"{siteUrl}"},
        {"datasetid":"{datasetId}"},
        {"datasetversion":"{datasetVersion}"},
        {"locale":"{localeCode}"}
      ]
    },
  "contentType":"image/png",
  "allowedApiCalls": [
    {
      "name": "retrieveFileContents",
      "httpMethod": "GET",
      "urlTemplate": "/api/v1/access/datafile/{fileId}?gbrecs=true",
      "timeOut": 3600
    },
    {
      "name": "downloadFile",
      "httpMethod": "GET",
      "urlTemplate": "/api/v1/access/datafile/{fileId}?gbrecs=false",
      "timeOut": 3600
    },
    {
      "name": "getDatasetVersionMetadata",
      "httpMethod": "GET",
      "urlTemplate": "/api/v1/datasets/{datasetId}/versions/{datasetVersion}",
      "timeOut": 3600
    }
  ]
}

view this post on Zulip Philip Durbin 🚀 (Jan 16 2026 at 16:58):

@Ana hmm, can you please write to https://groups.google.com/g/dataverse-community about this previewers problem? Jim Myers isn't in Zulip but he'll probably answer you there. He's the expert on this topic.

view this post on Zulip Ana (Jan 16 2026 at 20:03):

Sure, thanks Philip!!

view this post on Zulip Philip Durbin 🚀 (Jan 16 2026 at 20:34):

@Ana https://groups.google.com/g/dataverse-community/c/YuwGDGnEmho/m/_O4qu8BPEwAJ looks great! Thanks!


Last updated: Apr 03 2026 at 06:08 UTC