Stream: troubleshooting

Topic: โœ” upgrade to 6.5 - unable to search for new datasets


view this post on Zulip Jay Sundu (Mar 13 2025 at 16:49):

Hi there again. I just upgraded from 6.4 to 6.5 and while I can create a new dataset, when I do any kind of search the new dataset does not show up. The count by subject increments as expected but the total dataset count when I do an advanced search does not. I get an email saying the dataset was successfully created and when I click the link that way I can find the dataset. I'm not getting any errors in the log. Any ideas on what might be going on?

view this post on Zulip Philip Durbin ๐Ÿš€ (Mar 13 2025 at 18:09):

Can you see the new dataset when you browse around?

view this post on Zulip Jay Sundu (Mar 13 2025 at 18:16):

I can see the new dataset but I can only get to it via the link in the email. I can't browse to it from anywhere else.

view this post on Zulip Philip Durbin ๐Ÿš€ (Mar 13 2025 at 18:18):

Ok, that makes sense. Both search and browse are not working. What if you try to reindex that dataset? https://guides.dataverse.org/en/6.5/admin/solr-search-index.html#reindexing-datasets

No errors in server.log?

view this post on Zulip Jay Sundu (Mar 13 2025 at 18:33):

There are no errors in server.log. I tried to reindex just that dataset with no luck . I just tried clearing all data from Solr and reindexing everything and now I cannot search nor browse any of the datasets.

view this post on Zulip Philip Durbin ๐Ÿš€ (Mar 13 2025 at 18:34):

Usually in cases like this server.log will tell you what's wrong. Often it's a field that needs to be added to Solr's schema.xml.

view this post on Zulip Philip Durbin ๐Ÿš€ (Mar 13 2025 at 18:34):

Have you tried looking at Solr logs?

view this post on Zulip Jay Sundu (Mar 13 2025 at 18:39):

I do see this now in the server.log contentInDatabaseButStaleInOrMissingFromIndex and in the solr.log I see unknown field 'fileCount'

view this post on Zulip Philip Durbin ๐Ÿš€ (Mar 13 2025 at 18:40):

Right. You need that fileCount field.

view this post on Zulip Philip Durbin ๐Ÿš€ (Mar 13 2025 at 18:41):

It looks like it was added in 6.5 in https://github.com/IQSS/dataverse/pull/10598

view this post on Zulip Philip Durbin ๐Ÿš€ (Mar 13 2025 at 18:42):

Please see the steps about updating schema.xml at https://github.com/IQSS/dataverse/releases/tag/v6.5

view this post on Zulip Jay Sundu (Mar 13 2025 at 18:46):

Is that step 7a in the directions? I did run that before and just did it again and the fileCount field is still showing as missing. I also did a the reindex step.

view this post on Zulip Jay Sundu (Mar 13 2025 at 18:48):

Oh wait, I see it may be step 7. I just ran that step too.

view this post on Zulip Jay Sundu (Mar 13 2025 at 18:52):

I see what I'm doing wrong. Hold on.

view this post on Zulip Jay Sundu (Mar 13 2025 at 18:54):

I figured out I was using an older copy of schema.xml and not the newest one. Thanks @Philip Durbin โ˜€๏ธ

view this post on Zulip Philip Durbin ๐Ÿš€ (Mar 13 2025 at 19:08):

Working now? Great!

view this post on Zulip Jay Sundu (Mar 13 2025 at 19:20):

Yes. It's working now. Thanks again!

view this post on Zulip Philip Durbin ๐Ÿš€ (Mar 13 2025 at 19:20):

phew :big_smile:

view this post on Zulip Notification Bot (Mar 13 2025 at 20:19):

Philip Durbin โ˜€๏ธ has marked this topic as resolved.


Last updated: Oct 30 2025 at 06:21 UTC