Copied to clipboard

Flag this post as spam?

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


  • Murray Roke 503 posts 966 karma points c-trib
    Feb 12, 2015 @ 01:16
    Murray Roke
    0

    How do I deploy an upgrade to umbraco using Team City & Octopus Deploy

    Hi All,
    We use Team City and Octopus Deploy for our websites.
    I've just upgraded one of our sites (on my local machine) using:

    PM> Update-Package UmbracoCms
    

    I run the website and step through the Install upgrade steps.

    Now what?

    If I commit everything then TeamCity will build a deployment package with umbracoConfigurationStatus='new' then the 'upgrade' will not run on subsequent environments.

    If I commit with umbracoConfigurationStatus='old' then the 'upgrade' will run on EVERY subsequent deployment.

    Anyone have any advice on how to deploy an upgrade? I'd prefer not to have to put the site offline or in read only mode while we copy the DB upgrade then upload it.

    In my case I'm Updating 'UmbracoCms' from version '7.1.8' to '7.2.1'. But advice I could apply to any upgrade would be great.

    Cheers.
    Murray.

  • Søren Kottal 711 posts 4549 karma points MVP 6x c-trib
    Feb 12, 2015 @ 08:13
    Søren Kottal
    1

    I do it this way (deployment through Visual Studio Online)

     

    Upgrade files locally and commit changes to files.

    Run upgrade steps through website.

    Stash the new changes, and push (so you get a "fresh" update up).

    Run upgrade steps on live website.

    Push stashed changes in.

     

    It could probably be done easier, but this works for me.

Please Sign in or register to post replies

Write your reply to:

Draft