upgrading umbraco from 7.2 to 7.12, is it possible
Hi
As the title says really, just wondering if its possible to do such a big upgrade from 7.2 to 7.12?
I'm wondering if its going to be easier to create a new instance of an umbraco site, than fight with a load of errors and bugs trying to get it to work via upgrading.
Yes it is possible, but it's advisable to do a stepped approach rather than just jumping from 7.2 to 7.12.
There are various breaking changes that have happened over the various versions of Umbraco and it's often best to deal with these at each point.
When doing such a big upgrade I would advise to upgrade to the highest patch version of the version you are currently on, i.e. 7.2.8. Then move to the next Minor version (i.e. 7.3.0) then again to the highest patch version (7.3.8). I'd repeat this version to get yourself to 7.6.13. After this point, I've found it's been much easier to do larger updates. So I'd then give it a go to jump from 7.6.13 to 7.11.1 (I wouldn't go straight to 7.12.0, I generally try to avoid the .0 releases for at least a month in case any bugs show up.)
Make sure you back up both your source code and your database before doing the updates and remember to read the version specific upgrade notes. These are really important:
If anyone else is in the same situation, just follow the link above regarding the specific version changes. Also 7.7.0 is really buggy on the front-end, don't try and fix, just upgrade to 7.11.1 after this (this will fix allot of the bugs in 7.7.0).
I had one error that seemed to keep recurring:
"Cannot perform runtime binding on a null reference"
upgrading umbraco from 7.2 to 7.12, is it possible
Hi
As the title says really, just wondering if its possible to do such a big upgrade from 7.2 to 7.12?
I'm wondering if its going to be easier to create a new instance of an umbraco site, than fight with a load of errors and bugs trying to get it to work via upgrading.
Thanks
Darren
Hi Darren,
Yes it is possible, but it's advisable to do a stepped approach rather than just jumping from 7.2 to 7.12.
There are various breaking changes that have happened over the various versions of Umbraco and it's often best to deal with these at each point.
When doing such a big upgrade I would advise to upgrade to the highest patch version of the version you are currently on, i.e. 7.2.8. Then move to the next Minor version (i.e. 7.3.0) then again to the highest patch version (7.3.8). I'd repeat this version to get yourself to 7.6.13. After this point, I've found it's been much easier to do larger updates. So I'd then give it a go to jump from 7.6.13 to 7.11.1 (I wouldn't go straight to 7.12.0, I generally try to avoid the .0 releases for at least a month in case any bugs show up.)
Make sure you back up both your source code and your database before doing the updates and remember to read the version specific upgrade notes. These are really important:
https://our.umbraco.com/documentation/Getting-Started/Setup/Upgrading/version-specific
The general upgrade rules are useful as well and they can be found here:
https://our.umbraco.com/documentation/Getting-Started/Setup/Upgrading/general
Cheers
Nik
Thanks Nik,
I've managed to get to version 7.11.1 from 7.2.4, happy days.
All my upgrades were done via NuGet in VS2017.
This was my upgrade process (link to specific version changes):
If anyone else is in the same situation, just follow the link above regarding the specific version changes. Also 7.7.0 is really buggy on the front-end, don't try and fix, just upgrade to 7.11.1 after this (this will fix allot of the bugs in 7.7.0).
I had one error that seemed to keep recurring:
"Cannot perform runtime binding on a null reference"
How to fix:
<EnablePropertyValueConverters>
Hope this helps someone out, thanks again Nik.
Darren
Just an update, I was getting the following errors when using the datetime picker in the back office:
The problem was with umbraco forms (v4.1.5), it was conflicting with the moment.js in 'App_Plugins/UmbracoForms/Assets/moment/moment.min.js'.
I just renamed this folder 'moment' and this fixed the problem.
Darren
Hi Darren,
You need to update Umbraco Forms I believe. If you don't there may be compatibility issues.
Cheers
Nik
Thanks Nik,
Just upgraded forms to v7.0.3 via NuGet and all seems to be working as it should :)
Darren
is working on a reply...