Skip to content

Upgrade 6.5 to 6.6 fails and does not show any data within dataverse: cannot change field "datasetValid" from doc values type=NONE to inconsistent doc values type=SORTED #12428

Description

@inDane

The Update to 6.6 fails for us. I suspect solr indexing. We are using custom metadatablocks.
The domain1/log/server.log shows a mix of errors similar to this:

[#|2026-06-03T17:58:50.637+0200|WARNING|Payara 6.2025.2|edu.harvard.iq.dataverse.ControlledVocabularyValue|_ThreadID=236;_ThreadName=__ejb-thread-pool10;_TimeMillis=1780502330637;_LevelValue=900;|
  Error finding controlledvocabulary.ResistSeq_Technology.illumina in defaultLang : Can't find bundle for base name propertyFiles/RESIST_Sequencing, locale en|#]

[#|2026-06-03T17:58:50.643+0200|SEVERE|Payara 6.2025.2|org.apache.solr.client.solrj.impl.ConcurrentUpdateHttp2SolrClient|_ThreadID=337;_ThreadName=concurrentUpdateScheduler-2-thread-4-processing-null;_TimeMillis=1780502330643;_LevelValue=1000;|
  error
org.apache.solr.client.solrj.impl.BaseHttpSolrClient$RemoteSolrException: Error from server at http://localhost:8983/solr/collection1: null



request: http://localhost:8983/solr/collection1
Remote error message: Exception writing document id dataset_3352_draft to the index; possible analysis error: cannot change field "datasetValid" from doc values type=NONE to inconsistent doc values type=SORTED
	at org.apache.solr.client.solrj.impl.ConcurrentUpdateHttp2SolrClient$Runner.sendUpdateStream(ConcurrentUpdateHttp2SolrClient.java:291)
	at org.apache.solr.client.solrj.impl.ConcurrentUpdateHttp2SolrClient$Runner.run(ConcurrentUpdateHttp2SolrClient.java:192)
	at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:380)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
	at java.base/java.lang.Thread.run(Thread.java:1583)
|#]

I can upload the full log if needed.

What steps does it take to reproduce the issue?
Upgrade from 6.5 to 6.6

  • When does this issue occur?
    While indexing with curl http://localhost:8080/api/admin/index

  • Which page(s) does it occurs on?
    There are no dataverses/datasets showing on the website

  • What happens?
    There are no dataverses/datasets showing on the website

  • To whom does it occur (all users, curators, superusers)?
    Everyone

  • What did you expect to happen?
    Dataverse should show its dataverses and datasets after the upgrade

Which version of Dataverse are you using?
6.5 -> 6.6
6.5 works and as soon as the upgrade is done, no data is showing.

Solr-9.10.1

Any related open or closed issues to this bug report?

Screenshots:

Image

Are you thinking about creating a pull request for this issue?
Help is always welcome, is this bug something you or your organization plan to fix?

I am not a java/payara developer, sorry.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions