We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 52193
    • 3 Posts
    srdjanpejic Reply #1, 6 years ago
    I want to upgrade MODx from 2.0.8 to the latest version available (in the moment of writing it's 2.6.2).
    Since a lot of changes are made in 2.1 and 2.2, I presume it'll be the best to upgrade first to 2.1, then to 2.2 and after that, it should be safe for further upgrades, so I was doing a lot of upgrades from 2.2/2.3 to 2.5/2.6 without any issues.

    I'm using UpgradeMODX extra and it was working great for the upgrades I had before (from 2.2/2.3 to 2.5/2.6), but since I'm doing 2.0.8 for the first time I want to know is it possible to use just this extra or it should be done manually?

      • 17301
      • 932 Posts
      I think someone asked a similar question a few days back and I believe BobRay commented that it should work from 2.2 but may not work for anything earlier than that - please check through his recent posts or wait for him to reply to confirm if that's correct though.

      But either way yes stick with the incremental upgrades as you were correctly doing already.
        ■ email: [email protected] | ■ website: https://alienbuild.uk

        The greatest compliment you can give back to us, is to spend a few seconds leaving a rating at our trustpilot: https://uk.trustpilot.com/review/alienbuild.uk about the service we provided. We always drop mention of services offered by businesses we've worked with in the past to those of interest.
        • 3749
        • 24,544 Posts
        Most major changes (like new fields in the DB) are done in the x.x.0 versions, so the safest course is upgrading to 2.1.0, 2.2.0, 2.3.0, 2.4.0, 2.5.0 and 2.6.0.

        At some point, you can start using the UpgradeMODX extra (as soon as MODX supports dashboard widgets), which will make the upgrades a lot easier. I think it will work in 2.0.x but I'm not sure.
          Did I help you? Buy me a beer
          Get my Book: MODX:The Official Guide
          MODX info for everyone: http://bobsguides.com/modx.html
          My MODX Extras
          Bob's Guides is now hosted at A2 MODX Hosting
          • 52193
          • 3 Posts
          srdjanpejic Reply #4, 6 years ago
          Thank you both on replies.

          Yes, UpgradeMODX extra is making it a lot, a lot easier, thank you for that extra smiley

          I saw on this page that it's requiring Modx 2.0.x, so that's why I wanted to check first if it's gonna be safe to run an upgrade with this extra only.

          One more thing, since Modx 2.1 and 2.2 have a lot of changes (deprecated functions, structure changes) I assume that I should check extras being used on the site for Modx versions they're supporting. Should I disabled all extras before upgrades and turning them one by one or I can disable them later on (I'm afraid of being "trapped" if some of the extras will cause manager internal server errors)?
            • 3749
            • 24,544 Posts
            Yes, the upgrade should be safe. All it does is put the files in place, then launch setup.

            It's not a bad idea to disable all plugins (right-click on them in the tree to do it, then manually clear the cache files -- just once, before you start upgrading). You're unlikely to be locked out of the Manager by a snippet, though a number of them may need to be upgraded.
              Did I help you? Buy me a beer
              Get my Book: MODX:The Official Guide
              MODX info for everyone: http://bobsguides.com/modx.html
              My MODX Extras
              Bob's Guides is now hosted at A2 MODX Hosting
              • 52193
              • 3 Posts
              srdjanpejic Reply #6, 6 years ago
              Yes, I planned upgrade process exactly in that way and it seems that everything went well. Upgraded from 2.0.8 to 2.6.3 smiley