Darren Crisp
Darren Crisp

Reputation: 13

Upgrading from Umbraco 7.4.3 to 9

I've been tasked with updating our companies site from 7.4.3 to the latest version of 9. I've spent many, many hours trying this. I've been following step by step guides and can't even get past the first step of updating to 7.6.14. I managed to get the website to run locally and show the Umbraco update page, but when I try to update it immediately cancels out.

(the log has this message:

_shutDownMessage=CONFIG change HostingEnvironment initiated shutdown HostingEnvironment caused shutdown )

I saw other people having this problem but couldn't find an actual solution. I also tried uploading to dev server and running it from there, but the website is a big mess of stuff and the NuGet umbraco update moves so much stuff around I'm not sure what I actually need to replace on the dev folder. Does anybody know what files I need to keep for this to work?

Am I better off starting with a fresh version of Umbraco 9.2 and remaking 8 years of web content from scratch? Please... save me :S

Upvotes: 1

Views: 1084

Answers (1)

Nurhak Kaya
Nurhak Kaya

Reputation: 1781

If your plan is to move to Umbraco 9, then you shouldn't waste your time with Umbraco 7 upgrades as there is no direct upgrade path from any version of Umbraco 7 to Umbraco 8 or Umbraco 9.

If you have time, then you can try spinning up a fresh Umbraco 8 website, create all your Umbraco objects there, do the data migration from Umbraco 7 to 8, and then you can spin up a new Umbraco 9 website, try migrating your Umbraco 8 objects/data into Umbraco 9. This is the recommended option by Umbraco HQ.

I have got a similar Umbraco 7 project and as I don't have time, I'm planning to spin up a fresh Umbraco 9 website, create all the necessary Umbraco 9 objects according to the latest Umbraco best practices, do the data migration by writing some custom code, similar to this approach.

If you really want to do your Umbraco 7 upgrades, you might try some smaller upgrades as there are a lot of breaking changes from Umbraco 7.4.3 to Umbraco 7.6.14.

Additional notes;

  • A lot of legacy code has been removed completely when implementing the Umbraco 8 changes - this includes a lot of code clean up compared to Umbraco 7.
  • New APIs were introduced as well as complete new Umbraco backoffice features, i.e. Infinite Editing, Content Apps, Language Variants etc.
  • From Umbraco 8 to Umbraco 9, initially, the only big difference was they moved the source code from .NET Framework to .NET 5.
  • You can not do an upgrade from a .NET Framework project to .NET 5.
  • See my blog for more details about my Umbraco 8 upgrade experience from Umbraco 7.

Upvotes: 1

Related Questions