Since this morning, we are unable to publish our created nodes into the umbraco.config XML file. Our changes appear properly in the DB, but our umbraco.config file has disappeared, and we can't seem to get it back.
Another bug we've noticed (but most probably they're connected) : the "link to document" property of every single node is empty. We can save and publish, but that doesn't have any effect on any of our nodes. Even "re-publish entire content" on the root doesn't have any effect.
We've upgraded to Umbraco 4.0.2, but that couldn't solve our problem.
ASP 3.5 is installed on our Windows 2003 server with IIS. Other sites on the same server keep running perfectly.
Any ideas, suggestions? Anyone who had this before?
Double-check that the owner of the application pool for your site has permissions to create/update/etc. to the /data folder. That'll resolve the /data/umbraco.config file.
Other folders may need permissions re-set as well.
I agree completely with Doug. This has occured many times for me. If you're under XP you typically add "ASPNET" account with at least modify permissions. If you are running under Win2003 Server you typically add "NETWORK SERVICE" account with at least modify (or whatever the app pool identity is).
The application pool's owner is NETWORK SERVICE, by standard, I guess.
NETWORK SERVICE has full control permissions on "data" and all other required folders.
Since all nodes were still present in the DB, I decided to copy all folders to a backup folder and start over again.
So I installed a fresh copy of Umbraco and updated my web.config file, and this is what I get when trying to publish a node :
Server Error in '/' Application.
Object reference not set to an instance of an object.
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.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of
the exception can be identified using the exception stack trace below.
First of all, try using the umbPermissions script to make sure all of your permissions are correct.
This last error seems familiar, I had it the other day but I can't remember what the cause was. I think it was some package that I was brewing. Have you installed any packages after the initial install?
Try deleting your umbraco.config file, run /umbraco/reindex.aspx and see what happens.
Used umbPermissions, but as I mentioned before, all needed permissions were granted and double-checked...
I just discovered the umbracoLogs table in SQL server. Maybe the error descriptions will ring a bell to some of you...
Our problems started yesterday afternoon with the following error :
- Xml wasn't saved: System.Xml.XmlException: Invalid XML document, The document does not have a root element.. at System.Xml.XmlDocument.Save(String filename) at umbraco.content.SaveContentToDisk(XmlDocument xmlDoc)
There is no umbraco.config file to be found in the /data folder. I've know all nodes are (or should be) stored in that umbraco.config file. However, we've double-checked the appropiate permissions (full control, of course) on the /data folder in particular. Even when I manually put an (dummy) umbraco.config file in the /data folder, and I click "republish entire site" on the Umbraco root node, this umbraco.config file has disappeared from the /data folder.
@Sebastiaan : we had indeed installed additional packages after the initial install. However, yesterday I moved the entire umbraco website to a backup folder, and set a completely new Umbraco installation on the initial Inetpub folder. I then completed the normal Umbraco setup, using the already present database. No success however, we got the same results...
@Sebastiaan (bis) : how can we run /umbraco/reindex.aspx ?
OK. We had the exact same problem and we found out that the umbracoLog table had different errors.
"Error removing node from umbraco index: 'System.IO.IOException: read past EOF at Lucene.Net.Store.BufferedIndexInput.Refill() at Lucene.Net.Store.BufferedIndexInput.ReadByte() at Lucene.Net.Store.IndexInput.ReadInt() at Lucene.Net.Index.SegmentTermEnum..ctor(IndexInput i, FieldInfos fis, Boolean isi) at Lucene.Net.Index.TermInfosReader..ctor(Directory dir, String seg, FieldInfos fis) 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.IndexReader.AnonymousClassWith.DoBody() at Lucene.Net.Store.Lock.With.Run() at Lucene.Net.Index.IndexReader.Open(Directory directory, Boolean closeDirectory) at Lucene.Net.Index.IndexReader.Open(String path) at umbraco.cms.businesslogic.index.Indexer.RemoveNode(Int32 Id)'"
We then unpublished every content node manually and then republished the entire site, THEN republished all the nodes one by one. I am not even sure if this is the right way to fix this problem, but it seemed to do the trick for us.
Have the same problem but can't unpublish/republish any nodes in Umbraco admin du to the fact that I won't get any nodes in the content tree? Is there an other manual way to do this?
Just Today my site has experienced the same problem.
We cannot publish any node to umbraco.config, event worse our umbraco.config was lost too. When we try to access our site, the only page thats show up was umbraco generic start page, as if there is no published content at all in our site.
We have tried to republish and reindex our site, but it doesn't do any good. Is there something we can do to repair it?
if it has run for sometime, and you have many subnodes or nodes in your site, check your umbracolog for time out error. its possible that your site has too many nodes in it. As a illustration:
-your root ( 3 nodes )
-sub node 1 ( 200 node )
-sub node 2 ( 500 nodes )
-sub node 3 ( 800 nodes )
umbraco may encounter query time out while trying to render these tree.
We have a situation where if we change content the changes are reflected properly - so everything appears to be running fine - however we have no umbraco.config file and we have not changed the xmlcache setting in umbracosettings.config.
Elsewhere we have read that we should try and run /Umbraco/dialogs/republish.aspx?refreshNodes=1234, but running this gives us the "No Document exists with Version '00000000-0000-0000-0000-000000000000' error.
Let me re-iterate that all content changes are running fine - just no umbraco.config? should i be worried about this
Umbraco 4.5.2 (upgraded from 4.5.1 which was upgraded from 4.01) SQL 2005 Dotnet 4.0
I have a sense it is an upgrade issue. but i may be mistaken?
Unable to publish content into umbraco.config
Since this morning, we are unable to publish our created nodes into the umbraco.config XML file.
Our changes appear properly in the DB, but our umbraco.config file has disappeared, and we can't seem to get it back.
Another bug we've noticed (but most probably they're connected) : the "link to document" property of every single node is empty.
We can save and publish, but that doesn't have any effect on any of our nodes.
Even "re-publish entire content" on the root doesn't have any effect.
We've upgraded to Umbraco 4.0.2, but that couldn't solve our problem.
ASP 3.5 is installed on our Windows 2003 server with IIS.
Other sites on the same server keep running perfectly.
Any ideas, suggestions? Anyone who had this before?
This is almost certainly file-permission related.
Double-check that the owner of the application pool for your site has permissions to create/update/etc. to the /data folder. That'll resolve the /data/umbraco.config file.
Other folders may need permissions re-set as well.
Let us know what you find out.
cheers,
doug.
I agree completely with Doug. This has occured many times for me. If you're under XP you typically add "ASPNET" account with at least modify permissions. If you are running under Win2003 Server you typically add "NETWORK SERVICE" account with at least modify (or whatever the app pool identity is).
Jimbo
The application pool's owner is NETWORK SERVICE, by standard, I guess.
NETWORK SERVICE has full control permissions on "data" and all other required folders.
Since all nodes were still present in the DB, I decided to copy all folders to a backup folder and start over again.
So I installed a fresh copy of Umbraco and updated my web.config file, and this is what I get when trying to publish a node :
Server Error in '/' Application.
Object reference not set to an instance of an object.
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.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
First of all, try using the umbPermissions script to make sure all of your permissions are correct.
This last error seems familiar, I had it the other day but I can't remember what the cause was. I think it was some package that I was brewing. Have you installed any packages after the initial install?
Try deleting your umbraco.config file, run /umbraco/reindex.aspx and see what happens.
Used umbPermissions, but as I mentioned before, all needed permissions were granted and double-checked...
I just discovered the umbracoLogs table in SQL server. Maybe the error descriptions will ring a bell to some of you...
Our problems started yesterday afternoon with the following error :
- Xml wasn't saved: System.Xml.XmlException: Invalid XML document, The document does not have a root element.. at System.Xml.XmlDocument.Save(String filename) at umbraco.content.SaveContentToDisk(XmlDocument xmlDoc)
An additional remark :
There is no umbraco.config file to be found in the /data folder. I've know all nodes are (or should be) stored in that umbraco.config file. However, we've double-checked the appropiate permissions (full control, of course) on the /data folder in particular. Even when I manually put an (dummy) umbraco.config file in the /data folder, and I click "republish entire site" on the Umbraco root node, this umbraco.config file has disappeared from the /data folder.
@Sebastiaan : we had indeed installed additional packages after the initial install. However, yesterday I moved the entire umbraco website to a backup folder, and set a completely new Umbraco installation on the initial Inetpub folder. I then completed the normal Umbraco setup, using the already present database. No success however, we got the same results...
@Sebastiaan (bis) : how can we run /umbraco/reindex.aspx ?
OK. We had the exact same problem and we found out that the umbracoLog table had different errors.
"Error removing node from umbraco index: 'System.IO.IOException: read past EOF at Lucene.Net.Store.BufferedIndexInput.Refill() at Lucene.Net.Store.BufferedIndexInput.ReadByte() at Lucene.Net.Store.IndexInput.ReadInt() at Lucene.Net.Index.SegmentTermEnum..ctor(IndexInput i, FieldInfos fis, Boolean isi) at Lucene.Net.Index.TermInfosReader..ctor(Directory dir, String seg, FieldInfos fis) 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.IndexReader.AnonymousClassWith.DoBody() at Lucene.Net.Store.Lock.With.Run() at Lucene.Net.Index.IndexReader.Open(Directory directory, Boolean closeDirectory) at Lucene.Net.Index.IndexReader.Open(String path) at umbraco.cms.businesslogic.index.Indexer.RemoveNode(Int32 Id)'"
We then unpublished every content node manually and then republished the entire site, THEN republished all the nodes one by one. I am not even sure if this is the right way to fix this problem, but it seemed to do the trick for us.
Have the same problem but can't unpublish/republish any nodes in Umbraco admin du to the fact that I won't get any nodes in the content tree? Is there an other manual way to do this?
To clarify...
This is some info from my logg:
File name: 'C:\Inetpub\mtr_webb\wwwroot_updated\data\_systemUmbracoIndexDontDelete\_ka.fnm'
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.FieldInfos..ctor(Directory d, String name)
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.IndexReader.AnonymousClassWith.DoBody()
at Lucene.Net.Store.Lock.With.Run()
at Lucene.Net.Index.IndexReader.Open(Directory directory, Boolean closeDirectory)
at Lucene.Net.Index.IndexReader.Open(String path)
at umbraco.cms.businesslogic.index.Indexer.RemoveNode(Int32 Id)'
File name: 'C:\Inetpub\mtr_webb\wwwroot_updated\data\_systemUmbracoIndexDontDelete\_ka.fnm'
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.FieldInfos..ctor(Directory d, String name)
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.Optimize()
at umbraco.cms.businesslogic.index.Indexer.IndexNode(Guid ObjectType, Int32 Id, String Text, String UserName, DateTime CreateDate, Hashtable Fields, Boolean Optimize))
Any ideas?
Thanks in advance!
Regards, Tony H
Just Today my site has experienced the same problem.
We cannot publish any node to umbraco.config, event worse our umbraco.config was lost too. When we try to access our site, the only page thats show up was umbraco generic start page, as if there is no published content at all in our site.
We have tried to republish and reindex our site, but it doesn't do any good. Is there something we can do to repair it?
to Tony,
How long have your site run?
if it has run for sometime, and you have many subnodes or nodes in your site, check your umbracolog for time out error. its possible that your site has too many nodes in it. As a illustration:
-sub node 1 ( 200 node )
-sub node 2 ( 500 nodes )
-sub node 3 ( 800 nodes )
umbraco may encounter query time out while trying to render these tree.
Has anyone made an headway with this problem?.
We have a situation where if we change content the changes are reflected properly - so everything appears to be running fine - however we have no umbraco.config file and we have not changed the xmlcache setting in umbracosettings.config.
Elsewhere we have read that we should try and run /Umbraco/dialogs/republish.aspx?refreshNodes=1234, but running this gives us the "No Document exists with Version '00000000-0000-0000-0000-000000000000' error.
Let me re-iterate that all content changes are running fine - just no umbraco.config? should i be worried about this
Umbraco 4.5.2 (upgraded from 4.5.1 which was upgraded from 4.01)
SQL 2005
Dotnet 4.0
I have a sense it is an upgrade issue. but i may be mistaken?
is working on a reply...