Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • mmaty 72 posts 175 karma points
    Jun 12, 2019 @ 08:40
    mmaty
    0

    Upgrade to 8.0.2 fails

    I try to upgrade an Umbraco 8.0.1 Site to 8.0.2. Umbraco recognizes the correct version:

    Upgrade

    If I press Continue the following error message appears:

    Failure

    Nothing appears in the log.

    {
        "@t": "2019-06-12T08:16:35.5242198Z",
        "@mt": "{StartMessage} [Timing {TimingId}]",
        "StartMessage": "Booting Umbraco 8.0.2.",
        "TimingId": "a3d41ca",
        "SourceContext": "Umbraco.Core.Runtime.CoreRuntime",
        "ProcessId": 21768,
        "ProcessName": "w3wp",
        "ThreadId": 1,
        "AppDomainId": 2,
        "AppDomainAppId": "LMW3SVC5ROOT",
        "MachineName": "W10",
        "Log4NetLevel": "INFO ",
        "HttpRequestNumber": 1,
        "HttpRequestId": "a60b8a18-bfaf-411c-b839-52a5c2a477b9"
    }{
        "@t": "2019-06-12T08:16:35.5691922Z",
        "@mt": "Booting site '{HostingSiteName}', app '{HostingApplicationID}', path '{HostingPhysicalPath}', server '{MachineName}'.",
        "HostingSiteName": "www.bk.de",
        "HostingApplicationID": "/LM/W3SVC/5/ROOT",
        "HostingPhysicalPath": "C:\\Projekte\\Laykit\\UmbracoSite\\",
        "MachineName": "W10",
        "SourceContext": "Umbraco.Core.Runtime.CoreRuntime",
        "ProcessId": 21768,
        "ProcessName": "w3wp",
        "ThreadId": 1,
        "AppDomainId": 2,
        "AppDomainAppId": "LMW3SVC5ROOT",
        "Log4NetLevel": "INFO ",
        "HttpRequestNumber": 1,
        "HttpRequestId": "a60b8a18-bfaf-411c-b839-52a5c2a477b9"
    }{
        "@t": "2019-06-12T08:16:35.9679668Z",
        "@mt": "Acquiring.",
        "SourceContext": "Umbraco.Core.MainDom",
        "ProcessId": 21768,
        "ProcessName": "w3wp",
        "ThreadId": 1,
        "AppDomainId": 2,
        "AppDomainAppId": "LMW3SVC5ROOT",
        "MachineName": "W10",
        "Log4NetLevel": "INFO ",
        "HttpRequestNumber": 1,
        "HttpRequestId": "a60b8a18-bfaf-411c-b839-52a5c2a477b9"
    }{
        "@t": "2019-06-12T08:16:35.9719643Z",
        "@mt": "Acquired.",
        "SourceContext": "Umbraco.Core.MainDom",
        "ProcessId": 21768,
        "ProcessName": "w3wp",
        "ThreadId": 1,
        "AppDomainId": 2,
        "AppDomainAppId": "LMW3SVC5ROOT",
        "MachineName": "W10",
        "Log4NetLevel": "INFO ",
        "HttpRequestNumber": 1,
        "HttpRequestId": "a60b8a18-bfaf-411c-b839-52a5c2a477b9"
    }{
        "@t": "2019-06-12T08:16:36.8228266Z",
        "@mt": "{StartMessage} [Timing {TimingId}]",
        "StartMessage": "Resolving composer types.",
        "TimingId": "3cba083",
        "SourceContext": "Umbraco.Core.Runtime.CoreRuntime",
        "ProcessId": 21768,
        "ProcessName": "w3wp",
        "ThreadId": 1,
        "AppDomainId": 2,
        "AppDomainAppId": "LMW3SVC5ROOT",
        "MachineName": "W10",
        "Log4NetLevel": "INFO ",
        "HttpRequestNumber": 1,
        "HttpRequestId": "a60b8a18-bfaf-411c-b839-52a5c2a477b9"
    }{
        "@t": "2019-06-12T08:16:37.0137098Z",
        "@mt": "{EndMessage} ({Duration}ms) [Timing {TimingId}]",
        "EndMessage": "Resolved.",
        "Duration": 189,
        "TimingId": "3cba083",
        "SourceContext": "Umbraco.Core.Runtime.CoreRuntime",
        "ProcessId": 21768,
        "ProcessName": "w3wp",
        "ThreadId": 1,
        "AppDomainId": 2,
        "AppDomainAppId": "LMW3SVC5ROOT",
        "MachineName": "W10",
        "Log4NetLevel": "INFO ",
        "HttpRequestNumber": 1,
        "HttpRequestId": "a60b8a18-bfaf-411c-b839-52a5c2a477b9"
    }{
        "@t": "2019-06-12T08:16:39.8149321Z",
        "@mt": "{EndMessage} ({Duration}ms) [Timing {TimingId}]",
        "EndMessage": "Booted.",
        "Duration": 4303,
        "TimingId": "a3d41ca",
        "SourceContext": "Umbraco.Core.Runtime.CoreRuntime",
        "ProcessId": 21768,
        "ProcessName": "w3wp",
        "ThreadId": 1,
        "AppDomainId": 2,
        "AppDomainAppId": "LMW3SVC5ROOT",
        "MachineName": "W10",
        "Log4NetLevel": "INFO ",
        "HttpRequestNumber": 1,
        "HttpRequestId": "a60b8a18-bfaf-411c-b839-52a5c2a477b9"
    }{
        "@t": "2019-06-12T08:16:40.4655464Z",
        "@mt": "New url {Url} detected, re-discovering application url.",
        "Url": "http://www.bk.de:80/umbraco",
        "SourceContext": "Umbraco.Core.Sync.ApplicationUrlHelper",
        "ProcessId": 21768,
        "ProcessName": "w3wp",
        "ThreadId": 11,
        "AppDomainId": 2,
        "AppDomainAppId": "LMW3SVC5ROOT",
        "MachineName": "W10",
        "Log4NetLevel": "INFO ",
        "HttpRequestNumber": 2,
        "HttpRequestId": "6b1377f6-36f5-4f97-b0d9-a550637b8b8c"
    }{
        "@t": "2019-06-12T08:16:40.4685448Z",
        "@mt": "ApplicationUrl: {UmbracoAppUrl} (UmbracoModule request)",
        "UmbracoAppUrl": "http://www.bk.de:80/umbraco",
        "SourceContext": "Umbraco.Core.Sync.ApplicationUrlHelper",
        "ProcessId": 21768,
        "ProcessName": "w3wp",
        "ThreadId": 11,
        "AppDomainId": 2,
        "AppDomainAppId": "LMW3SVC5ROOT",
        "MachineName": "W10",
        "Log4NetLevel": "INFO ",
        "HttpRequestNumber": 2,
        "HttpRequestId": "6b1377f6-36f5-4f97-b0d9-a550637b8b8c"
    }{
        "@t": "2019-06-12T08:16:41.0962347Z",
        "@mt": "Umbraco must install or upgrade.",
        "@l": "Warning",
        "SourceContext": "Umbraco.Web.UmbracoModule",
        "ProcessId": 21768,
        "ProcessName": "w3wp",
        "ThreadId": 11,
        "AppDomainId": 2,
        "AppDomainAppId": "LMW3SVC5ROOT",
        "MachineName": "W10",
        "Log4NetLevel": "WARN ",
        "HttpRequestNumber": 2,
        "HttpRequestId": "6b1377f6-36f5-4f97-b0d9-a550637b8b8c"
    }{
        "@t": "2019-06-12T08:27:20.1106001Z",
        "@mt": "Updated version number from {OldVersion} to {NewVersion}",
        "OldVersion": "669278484",
        "NewVersion": "1953252036",
        "SourceContext": "Umbraco.Web.JavaScript.ClientDependencyConfiguration",
        "ProcessId": 21768,
        "ProcessName": "w3wp",
        "ThreadId": 13,
        "AppDomainId": 2,
        "AppDomainAppId": "LMW3SVC5ROOT",
        "MachineName": "W10",
        "Log4NetLevel": "INFO ",
        "HttpSessionId": "0orij5z5ca5i53i4vf2detqp",
        "HttpRequestNumber": 3,
        "HttpRequestId": "228549b1-f92f-45c3-a6f3-862bf92361cf"
    }{
        "@t": "2019-06-12T08:27:20.1375837Z",
        "@mt": "Stopping ({SignalSource})",
        "SignalSource": "environment",
        "SourceContext": "Umbraco.Core.MainDom",
        "ProcessId": 21768,
        "ProcessName": "w3wp",
        "ThreadId": 16,
        "AppDomainId": 2,
        "AppDomainAppId": "LMW3SVC5ROOT",
        "MachineName": "W10",
        "Log4NetLevel": "INFO "
    }{
        "@t": "2019-06-12T08:27:20.1445790Z",
        "@mt": "Released ({SignalSource})",
        "SignalSource": "environment",
        "SourceContext": "Umbraco.Core.MainDom",
        "ProcessId": 21768,
        "ProcessName": "w3wp",
        "ThreadId": 16,
        "AppDomainId": 2,
        "AppDomainAppId": "LMW3SVC5ROOT",
        "MachineName": "W10",
        "Log4NetLevel": "INFO "
    }{
        "@t": "2019-06-12T08:27:20.4134146Z",
        "@mt": "Application shutdown. Details: {ShutdownReason}\r\n\r\n_shutDownMessage={ShutdownMessage}\r\n\r\n_shutDownStack={ShutdownStack}",
        "ShutdownReason": "ConfigurationChange",
        "ShutdownMessage": "CONFIG change\r\nHostingEnvironment initiated shutdown\r\nCONFIG change\r\nHostingEnvironment verursachte ein Herunterfahren",
        "ShutdownStack": "   bei System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)\r\n   bei System.Environment.get_StackTrace()\r\n   bei System.Web.Hosting.HostingEnvironment.InitiateShutdownInternal()\r\n   bei System.Web.Hosting.HostingEnvironment.InitiateShutdownWithoutDemand()\r\n   bei System.Web.HttpRuntime.ShutdownAppDomain(String stackTrace)\r\n   bei System.Web.Configuration.HttpConfigurationSystem.OnConfigurationChanged(Object sender, InternalConfigEventArgs e)\r\n   bei System.Configuration.Internal.InternalConfigRoot.OnConfigChanged(InternalConfigEventArgs e)\r\n   bei System.Configuration.BaseConfigurationRecord.OnStreamChanged(String streamname)\r\n   bei System.Web.DirectoryMonitor.FireNotifications()\r\n   bei System.Web.Util.WorkItem.CallCallbackWithAssert(WorkItemCallback callback)\r\n   bei System.Web.Util.WorkItem.OnQueueUserWorkItemCompletion(Object state)\r\n   bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)\r\n   bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)\r\n   bei System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()\r\n   bei System.Threading.ThreadPoolWorkQueue.Dispatch()",
        "SourceContext": "Umbraco.Web.UmbracoApplicationBase",
        "ProcessId": 21768,
        "ProcessName": "w3wp",
        "ThreadId": 19,
        "AppDomainId": 2,
        "AppDomainAppId": "LMW3SVC5ROOT",
        "MachineName": "W10",
        "Log4NetLevel": "INFO "
    }{
        "@t": "2019-06-12T08:27:20.5253471Z",
        "@mt": "{StartMessage} [Timing {TimingId}]",
        "StartMessage": "Booting Umbraco 8.0.2.",
        "TimingId": "8c0f2b7",
        "SourceContext": "Umbraco.Core.Runtime.CoreRuntime",
        "ProcessId": 21768,
        "ProcessName": "w3wp",
        "ThreadId": 22,
        "AppDomainId": 3,
        "AppDomainAppId": "LMW3SVC5ROOT",
        "MachineName": "W10",
        "Log4NetLevel": "INFO ",
        "HttpRequestNumber": 1,
        "HttpRequestId": "21d1073b-5f48-4023-ba39-5abed4fb5560"
    }{
        "@t": "2019-06-12T08:27:20.5573254Z",
        "@mt": "Booting site '{HostingSiteName}', app '{HostingApplicationID}', path '{HostingPhysicalPath}', server '{MachineName}'.",
        "HostingSiteName": "www.bk.de",
        "HostingApplicationID": "/LM/W3SVC/5/ROOT",
        "HostingPhysicalPath": "C:\\Projekte\\Laykit\\UmbracoSite\\",
        "MachineName": "W10",
        "SourceContext": "Umbraco.Core.Runtime.CoreRuntime",
        "ProcessId": 21768,
        "ProcessName": "w3wp",
        "ThreadId": 22,
        "AppDomainId": 3,
        "AppDomainAppId": "LMW3SVC5ROOT",
        "Log4NetLevel": "INFO ",
        "HttpRequestNumber": 1,
        "HttpRequestId": "21d1073b-5f48-4023-ba39-5abed4fb5560"
    }{
        "@t": "2019-06-12T08:27:20.6672579Z",
        "@mt": "Acquiring.",
        "SourceContext": "Umbraco.Core.MainDom",
        "ProcessId": 21768,
        "ProcessName": "w3wp",
        "ThreadId": 22,
        "AppDomainId": 3,
        "AppDomainAppId": "LMW3SVC5ROOT",
        "MachineName": "W10",
        "Log4NetLevel": "INFO ",
        "HttpRequestNumber": 1,
        "HttpRequestId": "21d1073b-5f48-4023-ba39-5abed4fb5560"
    }{
        "@t": "2019-06-12T08:27:20.6682575Z",
        "@mt": "Acquired.",
        "SourceContext": "Umbraco.Core.MainDom",
        "ProcessId": 21768,
        "ProcessName": "w3wp",
        "ThreadId": 22,
        "AppDomainId": 3,
        "AppDomainAppId": "LMW3SVC5ROOT",
        "MachineName": "W10",
        "Log4NetLevel": "INFO ",
        "HttpRequestNumber": 1,
        "HttpRequestId": "21d1073b-5f48-4023-ba39-5abed4fb5560"
    }{
        "@t": "2019-06-12T08:27:21.0610168Z",
        "@mt": "{StartMessage} [Timing {TimingId}]",
        "StartMessage": "Resolving composer types.",
        "TimingId": "507056c",
        "SourceContext": "Umbraco.Core.Runtime.CoreRuntime",
        "ProcessId": 21768,
        "ProcessName": "w3wp",
        "ThreadId": 22,
        "AppDomainId": 3,
        "AppDomainAppId": "LMW3SVC5ROOT",
        "MachineName": "W10",
        "Log4NetLevel": "INFO ",
        "HttpRequestNumber": 1,
        "HttpRequestId": "21d1073b-5f48-4023-ba39-5abed4fb5560"
    }{
        "@t": "2019-06-12T08:27:21.1099865Z",
        "@mt": "{EndMessage} ({Duration}ms) [Timing {TimingId}]",
        "EndMessage": "Resolved.",
        "Duration": 48,
        "TimingId": "507056c",
        "SourceContext": "Umbraco.Core.Runtime.CoreRuntime",
        "ProcessId": 21768,
        "ProcessName": "w3wp",
        "ThreadId": 22,
        "AppDomainId": 3,
        "AppDomainAppId": "LMW3SVC5ROOT",
        "MachineName": "W10",
        "Log4NetLevel": "INFO ",
        "HttpRequestNumber": 1,
        "HttpRequestId": "21d1073b-5f48-4023-ba39-5abed4fb5560"
    }{
        "@t": "2019-06-12T08:27:23.2886261Z",
        "@mt": "{EndMessage} ({Duration}ms) [Timing {TimingId}]",
        "EndMessage": "Booted.",
        "Duration": 2776,
        "TimingId": "8c0f2b7",
        "SourceContext": "Umbraco.Core.Runtime.CoreRuntime",
        "ProcessId": 21768,
        "ProcessName": "w3wp",
        "ThreadId": 22,
        "AppDomainId": 3,
        "AppDomainAppId": "LMW3SVC5ROOT",
        "MachineName": "W10",
        "Log4NetLevel": "INFO ",
        "HttpRequestNumber": 1,
        "HttpRequestId": "21d1073b-5f48-4023-ba39-5abed4fb5560"
    }{
        "@t": "2019-06-12T08:27:23.6404094Z",
        "@mt": "New url {Url} detected, re-discovering application url.",
        "Url": "http://www.bk.de:80/umbraco",
        "SourceContext": "Umbraco.Core.Sync.ApplicationUrlHelper",
        "ProcessId": 21768,
        "ProcessName": "w3wp",
        "ThreadId": 13,
        "AppDomainId": 3,
        "AppDomainAppId": "LMW3SVC5ROOT",
        "MachineName": "W10",
        "Log4NetLevel": "INFO ",
        "HttpRequestNumber": 2,
        "HttpRequestId": "ceb93e06-3e9d-4711-913a-9e7b909ce93d"
    }{
        "@t": "2019-06-12T08:27:23.6434078Z",
        "@mt": "ApplicationUrl: {UmbracoAppUrl} (UmbracoModule request)",
        "UmbracoAppUrl": "http://www.bk.de:80/umbraco",
        "SourceContext": "Umbraco.Core.Sync.ApplicationUrlHelper",
        "ProcessId": 21768,
        "ProcessName": "w3wp",
        "ThreadId": 13,
        "AppDomainId": 3,
        "AppDomainAppId": "LMW3SVC5ROOT",
        "MachineName": "W10",
        "Log4NetLevel": "INFO ",
        "HttpRequestNumber": 2,
        "HttpRequestId": "ceb93e06-3e9d-4711-913a-9e7b909ce93d"
    }{
        "@t": "2019-06-12T08:28:03.5533274Z",
        "@mt": "[{EventType}] Event Id: {EventId}, State: {State}",
        "EventType": "Information",
        "EventId": 0,
        "State": "Login attempt succeeded for username ******* from IP address 127.0.0.1",
        "SourceContext": "Umbraco.Core.Logging.OwinLogger",
        "ProcessId": 21768,
        "ProcessName": "w3wp",
        "ThreadId": 20,
        "AppDomainId": 3,
        "AppDomainAppId": "LMW3SVC5ROOT",
        "MachineName": "W10",
        "Log4NetLevel": "INFO ",
        "HttpRequestNumber": 3,
        "HttpRequestId": "2b333a9a-c409-415b-818e-fd4bea1f5628"
    }{
        "@t": "2019-06-12T08:28:03.5543268Z",
        "@mt": "[{EventType}] Event Id: {EventId}, State: {State}",
        "EventType": "Information",
        "EventId": 0,
        "State": "User: ******* logged in from IP address 127.0.0.1",
        "SourceContext": "Umbraco.Core.Logging.OwinLogger",
        "ProcessId": 21768,
        "ProcessName": "w3wp",
        "ThreadId": 20,
        "AppDomainId": 3,
        "AppDomainAppId": "LMW3SVC5ROOT",
        "MachineName": "W10",
        "Log4NetLevel": "INFO ",
        "HttpRequestNumber": 3,
        "HttpRequestId": "2b333a9a-c409-415b-818e-fd4bea1f5628"
    }{
        "@t": "2019-06-12T08:30:20.5753540Z",
        "@mt": "[{EventType}] Event Id: {EventId}, State: {State}",
        "EventType": "Information",
        "EventId": 0,
        "State": "Login attempt succeeded for username ******* from IP address 127.0.0.1",
        "SourceContext": "Umbraco.Core.Logging.OwinLogger",
        "ProcessId": 21768,
        "ProcessName": "w3wp",
        "ThreadId": 20,
        "AppDomainId": 3,
        "AppDomainAppId": "LMW3SVC5ROOT",
        "MachineName": "W10",
        "Log4NetLevel": "INFO ",
        "HttpRequestNumber": 4,
        "HttpRequestId": "c07938e7-5c20-45d8-94fa-79ffcbc59edc"
    }{
        "@t": "2019-06-12T08:30:20.5763531Z",
        "@mt": "[{EventType}] Event Id: {EventId}, State: {State}",
        "EventType": "Information",
        "EventId": 0,
        "State": "User: ******* logged in from IP address 127.0.0.1",
        "SourceContext": "Umbraco.Core.Logging.OwinLogger",
        "ProcessId": 21768,
        "ProcessName": "w3wp",
        "ThreadId": 20,
        "AppDomainId": 3,
        "AppDomainAppId": "LMW3SVC5ROOT",
        "MachineName": "W10",
        "Log4NetLevel": "INFO ",
        "HttpRequestNumber": 4,
        "HttpRequestId": "c07938e7-5c20-45d8-94fa-79ffcbc59edc"
    }
    
  • Brandon Osborne 37 posts 160 karma points c-trib
    Jun 12, 2019 @ 08:49
    Brandon Osborne
    0

    Does your Windows event viewer shed any light on the potential issue?

  • mmaty 72 posts 175 karma points
    Jun 12, 2019 @ 09:17
    mmaty
    0

    @Brandon: Nope. No entry from w3wp.

    More log information: I posted an issue here and it contains a log file made in debug mode.

  • Brandon Osborne 37 posts 160 karma points c-trib
    Jun 12, 2019 @ 09:50
    Brandon Osborne
    0

    Hmmm... I'm not seeing any glaring issues in the log file. Is the browser console throwing any JS errors of any sort? You may also want to try deleting your Umbraco cache (~/App_Data/Temp), republishing & then try upgrading again.

    How are you upgrading? a nuget update-package UmbracoCms or downloading the files & installing the old fashioned way? Be sure to make a backup of your working 8.0.1. I've had things explode countless times & ended up having to redo stuff when I don't do this.

  • mmaty 72 posts 175 karma points
    Jun 19, 2019 @ 12:44
    mmaty
    100

    I found the cause of the problem. Because of SEO reasons we have a rewrite rule in the Web.config file, which converts all URLs to lower case. Since Umbraco calls a lot of APIs with mixed case, we added a condition to the rule:

    <add input="{R:1}" pattern="umbraco/.*" negate="true" ignoreCase="true" />
    

    It turned out, that the update process uses an URL like /install/PostUpgradeOrSomethingLikeThis. I don't remember the exact name, but the POST uses a mixed case name and the path doesn't start with "umbraco", but with "install". So the rule converts the URL into /install/postupgradeorsomethinglikethis and returns a 301 redirect. The browser responds with a GET instead of a POST which ends in an error, since POST is the only allowed verb for the given route.

    Adding a second condition solves the problem.

    <add input="{R:1}" pattern="umbraco/.*" negate="true" ignoreCase="true" />
    <add input="{R:1}" pattern="install/.*" negate="true" ignoreCase="true" />
    
Please Sign in or register to post replies

Write your reply to:

Draft