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?
Can you see the new dataset when you browse around?
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.
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?
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.
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.
Have you tried looking at Solr logs?
I do see this now in the server.log contentInDatabaseButStaleInOrMissingFromIndex and in the solr.log I see unknown field 'fileCount'
Right. You need that fileCount field.
It looks like it was added in 6.5 in https://github.com/IQSS/dataverse/pull/10598
Please see the steps about updating schema.xml at https://github.com/IQSS/dataverse/releases/tag/v6.5
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.
Oh wait, I see it may be step 7. I just ran that step too.
I see what I'm doing wrong. Hold on.
I figured out I was using an older copy of schema.xml and not the newest one. Thanks @Philip Durbin โ๏ธ
Working now? Great!
Yes. It's working now. Thanks again!
phew :big_smile:
Philip Durbin โ๏ธ has marked this topic as resolved.
Last updated: Oct 30 2025 at 06:21 UTC