Copied to clipboard

Flag this post as spam?

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


  • Jakob Lithner 59 posts 241 karma points
    Jan 08, 2021 @ 14:41
    Jakob Lithner
    0

    Upgrade is ridiculously complicated

    I have now spent five days of my holiday trying to upgrade one web from Umbraco 7.10.4 to 8.10.1. I give up. It is ridiculous. There is a video series on Umbraco forum "Migrate an Umbraco Cloud project from 7 to 8". But it involves so many steps and is so vague that it is ridiculous. The approach is that everything should be "automatic" but when it doesn't work you are stuck.

    The approach assumes you have an inline database in your App_Data folder. I don't as I think this is contrary to good practice with speed and deployment. If I manage my site for some days in my computer and then deploy some changes I will overwrite all data that has been updated on the site. Does some people actually work that way?

    So I tried to copy my database from webhosting environment to new database. Doing this online remotely with Sql Seerver Managament keeps failing all the time because the process is far too slow. So what do I do then?

    It is fine to rewrite all code. It is fine to do a lot of manual work adjusting pages to the new way of working. I just want help to transfer the data.

    How hard can it be? The data format must be known. I just want someone to offer a simple tool that will extract DocumentType, DataType and MemberType from the old database and then import them to the new one. Then the same with nodes: Documents and Member. As a last step I want to convert my Media section to use the new format.

    I prefer explicit conversion where I can specify what to convert and point to a connection string of a new resulting database.

  • Malthe Petersen 67 posts 361 karma points c-trib
    Jan 08, 2021 @ 15:23
    Malthe Petersen
    0

    Hi Jakob.

    Really sorry to hear that you have had a bad experience migrating to v8.

    What I can see differs from you explaination and Umbracos documentation on migrating is that your Umbraco 7 version has been too low.

    According to the docs, you should have minimum 7.14 before starting migration: https://our.umbraco.com/documentation/getting-started/setup/upgrading/migrating-to-v8

    Hope this can help a little bit.

    And sorry I can’t help with anything else.

  • Jakob Lithner 59 posts 241 karma points
    Jan 08, 2021 @ 15:26
    Jakob Lithner
    0

    Yes, I am aware of that, so part of my time has been spent to try to upgrade from 7.10.4 to 7.15. But I didn't even come past that point :(

  • Amir Khan 1199 posts 2567 karma points
    Jan 08, 2021 @ 15:51
    Amir Khan
    0

    Have you thought about creating a package with all of your content and installing the package on your v8 install? I'm not 100% sure that will work, but that's what we do to install a bunch of boilerplate stuff every time we start a new project and it seems like that's what you're looking for basically.

  • Jakob Lithner 59 posts 241 karma points
    Jan 08, 2021 @ 18:54
    Jakob Lithner
    0

    Interesting idea. Never heard of this approach ...

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Jan 08, 2021 @ 16:03
    Tim Geyssens
    100

    check out https://our.umbraco.com/packages/backoffice-extensions/converge-8/ this might be a good option migrate instead upgrade

  • Jakob Lithner 59 posts 241 karma points
    Jan 08, 2021 @ 18:55
    Jakob Lithner
    0

    This looks really good!!! I really like the approach of Stuart Mullinger. Exactly what I was looking for.

    There is still some things lacking for me. I had to recreate my Member Types and there was some manual adjustment needed for Composition Types now needed to be defined as Element Types. But still most of it worked!!

    Thanks for all concern.

  • Brendan Rice 372 posts 608 karma points
    Jan 08, 2021 @ 16:29
    Brendan Rice
    0

    I've done a few upgrades to v7 latest. If I remember 7.10 to 7.15 is doable.

    Can you give more details on what steps you followed and what the error is?

    Also had a project that needed upgraded from v7 to v8. I opted to start from scratch and manually port over the code, it took a bit of time but working in small increments helped.

  • Jakob Lithner 59 posts 241 karma points
    Jan 08, 2021 @ 19:00
    Jakob Lithner
    0

    I was stuck in the state where I could not copy the database content from one database to another. Now I started over manually the same way as you did. Slow but stable process :)

  • Brendan Rice 372 posts 608 karma points
    Jan 08, 2021 @ 19:13
    Brendan Rice
    0

    Glad you got over the hump.

    This is a pretty good guide:

    https://24days.in/umbraco-cms/2018/upgrading-umbraco/

  • Marc Goodson 1451 posts 9716 karma points MVP 5x c-trib
    Jan 08, 2021 @ 20:52
    Marc Goodson
    1

    Hi Jakob

    And also anyone coming to this thread via google, I had problems migrating a site to the latest V8 a couple of days ago and this is because the migration script is currently broken to sites with a version > 8.6

    This means you have to perform the migration in two steps, eg first to 8.5 and then upgrade again to V8 latest - but this isn't possible on Umbraco Cloud you can't provision a V8 site < 8.6

    But there is a community plugin that works around the issues.

    https://www.nuget.org/packages/ProWorks.Umbraco8.Migrations

    I've updated the general migration documentation to reflect this:

    https://our.umbraco.com/Documentation/Getting-Started/Setup/Upgrading/migrating-to-v8#known-issues

    There is also a healthcheck for the V7 site, to run pre migration to identify other known problems that will stop the migration from working:

    https://our.umbraco.com/packages/developer-tools/pre-migration-health-checks/

    But you are not there yet :-(

    What I can't tell from your V7 dilemma, is if you are on Umbraco Cloud or not, and the problem lies with getting a copy of the site database from the webhosting?

    If it's Umbraco Cloud you ought to be able to get help upgrading from Umbraco support or get access to the database:

    https://our.umbraco.com/documentation/Umbraco-Cloud/Databases/Backups/

    via Sql Server Management Studio and use export data tier application. to get a backup - or is this what is taking toooooo long?

    Before the migration script was a thing Callum Whyte gave a talk at codegarden about migrating from V7 to V8 using uSync:

    https://www.youtube.com/watch?v=jjZ2mRB21yw

    But if you can get your database, the upgrade from 7.10 to 7.15.6 should be painless, and as long as you install the two packages, the migration to V8 should work.

    regards

    Marc

  • Jakob Lithner 59 posts 241 karma points
    Jan 11, 2021 @ 12:38
    Jakob Lithner
    0

    Thanks for all well meaning help! It was a good exercise. After spending over a week on this I actually decided to give up. There is too much manual adjustment going on forever. My own conclusion is that I might give Umbraco 8 a go on next web project, but never try an upgrade again.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies