umbraco / Umbraco-CMS

Umbraco is a free and open source .NET content management system helping you deliver delightful digital experiences.
https://umbraco.com
MIT License
4.48k stars 2.69k forks source link

"ExternalIndex" is corrupted #16879

Open kmai-universe opened 2 months ago

kmai-universe commented 2 months ago

Which Umbraco version are you using? (Please write the exact version, example: 10.1.0)

13.4.1

Bug summary

Link to post on forum: https://our.umbraco.com/forum/using-umbraco-and-getting-started/114511-1341-externalindex-corrupted-cannot-rebuild

After some unknown time, the ExternalIndex breaks down on our website. Our website is not a large complex site and has little traffic.

When it breaks down i get the following messages in the log viewer:

"ExternalIndex" is corrupted. System.IO.FileNotFoundException: Could not find file 'C:\WINDOWS\TEMP\ExamineIndexes\ab8632778e6988a4e41e4bc08a866183\ExternalIndex\_x1.si'. File name: 'C:\WINDOWS\TEMP\ExamineIndexes\ab8632778e6988a4e41e4bc08a866183\ExternalIndex\_x1.si'

An unhandled exception has occurred while executing the request. System.IO.FileNotFoundException: Could not find file 'C:\WINDOWS\TEMP\ExamineIndexes\ab8632778e6988a4e41e4bc08a866183\ExternalIndex\_x1.si'. File name: 'C:\WINDOWS\TEMP\ExamineIndexes\ab8632778e6988a4e41e4bc08a866183\ExternalIndex\_x1.si'

Error indexing queue items System.IO.FileNotFoundException: Could not find file 'C:\WINDOWS\TEMP\ExamineIndexes\ab8632778e6988a4e41e4bc08a866183\ExternalIndex\_x1.si'. File name: 'C:\WINDOWS\TEMP\ExamineIndexes\ab8632778e6988a4e41e4bc08a866183\ExternalIndex\_x1.si'

I tried deleting everything in the TEMP folder as suggested by others and then restarted the application. Umbraco then rebuilds everything, except the ExternalIndex which still errors out.

If i open the Examine Management, the ExternalIndex has a red cross besides it. If i open it i get the following:

examine

If i hit the "Rebuild Index" button, nothing happens. And i cannot delete the folder mentioned in the error message as it does not exists:

examine3

This means that our search page is no longer working on our website due to the missing ExternalIndex.

Specifics

No response

Steps to reproduce

There are no steps to reproduce. The problem suddenly presents itself after running with no issues for an unknown time.

Expected result / actual result

Working ExternalIndex.

Expects the Rebuild Index button to work after following the intructions in the error message which states to delete the ExternalIndex folder.

github-actions[bot] commented 2 months ago

Hi there @kmai-universe!

Firstly, a big thank you for raising this issue. Every piece of feedback we receive helps us to make Umbraco better.

We really appreciate your patience while we wait for our team to have a look at this but we wanted to let you know that we see this and share with you the plan for what comes next.

We wish we could work with everyone directly and assess your issue immediately but we're in the fortunate position of having lots of contributions to work with and only a few humans who are able to do it. We are making progress though and in the meantime, we will keep you in the loop and let you know when we have any questions.

Thanks, from your friendly Umbraco GitHub bot :robot: :slightly_smiling_face:

iOvergaard commented 4 weeks ago

Hello @kmai-universe, thanks for reporting this. Examine index failures are notoriously hard to debug. I know there were some updates to Examine in 13.5, which got released after you created this issue. Could I get you to try that out and report back if it works better for you, please?