Using 4.0.3 on an IIS6 server and using _SVN for source control.
Don't know what happened. The site was working perfectly. Now, everytime I hit any page of the site, I get a 500 error. I can log into the admin area fine and everything seems to be working there.
I am logging the following errors:
Error indexing node: System.IO.FileNotFoundException: Could not find file 'D:\Inetpub\sites\devsites\CMS\umbraco\FullDemo\data\_systemUmbracoIndexDontDelete\_n5.f22'. File name: 'D:\Inetpub\sites\devsites\CMS\umbraco\FullDemo\data\_systemUmbracoIndexDontDelete\_n5.f22' at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at Lucene.Net.Store.FSIndexInput.Descriptor..ctor(FSIndexInput enclosingInstance, FileInfo file, FileAccess mode) at Lucene.Net.Store.FSIndexInput..ctor(FileInfo path) at Lucene.Net.Store.FSDirectory.OpenInput(String name) at Lucene.Net.Index.SegmentReader.OpenNorms(Directory cfsDir) at Lucene.Net.Index.SegmentReader.Initialize(SegmentInfo si) at Lucene.Net.Index.SegmentReader.Get(Directory dir, SegmentInfo si, SegmentInfos sis, Boolean closeDir, Boolean ownDir) at Lucene.Net.Index.IndexWriter.MergeSegments(Int32 minSegment, Int32 end) at Lucene.Net.Index.IndexWriter.MergeSegments(Int32 minSegment) at Lucene.Net.Index.IndexWriter.FlushRamSegments() at Lucene.Net.Index.IndexWriter.Close() at umbraco.cms.businesslogic.index.Indexer.IndexNode(Guid ObjectType, Int32 Id, String Text, String UserName, DateTime CreateDate, Hashtable Fields, Boolean Optimize) at umbraco.cms.businesslogic.web.Document.Index(Boolean Optimze)
The error mentions your index, so try deleting the contents of \data\systemUmbracoIndexDontDelete, then calling this url whilst logged in -> www.yoursite.com/umbraco/reindex.aspx
So I can't tell yet if some of the issues are related to Umbraco or our web server. Our staging server is also having issues (and my local computer's video card died this weekend).
Everytime I run the reindex, nothing happens. It sits on the page and nothing happens. I refresh, and the content on the reindex page stays the same. Then I get Server Not Responding (which I think is an issue on our server and not the site).
I checked permissions and those came out right. I manually checked that folder and it also looked right.
So I got a local copy on my Windows 7 box and am able to test it now. Once I got through a bunch of issues related to IIS7, and was able to see the admin area again, I tried to reindex.
Here is what happens. It runs....and runs...and runs. If I look into the data/_systemUmbracoIndexDontDelete folder, I see the same file get renamed. I ended up closing the window and it finally stopped. I have 3 files in that directory and only one .cfs file. If I recall, there should be a ton of .cfs files.
When I run it again, I see the one .cfs file that i have just get renamed again and again.
Also logged about 5 of the following error:
Error indexing node: System.NullReferenceException: Object reference not set to an instance of an object. at umbraco.cms.businesslogic.index.Indexer.IndexNode(Guid ObjectType, Int32 Id, String Text, String UserName, DateTime CreateDate, Hashtable Fields, Boolean Optimize) at umbraco.cms.businesslogic.web.Document.Index(Boolean Optimze)
So apparently, I was having multiple issues. Redoing the index did work properly. Apparently, I had 2 minor errors that crashed the page (ie...didn't throw an XSLT error...completely crashed the page).
Site just died
Using 4.0.3 on an IIS6 server and using _SVN for source control.
Don't know what happened. The site was working perfectly. Now, everytime I hit any page of the site, I get a 500 error. I can log into the admin area fine and everything seems to be working there.
I am logging the following errors:
Error indexing node: System.IO.FileNotFoundException: Could not find file 'D:\Inetpub\sites\devsites\CMS\umbraco\FullDemo\data\_systemUmbracoIndexDontDelete\_n5.f22'. File name: 'D:\Inetpub\sites\devsites\CMS\umbraco\FullDemo\data\_systemUmbracoIndexDontDelete\_n5.f22' at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at Lucene.Net.Store.FSIndexInput.Descriptor..ctor(FSIndexInput enclosingInstance, FileInfo file, FileAccess mode) at Lucene.Net.Store.FSIndexInput..ctor(FileInfo path) at Lucene.Net.Store.FSDirectory.OpenInput(String name) at Lucene.Net.Index.SegmentReader.OpenNorms(Directory cfsDir) at Lucene.Net.Index.SegmentReader.Initialize(SegmentInfo si) at Lucene.Net.Index.SegmentReader.Get(Directory dir, SegmentInfo si, SegmentInfos sis, Boolean closeDir, Boolean ownDir) at Lucene.Net.Index.IndexWriter.MergeSegments(Int32 minSegment, Int32 end) at Lucene.Net.Index.IndexWriter.MergeSegments(Int32 minSegment) at Lucene.Net.Index.IndexWriter.FlushRamSegments() at Lucene.Net.Index.IndexWriter.Close() at umbraco.cms.businesslogic.index.Indexer.IndexNode(Guid ObjectType, Int32 Id, String Text, String UserName, DateTime CreateDate, Hashtable Fields, Boolean Optimize) at umbraco.cms.businesslogic.web.Document.Index(Boolean Optimze)
The error mentions your index, so try deleting the contents of \data\systemUmbracoIndexDontDelete, then calling this url whilst logged in -> www.yoursite.com/umbraco/reindex.aspx
how long should this process take?
It depends on the amount of nodes, could be anything from minutes +
Also, recycle your app pool and touch the web.config before reloading the site and trying again.
Dan
Looking again at your error, I would also look out at file/folder permissions. http://our.umbraco.org/wiki/reference/files-and-folders/permissions/perform-permissions-check
So I can't tell yet if some of the issues are related to Umbraco or our web server. Our staging server is also having issues (and my local computer's video card died this weekend).
Everytime I run the reindex, nothing happens. It sits on the page and nothing happens. I refresh, and the content on the reindex page stays the same. Then I get Server Not Responding (which I think is an issue on our server and not the site).
I checked permissions and those came out right. I manually checked that folder and it also looked right.
So I got a local copy on my Windows 7 box and am able to test it now. Once I got through a bunch of issues related to IIS7, and was able to see the admin area again, I tried to reindex.
Here is what happens. It runs....and runs...and runs. If I look into the data/_systemUmbracoIndexDontDelete folder, I see the same file get renamed. I ended up closing the window and it finally stopped. I have 3 files in that directory and only one .cfs file. If I recall, there should be a ton of .cfs files.
When I run it again, I see the one .cfs file that i have just get renamed again and again.
Also logged about 5 of the following error:
Error indexing node: System.NullReferenceException: Object reference not set to an instance of an object. at umbraco.cms.businesslogic.index.Indexer.IndexNode(Guid ObjectType, Int32 Id, String Text, String UserName, DateTime CreateDate, Hashtable Fields, Boolean Optimize) at umbraco.cms.businesslogic.web.Document.Index(Boolean Optimze)
Any ideas?
C
Unfortunately not, although http://www.google.com/search?q=site%3Aour.umbraco.org+reindex brings up some reindexing/index problems so perhaps it's a good place to start.
Anyone else got any index-related tips or experience?
Dan
All my index-problems have been due to insufficient permissions. But I see that you already suggested that.
/Fredrik
D'oh! Double D'oh! Triple D'oh.
So apparently, I was having multiple issues. Redoing the index did work properly. Apparently, I had 2 minor errors that crashed the page (ie...didn't throw an XSLT error...completely crashed the page).
Grr.....
is working on a reply...