Copied to clipboard

Flag this post as spam?

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


  • Tim 168 posts 372 karma points
    Feb 06, 2014 @ 19:08
    Tim
    0

    Cannot delete node due to Examine error

    We've got a v6.1.6 site which doesn't have anything particuarly special about it i.e. no custom code etc however after moving a node's children to the root, we suddenly cannot delete the node.

    Everytime we try to delete the node an error is thrown:

    Error handling action Could not find file '\\...\App_Data\TEMP\ExamineIndexes\External\Index\segments_c'.

    There's nothing in the logs beyond this that lends itself to the issue. We've deleted all ExamineIndexes, restarted the box and all sorts but cannot delete that node. Publishing others (and this one) is fine but we cannot rebuild the index using the Examine Management dashboard as it throws the error:

    error: {"Message":"An error has occurred.","ExceptionMessage":"Could not find file '\\\\...\\App_Data\\TEMP\\ExamineIndexes\\External\\Index\\segments_2f'.","ExceptionType":"System.IO.FileNotFoundException","StackTrace":"   at Lucene.Net.Index.SegmentInfos.FindSegmentsFile.Run(IndexCommit commit)\r\n   at Lucene.Net.Index.SegmentInfos.Read(Directory directory)\r\n   at Lucene.Net.Index.DirectoryReader.IsCurrent()\r\n   at Examine.LuceneEngine.LuceneExtensions.GetReaderStatus(IndexReader reader)\r\n   at Examine.LuceneEngine.Providers.LuceneSearcher.ValidateSearcher(Boolean forceReopen)\r\n   at Examine.LuceneEngine.Providers.LuceneSearcher.GetSearcher()\r\n   at Umbraco.Web.Search.ExamineExtensions.GetIndexReaderForSearcher(BaseLuceneSearcher searcher)\r\n   at Umbraco.Web.Search.ExamineExtensions.IsIndexLocked(LuceneIndexer indexer)\r\n   at lambda_method(Closure , Object , Object[] )\r\n   at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass13.<GetExecutor>b__c(Object instance, Object[] methodParameters)\r\n   at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.Execute(Object instance, Object[] arguments)\r\n   at System.Threading.Tasks.TaskHelpers.RunSynchronously[TResult](Func`1 func, CancellationToken cancellationToken)"}

     

    Has anyone seen anything similar to this before or how to fix it?

  • Ismail Mayat 4511 posts 10090 karma points MVP 2x admin c-trib
    Feb 06, 2014 @ 19:20
    Ismail Mayat
    0

    Tim,

    Does examine management show any deleted info? Also what happens when you open index using Luke?

  • Tim 168 posts 372 karma points
    Feb 18, 2014 @ 16:50
    Tim
    0

    Hi Ismail,

    Interestingly Examine Management's "Index info & tools" doesn't open, we've tried deleteing the folders completely in the hope it would just recreate the index but no luck.

    I've not tried opening it in Luke, will give that a go but surely deleteing the indexes from App_Data should resolve any unlying issues with the files?

    Tim

  • Tim 168 posts 372 karma points
    Feb 18, 2014 @ 17:01
    Tim
    0

    The Examine Management issue was a red herring, reloading the page has sorted that and is showing the same 15 deletions as Luke. Other than that Luke looks happy.

    Still rebuilding again and it's complaining about a missing segement again:

    {"Message":"An error has occurred.","ExceptionMessage":"Could not find file '\\\\webnode4\\...\\App_Data\\TEMP\\ExamineIndexes\\External\\Index\\segments_10w'.","ExceptionType":"System.IO.FileNotFoundException","StackTrace":"   at Lucene.Net.Index.SegmentInfos.FindSegmentsFile.Run(IndexCommit commit)\r\n   at Lucene.Net.Index.SegmentInfos.Read(Directory directory)\r\n   at Lucene.Net.Index.DirectoryReader.IsCurrent()\r\n   at Examine.LuceneEngine.LuceneExtensions.GetReaderStatus(IndexReader reader)\r\n   at Examine.LuceneEngine.Providers.LuceneSearcher.ValidateSearcher(Boolean forceReopen)\r\n   at Examine.LuceneEngine.Providers.LuceneSearcher.GetSearcher()\r\n   at Umbraco.Web.Search.ExamineExtensions.GetIndexReaderForSearcher(BaseLuceneSearcher searcher)\r\n   at Umbraco.Web.Search.ExamineExtensions.IsIndexLocked(LuceneIndexer indexer)\r\n   at lambda_method(Closure , Object , Object[] )\r\n   at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass13.<GetExecutor>b__c(Object instance, Object[] methodParameters)\r\n   at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.Execute(Object instance, Object[] arguments)\r\n   at System.Threading.Tasks.TaskHelpers.RunSynchronously[TResult](Func`1 func, CancellationToken cancellationToken)"}

  • Alex Skrypnyk 6132 posts 23951 karma points MVP 7x admin c-trib
    Dec 18, 2014 @ 14:07
    Alex Skrypnyk
    0

    WE have the same problem.

    Umbraco 7.2, when we trying to delete node from code :

    {"Message":"An error has occurred.","ExceptionMessage":"Could not find file '\\App_Data\\TEMP\\ExamineIndexes\\Internal\\Index\\_1ay.cfs'.","ExceptionType":"System.IO.FileNotFoundException","StackTrace":"   at Lucene.Net.Index.SegmentInfos.FindSegmentsFile.Run(IndexCommit commit)\r\n   at Examine.LuceneEngine.Providers.LuceneSearcher.ValidateSearcher(Boolean forceReopen)"}
    

    Thanks

  • Alex Skrypnyk 6132 posts 23951 karma points MVP 7x admin c-trib
    Dec 18, 2014 @ 15:42
Please Sign in or register to post replies

Write your reply to:

Draft