Copied to clipboard

Flag this post as spam?

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


  • Damian 2 posts 72 karma points
    Oct 16, 2018 @ 13:00
    Damian
    0

    Upgrading Umbraco 7.6.3 -> 7.12.13 - GetSetup Throws 404

    At the moment we are using v7.6.3 and are in the process of upgrading to v7.12.3. I've spent the last day looking through the Umbraco upgrade process and implementing it into our solution.

    UmbracoCMS was updated via Nuget, all obvious dependencies also seem to have been installed and I've ensured the configuration we have hasn't been overwritten. However, when running Umbraco for the first time locally after the update, the splash screen is displayed but an error is immediately thrown in the console stating '../install/api/GetSetup' doesn't exist.

    I've taken a look around and found the following question which had some ideas on resolving the issue but for this person the problem magically went away.

    Upgrading Umbraco 7.4.3 -> 7.5.13

    To rule out some sort of issue with the upgrade, I added 'InstallApiController' manually from the GitHub source but to no avail. A number of places in that controller references various classes/properties/namespaces which aren't accessible. I've even tried doing the upgrade again on a separate branch to rule out the update being an issue.

    I've exhausted all fixes from our perspective so now I'm looking for external advice on resolving this problem. Does anyone have any ideas on resolving this issue or at least pointing me in the right direction.

  • Owain Williams 326 posts 978 karma points MVP c-trib
    Oct 16, 2018 @ 20:58
    Owain Williams
    0

    Hi,

    It sounds like you've tried a lot of things but without knowing what things I'll suggest a couple.

    Have you incremented the clientdependancy number in the clientdependency.config file? This might clear any cache issues.

    https://github.com/umbraco/OurUmbraco/blob/master/OurUmbraco.Site/config/ClientDependency.config

    Have you done a hard refresh on your browser? Again, to clear any cache issues.

    Is there any error messages within the log files? App_Data/Logs

    O.

  • Damian 2 posts 72 karma points
    Oct 17, 2018 @ 08:06
    Damian
    0

    So one of the final things I tried after posting this was doing smaller incremental updates... The wonders of branching made this relatively pain free when everything went wrong. Instead of going straight to v7.12.3 I went to v7.7.0 and when that didn't work I upgraded to v7.6.4 to see if that would resolve the issue. As per the tone of this paragraph it didn't go to plan and still throws a 404 when trying to locate the 'GetSetup' action in the Install API Controller.

    However, I did find the root cause of the issue whilst implementing this last ditch effort. Our solution has been configured in a way which would work with our current code base and so it would work off one domain so we have proxy's in so Umbraco could connect to our existing project. Because of our implementation it seems to be making it near impossible to do the upgrade cleanly or as it currently stands, at all.

    As the problem is on our end rather than an issue with Umbraco I'll close the question.

  • Owain Williams 326 posts 978 karma points MVP c-trib
    Oct 17, 2018 @ 08:09
    Owain Williams
    0

    I'm glad you found a source of the issue or at least, that it's not an umbraco issue as such. Not so cool that you're having an issue with the proxy though.

    I hope you manage to find a way of upgrading the sites in the future - maybe doing a manual upgrade rather than nuget?

    O.

Please Sign in or register to post replies

Write your reply to:

Draft