As I have been struggling with upgrading Umbraco 3.0.6 to 126.96.36.199, I thought I would post a small guide for later use, as I most likely have to go through this again.
Please be aware of this guide is for Umbraco 3.0.6 to 188.8.131.52
Upgrading from prior version of Umbraco, vil require you to upgrade to 3.0.6 first.
1. Take backup of your binaries and database!
2. Upgrade from Umbraco 3 > 184.108.40.206 (upgrading from 3 > 4.7 will make the upgrade stall at 20%)
2.1 Download the binaries and extract them to your Umbraco dir
Note: Umbraco 3 and 220.127.116.11 must both run on ASP.NET 2.0 Classic Application Pools
3. Upgrade from Umbraco 18.104.22.168 > 22.214.171.124
3.1 Download the binaries and extract them to your Umbraco dir
3.2 Run your site and a automated upgrade will start – looking just like the normal Umbraco 4.7 installation
Note: Change Application Pool to ASP.NET 4.0 (Integrated pipeline mode) before you run the upgrade
4. XML schemes
Umbraco 4.5 and forth uses a new XML shcema, therefor you have to make sure it’s enabled
<!-- to enable new content schema, this needs to be false --> false
Love the double meaning aye? ;)
Version prior to Umbraco 4 used clear typed passwords – therefor your old passwords are stored as clear type in the database.
Umbraco 4.7 however uses hashed passwords, but because your passwords are stored in clear type, we have to enable the feature
Set both the “UmbracoMembershipProvider” and “UsersMembershipProvider” to passwordFormat=”Clear” like shown below
6. If you are using XSLT, which you probably are, since Razor first got introduced in Umbraco 4.7, you have to manually
go through your scrips and and change them to fit the new schema. There are some scripts out there which can help you, but
they don’t work 100%.
I have been lucky though, to get _some_ of my XSLT convertet to the new schema with “XsltUpdater for Umbraco”
Use at your own risk – if you dare. ;)
Reference about the new chages:
Now log in to your Umbraco installation http://site.com/umbraco/
Go through all your nodes and republish them (don’t just hit republish entire site, or it won’t work and you probably will break something)
This step is important to make all your XSLT work again with the new schema.
Please note that you most likely will loose some relations and sort orders in tabs, but not more than it’s pretty fast to fix.