Moving from old 4.1.2 CMS to 6.6.0 XP

Enonic version: 6.6.0
OS: Windows 10 x64

I need a help or some hints on “how to move from old 4.1.2 CMS to 6.6.0 XP”(Grab everything we can - content types, texts, images, etc). For now I have found project https://github.com/enonic/cms2xp but inside of it I did not find any clues on what exact version of CMS and XP it will work. Besides in config file for export tool we should set path to “blobs” and “resources” but we did not find such folders. Did they exist in version 4.1.2?

Wow, 4.1? That’s a long time ago…

I’ll let the Enonic guys answer, but my best guess is you need to update all the way up to 4.7, and then go from that to XP. (I don’t know whether you need to go to 5.X first, or if you can jump directly to 6.X)

What I would ask is if it would be worth it, or if it wouldn’t be easier to create a new site. A lot happened just from 4.4 (oldest I have worked with) to 4.7… (In 4.X the X-versions are similar to major versions (v5, v6, etc) now.) There will be a lot of breaking changes from 4.1.2 to 6.6.0…

1 Like

That is correct, cms2xp works with data from CMS 4.7 . I see we did not specify that, I will update the project description in Github.

So you should first upgrade from 4.x to 4.7, and then you can use cms2xp. There were no blobs or resources directories in 4.x, you will get them when you migrate to 4.7

The output of cms2xp works on 6.x, so no need to go through 5.x.

Do you have somewhere a “HOWTO” migrate from CMS 4.1.2 to 4.7?

Here there is upgrade documentation to 4.5: https://enonic.com/docs/4.5/upgrading.html
And upgrade doc to 4.7: https://enonic.com/docs/4.7/upgrading.html

I think you should upgrade first to the latest 4.2.x version, then to latest 4.3.x, 4.4.x, 4.5.x, and 4.7.x
You can ignore the issues with xslt templates, since those are anyway not going to work in XP.

Here there are CMS 4.2 - 4.4 builds: http://repo.enonic.com/enterprise/com/enonic/cms/cms-server/
And 4.3, 4.5: http://repo.enonic.com/enterprise/com/enonic/cms/cms-webapp/

Otherwise I think it is better that you open a ticket in our support system to follow this up if you have more questions or issues: http://support.enonic.com/

4.1.2 is more than 10 years old, and hardly anybody in Enonic remember it anymore. Also, 4.1 have reached end-of-life, about 7 years ago, and is no longer supported by Enonic. But of course, we still will do what we can to help you if you pay for support.

Although you could try the standard upgrades, moving through all the version to 4.7, then to XP, I honestly think it’s going to be an easier path if you instead rebuild the entire site from scratch, on XP, reusing whatever XSL-files and content types you can salvage from the old site.

Doing so will give you the added benefit of familiarizing yourself with the technical parts of the site, and learning more about XP, instead of having to spend a lot of time learning details of the 4.x versions that you no longer need to know after the upgrade.