Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Dan Garstone 2 posts 72 karma points
    Jul 10, 2023 @ 09:45
    Dan Garstone
    0

    Umbraco 7 - Requires Index Rebuilds

    Hey,

    We have an issue where we have a website running on Umbraco 7.15.5. To solve this I keep having to rebuild the indexes which brings the site back up but would like to address the underlying issue. The website runs on Microsoft Azure App Services.

    The underlying stack trace is as follows:

    ERROR Umbraco.Core.UmbracoApplicationBase - An unhandled exception occurred System.Exception: Exception while creating a value. ---> System.IO.IOException: An unexpected network error occurred.

    at System.IO.Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.ReadCore(Byte[] buffer, Int32 offset, Int32 count) at System.IO.FileStream.Read(Byte[] array, Int32 offset, Int32 count) at System.IO.BinaryReader.Read(Byte[] buffer, Int32 index, Int32 count) at Lucene.Net.Store.SimpleFSDirectory.SimpleFSIndexInput.ReadInternal(Byte[] b, Int32 offset, Int32 len) at Lucene.Net.Store.BufferedIndexInput.ReadBytes(Byte[] b, Int32 offset, Int32 len, Boolean useBuffer) at Lucene.Net.Index.CompoundFileReader.CSIndexInput.ReadInternal(Byte[] b, Int32 offset, Int32 len) at Lucene.Net.Store.BufferedIndexInput.Refill() at Lucene.Net.Store.BufferedIndexInput.ReadByte() at Lucene.Net.Store.IndexInput.ReadVInt() at Lucene.Net.Index.TermBuffer.Read(IndexInput input, FieldInfos fieldInfos) at Lucene.Net.Index.SegmentTermEnum.Next() at Lucene.Net.Index.SegmentTermEnum.ScanTo(Term term) at Lucene.Net.Index.TermInfosReader.Get(Term term, Boolean useCache) at Lucene.Net.Index.TermInfosReader.Terms(Term term) at Lucene.Net.Index.SegmentReader.Terms(Term t) at Lucene.Net.Index.DirectoryReader.MultiTermEnum..ctor(IndexReader topReader, IndexReader[] readers, Int32[] starts, Term t) at Lucene.Net.Index.DirectoryReader.Terms(Term term) at Lucene.Net.Search.WildcardTermEnum..ctor(IndexReader reader, Term term) at Lucene.Net.Search.WildcardQuery.GetEnum(IndexReader reader) at Lucene.Net.Search.MultiTermQuery.ConstantScoreAutoRewrite.Rewrite(IndexReader reader, MultiTermQuery query) at Lucene.Net.Search.WildcardQuery.Rewrite(IndexReader reader) at Lucene.Net.Search.BooleanQuery.Rewrite(IndexReader reader) at Lucene.Net.Search.BooleanQuery.Rewrite(IndexReader reader) at Lucene.Net.Search.IndexSearcher.Rewrite(Query original) at Lucene.Net.Search.Query.Weight(Searcher searcher) at Lucene.Net.Search.Searcher.CreateWeight(Query query) at Lucene.Net.Search.Searcher.Search(Query query, Collector results) at Examine.LuceneEngine.SearchResults.DoSearch(Query query, IEnumerable`1 sortField, Int32 maxResults) at Examine.LuceneEngine.Providers.BaseLuceneSearcher.Search(ISearchCriteria searchParams, Int32 maxResults) at Examine.LuceneEngine.Providers.BaseLuceneSearcher.Search(ISearchCriteria searchParams) at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedMediaCache.GetUmbracoMediaCacheValues(Int32 id) at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedMediaCache.<>cDisplayClass380.0.

    Does anybody have any ideas on what causes this or a way to resolve this to prevent the indexes getting in a state?

    Thanks!

Please Sign in or register to post replies

Write your reply to:

Draft