Stream: troubleshooting

Topic: โœ” Solr version, Ansible


view this post on Zulip Olivier R (Jul 01 2025 at 15:47):

Hi there,

I used Ansible to perform a fresh installation of Dataverse 6.6 on Debian 12.10 in March 2025. That went fast and smooth. However, when I create a dataset, it does not show up in the UI. It appears that SolrR does not work properly, in view of the numerous errors on solr.log (Unable to create core [collection1] ...).

It took me some time to realize that maybe my installed version of solr, which is 9.4.1, is not the right one. Since the recommended one is 9.8.1 in the release notes, should I upgrade Solr and will it solve the above issue?

view this post on Zulip Philip Durbin ๐Ÿš€ (Jul 01 2025 at 16:06):

Interesting. I'm out of my depth here (@Don Sizemore help!) but assuming you followed https://github.com/gdcc/dataverse-ansible#quickstart you should get the latest version of Dataverse (6.6 as of this writing) and (I would think) the version of Solr mentioned in the guides for the version of Dataverse (Solr 9.8.0 according to the Dataverse 6.6 guides).

view this post on Zulip Philip Durbin ๐Ÿš€ (Jul 01 2025 at 16:07):

It's odd to me that you got an older version of Solr, version 9.4.1.

view this post on Zulip Philip Durbin ๐Ÿš€ (Jul 01 2025 at 16:09):

Also, I'm not sure where you're seeing 9.8.1 in the release notes. We did have PR #11340 for 9.8.1 but we decided that 9.8.0 was good enough and closed that PR without merging it.

view this post on Zulip Olivier R (Jul 01 2025 at 16:19):

Indeed, I simply followed the quickstart guide from github.

The default version of SolR was updated in defaults/main.yml as of May 19, after I had finished installing.

And yes, version 9.8.0 is recommended, not 9.8.1 (my mistake).

view this post on Zulip Philip Durbin ๐Ÿš€ (Jul 01 2025 at 16:22):

Hmm, do you think it's reproducible? If someone follows the quickstart, do you think they'll get Solr 9.4.1 (an old version) instead of 9.8.0 (the correct version)?

view this post on Zulip Olivier R (Jul 01 2025 at 16:32):

Probably not if one gets the last release of https://github.com/gdcc/dataverse-ansible

But certainly yes with the Commit b0841ee of Mars 21:
https://github.com/gdcc/dataverse-ansible/commit/b0841eecec76c963979e4efeb98e45555fa543b9

view this post on Zulip Philip Durbin ๐Ÿš€ (Jul 01 2025 at 17:49):

Ok, well, if you think there is something to fix, please feel free to open an issue.

view this post on Zulip Philip Durbin ๐Ÿš€ (Jul 01 2025 at 17:49):

Meanwhile, as you said, yes, you should use Solr 9.8.0 with Dataverse 6.6.

view this post on Zulip Olivier R (Jul 08 2025 at 09:59):

Indeed, after reinstalling Solr 9.8.0 while following carefully all required steps (e.g., core creation) and reindexing, my datasets became visible in the UI of Dataverse 6.6 for the very first time :+1:

Problem solved, thanks a lot! :folded_hands:

view this post on Zulip Philip Durbin ๐Ÿš€ (Jul 08 2025 at 10:49):

Great news! :tada:

view this post on Zulip Notification Bot (Jul 08 2025 at 12:44):

Olivier R has marked this topic as resolved.


Last updated: Oct 30 2025 at 06:21 UTC