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?
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?
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)"}
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)"}
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?
Tim,
Does examine management show any deleted info? Also what happens when you open index using Luke?
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
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)"}
WE have the same problem.
Umbraco 7.2, when we trying to delete node from code :
Thanks
Problem is solved:
http://our.umbraco.org/forum/umbraco-7/using-umbraco-7/59895-We-cant-delete-node-via-code
is working on a reply...