Copied to clipboard

Flag this post as spam?

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


  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Apr 07, 2014 @ 17:04
    Ismail Mayat
    0

    Umbraco 7.0.3 - 7.1.0 upgrade issue

    Guys,

    I have existing 703 site i upgraded using nuget then did build all fine. I then hit umbraco page that fired up the installer all fine. It then went to upgrade screen "Simply click continue below to be guided through the rest of the upgrade" I do that and i get error:

    POST http://localhost/install/api/PostPerformInstall 500 (Internal Server Error) 
    

    thats what is being reported in the console. Any ideas?

    Regards

    Ismail

  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Apr 07, 2014 @ 17:06
    Ismail Mayat
    0

    Ok looking at http response a bit more information:

    {"Message":"An error has occurred.","ExceptionMessage":"Method not found: 'System.Object Newtonsoft.Json.Linq.JToken.ToObject(System.Type)'.","ExceptionType":"System.MissingMethodException","StackTrace":" at Umbraco.Web.Install.Controllers.InstallApiController.StepRequiresExecution(InstallSetupStep step, JToken instruction)\r\n at Umbraco.Web.Install.Controllers.InstallApiController.PostPerformInstall(InstallInstructions installModel)\r\n at lambda_method(Closure , Object , Object[] )\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>cDisplayClass13.c(Object instance, Object[] methodParameters)\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.Execute(Object instance, Object[] arguments)\r\n at System.Threading.Tasks.TaskHelpers.RunSynchronously[TResult](Func`1 func, CancellationToken cancellationToken)"}

  • Sebastiaan Janssen 5060 posts 15522 karma points MVP admin hq
    Apr 07, 2014 @ 17:07
    Sebastiaan Janssen
    0

    If you look in Fiddler do you see something like this?

    )]}',
    {"Message":"An error has occurred.","ExceptionMessage":"Method not found: 'System.Object Newtonsoft.Json.Linq.JToken.ToObject(System.Type)'.","ExceptionType":"System.MissingMethodException","StackTrace":"   at Umbraco.Web.Install.Controllers.InstallApiController.StepRequiresExecution(InstallSetupStep step, JToken instruction)\r\n   at Umbraco.Web.Install.Controllers.InstallApiController.PostPerformInstall(InstallInstructions installModel)\r\n   at lambda_method(Closure , Object , Object[] )\r\n   at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass13.<GetExecutor>b__c(Object instance, Object[] methodParameters)\r\n   at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.Execute(Object instance, Object[] arguments)\r\n   at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.<>c__DisplayClass5.<ExecuteAsync>b__4()\r\n   at System.Threading.Tasks.TaskHelpers.RunSynchronously[TResult](Func`1 func, CancellationToken cancellationToken)"}
    
  • Sebastiaan Janssen 5060 posts 15522 karma points MVP admin hq
    Apr 07, 2014 @ 17:07
    Sebastiaan Janssen
    0

    I take it as a yes then hehe

  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Apr 07, 2014 @ 17:08
    Ismail Mayat
    0

    Sebastiaan,

    I do indeed looks like same issue as adam.

    Regards

    Ismail

  • Sebastiaan Janssen 5060 posts 15522 karma points MVP admin hq
    Apr 07, 2014 @ 17:10
    Sebastiaan Janssen
    0

    Do you happen to have json.net in your GAC and if so, which version is it please?
    I'm trying to fix this so would appreciate it if you didn't remove it from GAC so I have a test subject of updated version of 7.1 :-)

  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Apr 07, 2014 @ 17:15
    Ismail Mayat
    0

    I have following in my gac

    Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL
    

    Regards

    Ismail

  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Apr 07, 2014 @ 17:24
    Ismail Mayat
    0

    Is it possible to get to the sql upgrade script i already have everything else upgraded by nuget?

  • Sebastiaan Janssen 5060 posts 15522 karma points MVP admin hq
    Apr 07, 2014 @ 17:49
    Sebastiaan Janssen
    1

    @Ismail just update your version number, no SQL changes in this release.

  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Apr 07, 2014 @ 17:50
    Ismail Mayat
    0

    awesome ta, just looking through the core love how the migrations stuff has been done.

    Regards

    Ismail

Please Sign in or register to post replies

Write your reply to:

Draft