Hey I am hosting an Umbraco instance on a shared hosting server and periodically with seemingly no rhyme or reason I get the following exception and stack trace. The site remains in this state until I manually go and reset the apppool after which everything works fine again. I am at a lost and any feedback would be very much appreciated.
2015-08-04 00:41:53,782 [7] ERROR Umbraco.Core.UmbracoApplicationBase - [Thread 148] An unhandled exception occurred
System.IO.IOException: The device is not ready.
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.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, Filter filter, Int32 n, Sort sort)
at Examine.LuceneEngine.SearchResults.DoSearch(Query query, IEnumerable1 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.GetUmbracoMedia(Int32 id)
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedMediaCache.GetById(UmbracoContext umbracoContext, Boolean preview, Int32 nodeId)
at Umbraco.Web.PublishedCache.ContextualPublishedCache1.GetById(Boolean preview, Int32 contentId)
at Umbraco.Web.PublishedContentQuery.DocumentById(Int32 id, ContextualPublishedCache cache, Object ifNotFound)
at Umbraco.Web.PublishedContentQuery.Media(Int32 id)
at Umbraco.Web.UmbracoHelper.Media(Object id)
at ASP.PageViewsnewsItemcshtml.Execute() in g:\pleskvhosts\crossfitbyob.com\httpdocs\Views\NewsItem.cshtml:line 14
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
at System.Web.Mvc.RazorView.RenderView(ViewContext viewContext, TextWriter writer, Object instance)
at System.Web.Mvc.BuildManagerCompiledView.Render(ViewContext viewContext, TextWriter writer)
at Umbraco.Core.Profiling.ProfilingView.Render(ViewContext viewContext, TextWriter writer)
at System.Web.Mvc.HtmlHelper.RenderPartialInternal(String partialViewName, ViewDataDictionary viewData, Object model, TextWriter writer, ViewEngineCollection viewEngineCollection)
at System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData)
at System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model)
at ASP.PageViewsNewsSectioncshtml.Execute() in g:\pleskvhosts\crossfitbyob.com\httpdocs\Views\NewsSection.cshtml:line 10
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()
at System.Web.WebPages.StartPage.RunPage()
at System.Web.WebPages.StartPage.ExecutePageHierarchy()
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
at System.Web.Mvc.RazorView.RenderView(ViewContext viewContext, TextWriter writer, Object instance)
at System.Web.Mvc.BuildManagerCompiledView.Render(ViewContext viewContext, TextWriter writer)
at Umbraco.Core.Profiling.ProfilingView.Render(ViewContext viewContext, TextWriter writer)
at System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionResult(ControllerContext controllerContext, ActionResult actionResult)
at System.Web.Mvc.ControllerActionInvoker.<>cDisplayClass1a.
We are seeing this error on the Azure appp serivce :
An unhandled exception occurred and the process was terminated
at Lucene.Net.Store.SimpleFSDirectory.CreateOutput
at Lucene.Net.Index.CompoundFileWriter.Close
at Lucene.Net.Index.DocumentsWriter.CreateCompoundFile
at Lucene.Net.Index.IndexWriter.DoFlushInternal
at Lucene.Net.Index.IndexWriter.DoFlush
at Lucene.Net.Index.IndexWriter.PrepareCommit
at Lucene.Net.Index.IndexWriter.Commit
at Examine.LuceneEngine.Providers.LuceneIndexer.IndexCommiter.TimerRelease
at System.Threading.ExecutionContext.RunInternal
at System.Threading.ExecutionContext.Run
at System.Threading.TimerQueueTimer.CallCallback
at System.Threading.TimerQueueTimer.Fire
at System.Threading.TimerQueue.FireNextTimers
and sometimes this :
at System.IO.FileStream.Init
at System.IO.FileStream..ctor
at Lucene.Net.Store.SimpleFSDirectory.OpenInput
at Lucene.Net.Util.BitVector..ctor
at Lucene.Net.Index.SegmentReader.LoadDeletedDocs
at Lucene.Net.Index.SegmentReader.Get
at Lucene.Net.Index.IndexWriter.ReaderPool.Get
at Lucene.Net.Index.IndexWriter.ReaderPool.Get
at Lucene.Net.Index.DocumentsWriter.ApplyDeletes
at Lucene.Net.Index.IndexWriter.ApplyDeletes
at Lucene.Net.Index.IndexWriter.DoFlushInternal
at Lucene.Net.Index.IndexWriter.DoFlush
at Lucene.Net.Index.IndexWriter.PrepareCommit
at Lucene.Net.Index.IndexWriter.Commit
at Examine.LuceneEngine.Providers.LuceneIndexer.IndexCommiter.TimerRelease
at System.Threading.ExecutionContext.RunInternal
at System.Threading.ExecutionContext.Run
at System.Threading.TimerQueueTimer.CallCallback
at System.Threading.TimerQueueTimer.Fire
at System.Threading.TimerQueue.FireNextTimers
Getting System.IO error from Lucene Index
Hey I am hosting an Umbraco instance on a shared hosting server and periodically with seemingly no rhyme or reason I get the following exception and stack trace. The site remains in this state until I manually go and reset the apppool after which everything works fine again. I am at a lost and any feedback would be very much appreciated.
2015-08-04 00:41:53,782 [7] ERROR Umbraco.Core.UmbracoApplicationBase - [Thread 148] An unhandled exception occurred System.IO.IOException: The device is not ready.
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.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, Filter filter, Int32 n, Sort sort) 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.GetUmbracoMedia(Int32 id) at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedMediaCache.GetById(UmbracoContext umbracoContext, Boolean preview, Int32 nodeId) at Umbraco.Web.PublishedCache.ContextualPublishedCache
1.GetById(Boolean preview, Int32 contentId) at Umbraco.Web.PublishedContentQuery.DocumentById(Int32 id, ContextualPublishedCache cache, Object ifNotFound) at Umbraco.Web.PublishedContentQuery.Media(Int32 id) at Umbraco.Web.UmbracoHelper.Media(Object id) at ASP.PageViewsnewsItemcshtml.Execute() in g:\pleskvhosts\crossfitbyob.com\httpdocs\Views\NewsItem.cshtml:line 14 at System.Web.WebPages.WebPageBase.ExecutePageHierarchy() at System.Web.Mvc.WebViewPage.ExecutePageHierarchy() at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) at System.Web.Mvc.RazorView.RenderView(ViewContext viewContext, TextWriter writer, Object instance) at System.Web.Mvc.BuildManagerCompiledView.Render(ViewContext viewContext, TextWriter writer) at Umbraco.Core.Profiling.ProfilingView.Render(ViewContext viewContext, TextWriter writer) at System.Web.Mvc.HtmlHelper.RenderPartialInternal(String partialViewName, ViewDataDictionary viewData, Object model, TextWriter writer, ViewEngineCollection viewEngineCollection) at System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData) at System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model) at ASP.PageViewsNewsSectioncshtml.Execute() in g:\pleskvhosts\crossfitbyob.com\httpdocs\Views\NewsSection.cshtml:line 10 at System.Web.WebPages.WebPageBase.ExecutePageHierarchy() at System.Web.Mvc.WebViewPage.ExecutePageHierarchy() at System.Web.WebPages.StartPage.RunPage() at System.Web.WebPages.StartPage.ExecutePageHierarchy() at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) at System.Web.Mvc.RazorView.RenderView(ViewContext viewContext, TextWriter writer, Object instance) at System.Web.Mvc.BuildManagerCompiledView.Render(ViewContext viewContext, TextWriter writer) at Umbraco.Core.Profiling.ProfilingView.Render(ViewContext viewContext, TextWriter writer) at System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) at System.Web.Mvc.ControllerActionInvoker.InvokeActionResult(ControllerContext controllerContext, ActionResult actionResult) at System.Web.Mvc.ControllerActionInvoker.<>cDisplayClass1a.Depending on your hosting provider and how they store files on the file system, you might be able to fix this. See my response here: https://our.umbraco.org/forum/getting-started/installing-umbraco/20999-Disable-Lucene-Examine#228320
We are seeing this error on the Azure appp serivce :
An unhandled exception occurred and the process was terminated
at Lucene.Net.Store.SimpleFSDirectory.CreateOutput at Lucene.Net.Index.CompoundFileWriter.Close at Lucene.Net.Index.DocumentsWriter.CreateCompoundFile at Lucene.Net.Index.IndexWriter.DoFlushInternal at Lucene.Net.Index.IndexWriter.DoFlush at Lucene.Net.Index.IndexWriter.PrepareCommit at Lucene.Net.Index.IndexWriter.Commit at Examine.LuceneEngine.Providers.LuceneIndexer.IndexCommiter.TimerRelease at System.Threading.ExecutionContext.RunInternal at System.Threading.ExecutionContext.Run at System.Threading.TimerQueueTimer.CallCallback at System.Threading.TimerQueueTimer.Fire at System.Threading.TimerQueue.FireNextTimers
and sometimes this :
at System.IO.FileStream.Init at System.IO.FileStream..ctor at Lucene.Net.Store.SimpleFSDirectory.OpenInput at Lucene.Net.Util.BitVector..ctor at Lucene.Net.Index.SegmentReader.LoadDeletedDocs at Lucene.Net.Index.SegmentReader.Get at Lucene.Net.Index.IndexWriter.ReaderPool.Get at Lucene.Net.Index.IndexWriter.ReaderPool.Get at Lucene.Net.Index.DocumentsWriter.ApplyDeletes at Lucene.Net.Index.IndexWriter.ApplyDeletes at Lucene.Net.Index.IndexWriter.DoFlushInternal at Lucene.Net.Index.IndexWriter.DoFlush at Lucene.Net.Index.IndexWriter.PrepareCommit at Lucene.Net.Index.IndexWriter.Commit at Examine.LuceneEngine.Providers.LuceneIndexer.IndexCommiter.TimerRelease at System.Threading.ExecutionContext.RunInternal at System.Threading.ExecutionContext.Run at System.Threading.TimerQueueTimer.CallCallback at System.Threading.TimerQueueTimer.Fire at System.Threading.TimerQueue.FireNextTimers
do you know whats happening ?
we have
version :
thanks,
is working on a reply...