How I dealt with Sitecore 9 and Solr 6.6.1 lock issue

Sometimes I feel as if computers get emotional. I mean, they get angry and start messing with your work. Also, they start breaking things that weren’t supposed to break. This week, my computer decided to break one of the Solr indexes used by a Sitecore 9 installation.

I got into the same situation as this folk here.

I noticed that Sitecore Forms stopped to show the forms and templates that I had created (again). I checked the logs and saw the error below.

SolrException Error opening new searcher
Figure 1: Solr loga

From what I could find, it seems to be a bad error message due to a corrupted index. The index corruption might have been caused by a failure during the computer restart process. As I recall, I restarted my computer due to a required Windows update.

As recommended in the Sitecore 9 – Update 1 documentation, I installed the Solr 6.6.2 and this problem was fixed again.

Solr 6.6.1 has a known lock bug and it was fixed on version 6.6.2 – https://archive.apache.org/dist/lucene/solr/6.6.2/changes/Changes.html#v6.6.2.bug_fixes.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s