Recently we've been getting an error on our App Service Instance of Umbraco 8.8.1, where by when we attempt to save a normal page we get an error exception.
When I look through the logs, I can see this error occurred:-
System.AggregateException: Exceptions were thrown by listed actions. ---> Lucene.Net.Store.AlreadyClosedException: this IndexReader is closed
at Lucene.Net.Index.IndexReader.EnsureOpen() in d:\Lucene.Net\FullRepo\trunk\src\core\Index\IndexReader.cs:line 206
at Lucene.Net.Index.DirectoryReader.GetFieldNames(FieldOption fieldNames) in d:\Lucene.Net\FullRepo\trunk\src\core\Index\DirectoryReader.cs:line 1055
at Examine.LuceneEngine.Providers.LuceneSearcher.GetAllIndexedFields() in C:\projects\examine-qvx04\src\Examine\LuceneEngine\Providers\LuceneSearcher.cs:line 101
at Examine.LuceneEngine.Providers.BaseLuceneSearcher.CreateQuery(String category, BooleanOperation defaultOperation, Analyzer luceneAnalyzer, LuceneSearchOptions searchOptions) in C:\projects\examine-qvx04\src\Examine\LuceneEngine\Providers\BaseLuceneSearcher.cs:line 64
The only way to fix this is by restarting the App Service. Does anyone know a way to stop this from happening?
IndexReader is closed error on Post Save
Hi,
Recently we've been getting an error on our App Service Instance of Umbraco 8.8.1, where by when we attempt to save a normal page we get an error exception.
When I look through the logs, I can see this error occurred:-
System.AggregateException: Exceptions were thrown by listed actions. ---> Lucene.Net.Store.AlreadyClosedException: this IndexReader is closed at Lucene.Net.Index.IndexReader.EnsureOpen() in d:\Lucene.Net\FullRepo\trunk\src\core\Index\IndexReader.cs:line 206 at Lucene.Net.Index.DirectoryReader.GetFieldNames(FieldOption fieldNames) in d:\Lucene.Net\FullRepo\trunk\src\core\Index\DirectoryReader.cs:line 1055 at Examine.LuceneEngine.Providers.LuceneSearcher.GetAllIndexedFields() in C:\projects\examine-qvx04\src\Examine\LuceneEngine\Providers\LuceneSearcher.cs:line 101 at Examine.LuceneEngine.Providers.BaseLuceneSearcher.CreateQuery(String category, BooleanOperation defaultOperation, Analyzer luceneAnalyzer, LuceneSearchOptions searchOptions) in C:\projects\examine-qvx04\src\Examine\LuceneEngine\Providers\BaseLuceneSearcher.cs:line 64
The only way to fix this is by restarting the App Service. Does anyone know a way to stop this from happening?
Thanks
We're having the same error on 8.9. There are also errors about "App is shutting down so index batch operation is ignored" when this happens.
Did you resolve this?
is working on a reply...