Stream: troubleshooting

Topic: [v6.8] Dataverse publishing status issue + indexing


view this post on Zulip Brian Cassidy (Nov 05 2025 at 13:11):

I believe we were suffering from this bug where the dataverse is still marked as unpublished.

I decided to try and reindex everything, but now none of our published dataverses are showing up in the index.
image.png

view this post on Zulip Philip Durbin πŸš€ (Nov 05 2025 at 13:35):

Huh. Can you reproduce this on https://demo.dataverse.org ?

view this post on Zulip Brian Cassidy (Nov 05 2025 at 13:58):

I wasn't involved with the publishing of the dataset. My guess was that they published the dataset at the same time as the dataverse -- but that works fine on the demo site.

When I'm logged in as admin on our site, only the unpublished dataverses show up
image.png

view this post on Zulip Brian Cassidy (Nov 05 2025 at 14:08):

Sigh.

> sudo diff -u schema.xml /var/solr/data/collection1/conf/schema.xml
--- schema.xml  2025-11-05 14:05:43.745073331 +0000
+++ /var/solr/data/collection1/conf/schema.xml  2025-07-24 17:25:07.852093156 +0000
@@ -242,7 +242,6 @@

     <field name="license" type="string" stored="true" indexed="true" multiValued="false"/>
     <field name="fileCount" type="plong" stored="true" indexed="true" multiValued="false"/>
-    <field name="datasetCount" type="plong" stored="true" indexed="true" multiValued="false"/>

     <!--
         METADATA SCHEMA FIELDS

view this post on Zulip Philip Durbin πŸš€ (Nov 05 2025 at 14:09):

Ah, yes, datasetCount must be it.

view this post on Zulip Brian Cassidy (Nov 05 2025 at 14:09):

updated schema, re-indexed, all good.

view this post on Zulip Brian Cassidy (Nov 05 2025 at 14:10):

PLUS, the initial issue with the "unpublished" icon seems to be resolved. perhaps related?

view this post on Zulip Philip Durbin πŸš€ (Nov 05 2025 at 14:15):

Hmm. Maybe. Do you want to leave a comment on that issue with your experience? It could be that GermΓ‘n Saracca simply had an out of date Solr schema.

view this post on Zulip Brian Cassidy (Nov 05 2025 at 14:20):

Will do!

view this post on Zulip Brian Cassidy (Nov 05 2025 at 14:25):

Done.

view this post on Zulip Philip Durbin πŸš€ (Nov 05 2025 at 14:30):

Thanks. As you may have seen I went ahead and closed that issue.

The 6.8 release notes say, "Due to changes in the Solr schema (the addition of field "datasetCount"), updating the Solr schema and reindexing is required."

Do you think that's enough? Should I add something like "Failure to do so will result in collections (dataverses) not transitioning from unpublished to published in terms of the Solr index."?

view this post on Zulip Brian Cassidy (Nov 05 2025 at 15:07):

I typically heed those warnings, but it's possible that I overlooked it because it wasn't part of the files attached to the release

view this post on Zulip Philip Durbin πŸš€ (Nov 05 2025 at 19:14):

That makes sense. You're right, in the past we often attached schema.xml to the release. These days we explain how to download it. We made this change to streamline our release process. I hope you don't mind! :sweat_smile:

view this post on Zulip Brian Cassidy (Nov 05 2025 at 19:27):

Of course not! I'll be sure to read the notes more carefully in the future :)

view this post on Zulip Philip Durbin πŸš€ (Nov 05 2025 at 19:28):

Cool, cool, thanks for understanding. :heart:


Last updated: Jan 09 2026 at 14:18 UTC