|
|
Rank: Aficionado
Joined: 2/16/2009 Posts: 117 Location: England
|
Hi,
I have developed a site in Umbraco 4.0.0 and I am now getting a popup telling me that 4.0.1 is now available and it is easy to upgrade. I want to take advantage of the new features and bug fixes in the new version but cannot find anywhere that tells me how I upgrade my current website from 4.0.0 to 4.0.1. Can anyone help?
Regards Tony
|
|
 Rank: Addict
Joined: 7/20/2006 Posts: 842 Location: NL
|
Tony, upgrading is fairly easy in this case. Make a backup of your site first. Download the binaries and unzip them. Determine if you have made changes in any file in the umbraco-directory. If so, make a backup. Then copy the folders install, umbraco, umbraco_client and bin to the site overwriting the ones that allready are there. Open up the site and the installer will present itself. Follow the steps and the site will be upgraded. Another way without the installer: leave out the install-directory but copy the other dirs. When done, edit the web.config and modify the version to 4.0.1 HTH, PeterD
Add compression to your site in 10 minutes Looking for a calendar with recurring events?
|
|
 Rank: Aficionado
Joined: 10/19/2007 Posts: 161 Location: Glasgow, Scotland
|
Hi Peter, I take it that there have been no database changes in the upgrade to v4.0.1 - otherwise you would have to run the install script right? Thanks for the instructions anyway, very useful - I'll be getting onto that with two sites today. Cheers, David Certified Umbraco developer
|
|
 Rank: Addict
Joined: 7/20/2006 Posts: 842 Location: NL
|
Correct, no DB-changes from 4.0.0 to 4.0.1 You might want to check your config-folder as well. There have been changes to umbracoSettings.config and tinyMceConfig.config. If you made changes in any of the files in that folder, compare them with 4.0.1. HTH, PeterD
Add compression to your site in 10 minutes Looking for a calendar with recurring events?
|
|
 Rank: Aficionado
Joined: 10/19/2007 Posts: 161 Location: Glasgow, Scotland
|
Thanks again Peter. For anyone else following this thread, a great tool for this kind of thing is winmerge - dead easy to compare folders to see what's changed. http://winmerge.org/David Certified Umbraco developer
|
|
 Rank: Addict
Joined: 7/20/2006 Posts: 842 Location: NL
|
Ok, again for everyone else to read: Check the config/xsltExtensions.config before copying. There's a few unknown characters in it which should be double-quotes. (You can delete the line all together, its just an example, but might come in handy for future reference)
Add compression to your site in 10 minutes Looking for a calendar with recurring events?
|
|
Rank: Aficionado
Joined: 2/16/2009 Posts: 117 Location: England
|
Thanks for this Peter, I don't think I have changed anything in those folders that you mentioned but I will have to check and give this a try next week.
Regards Tony
|
|
 Rank: Newbie
Joined: 2/11/2009 Posts: 20 Location: Sevenoaks
|
For those who need it, here's a diff of the files between 4.0.0 and 4.0.1 http://munkimagik.wordpress.com/2009/03/30/upgrading-to-umbraco-401-a-diff-of-the-files/
Umbraco Level 2 certified developer
|
|
 Rank: Newbie
Joined: 3/20/2009 Posts: 8 Location: Houston, TX. USA
|
Peter,
I tried both of your upgrade methods and it broke my site.
The back-end admin area still works but the front-end is now a blank page.
Is there any official upgrade documentation available?
Thanks.
Kevin Florida Web Designer
|
|
 Rank: Enthusiast
Joined: 11/24/2008 Posts: 37 Location: Odense, Denmark
|
kflorida wrote:Peter,
I tried both of your upgrade methods and it broke my site.
The back-end admin area still works but the front-end is now a blank page.
Is there any official upgrade documentation available?
Thanks. Might be too simple - but did you republish your site?
//Berntsen
|
|
Rank: Aficionado
Joined: 12/11/2006 Posts: 128 Location: Denmark
|
Thanks Peter. Just the info I needed. Works like a charm :)
/Jan Follow me on twitter
|
|
Rank: Newbie
Joined: 3/18/2009 Posts: 10
|
IMHO - This thread should be a sticky at the top of the forum!
I copied bin, umbraco and umbraco_client (backed em up first) and the installer kicked in. I just followed the bouncing ball and it just worked!
|
|
Rank: Devotee
Joined: 8/13/2008 Posts: 60 Location: New Zealand
|
Be careful with upgrading your web.config. There is a change to use hashed passwords so if you just copy files over you won't be able to login to your site any more.
Personally I'd like to see how to upgrade manually in the release documentation and if there are any changes to the web.config these should be documented separately so that rather than copying the entire web.config I can manually change the affected keys.
|
|
 Rank: Devotee
Joined: 11/12/2008 Posts: 66 Location: Bracknell - UK
|
OK so I copied files, merged my web.config file so that I picked up the DB connection string. Now I'm left in exactly the position Spider mentions. I can't log in, but can't figure out how to fix it. Ideas please.
|
|
 Rank: Devotee
Joined: 11/12/2008 Posts: 66 Location: Bracknell - UK
|
FYI -- I just deleted the bit about hashed passwords in web.config, and everything works a charm. But it'd be good to know if in doing so I've broken something else.
|
|
The forum has moved
This forum is no longer in use, so you can't reply to this message - please go to Our Umbraco
|
|
Guest |