U4-9691 - Could not create an index searcher with the supplied lucene directory ---> System.IO.FileNotFoundException

Created by Morten Christensen 09 Mar 2017, 12:47:54 Updated by Shannon Deminick 03 Apr 2017, 06:25:09

Relates to: UAASSCRUM-712

Relates to: U4-9335

Subtask of: U4-9609

After we have rolled out the directoryFactory settings on Umbraco Cloud we hare started seeing issues with an index file or part of an index that is not found within the /wwwroot/app_data/temp/examine* folder.

Here are links to related (support) mentions: https://umbraco.slack.com/archives/support-umbraco-cloud/p1489061174805449

Could not find file 'C:\inetpub\temp\DWASFiles\Sites\f41eec70-89fe-446a-b270-64032771307e\VirtualDirectory0\site\wwwroot\App_Data\TEMP\ExamineIndexes\External\Index\_5k.fdt'. 

And https://umbraco.slack.com/archives/support-umbraco-cloud/p1487769445544825

System.ApplicationException: Could not create an index searcher with the supplied lucene directory ---> System.IO.FileNotFoundException: _1fz.fdt ---> System.IO.FileNotFoundException: Could not find file 'C:\inetpub\temp\DWASFiles\Sites\1a8e99f1-a5a0-448b-9532-8f172c2541c8\VirtualDirectory0\site\wwwroot\App_Data\TEMP\ExamineIndexes\Internal\Index\_1fz.fdt'.

It would appear that something is assumed to be part of the index in the wwwroot/app_data, which isn't there - possibly because it only exists in the (Cloud) %temp% storage?

13 Attachments

Download UmbracoTraceLog.PrUmWeWorker012.txt

Download UmbracoTraceLog.PrUmWeWorker009.txt

Download DBU - UmbracoTraceLog.PrUmWeWorker022.txt

Download UmbracoTraceLog.PrUmWeWorker031.txt.txt

Download fmnh-web-2016-UmbracoTraceLog.PrUmWeWorker030.txt

Download uWestFest, DEV - UmbracoTraceLog.PrUmWeWorker004.txt

Download quillcm - UmbracoTraceLog.PrUmWeWorker008.txt

Download Shinepowered LOG UmbracoTraceLog.PrUmWeWorker025.txt

Download FLARE studio UmbracoTraceLog.PrUmWeWorker048.txt.2017-03-26

Download Examine.zip

Download Examine.zip

Download Examine.0.1.82-beta1.nupkg

Comments

Sebastiaan Janssen 09 Mar 2017, 12:55:04

Log file for the latest instance of the error is attached.


Morten Christensen 09 Mar 2017, 13:05:35

DBU sites that encountered this error since March 1st:

Sunds IF fejler 03/03/2017 08:37
Message from HostMonitor (host changed status)Test : Sunds IFMethod: HTTP test (live-343-sunds-if.umbraco-proxy.com)Status : BadDate : 03-03-2017 08:36:17Reply : 109 msRecurrences : 4Last status: BadTotal tests: 13373Alive ratio : 99,57 %Dead ratio: 0,27 %Folder: Klub-CMS

FC Salling (Roslev IK) fejler 03/03/2017 14:44
Message from HostMonitor (host changed status)Test : FC Salling (Roslev IK)Method: HTTP test (31-fc-salling.s1.umbraco.io)Status : BadDate : 03-03-2017 14:43:51Reply : 106 msRecurrences : 4Last status: BadTotal tests: 5Alive ratio : 20,00 %Dead ratio: 80,00 %Folder: Klub-CMS

Bording IF fejler 05/03/2017 22:31
Message from HostMonitor (host changed status)Test : Bording IFMethod: HTTP test (live-206-bording-if.umbraco-proxy.com)Status : BadDate : 05-03-2017 22:30:50Reply : 189 msRecurrences : 4Last status: BadTotal tests: 13822Alive ratio : 93,29 %Dead ratio: 6,56 %Folder: Klub-CMS

Hjørring IF fejler 08/03/2017 09:16
Message from HostMonitor (host changed status)Test : Hjørring IFMethod: HTTP test (live-68-hjoerring-if.umbraco-proxy.com)Status : BadDate : 08-03-2017 09:15:29Reply : 127 msRecurrences : 4Last status: BadTotal tests: 13698Alive ratio : 98,02 %Dead ratio: 1,80 %Folder: Klub-CMS


Sebastiaan Janssen 10 Mar 2017, 12:54:42

Another log.


Sofie Toft 15 Mar 2017, 13:43:16

Log for DBU site: 534 Helsted Fremad IF


Dennis Aaen 20 Mar 2017, 14:26:39

Log for https://dev-historics.s1.umbraco.io


Emil Wangaa 21 Mar 2017, 15:50:07

Log for live environment for: https://www.s1.umbraco.io/project/fmnh-web-2016


Sofie Toft 23 Mar 2017, 08:16:08

Log for uWestFest Dev environment: https://www.s1.umbraco.io/project/uwestfest


Sofie Toft 23 Mar 2017, 08:16:32

Log for quillmc Live: https://www.s1.umbraco.io/project/quillcm


Georgs Bormanis 24 Mar 2017, 12:13:05

https://www.s1.umbraco.io/project/shinepowered


Georgs Bormanis 27 Mar 2017, 07:23:44

https://www.s1.umbraco.io/project/flare-studio


Shannon Deminick 29 Mar 2017, 06:56:16

Have made another zip, this is tagged as Examine.0.1.82-beta1


Shannon Deminick 29 Mar 2017, 11:16:16

I've pushed a PR for Core https://github.com/umbraco/Umbraco-CMS/pull/1843 which updates the examine dashboard to check if an index is corrupted and will allow you to rebuild it in the back office without having to reset your app and manually delete the files.

To test, have an existing index. shut down your app domain. delete one of those files, start your app and go to the Examine mgmt dashboard and you should see something like:

The main 'fix' for this will be: http://issues.umbraco.org/issue/U4-9692


Priority: Critical

Type: Bug

State: Fixed

Assignee:

Difficulty:

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions: 7.5.11

Due in version: 7.5.12

Sprint: Sprint 56

Story Points: 5

Cycle: