Copied to clipboard

Flag this post as spam?

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


  • Leon 101 posts 489 karma points
    Feb 26, 2015 @ 16:49
    Leon
    0

    Deployment trouble. Is courier and usync the only options?

    Hello.

    I'm having a nightmare trying to deploy from dev to UAT. I'm using visual studio 2012. I have my project with all my packages (react, usync, optimiser etc). I'm expecting to deploy doing the following:

    1. Backup my dev database and restore it as a new database on UAT.
    2. Publish my website to the UAT server
    3. Change the connection string in the web.config to point to the new UAT db.

    The dang thing doesn't work.

    I'm getting null reference exceptions on UAT.

    I don't know if usync might be interfering?

    I'm new, so haven't used courier and don't want to buy it until I have a nice website up and running to first show my boss and then convince him to buy courier.

    Any help will be great.

    Leon

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Feb 26, 2015 @ 17:02
    Jan Skovgaard
    1

    Hi Leon

    Sorry, but I'm not sure what UAT is? Is it a hosting provider or?

    uSync should only be used for syncing content between development environments I think. But Courier should work - Other options could be to try out uMport or Conveyor for instance.

    Hope this helps.

    /Jan

  • Leon 101 posts 489 karma points
    Feb 26, 2015 @ 17:13
    Leon
    0

    Hi Jan.

    Sorry, UAT is User Acceptance Testing (a test server). It's just deploying to a web server. Courier is not an option for me at this stage - might be later once I have something up and running and something amazing to show to my boss.

    I'm going to try and remove usync for now and then maybe introduce it later once I can get a simple copy from my development to a different server working first.

    Any other help from anyone?

    Leon

  • Leon 101 posts 489 karma points
    Feb 26, 2015 @ 17:30
    Leon
    0

    Hi Jan.

    I've just had a look at what you suggested (Conveyor). It seems quite good. I'll give it a go. Let me know if you have more info.

    Thank you very much. Leon

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Feb 26, 2015 @ 17:37
    Jan Skovgaard
    0

    Hi Leon

    Aaah, thanks for enlightening me :)

    I don't know about other tools or packages that can do this - But I'm excited to learn about your experiences.

    /Jan

  • Leon 101 posts 489 karma points
    Feb 27, 2015 @ 14:35
    Leon
    100

    Hi.

    I finally got it working. It's not the best, but it's working at least...

    In visual studio, in stead of using the "Publish...", I just copied my whole dev folder (excluding solution file and git folder) over to UAT. I excluded some obvious folders like sass and cache folders and things I didn't think were needed.

    So these were my steps:

    1. Database: Backed up dev and restored to UAT server
    2. Application: Copied the files over from my dev machine to the web folder on UAT (After setting up a new site in IIS).
    3. Changed the connection string in the web config.
    4. Started the application on UAT and it all worked.

    Subsequent steps / gotcha's

    1. With usync, I had to install it using NuGet - for some reason importing it in umbraco package manager didn't quite work.

    I know it's not the best way, but it works for now.

    Leon

Please Sign in or register to post replies

Write your reply to:

Draft