Yes, the steps in the blog post are still good. The only problem being that you can't directly upgrade from v3.x to the latest version (v4.7+), you have to do it in a staggered approach.
From your screengrab, it looks like the CSS (and most likely JavaScript) is not being loaded. My *guess* would be that this is related to the ClientDependency settings ... either a permissions issue (e.g. read+write on the App_Data/TEMP folder - I *think* the IIS_USR needs permission) ... but for your upgrade, I'd suggest disabling ClientDependency for now.
To do this, enable "debug" mode in your Web.config...
Try republishing your entire website content? It might be that the new XML schema is being used, where all your templates/macros are using the legacy XML schema.
Ah yes, it's the password encryption for the back-office users. Find the "UsersMembershipProvider" setting in your Web.config and change the "passwordFormat" from "Hashed" to "Clear":
I've looked at your links, can see what you mean about the one menu item... but without knowledge of how the website (templates/macros) is built, I can't really help you with this.
My guess is still that there is a problem with the content using the new XML schema, where your XSLT is using the legacy schema. My final advice would be to try deleting the "/App_Data/umbraco.config" ... and let Umbraco regenerate it. Then open "umbraco.config" and see what XML is being used ... if it is lots of "node" and "data" elements, then it's the legacy schema ... otherwise it's the new schema.
Upgradation of 3.0.5 to 4.7.1
Hi All,
I want to upgrade my umbraco project to version 4.7.1 that is in 3.0.5.
I done that using : http://farmcode.org/post/2009/02/05/Upgrading-to-Umbraco-4.aspx.
But, at final stage , installing the database, it stoped at 20% progress, like below.
This process is spent more than 2 hrs.
And even i close it and start again, it come at this stage and same as it is.
Please, help me.
Thanks in advance.
Hi Hemant,
That blog post is a few years old now and was referring to upgrading to v4.0.
I'd recommend the following upgrade path: v3.0.5 -> v4.0.1 -> v4.5.2 -> v4.7.1.1
If you need any older releases/downloads, I have been maintaining an unofficial archive.
Best of luck!
Cheers, Lee.
I'd also go with the upgrade path Lee recommends. Here's a small upgrade guide for 4.0.x to 4.5.2 and 4.7.0, in case it might help.
http://www.screencast.com/t/oVhKz5o9dfsU
Grtz
L
Thanks Lee & Lennart,
I will follow your guidence.
Please, also correct me that , is this ref. link is ok : http://farmcode.org/post/2009/02/05/Upgrading-to-Umbraco-4.aspx
to upgrade ??
or please mention if you have another, better one.
Hi Hemant,
Yes, the steps in the blog post are still good. The only problem being that you can't directly upgrade from v3.x to the latest version (v4.7+), you have to do it in a staggered approach.
Cheers, Lee.
Hi Lee,
Thanks.
I have done successfully upgrade umbraco version 3.0.5 to 4.0.1.
Now, i am doing upgrade 4.0.1 to 4.5.2.
But, i am stopped the below stage.
It is not going ahead.
Am i miss any step?
I have choose AplicationPool = ASP.NET v4.0 Classic on IIS Configuration.
Is it ok? or not ?
I have solved this problem.
but, there is another problem, i faced.
Please check below link:
http://120.72.90.245:8084/ : This is in version 4.0.1.
http://120.72.90.245:8085/ : This is in version 4.5.2.
The first link is working fine, as in (origional project) vesrion 3.0.5.
But, in second link i get only 1 menu on left side compare to First one.
Is anything i missed ???
Waitting your reply.
Thanks.
Hi Hemant,
From your screengrab, it looks like the CSS (and most likely JavaScript) is not being loaded. My *guess* would be that this is related to the ClientDependency settings ... either a permissions issue (e.g. read+write on the App_Data/TEMP folder - I *think* the IIS_USR needs permission) ... but for your upgrade, I'd suggest disabling ClientDependency for now.
To do this, enable "debug" mode in your Web.config...
Cheers, Lee.
Hi Lee,
I have solved That ScreenShot problem.
but, there is another problem, i faced.
Please check below link:
http://120.72.90.245:8084/ : This is in version 4.0.1.
http://120.72.90.245:8085/ : This is in version 4.5.2.
The first link is working fine, as in (origional project) vesrion 3.0.5.
But, in second link i get only 1 menu on left side compare to First one.
Is anything i missed ???
Waitting your reply.
Thanks.
Taking a complete guess... take a look in your "/config/umbracoSettings.config" file, check that the "<UseLegacyXmlSchema>" option is set to "true".
Hi Lee,
Thanks for your reply.
But, no success.
Is any other settings which i missed ???
Thanks.
Hi Hermant,
Try republishing your entire website content? It might be that the new XML schema is being used, where all your templates/macros are using the legacy XML schema.
Thanks, Lee.
Hi Lee,
The backend not allow me to login, even i have credentials.
SO, FOR THAT , i need to make any setting ??
b'coz, original project that is in version 3.0.5 allow me to login backend side, with same credentials.
Thanks.
Ah yes, it's the password encryption for the back-office users. Find the "UsersMembershipProvider" setting in your Web.config and change the "passwordFormat" from "Hashed" to "Clear":
Hi Lee,
Thanks .
Now, i am able to login at backend side.
But, still there is problem with menu.
Only 1 menu is loading.
Any missing point from my side.
Thanks.
Can you clarify what you mean by "Only 1 menu is loading"?
Did you try republishing your entire website content?
Yes, we have tried to republish the entire website, but only the "frontpage" node is shown.
I think the problem we have is that the navigation.xslt is from 3.0.5, and that it doesn't work in 4.5.2.
The frontpage node is handled differently:
<ul>
<li>
<a style="margin-bottom:5px;">
<xsl:attribute name="href">
<xsl:value-of select="umbraco.library:NiceUrl('1065')"/> <!-- forsiden håndteres særskilt -->
</xsl:attribute>
Forside
</a>
</li>
But the foreach of the nodes doesn't get any nodes:
<xsl:for-each select="umbraco.library:GetXmlNodeById($source)/descendant-or-self::node [@level <=$level]/node [string(data [@alias='umbracoNaviHide']) != '1']">
<xsl:choose>
<xsl:when test="current()/data[@alias='noLink'] = '1'">
<li class="naviNoLink"><xsl:value-of select="@nodeName"/></li>
</xsl:when>
<xsl:otherwise>
<li>
<a href="{umbraco.library:NiceUrl(@id)}" title="Gå til {@nodeName}">
<xsl:if test="$currentPage/ancestor-or-self::node/@id = current()/@id">
<xsl:attribute name="class">selected</xsl:attribute>
</xsl:if>
<xsl:value-of select="@nodeName"/>
</a>
</li>
</xsl:otherwise>
</xsl:choose>
</xsl:for-each>
</ul>
This is the result (which is also shown when using Visualize XSLT function in the xslt editor.
<ul><li><a style="margin-bottom:5px;" href="/forside.aspx"><br> Forside<br> </a></li></ul><p>Done</p>
This is the complete xslt
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xsl:Stylesheet [
<!ENTITY nbsp " ">
]>
<xsl:stylesheet
version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:msxml="urn:schemas-microsoft-com:xslt"
xmlns:umbraco.library="urn:umbraco.library"
exclude-result-prefixes="msxml umbraco.library">
<xsl:output method="xml" omit-xml-declaration="yes" />
<xsl:param name="currentPage"/>
<xsl:template match="/">
<xsl:variable name="source">
<xsl:choose>
<xsl:when test="$currentPage/ancestor-or-self::node[@id=1077]">
<xsl:value-of select="1077" />
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$currentPage/@parent" />
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:variable name="level">
<xsl:choose>
<xsl:when test="$source='1077'" > <!-- on-line-bestilling har særlig menu-struktur -->
<xsl:value-of select="3" />
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="1"/>
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<ul>
<li>
<a style="margin-bottom:5px;">
<xsl:attribute name="href">
<xsl:value-of select="umbraco.library:NiceUrl('1065')"/> <!-- forsiden håndteres særskilt -->
</xsl:attribute>
Forside
</a>
</li>
<xsl:for-each select="umbraco.library:GetXmlNodeById($source)/descendant-or-self::node [@level <=$level]/node [string(data [@alias='umbracoNaviHide']) != '1']">
<xsl:choose>
<xsl:when test="current()/data[@alias='noLink'] = '1'">
<li class="naviNoLink"><xsl:value-of select="@nodeName"/></li>
</xsl:when>
<xsl:otherwise>
<li>
<a href="{umbraco.library:NiceUrl(@id)}" title="Gå til {@nodeName}">
<xsl:if test="$currentPage/ancestor-or-self::node/@id = current()/@id">
<xsl:attribute name="class">selected</xsl:attribute>
</xsl:if>
<xsl:value-of select="@nodeName"/>
</a>
</li>
</xsl:otherwise>
</xsl:choose>
</xsl:for-each>
</ul>
</xsl:template>
</xsl:stylesheet>
Hi Lee,
Please Check Below links for "ONE MENU LOADING PROBLEM".
In Version 3.0.5 : http://120.72.90.245:8083/ : This is our origional project.
As you suggest me to upgrade it v3.0.5 -> v4.0.1 -> v4.5.2 -> v4.7.1.
I have upgraded it to version 4.0.1 : http://120.72.90.245:8084/ : That is same as version 3.0.5.(Means same menus)
Now, i have upgraded from version 4.0.1 to 4.5.2 : http://120.72.90.245:8085/ : Here , i get ONLY ONE MENU.
That is the problem.
And yes, i have published it's contents from backend side.
Thanks.
Hi Hemant,
I've looked at your links, can see what you mean about the one menu item... but without knowledge of how the website (templates/macros) is built, I can't really help you with this.
My guess is still that there is a problem with the content using the new XML schema, where your XSLT is using the legacy schema. My final advice would be to try deleting the "/App_Data/umbraco.config" ... and let Umbraco regenerate it. Then open "umbraco.config" and see what XML is being used ... if it is lots of "node" and "data" elements, then it's the legacy schema ... otherwise it's the new schema.
- Lee
Hi Lee,
Thanks for your reply.
But, i am not finding "/App_Data/umbraco.config" file.
Thanks.
Hi Lee,
Thanks for your reply.
But, i am not finding "/App_Data/umbraco.config" file.
Thanks.
Try "/data/umbraco.config". Also check your Web.config to see what the value is for the appSetting key "umbracoContentXML".
Hi Lee,
I have deleted the previous "umbraco.config" from data folder.
And publish the project contents.
Now, the new generated umbraco.config is below:
Please, Check it and correct me.
Thanks.
Hi Lee,
And this is the setting in web.config for "umbracoContentXML"
<add key="umbracoContentXML" value="/data/umbraco.config" />
Thanks.
Hi Hemant,
I edited your post, as it was a bit excessive to post the entire contents of your 'umbraco.config'. The format is using the legacy schema.
Not sure why the navigation is only display one menu item. You'll need to debug it (or ask the original developer to take a look for you).
- Lee
Hi Lee,
Thanks for your genuine help.
Thanks.
is working on a reply...