I need some help getting Examine search to work. I followed the video guid on umbraco.org. But there is no index files being created.
I did try to remove the folder 'ExamineIndexes'. ExamineIndexes was re created with the 'SearchIndex' subfolder, and the 'Index' and the 'Queue' folders were created. But the folder 'Index' only contains one file named write.lock
When I publish I get the following error messages in umbracoLog:
[UmbracoExamine] An error occurred recreating the index set,Lock obtain timed out: NativeFSLock@d:\www\tadmin6646\web35279\mySite.com\html\App_Data\ExamineIndexes\SearchIndex\Index\write.lock
And when I try to use the search usercontrol i get the following error in the log:
At /search.aspx?s=hej (Referred by: ): System.ApplicationException: There is no Lucene index in the folder: d:\www\mySite.com\html\App_Data\ExamineIndexes\SearchIndex\Index to create an IndexSearcher on ---> System.IO.FileNotFoundException: no segments* file found in Lucene.Net.Store.SimpleFSDirectory@d:\www\mySite.com\html\App_Data\ExamineIndexes\SearchIndex\Index: files: vid Lucene.Net.Index.SegmentInfos.FindSegmentsFile.Run(IndexCommit commit)
[UmbracoExamine] An error occurred recreating the index set,Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
It seems like this wont work on medium trust. Is this a correct assumption or is it possible to run examine search in medium trust?
Hmmm, I wonder if this is a medium trust issue. Did you double-check the permissions on the Index folder and make sure the IIS user has permissions to write to that folder. I'll be interested to see if someone can point to a medium trust issue here.
I was running medium trust and I never got it working, I ran the latest lucene/Examina version, even downloaded it seperatly but didnt work.
But because of the RAM limit on my web host I have switched to a vps server, and now I can run the site in full trust and it's working perfectly.
Oh, when I was running in medium trust the folder had the same write permissions as all the other folders that need write permissions. I still dont know what caused this, but my guess lies on medium trust or some configuration with my web host (binero.se).
I have this same problem now.. seems Umbraco is not generating the index folders are empty.
I've installed the Examine Dashboard app, and now every top level node in the Developer section throws this error:
no segments* file found in Lucene.Net.Store.SimpleFSDirectory@C:\Inetpub\vhosts\payslip.com.au\httpdocs\pps\App_Data\TEMP\ExamineIndexes\Internal\Index: files:
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IO.FileNotFoundException: no segments* file found in Lucene.Net.Store.SimpleFSDirectory@C:\Inetpub\vhosts\payslip.com.au\httpdocs\pps\App_Data\TEMP\ExamineIndexes\Internal\Index: files:
Uninstalled the package, developer section is working properly again - seems it can't work without indexes being present. :(
I've added the requirePermission="false" in web.config, like this:
Permissions on Index folders is Full for IIS Users.
I tried to rename App_Data to App_Data_x and recycle app pool... App_Data folder was recreated but only with the TEMP folder, and the 2 .config files - none of the GUID named folders were recreated - are they supposed to be?
This is a serious and long-standing issue that i need to fix ASAP. I am prepared to pay somebody to fix it for me - get in touch if you'd like to discuss this.. otherwise any other suggestions here would be appreciated. I've reached the end of my tether with this, and in all honesty the community that built this system has not been very supportive unfortunately :(
Please, can somebody help me with this? My client's websites are currently broken due to this issue, and I can no longer fix it by just deleting the indexes as i did before - they are no longer rebuilding and I have no idea what i did to break it.
Check your logs, there's probably errors in them. Also you are running a very old version of Umbraco. There's a hundreds of fixes in later versions, some of which probably may have fixed issues relating to what you are experiencing.
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 29/04/2013 12:00:38 PM
Event time (UTC): 29/04/2013 2:00:38 AM
Event ID: 156850fd2ffd4b1d85cdb404248c6aff
Event sequence: 414
Event occurrence: 2
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/9/ROOT-3-130116741242827500
Trust level: Full
Application Virtual Path: /
Application Path: C:\Inetpub\vhosts\xxx\
Machine name: VMH12355
Process information:
Process ID: 5404
Process name: w3wp.exe
Account name: VMH12355\IWPD_1(pps)
Exception information:
Exception type: FileNotFoundException
Exception message: no segments* file found in Lucene.Net.Store.SimpleFSDirectory@C:\Inetpub\xxx\App_Data\TEMP\ExamineIndexes\Internal\Index: files:
at Lucene.Net.Index.SegmentInfos.FindSegmentsFile.Run(IndexCommit commit)
at Lucene.Net.Index.DirectoryReader.Open(Directory directory, IndexDeletionPolicy deletionPolicy, IndexCommit commit, Boolean readOnly, Int32 termInfosIndexDivisor)
at Lucene.Net.Index.IndexReader.Open(String path, Boolean readOnly)
at FergusonMoriyama.Umbraco.ExamineGui.Service.ExamineGuiService.NumberOfDocuments(String indexProvider)
at ASP.usercontrols_indexstatus_ascx.__DataBind__control19(Object sender, EventArgs e)
at System.Web.UI.Control.OnDataBinding(EventArgs e)
at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
at System.Web.UI.Control.DataBind()
at System.Web.UI.Control.DataBindChildren()
at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
at System.Web.UI.Control.DataBind()
at System.Web.UI.WebControls.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem)
at System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource)
at System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e)
at System.Web.UI.WebControls.Repeater.DataBind()
at FergusonMoriyama.Umbraco.ExamineGui.UserControls.IndexStatus.Page_Load(Object sender, EventArgs e)
at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Request information:
Request URL: https://xxx:443/umbraco/dashboard.aspx?app=developer
Request path: /umbraco/dashboard.aspx
User host address: xxx.xxx.xxx.xxx
User:
Is authenticated: False
Authentication Type:
Thread account name: VMH12355\IWPD_1(pps)
Thread information:
Thread ID: 19
Thread account name: VMH12355\IWPD_1(pps)
Is impersonating: False
Stack trace: at Lucene.Net.Index.SegmentInfos.FindSegmentsFile.Run(IndexCommit commit)
at Lucene.Net.Index.DirectoryReader.Open(Directory directory, IndexDeletionPolicy deletionPolicy, IndexCommit commit, Boolean readOnly, Int32 termInfosIndexDivisor)
at Lucene.Net.Index.IndexReader.Open(String path, Boolean readOnly)
at FergusonMoriyama.Umbraco.ExamineGui.Service.ExamineGuiService.NumberOfDocuments(String indexProvider)
at ASP.usercontrols_indexstatus_ascx.__DataBind__control19(Object sender, EventArgs e)
at System.Web.UI.Control.OnDataBinding(EventArgs e)
at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
at System.Web.UI.Control.DataBind()
at System.Web.UI.Control.DataBindChildren()
at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
at System.Web.UI.Control.DataBind()
at System.Web.UI.WebControls.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem)
at System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource)
at System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e)
at System.Web.UI.WebControls.Repeater.DataBind()
at FergusonMoriyama.Umbraco.ExamineGui.UserControls.IndexStatus.Page_Load(Object sender, EventArgs e)
at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Custom event details:
Though i suspect these were thrown by the Examine Dashboard app, so probably not much use.
You are definitely using a very old version of Examine too. If you for some reason don't want to upgrade your Umbraco installation then you should definitely look at upgrading Examine.
Do you think upgrading will fix it? I can give that a go - been avoiding doing so as I've built a custom Applicaiton on this site that uses the umbraco API extensively, so I'm hoping nothing breaks there :(
I'll give it a go. No idea what else i can do really...
I would highly recommend upgrading, there's literally hundreds of fixes between 4.7.1.1 and 4.11.7 and that like 4 versions ahead, not to mention the patch releases. Plus the version of Examine you are using is very old.
Also, there shouldn't get any things that will break for you, the API calls maintained compatibility but stability and performance has been largely improved from the version you are running. Of course there are edge cases so you'd need to test of course :)
I got the site working again by copying my local index files to the server.. but i assume the next time the site tries to update the indexes it'll break.. is there a way to turn it off on the server until i've fixed the underlying issue?
Hey.. i tried to upgrade another website and ran into issues with uComponents.. what's the easiest way to upgrade uComponents to the latest version to ensure compatibility with newer Umbraco versions?
Is there an upgrade guide or something? And do i need to recreate any data types or anything after upgrade? I could not find this documented anywhere so hoping you can point me in the right direction.
I need some help getting Examine search and I followed the limk http://umbraco.com/follow-us/blog-archive/2011/9/16/examining-examine.aspx guid on umbraco.org. But it is not unstable and sometime happen error below. I'm using Umbraco version 7.2.2 and my database website is huge database and about 2 milion record published. please help me fix it as soon.
System.IO.FileNotFoundException: Could not find file 'D:\vhost\mywebsite\App_Data\TEMP\ExamineIndexes\InternalArticle\Index\_19.fnm'.
Examine search error: There is no Lucene index
Hi all,
I need some help getting Examine search to work. I followed the video guid on umbraco.org. But there is no index files being created.
I did try to remove the folder 'ExamineIndexes'.
ExamineIndexes was re created with the 'SearchIndex' subfolder, and the 'Index' and the 'Queue' folders were created. But the folder 'Index' only contains one file named write.lock
This is how my IndexSet in ExamineIndex.config
This is my ExamineSettings.config
When I publish I get the following error messages in umbracoLog:
[UmbracoExamine] An error occurred recreating the index set,Lock obtain timed out: NativeFSLock@d:\www\tadmin6646\web35279\mySite.com\html\App_Data\ExamineIndexes\SearchIndex\Index\write.lock
And when I try to use the search usercontrol i get the following error in the log:
At /search.aspx?s=hej (Referred by: ): System.ApplicationException: There is no Lucene index in the folder: d:\www\mySite.com\html\App_Data\ExamineIndexes\SearchIndex\Index to create an IndexSearcher on --->
System.IO.FileNotFoundException: no segments* file found in Lucene.Net.Store.SimpleFSDirectory@d:\www\mySite.com\html\App_Data\ExamineIndexes\SearchIndex\Index: files:
vid Lucene.Net.Index.SegmentInfos.FindSegmentsFile.Run(IndexCommit commit)
Anyone got an idea on how to solve this?
Now i got this error:
[UmbracoExamine] An error occurred recreating the index set,Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
It seems like this wont work on medium trust. Is this a correct assumption or is it possible to run examine search in medium trust?
Hmmm, I wonder if this is a medium trust issue. Did you double-check the permissions on the Index folder and make sure the IIS user has permissions to write to that folder. I'll be interested to see if someone can point to a medium trust issue here.
Can you give us some more info around your setup:
I was running medium trust and I never got it working, I ran the latest lucene/Examina version, even downloaded it seperatly but didnt work.
But because of the RAM limit on my web host I have switched to a vps server, and now I can run the site in full trust and it's working perfectly.
Oh, when I was running in medium trust the folder had the same write permissions as all the other folders that need write permissions. I still dont know what caused this, but my guess lies on medium trust or some configuration with my web host (binero.se).
Thx for all your help.
Hmm I'm pretty sure we support medium trust...
you'll need to add the requirePermission="false" to the examine config header like:
<section name="Examine" type="Examine.Config.ExamineSettings, Examine" requirePermission="false"/>
<section name="ExamineLuceneIndexSets" type="Examine.LuceneEngine.Config.IndexSets, Examine" requirePermission="false" />
Hey all,
I have this same problem now.. seems Umbraco is not generating the index folders are empty.
I've installed the Examine Dashboard app, and now every top level node in the Developer section throws this error:
no segments* file found in Lucene.Net.Store.SimpleFSDirectory@C:\Inetpub\vhosts\payslip.com.au\httpdocs\pps\App_Data\TEMP\ExamineIndexes\Internal\Index: files:
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IO.FileNotFoundException: no segments* file found in Lucene.Net.Store.SimpleFSDirectory@C:\Inetpub\vhosts\payslip.com.au\httpdocs\pps\App_Data\TEMP\ExamineIndexes\Internal\Index: files:
Uninstalled the package, developer section is working properly again - seems it can't work without indexes being present. :(
I've added the requirePermission="false" in web.config, like this:
Site is running in Full Trust (Internal).
Permissions on Index folders is Full for IIS Users.
I tried to rename App_Data to App_Data_x and recycle app pool... App_Data folder was recreated but only with the TEMP folder, and the 2 .config files - none of the GUID named folders were recreated - are they supposed to be?
Running on a single machine, VPS Win Server 2008.
Umbraco 4.7.1.1
Related issues discussed here:
http://our.umbraco.org/forum/ourumb-dev-forum/bugs/39904-Error-Loading-MacroEngine-Script
And this could be related too... not sure:
http://our.umbraco.org/forum/ourumb-dev-forum/bugs/39632-Periodic-failures-of-Examine-breaks-website
This is a serious and long-standing issue that i need to fix ASAP. I am prepared to pay somebody to fix it for me - get in touch if you'd like to discuss this.. otherwise any other suggestions here would be appreciated. I've reached the end of my tether with this, and in all honesty the community that built this system has not been very supportive unfortunately :(
Please, can somebody help me with this? My client's websites are currently broken due to this issue, and I can no longer fix it by just deleting the indexes as i did before - they are no longer rebuilding and I have no idea what i did to break it.
Thanks
Greg
Check your logs, there's probably errors in them. Also you are running a very old version of Umbraco. There's a hundreds of fixes in later versions, some of which probably may have fixed issues relating to what you are experiencing.
Not much in the Umbraco logs.. looks like of like this after application startup:
12:08:09
12:08:09
12:08:09
12:08:08
12:08:08
12:07:58
12:07:58
12:07:58
12:07:58
12:07:58
12:07:58
12:07:58
12:06:35
12:06:35
Windows logs have a few of these:
Though i suspect these were thrown by the Examine Dashboard app, so probably not much use.
You are definitely using a very old version of Examine too. If you for some reason don't want to upgrade your Umbraco installation then you should definitely look at upgrading Examine.
Hey Shannon...
It's version 4.7.1.1
Do you think upgrading will fix it? I can give that a go - been avoiding doing so as I've built a custom Applicaiton on this site that uses the umbraco API extensively, so I'm hoping nothing breaks there :(
I'll give it a go. No idea what else i can do really...
I would highly recommend upgrading, there's literally hundreds of fixes between 4.7.1.1 and 4.11.7 and that like 4 versions ahead, not to mention the patch releases. Plus the version of Examine you are using is very old.
Also, there shouldn't get any things that will break for you, the API calls maintained compatibility but stability and performance has been largely improved from the version you are running. Of course there are edge cases so you'd need to test of course :)
Okay, I will upgrade the site.
Can you suggest an upgrade path?
There's upgrade instructions here:
http://umbraco.codeplex.com/releases/view/98167
Thanks... Okay i'll try upgrade to 4.11.7... wish me luck...
I got the site working again by copying my local index files to the server.. but i assume the next time the site tries to update the indexes it'll break.. is there a way to turn it off on the server until i've fixed the underlying issue?
Hey.. i tried to upgrade another website and ran into issues with uComponents.. what's the easiest way to upgrade uComponents to the latest version to ensure compatibility with newer Umbraco versions?
Is there an upgrade guide or something? And do i need to recreate any data types or anything after upgrade? I could not find this documented anywhere so hoping you can point me in the right direction.
Hi All,
I need some help getting Examine search and I followed the limk http://umbraco.com/follow-us/blog-archive/2011/9/16/examining-examine.aspx guid on umbraco.org. But it is not unstable and sometime happen error below. I'm using Umbraco version 7.2.2 and my database website is huge database and about 2 milion record published. please help me fix it as soon.
System.IO.FileNotFoundException: Could not find file 'D:\vhost\mywebsite\App_Data\TEMP\ExamineIndexes\InternalArticle\Index\_19.fnm'.
File name: 'D:\vhost\mywebsite\App_Data\TEMP\ExamineIndexes\InternalArticle\Index\_19.fnm'
at Lucene.Net.Index.SegmentInfos.FindSegmentsFile.Run(IndexCommit commit)
at Lucene.Net.Index.DirectoryReader.DoReopenNoWriter(Boolean openReadOnly, IndexCommit commit)
at Examine.LuceneEngine.Providers.LuceneSearcher.ValidateSearcher(Boolean forceReopen)
at UmbracoExamine.UmbracoExamineSearcher.GetSearchFields()
at UmbracoExamine.UmbracoExamineSearcher.CreateSearchCriteria(String type, BooleanOperation defaultOperation)
at xonefm.Models.DocumentTypeAccess.SearchEngineAccess.SearchArticle(String keyword, Int32 top)
at xonefm.Controllers.SurfaceControllers.SearchController.Search()
Number of Line: 0
Thanks
is working on a reply...