Is there a way to see when there are changes to th...
# news
h
Is there a way to see when there are changes to the DB, when you are upgrading from one version to another?
j
For Umbraco questions you should post in #1125392773038755890 not in the News channel 😉 But to answer your question, yes whenever a migration is added it is in this file: https://github.com/umbraco/Umbraco-CMS/blob/2b629693950818865a9f8ee316ec7bc1538d287f/src/Umbraco.Infrastructure/Migrations/Upgrade/UmbracoPlan.cs#L10
s
Curious why you want to know @Henrik - the upgrader takes care of all of that for you and we don't complete the upgrade unless the db change is complete.
j
A migration doesn't necessarily equal a database change, but they often do. You can go check out the migrations one by one to see whether they do any db change or not.
h
I still doesn't see a "easy" way to upgrade live sites. Without having to pull the site down, do the upgrade and then put it back up.
Thank you both for the replies 🙂
s
That's exactly how you would do it yes. 🙂
h
Good to know 🙂
s
Apparently you can save "millions" of hours if you set it up properly (I think they were exaggerating a little bit) https://discord.com/channels/869656431308189746/1128282358597038100/1128586467283828807
s
I guess it depends where you host things. In Azure you could utilize deployment slots and effectively have zero downtime.
h
We are currently hosting the sites on a server with Plesk. it's works very well, but again the upgrade procedure isn't as easy as the Wordpress sites we are hosting 😆
s
Wouldn't the only difference be that Wordpress downloads the update itself (including unpacking and applying)? Umbraco can also auto update with the unattended install feature turned on - You just need to provide the updated files
h
@Søren Mastrup I wasn't aware of that 🙂 that sounds like the way to go. and thanks again 😉
s
s
Of course I should note that we offer something called Umbraco Cloud, you might have heard of it, the security patch will be applied for you. 😇
s
😮
Does Umbraco offer hosting? Since when?
/s
s
> auto update with the unattended install feature turned on You still need to upgrade the site locally and push the upgrade. Yes, unattended makes it a bit easier, but the nature of dotnet is not such that we can download an update and apply it automatically, unfortunately.
h
This is also how I have experienced it 🙂
Is there a way to test if the "Enabling the Unattended Install" is setup correct?
s
Yes, upgrade the Umbraco Nuget package an notice that you don't get the upgrade installer screen 😅
s
But with a few steps this can be handled rather easy. For example I just need to update the
PackageReference
in my project and the push it to my repo - Then my pipelines takes over and deploys it.
s
Yes, so you upgrade locally (update
PackageReference
) and then push the upgrade 😉 Different wording but that's what I meant!
2 Views