The portal is currently running on DNN version 9.9.0. I initially upgraded to version 9.10.2, but during the update in the browser, I received a 502 error. After refreshing the page, everything seemed fine. I then attempted to remove Telerik, and while installing the Resource Manager module, the 502 error reappeared. After another page refresh, the issue seemed resolved. Ultimately, I decided to restore the site to version 9.9.0 using a previously made backup.
After checking the logs, I noticed a recurring general exception related to Lucene that has been appearing for months.
- Here is an example of the error: General Exception AbsoluteURL DefaultDataProvider DotNetNuke.Data.SqlDataProvider DotNetNuke AbsoluteURL: DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke ExceptionGUID:9811f6a1-7486-4312-8a50-938b6b6fa240 AssemblyVersion: PortalId:-1 UserId:-1 TabId:-1 RawUrl: Referrer: UserAgent: ExceptionHash:EGZHbM0vOAj2Aq6c6aIdYvTUvNA= Message:Index was outside the bounds of the array. StackTrace: at Lucene.Net.Util.BitVector.Get(Int32 bit) at Lucene.Net.Index.SegmentTermDocs.ReadNoTf(Int32[] docs, Int32[] freqs, Int32 length) at Lucene.Net.Search.TermScorer.NextDoc() at Lucene.Net.Search.ConjunctionScorer..ctor(Similarity similarity, Scorer[] scorers) at Lucene.Net.Search.BooleanScorer2.CountingConjunctionSumScorer(List`1 requiredScorers) at Lucene.Net.Search.BooleanScorer2.MakeCountingSumScorerSomeReq() at Lucene.Net.Search.BooleanScorer2..ctor(Similarity similarity, Int32 minNrShouldMatch, List`1 required, List`1 prohibited, List`1 optional) at Lucene.Net.Search.BooleanQuery.BooleanWeight.Scorer(IndexReader reader, Boolean scoreDocsInOrder, Boolean topScorer) at Lucene.Net.Index.DocumentsWriter.ApplyDeletes(IndexReader reader, Int32 docIDStart) at Lucene.Net.Index.DocumentsWriter.ApplyDeletes(SegmentInfos infos) at Lucene.Net.Index.IndexWriter.ApplyDeletes() at Lucene.Net.Index.IndexWriter.DoFlushInternal(Boolean flushDocStores, Boolean flushDeletes) at Lucene.Net.Index.IndexWriter.DoFlush(Boolean flushDocStores, Boolean flushDeletes) at Lucene.Net.Index.IndexWriter.PrepareCommit(IDictionary`2 commitUserData) at Lucene.Net.Index.IndexWriter.Commit(IDictionary`2 commitUserData) at DotNetNuke.Services.Search.Internals.LuceneControllerImpl.Commit() at DotNetNuke.Services.Search.SearchEngineScheduler.DoWork() InnerMessage: InnerStackTrace: Source:Lucene.Net FileName: FileLineNumber:0 FileColumnNumber:0 Method: Server Name: - The scheduler shows the following error during content indexing: Search: Site Crawler Starting. Content change start time 9/19/2023 12:22 PM Deleted Objects: 0 Tabs Indexed: 6 Modules (Metadata) Indexed: 5 Modules (Content) Indexed: 41 Users: 64 Total Items Indexed: 116 EXCEPTION: Index was outside the bounds of the array. - Problems with the Search Bar: The search bar does not return any results. Clicking on the "search" option in the site settings menu does nothing and generates an error in the browser console -> API/PersonaBar/SiteSettings/GetBasicSearchSettings:1 Failed to load resource: the server responded with a status of 502 ()
Any suggestions or similar experiences that could help me resolve these issues would be greatly appreciated.
Thank you in advance for your help!
Note: The site was previously moved from one server to another, and uses EasyDnnNews module
These Forums are dedicated to the discussion of DNN Platform.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.