On a 4.10 or 4.11 edit ~/config/log4net.config and set <priority value="Debug" /> at the top of the file. Then try to hit http://localhost/ and a few pages. Can you then post the content of ~/App_Data/Logs/UmbracoTraceLog.txt?
Appreciate the help. Yes, the umbraco.config was regenerated. I changed the extension to xml and loaded it into IE and Firefox. No parse errors showed up.
In the log table, beside the Not Found events, there was an error
id userId NodeId Datestamp logHeader logComment 2247 0 1113 2012-12-06 19:56:01.817 Error Error adding to SiteMapProvider in loadNodes(): System.Web.HttpException (0x80004005): 'http://srv/Crimson/forum/prayer-requests.aspx' is not a valid virtual path. at System.Web.Util.UrlPath.CheckValidVirtualPath(String path) at System.Web.Util.UrlPath.Combine(String appPath, String basepath, String relative) at System.Web.StaticSiteMapProvider.AddNode(SiteMapNode node, SiteMapNode parentNode) at umbraco.presentation.nodeFactory.UmbracoSiteMapProvider.loadNodes(String parentId, SiteMapNode parentNode)
Correct, except it's not a virtual directory, it's simply an application under the default web site.
I've tried it with a virtual directory and I've tried it with a new clean install on IIS Express on a workstation. Always the same result - the backend comes up fine but I can't browse the website itself.
Update to 4.10.1 Site dies
I've just upgraded from 4.9 to 4.10 per this thread http://our.umbraco.org/forum/developers/xslt/36771-Multiple-website-media-problem
The backend is there and everything looks good. I republish the entire website. When I try and browse to the website, I get this:
No umbraco document matches the url 'http://localhost/Crimson'.
I've tried restarting the server, I've backed up to 4.9 and reinstalled, nothing works.
Thanks ,
Jon
Hi Jon
Have you tried putting a trailling slash on the URL ?
http://localhost/Crimson/ ;
Cheers, Nigel
Thanks Nigel - No difference.
So does just http://localhost/ work ?
N
Unhappily not.
So it's site wide...
Restart your PC ?
http://our.umbraco.org/projects/starter-kits/ublogsy/ublogsy-bugs/22403-New-install-=-No-umbraco-document-matches-the-url-'httpwebsitelocalblog' may be worth reading...
in your web.config - <add key="umbracoUseDirectoryUrls" value="true" />
Yes, it's site wide - the back end control panel works fine, but nothing in the site itself.
I've done a clean install, I've rebooted, I've set umbracoUseDirectoryUrls both ways. Nothing works so far.
I've also gone to 4.11.1 with a clean install - no go.
Right-click on Content and publish everything?
Hi Stephen
Yep - tried that.
I'm beginning to suspect that there's something about a 4.9 database that doesn't play well with 4.10 and 4.11. No idea what or how to track it down.
Thanks for the reply
Jon
On a 4.10 or 4.11 edit ~/config/log4net.config and set <priority value="Debug" /> at the top of the file. Then try to hit http://localhost/ and a few pages. Can you then post the content of ~/App_Data/Logs/UmbracoTraceLog.txt?
Here you go - and thanks
2012-12-07 08:52:14,896 [5] INFO Umbraco.Core.CoreBootManager - [Thread 1] Umbraco application starting
2012-12-07 08:52:15,100 [5] INFO Umbraco.Core.PluginManager - [Thread 1] Determining hash of code files on disk
2012-12-07 08:52:15,124 [5] INFO Umbraco.Core.PluginManager - [Thread 1] Hash determined (took 14ms)
2012-12-07 08:52:16,190 [5] INFO Umbraco.Core.PluginManager - [Thread 1] Completed resolution of types of umbraco.interfaces.ICacheRefresher, found 5 (took 1055ms)
2012-12-07 08:52:16,197 [5] INFO Umbraco.Core.PluginManager - [Thread 1] Completed resolution of types of umbraco.interfaces.IDataType, found 35 (took 2ms)
2012-12-07 08:52:16,199 [5] INFO Umbraco.Core.PluginManager - [Thread 1] Completed resolution of types of umbraco.interfaces.IMacroGuiRendering, found 13 (took 1ms)
2012-12-07 08:52:16,200 [5] INFO Umbraco.Core.PluginManager - [Thread 1] Completed resolution of types of umbraco.interfaces.IPackageAction, found 12 (took 1ms)
2012-12-07 08:52:16,202 [5] INFO Umbraco.Core.PluginManager - [Thread 1] Completed resolution of types of umbraco.interfaces.IAction, found 35 (took 1ms)
2012-12-07 08:52:16,204 [5] INFO Umbraco.Core.PluginManager - [Thread 1] Completed resolution of types of Umbraco.Core.PropertyEditors.IPropertyEditorValueConverter, found 0 (took 1ms)
2012-12-07 08:52:16,208 [5] INFO Umbraco.Core.PluginManager - [Thread 1] Completed resolution of types of Umbraco.Web.Mvc.SurfaceController, found 0 (took 1ms)
2012-12-07 08:52:18,169 [5] INFO Umbraco.Core.PluginManager - [Thread 1] Completed resolution of types of Umbraco.Core.Media.IThumbnailProvider, found 3 (took 1ms)
2012-12-07 08:52:18,170 [5] INFO Umbraco.Core.PluginManager - [Thread 1] Completed resolution of types of Umbraco.Core.Media.IImageUrlProvider, found 1 (took 1ms)
2012-12-07 08:52:18,178 [5] INFO Umbraco.Core.PluginManager - [Thread 1] Completed resolution of types of umbraco.interfaces.IApplicationStartupHandler, found 8 (took 1ms)
2012-12-07 08:52:18,782 [5] INFO Umbraco.Core.PluginManager - [Thread 1] Completed resolution of types of umbraco.interfaces.IApplication, found 7 (took 6ms)
2012-12-07 08:52:18,977 [5] INFO Umbraco.Core.PluginManager - [Thread 1] Completed resolution of types of umbraco.interfaces.ITree, found 27 (took 2ms)
2012-12-07 08:52:19,267 [5] INFO Umbraco.Core.CoreBootManager - [Thread 1] Umbraco application startup complete (took 4362ms)
2012-12-07 08:53:35,690 [5] INFO Umbraco.Web.UmbracoApplication - [Thread 10] Application shutdown. Reason: ConfigurationChange
2012-12-07 08:53:51,285 [6] INFO Umbraco.Core.CoreBootManager - [Thread 1] Umbraco application starting
2012-12-07 08:53:51,315 [6] INFO Umbraco.Core.PluginManager - [Thread 1] Determining hash of code files on disk
2012-12-07 08:53:51,322 [6] INFO Umbraco.Core.PluginManager - [Thread 1] Hash determined (took 6ms)
2012-12-07 08:53:51,331 [6] DEBUG Umbraco.Core.PluginManager - [Thread 1] Starting resolution types of umbraco.interfaces.ICacheRefresher
2012-12-07 08:53:51,431 [6] INFO Umbraco.Core.PluginManager - [Thread 1] Completed resolution of types of umbraco.interfaces.ICacheRefresher, found 5 (took 98ms)
2012-12-07 08:53:51,435 [6] DEBUG Umbraco.Core.PluginManager - [Thread 1] Starting resolution types of umbraco.interfaces.IDataType
2012-12-07 08:53:51,438 [6] INFO Umbraco.Core.PluginManager - [Thread 1] Completed resolution of types of umbraco.interfaces.IDataType, found 35 (took 2ms)
2012-12-07 08:53:51,438 [6] DEBUG Umbraco.Core.PluginManager - [Thread 1] Starting resolution types of umbraco.interfaces.IMacroGuiRendering
2012-12-07 08:53:51,439 [6] INFO Umbraco.Core.PluginManager - [Thread 1] Completed resolution of types of umbraco.interfaces.IMacroGuiRendering, found 13 (took 1ms)
2012-12-07 08:53:51,439 [6] DEBUG Umbraco.Core.PluginManager - [Thread 1] Starting resolution types of umbraco.interfaces.IPackageAction
2012-12-07 08:53:51,441 [6] INFO Umbraco.Core.PluginManager - [Thread 1] Completed resolution of types of umbraco.interfaces.IPackageAction, found 12 (took 1ms)
2012-12-07 08:53:51,441 [6] DEBUG Umbraco.Core.PluginManager - [Thread 1] Starting resolution types of umbraco.interfaces.IAction
2012-12-07 08:53:51,442 [6] INFO Umbraco.Core.PluginManager - [Thread 1] Completed resolution of types of umbraco.interfaces.IAction, found 35 (took 1ms)
2012-12-07 08:53:51,443 [6] DEBUG Umbraco.Core.PluginManager - [Thread 1] Starting resolution types of Umbraco.Core.PropertyEditors.IPropertyEditorValueConverter
2012-12-07 08:53:51,444 [6] INFO Umbraco.Core.PluginManager - [Thread 1] Completed resolution of types of Umbraco.Core.PropertyEditors.IPropertyEditorValueConverter, found 0 (took 1ms)
2012-12-07 08:53:51,447 [6] DEBUG Umbraco.Core.PluginManager - [Thread 1] Starting resolution types of Umbraco.Web.Mvc.SurfaceController
2012-12-07 08:53:51,449 [6] INFO Umbraco.Core.PluginManager - [Thread 1] Completed resolution of types of Umbraco.Web.Mvc.SurfaceController, found 0 (took 1ms)
2012-12-07 08:53:51,463 [6] DEBUG umbraco.content - [Thread 1] Initializing content on thread '' (Threadpool? False)
2012-12-07 08:53:51,516 [6] DEBUG umbraco.content - [Thread 1] Content initialized (loaded)
2012-12-07 08:53:51,519 [6] DEBUG Umbraco.Core.PluginManager - [Thread 1] Starting resolution types of Umbraco.Core.Media.IThumbnailProvider
2012-12-07 08:53:51,521 [6] INFO Umbraco.Core.PluginManager - [Thread 1] Completed resolution of types of Umbraco.Core.Media.IThumbnailProvider, found 3 (took 1ms)
2012-12-07 08:53:51,521 [6] DEBUG Umbraco.Core.PluginManager - [Thread 1] Starting resolution types of Umbraco.Core.Media.IImageUrlProvider
2012-12-07 08:53:51,522 [6] INFO Umbraco.Core.PluginManager - [Thread 1] Completed resolution of types of Umbraco.Core.Media.IImageUrlProvider, found 1 (took 1ms)
2012-12-07 08:53:51,528 [6] DEBUG Umbraco.Core.PluginManager - [Thread 1] Starting resolution types of umbraco.interfaces.IApplicationStartupHandler
2012-12-07 08:53:51,530 [6] INFO Umbraco.Core.PluginManager - [Thread 1] Completed resolution of types of umbraco.interfaces.IApplicationStartupHandler, found 8 (took 1ms)
2012-12-07 08:53:51,644 [6] DEBUG Umbraco.Core.PluginManager - [Thread 1] Starting resolution types of umbraco.interfaces.IApplication
2012-12-07 08:53:51,651 [6] INFO Umbraco.Core.PluginManager - [Thread 1] Completed resolution of types of umbraco.interfaces.IApplication, found 7 (took 6ms)
2012-12-07 08:53:51,667 [6] DEBUG Umbraco.Core.PluginManager - [Thread 1] Starting resolution types of umbraco.interfaces.ITree
2012-12-07 08:53:51,670 [6] INFO Umbraco.Core.PluginManager - [Thread 1] Completed resolution of types of umbraco.interfaces.ITree, found 27 (took 2ms)
2012-12-07 08:53:51,713 [6] INFO Umbraco.Core.CoreBootManager - [Thread 1] Umbraco application startup complete (took 419ms)
2012-12-07 08:53:51,844 [6] DEBUG Umbraco.Web.Routing.PublishedContentRequest - [Thread 10] LookupDomain: Uri="http://srv/crimson"
2012-12-07 08:53:51,855 [6] DEBUG Umbraco.Web.Routing.PublishedContentRequest - [Thread 10] LookupDomain: Matches no domain
2012-12-07 08:53:51,862 [6] DEBUG Umbraco.Web.Routing.PublishedContentRequest - [Thread 10] LookupDomain: Culture="en-US"
2012-12-07 08:53:51,863 [6] DEBUG Umbraco.Web.Routing.PublishedContentRequest - [Thread 10] LookupDocument: Path="/crimson"
2012-12-07 08:53:51,865 [6] DEBUG Umbraco.Core.PluginManager - [Thread 10] LookupDocument: Begin resolvers
2012-12-07 08:53:51,870 [6] DEBUG Umbraco.Web.Routing.LookupByNiceUrl - [Thread 10] Test route "/crimson"
2012-12-07 08:53:51,870 [6] DEBUG Umbraco.Web.Routing.LookupByNiceUrl - [Thread 10] Cache miss, query
2012-12-07 08:53:51,876 [6] DEBUG Umbraco.Web.Routing.LookupByNiceUrl - [Thread 10] Query does not match
2012-12-07 08:53:51,878 [6] DEBUG Umbraco.Web.Routing.LookupByIdPath - [Thread 10] Not a node id
2012-12-07 08:53:51,889 [6] DEBUG Umbraco.Web.Routing.LookupByNiceUrlAndTemplate - [Thread 10] Not a valid template: "crimson"
2012-12-07 08:53:51,891 [6] DEBUG Umbraco.Web.Routing.LookupByProfile - [Thread 10] Not the profile path
2012-12-07 08:53:51,896 [6] DEBUG Umbraco.Core.PluginManager - [Thread 10] LookupDocument: End resolvers, no document was found (took 30ms)
2012-12-07 08:53:51,900 [6] DEBUG Umbraco.Web.Routing.PublishedContentRequest - [Thread 10] LookupDocument2: Begin
2012-12-07 08:53:51,900 [6] DEBUG Umbraco.Web.Routing.PublishedContentRequest - [Thread 10] LookupDocument2: No document, try last chance lookup
2012-12-07 08:53:51,902 [6] DEBUG Umbraco.Web.Routing.DefaultLastChanceLookup - [Thread 10] Running for url='/crimson'.
2012-12-07 08:53:51,907 [6] DEBUG Umbraco.Web.Routing.DefaultLastChanceLookup - [Thread 10] Registering custom handlers.
2012-12-07 08:53:51,908 [6] DEBUG Umbraco.Web.Routing.DefaultLastChanceLookup - [Thread 10] Registering 'umbraco.handle404,umbraco'.
2012-12-07 08:53:51,914 [6] DEBUG Umbraco.Web.Routing.DefaultLastChanceLookup - [Thread 10] Handler 'umbraco.handle404' found node with id=1.
2012-12-07 08:53:51,914 [6] DEBUG Umbraco.Web.Routing.PublishedContentRequest - [Thread 10] LookupDocument2: Failed to find a document, give up
2012-12-07 08:53:51,914 [6] DEBUG Umbraco.Web.Routing.PublishedContentRequest - [Thread 10] LookupDocument2: End
2012-12-07 08:53:51,934 [6] DEBUG Umbraco.Web.UmbracoModule - [Thread 10] Total milliseconds for umbraco request to process: 137
2012-12-07 08:55:00,100 [6] DEBUG Umbraco.Web.Routing.PublishedContentRequest - [Thread 13] LookupDomain: Uri="http://srv/crimson/articles"
2012-12-07 08:55:00,100 [6] DEBUG Umbraco.Web.Routing.PublishedContentRequest - [Thread 13] LookupDomain: Matches no domain
2012-12-07 08:55:00,100 [6] DEBUG Umbraco.Web.Routing.PublishedContentRequest - [Thread 13] LookupDomain: Culture="en-US"
2012-12-07 08:55:00,100 [6] DEBUG Umbraco.Web.Routing.PublishedContentRequest - [Thread 13] LookupDocument: Path="/crimson/articles"
2012-12-07 08:55:00,100 [6] DEBUG Umbraco.Core.PluginManager - [Thread 13] LookupDocument: Begin resolvers
2012-12-07 08:55:00,100 [6] DEBUG Umbraco.Web.Routing.LookupByNiceUrl - [Thread 13] Test route "/crimson/articles"
2012-12-07 08:55:00,100 [6] DEBUG Umbraco.Web.Routing.LookupByNiceUrl - [Thread 13] Cache miss, query
2012-12-07 08:55:00,100 [6] DEBUG Umbraco.Web.Routing.LookupByNiceUrl - [Thread 13] Query does not match
2012-12-07 08:55:00,100 [6] DEBUG Umbraco.Web.Routing.LookupByIdPath - [Thread 13] Not a node id
2012-12-07 08:55:00,104 [6] DEBUG Umbraco.Web.Routing.LookupByNiceUrlAndTemplate - [Thread 13] Not a valid template: "articles"
2012-12-07 08:55:00,104 [6] DEBUG Umbraco.Web.Routing.LookupByProfile - [Thread 13] Not the profile path
2012-12-07 08:55:00,105 [6] DEBUG Umbraco.Core.PluginManager - [Thread 13] LookupDocument: End resolvers, no document was found (took 5ms)
2012-12-07 08:55:00,105 [6] DEBUG Umbraco.Web.Routing.PublishedContentRequest - [Thread 13] LookupDocument2: Begin
2012-12-07 08:55:00,105 [6] DEBUG Umbraco.Web.Routing.PublishedContentRequest - [Thread 13] LookupDocument2: No document, try last chance lookup
2012-12-07 08:55:00,105 [6] DEBUG Umbraco.Web.Routing.DefaultLastChanceLookup - [Thread 13] Running for url='/crimson/articles'.
2012-12-07 08:55:00,105 [6] DEBUG Umbraco.Web.Routing.DefaultLastChanceLookup - [Thread 13] Handler 'umbraco.handle404' found node with id=1.
2012-12-07 08:55:00,105 [6] DEBUG Umbraco.Web.Routing.PublishedContentRequest - [Thread 13] LookupDocument2: Failed to find a document, give up
2012-12-07 08:55:00,105 [6] DEBUG Umbraco.Web.Routing.PublishedContentRequest - [Thread 13] LookupDocument2: End
2012-12-07 08:55:00,122 [6] DEBUG Umbraco.Web.UmbracoModule - [Thread 13] Total milliseconds for umbraco request to process: 52
It looks like a template problem - the templates are there and visible on the backend, so I'm not sure how to fix that
No it's not templates-related. See
2012-12-07 08:53:51,870 [6] DEBUG Umbraco.Web.Routing.LookupByNiceUrl - [Thread 10] Test route "/crimson"
2012-12-07 08:53:51,870 [6] DEBUG Umbraco.Web.Routing.LookupByNiceUrl - [Thread 10] Cache miss, query
2012-12-07 08:53:51,876 [6] DEBUG Umbraco.Web.Routing.LookupByNiceUrl - [Thread 10] Query does not match
Means that when we look for a node matching url "/crimson" in the content we find nothing.
What's the content of your umbraco.config file? Can you delete it and restart Umbraco and see if it gets re-created?
umbraco.config does not get recreated.
OK then, this usually means that creation of the XML cache fails because of some invalid XML for one node.
You can hit /Umbraco/dialogs/republish.aspx?xml=true to regenerate the whole XML...
Anything in the umbraco log database table?
I regenerated the xml and loaded it into IE as an xml file - doesn't show any parse errors.
What am I looking for in the log table - there are a couple thousand entries.
when you say you regenerated the xml... does it mean that now umbraco.config is re-created?
In the log table you'd be looking for recent errors / exception traces...
Appreciate the help. Yes, the umbraco.config was regenerated. I changed the extension to xml and loaded it into IE and Firefox. No parse errors showed up.
In the log table, beside the Not Found events, there was an error
id userId NodeId Datestamp logHeader logComment
2247 0 1113 2012-12-06 19:56:01.817 Error Error adding to SiteMapProvider in loadNodes(): System.Web.HttpException (0x80004005): 'http://srv/Crimson/forum/prayer-requests.aspx' is not a valid virtual path. at System.Web.Util.UrlPath.CheckValidVirtualPath(String path) at System.Web.Util.UrlPath.Combine(String appPath, String basepath, String relative) at System.Web.StaticSiteMapProvider.AddNode(SiteMapNode node, SiteMapNode parentNode) at umbraco.presentation.nodeFactory.UmbracoSiteMapProvider.loadNodes(String parentId, SiteMapNode parentNode)
I
Can you try to disable the sitemap provider in web.config by removing entirely the whole <siteMap /> element, and try again?
Unfortunately no change.
Running out of ideas ;-(
Can you write down the ID of your root node, say 1234, and request http://localhost/1234 and post the matching part of the log file?
Still no good
From the log it looks like you requested /crimson/1089... can you request /1089 ?
Hi Stephen
The structure is
But... that's IIS structure... so... ah! You're running in a virtual directory named "crimson" right?
So the root of the website is at /crimson right?
Good morning Stephen,
Correct, except it's not a virtual directory, it's simply an application under the default web site.
I've tried it with a virtual directory and I've tried it with a new clean install on IIS Express on a workstation. Always the same result - the backend comes up fine but I can't browse the website itself.
is working on a reply...