Copied to clipboard

Flag this post as spam?

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


  • Thomas Mean 10 posts 120 karma points
    Aug 18, 2015 @ 12:45
    Thomas Mean
    0

    Hi,

    I am trying to upgrade an umbraco application from version 4.11.9 upwards (starting by going to either 4.11.10 or v6). When I attempt to upgrade this to 4.11.10, the install process does not auto run.

    However, when I change the umbracoConfigurationStatus within the web.config, the install process does run, but it attempts to install the current version.

    How can I solve this?

    As a further note, if I create a new umbraco application in 4.11.9 and attempt to upgrade this to 4.11.10, this works fine.

    Thanks,

    Tom

  • Sebastiaan Janssen 5045 posts 15476 karma points MVP admin hq
    Aug 18, 2015 @ 12:58
    Sebastiaan Janssen
    0

    It sounds like you're using NuGet?

    Make sure to follow the upgrade instructions: https://our.umbraco.org/documentation/Installation/Upgrading/general

    FYI: You shouldn't have to manually update umbracoConfigurationStatus, it is how we detect if the installation needs updating.

  • Thomas Mean 10 posts 120 karma points
    Aug 18, 2015 @ 13:03
    Thomas Mean
    0

    Hi Sebastiaan,

    I'm not using NuGet at present, I am manually upgrading.

    I have followed the instructions and seem to be encountering the same error every time. As mentioned, I can get a brand new umbraco application to upgrade fine. So I believe it's an issue with the current application rather than the process I'm taking to upgrade?

    The only reason that I updated the umbracoConfigurationStatus was to force the installation to run (it appears to be attempting to install 4.11.9 instead of the newer version that I am attempting to - hence changing this ran the installer)

    Thanks, Tom

  • Sebastiaan Janssen 5045 posts 15476 karma points MVP admin hq
    Aug 18, 2015 @ 13:05
    Sebastiaan Janssen
    0

    What is happening (I think): You're copying the files from the newer Umbraco version into the folder of your current website. Then you most likely do a build in Visual Studio. Your build is most likely overwriting the files you just copied into the bin folder, reverting to the older Umbraco version. So make sure to check whether something is overwriting the dlls in your bin folder.

  • Thomas Mean 10 posts 120 karma points
    Aug 18, 2015 @ 13:13
    Thomas Mean
    0

    Hi Sebastiaan,

    I have just checked this, and 1 dll file is being overwritten.

    This dll file is the one that shares its name with the Visual Studio project. Is this likely to be the cause?

    Thanks, Tom

  • Sebastiaan Janssen 5045 posts 15476 karma points MVP admin hq
    Aug 18, 2015 @ 13:59
    Sebastiaan Janssen
    100

    A little background info on how this works:

    In umbraco.dll we have stored the version of Umbraco (so if you download 4.11.10 then that would be the version in the dll). We compare that version to umbracoConfigurationStatus and if that's different from the version in the dll, we start the upgrade installer. Otherwise, Umbraco just keeps running as it was.

    So that 1 dll changing is just fine and I have absolutely no idea what the problem is in that case. I still believe the wrong dlls are in your bin folder somehow. :-)

  • Thomas Mean 10 posts 120 karma points
    Aug 18, 2015 @ 14:21
    Thomas Mean
    1

    Hi Sebastiaan,

    It would appear when copying over the whole folder, some dlls (including umbraco.dll) were not copying over. Moving these one by one seemed to fix the issue.

    Thanks for the help.

Please Sign in or register to post replies

Write your reply to:

Draft