Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I'm just wondering how everyone updates their Umbraco installs, Umbraco regularly release updates and wondering what is best method to manage these.
This is our setup.
1) I have a development umbraco 8 website with uSync complete on my local machine with visual studio - No version control.
2) A staging website with uSync complete
3) Live website with uSync complete
What we do is we have our users make changes on the staging website and push them to live with uSync which works fine.
The issue is how do I go about updating all 3 websites with same version? for my development copy this is easy as I can just update using nuget, but how do I get the staging website and live website? Is it easier for me to update these manually?
Hi fellow Matt :)
How do you deploy code changes to staging and live environments?
Without version control I will assume some sort of manual file copy like FTP.
In which case you will need to update the files manually on each environment and take extra care with version specific changes that may remove files or dependencies (rare but has happened)
Check out - https://our.umbraco.com/documentation/getting-started/setup/upgrading/general#manually-upgrading-from-a-zip-file-package for manually upgrading
and https://our.umbraco.com/documentation/getting-started/setup/upgrading/version-specific for Version specfic steps.
As always make sure you backup your files and database before doing an upgrade.
Hope this helps
Please look at getting version control, it is a genuine life saver when things go wrong and as a backup in general. It also opens up automated deployments through many services that will make this and deployments easier and safer.
Thanks for that, yea I just make code changes in development and then copy accross to the other enivorments manually.
So if I have some sort of source control/version control will this mean it will be easier to update the staging/live environments.
What is the best solution to use? is there any guides to set this up?
Version control alone what make updating the other environments easier.
It does have lots of other benefits a good video here should help explain it.
With version control you can then used other tools like Github actions / Azure DevOps etc. To automatically build a version of your site and deploy it.
A blog that is generic to a .net but relivate here will hopefully clear this up.
Unfortunately the tools that allow you to deploy "automatically" do have a cost but can save you time.
If you decide to keep things manual but occasionally miss a file or two version control will show you which files have changed. You could also you visual studios publish feature to reduce this.
GitFlow + Azure Devops + Azure website
Umbraco with Usync
That are the ingredients you need for a good DTAP flow, I'll try to do a write up soon on https://dev.to/timgeyssens
If you are on Umbraco V8 this is also a must: https://our.umbraco.com/packages/website-utilities/ourumbracosilentupgrade/
You can just have umbraco upgrade without seeing the upgrade wizard ....
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted