Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Julien A 12 posts 151 karma points
    Jan 25, 2017 @ 15:34
    Julien A
    0

    Upgrade v6 to v7 impossible - Right way ?

    Hi everyone,

    Before anything, I assure you I have followed carefully the general and specific upgrade documentation : https://our.umbraco.org/documentation/Getting-Started/Setup/Upgrading/upgrading-to-v7 https://our.umbraco.org/documentation/getting-started/setup/upgrading/general

    What I want to do is to upgrade an umbraco 6.2.x to 7.1.x, using an intermediary 7.0.4 version. For the moment I only tried the procedure on a very simple project : a basic umbraco 6.2.6 (installed with NuGet) with a simple doc type and a page (hello world).... but after 3 attempts, it never worked.

    I don't understand what i missed. PLEASE help me, I'm kind of desperate now :/. So from my VS2015 project I followed the manual procedure, here is what I did :

    • I downloaded the umbraco 7.0.4 zip

    • Copied the bin, Umbraco, Umbraco_Client folders over my installation. But why copy "over" ? Is it not safer to delete and paste the new folders ? (tried both)

    • Merged files (config, global.asax...) On my basic project is more like "replace" than merge. I see no reason to keep any v6 value instead of v7. So i only kept the connectionString and the <add key="umbracoConfigurationStatus" value="6.2.6"/> line in the web.config.

    • Did I miss something ?

    So at this time, when opening the website I was suppose to get an update screen ? And by "opening" your site, do you mean connect to the backoffice ? What is supposed to trigger the display of the upgrade page ?

    • on"localhost" is my "hello world", as before
    • on "localhost/umbraco"

      Unable to load the type 'Umbraco.Web.UI.Umbraco.umbraco'.

      <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="umbraco.aspx.cs" Inherits="Umbraco.Web.UI.Umbraco.umbraco" %>

    And nothing alarming in logs :

    >     2017-01-25 16:23:33,580 [7] INFO  Umbraco.Web.UmbracoModule - [Thread 5] Setting OriginalRequestUrl: localhost:57604/umbraco
    >     2017-01-25 16:23:33,638 [7] INFO  umbraco.content - [Thread 5] Loading content from disk cache...
    >     2017-01-25 16:23:33,741 [7] INFO  Umbraco.Core.PluginManager - [Thread 5] Starting resolution types of
    > Umbraco.Core.Persistence.Mappers.BaseMapper
    >     2017-01-25 16:23:33,746 [7] INFO  Umbraco.Core.PluginManager - [Thread 5] Completed resolution of types of
    > Umbraco.Core.Persistence.Mappers.BaseMapper, found 20 (took 4ms)
    

    Thank you for your help, it is very important to me :).

  • Alex Skrypnyk 6163 posts 24143 karma points MVP 8x admin c-trib
    Jan 25, 2017 @ 16:26
    Alex Skrypnyk
    0

    Hi Julien

    Can you check folders permissions?

    Upgrade page should be when you go just to front page.

    Thanks,

    Alex

  • Sebastiaan Janssen 5060 posts 15522 karma points MVP admin hq
    Jan 25, 2017 @ 17:39
    Sebastiaan Janssen
    0

    What I want to do is to upgrade an umbraco 6.2.x to 7.1.x

    Why? Why not go straight to the latest verion which has hundreds of bug fixes and improvements?

    What is supposed to trigger the display of the upgrade page ?

    Attempting to visit any page in the site will send you to the upgrade installer.

    Unable to load the type 'Umbraco.Web.UI.Umbraco.umbraco'.

    Maybe this? http://stackoverflow.com/a/25461860/5018

    I've written a blog post listing ways to debug upgrade problems:

    https://cultiv.nl/blog/how-to-diagnose-umbraco-upgrade-problems/

  • Julien A 12 posts 151 karma points
    Jan 26, 2017 @ 08:33
    Julien A
    0

    Thank you for your support :).

    I can't upgrade above 7.1.x because some of the package I use won't be compatible in a more recent version. Like : https://our.umbraco.org/projects/website-utilities/multi-language-tools/ So it would be a lot of work to change.

    • I don't think it was a files persmissions problem, but I will check that.

    • I tried to update umbraco using NuGet and it worked properly, I can see the upgrade screen. But only because I set the umbracoConfigurationStatus value to an empty string instead of keeping the previous version number. It is not clear in the doc.

    Now I have all the SQL upgrade errors described here : https://www.sorendam.com/upgrade-umbraco-4-11-7-database-to-umbraco-7-0-4/ Disappointing :).

    I will try the direct update to 7.1.x, maybe it is easier. My idea of using an intermediary 7.0.4 might be worse.

    Thanks again, but is not a success yet :)

  • Julien A 12 posts 151 karma points
    Jan 26, 2017 @ 14:52
    Julien A
    100

    Great news, I sucessfully migrated my "hello world 6.x" umbraco directly to the 7.1.9 version.

    • I used Nuget for the install of the new version
    • Merged config files as before
    • I got no DB error while upgrading

    So clearly the 7.0.4 seems to be a not-so-good-to-upgrade version.

Please Sign in or register to post replies

Write your reply to:

Draft