|
|
Rank: Newbie
Joined: 10/4/2008 Posts: 12 Location: Bloomington, IN, USA
|
Can somebody tell me what steps to take in order to upgrade from one version of v4 beta to a newer one?
I replaced the folders that seemed obvious to me, but the result was... not nice.
Thanks much. -Joseph
|
|
 Rank: Umbracoholic
Joined: 3/17/2008 Posts: 1,192 Location: Nyborg, Denmark
|
Did you clear your browser cache?
Jeeeez, did I really start this :-) Founder of the Umbraco project
|
|
Rank: Newbie
Joined: 10/4/2008 Posts: 12 Location: Bloomington, IN, USA
|
It took me a while to get back to this, and apparently that was the problem, because everything seems fine.
Thanks, -Joseph
|
|
 Rank: Umbracoholic
Joined: 3/17/2008 Posts: 1,192 Location: Nyborg, Denmark
|
Thanks for getting back on this!
A lot of changes happens in client files (js, css, images) in the phase towards release and even the slightest changes can have a pretty bad effect on user experience if only some or no files are cleared. So the safest thing to to is to either 1) Install the new build on a new domain (like umbraco4beta2take2.local) 2) Clear your browser cache (some plugins allow this on domain level) - and don't count on just hitting CTRL+F5 / cmd+R due to some advanced ajaxy loading of client files, it's not always that the browser knows when and what to clear (especially dynamically loaded css is tricky)
Hope this helps!
/n
Jeeeez, did I really start this :-) Founder of the Umbraco project
|
|
 Rank: Aficionado
Joined: 3/30/2008 Posts: 168 Location: Sweden
|
In case there are any db-updates between the versions, is there an easy way to execute them? Without making a fresh install?
|
|
Rank: Aficionado
Joined: 7/19/2006 Posts: 174 Location: aalleren, Denmark
|
You would have to examine the .sql files in the datalayer project to determine what needs to be added, as we currently don't have a way to upgrade the db automaticly between beta releases Umbracian
|
|
Rank: Newbie
Joined: 10/4/2008 Posts: 12 Location: Bloomington, IN, USA
|
ACK.
Are there changes being made (or expecting to be made) to the DB still in these later v4 betas? I'm hoping not, because I don't want to try to mess with that to upgrade the sites I'm working on to the official v4 when it comes out.
I'm guessing nobody can say for sure, but is it *likely* that there will be db changes?
|
|
 Rank: Aficionado
Joined: 3/30/2008 Posts: 168 Location: Sweden
|
I think the changeset 43482 that was checked in this saturday may contain a db-update. It fixes http://www.codeplex.com/umbraco/WorkItem/View.aspx?WorkItemId=19606But I am often wrong :)
|
|
 Rank: Addict
Joined: 7/20/2006 Posts: 842 Location: NL
|
Compared to the file I have from 27th october, it didn't change. Looks like you're wrong ;)
Add compression to your site in 10 minutes Looking for a calendar with recurring events?
|
|
 Rank: Aficionado
Joined: 3/30/2008 Posts: 168 Location: Sweden
|
Thats great :) not that I was wrong though..
|
|
 Rank: Aficionado
Joined: 8/31/2007 Posts: 181 Location: London, UK
|
Just upgraded from 4b2 to 4b2t3... I think  All seems ok but I just want to check I've done it right (before I start reporting bugs). Can someone confirm the correct procedure? (What folders to replace? Do I need to run /install?) Cheers, Lesley UK meetup anyone?
|
|
 Rank: Addict
Joined: 7/20/2006 Posts: 842 Location: NL
|
Lesley, I think there are no db-updates from vb2 to 4b2t3, so that makes it not needed to run install again. What I did was copying the folders /bin, /config, /umbraco and /umbraco_client Note: if you made any changes in the config-folder, make sure what they are and make them again when you're done copying. (Biggest change in the config-folder in tinyMCEConfig.config) cheers, PeterD
Add compression to your site in 10 minutes Looking for a calendar with recurring events?
|
|
Rank: Newbie
Joined: 11/26/2008 Posts: 9 Location: DK
|
Hello I'm a little puzzled because I'm also trying to upgrade my version to the latest beta. In my web.config it says that my current version is: <add key="umbracoConfigurationStatus" value="4.0.0" /> When I copy new folders from the release 4 beta2 take 3 build folder - I just get a page error when trying to start http://servername/umbraco which is the normal procedure... Can anyone hint me in the right direction as where this process breaks...? I tried to clear the IE data as mentioned on previous post and also tried looking for .sql files but I can't seem to find any in the build folder and subfolders...? I'm expecting that the db has changes between these versions and this is propably the cause for my not working site...? Any help will be appreciated! Kind regards Thomas
|
|
 Rank: Addict
Joined: 7/20/2006 Posts: 842 Location: NL
|
Thomas, what version did you start with? To upgrade from 1 beta-version to the latest might require some manual database-changes as there is no upgrade-script from beta to beta. If you need to know what has changed, get a copy of the sources. There is an upgrade.sql script in there in which you can see what changes are needed to upgrade from version3. Check the last lines in there and manually check if those things are present in your current database. If not, alter the database according to the script. HTH, PeterD
Add compression to your site in 10 minutes Looking for a calendar with recurring events?
|
|
Rank: Newbie
Joined: 11/26/2008 Posts: 9 Location: DK
|
Hi
The version is 4.0 as i stated. I started at that version although it was beta...
I was actually not sure of the proposed process for upgrading the environment manually - but I will try to follow the sql script and update the db... then I'll see if that helps...?
Thanks.
By the way it would be really nice to have a description of how to do this from the core team. I have no problem doing it manually but still nice to know what should be done between versions... :-)
Kind regards
Thomas
|
|
Rank: Newbie
Joined: 10/4/2008 Posts: 12 Location: Bloomington, IN, USA
|
Hi Thomas,
I don't know the "official" response, but I can tell you what I have been doing between v4 betas, and it seems to have been working fairly well.
1. download the new version 2. replace the following folders' contents -App_Browsers -aspnet_client -bin -umbraco -umbraco_client 3. clear browser cache
I think that's all I've done, and I've always suspected that I didn't need to replace the first two folders, but I have anyway.
Let us know how it goes. -Joseph
|
|
Rank: Newbie
Joined: 11/26/2008 Posts: 9 Location: DK
|
Hi
Sorry for not responding earlier - I've been pretty busy... :-)
Actually I've tried to just copy the new files and folders (with the exception of web.config) and also tried to clear the cache on the client - but I still get the ASP.Net page error when trying to access the website or the umbraco administration site...
Kind regards Thomas
|
|
 Rank: Addict
Joined: 7/20/2006 Posts: 842 Location: NL
|
What is the error you are seeing? PeterD
Add compression to your site in 10 minutes Looking for a calendar with recurring events?
|
|
Rank: Newbie
Joined: 11/26/2008 Posts: 9 Location: DK
|
Hi
The error is this - and that's definately a database error...
i Don't know how to update the db - someone talked about getting the sql scripts from the sourcefiles but I can't seem to find the correct ones from the download source section...
Any help will be appreciated.
Can I possibly generate a new umbraco install based on the latest build, or is the install wizard not able to make a new v4 database...?
Kind regards Thomas
Server Error in '/' Application.
Invalid column name 'defaultToLiveEditing'. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.SqlClient.SqlException: Invalid column name 'defaultToLiveEditing'.
Source Error:
The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:
1. Add a "Debug=true" directive at the top of the file that generated the error. Example:
<%@ Page Language="C#" Debug="true" %>
or:
2) Add the following section to the configuration file of your application:
<configuration> <system.web> <compilation debug="true"/> </system.web> </configuration>
Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.
Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.
|
|
Rank: Newbie
Joined: 11/26/2008 Posts: 9 Location: DK
|
Hi again
Well never mind. I took the latest beta and installed it from scratch...that was the easiest way...
:-)
Kind regards
And thanks for answering...
Thomas
|
|
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 |