We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 14605
    • 40 Posts
    Hi

    I've installed the UpgradeModx package but after installation the widget shows No 'UPDATES AVAILABLE' (attached as 'upgrademodx no updates.png')

    My versions is 'MODx Revolution 2.0.0-pl'

    Is there another upgrade process I can use? Captured the packages I have installed in case that alters the suggested approach ('installed packages.png')

    Thanks in advance

    Jon [ed. note: jon.london last edited this post 5 years, 8 months ago.]
      • 3749
      • 24,544 Posts
      That's the upgrade notice for UpgradeMODX itself. The Upgrade widget shows on the dashboard you see when you log in, though your version of MODX is about 8 years old and doesn't have a dashboard. You should have a resource called "UpgradeMODX" If you view it, you should see a version of the widget.

      See the box on using UGM with very old versions of MODX about 1/3 of the way down the page here: https://bobsguides.com/upgrade-modx-package.html.

      Change the versionsToShow property of the UpgradeMODX Widget snippet to 99 so it will show the older versions. You may have to manually delete the files in the core/cache directory to get that change to take effect.

      You'll want to upgrade to 2.1.0, 2.2.0, 2.3.0, 2.4.0, 2.5.0, and 2.6.0 before going to the current version to avoid missing important changes to the database. After each upgrade, check Package Manager for updates to extras, otherwise, an outdated extra may prevent setup from running.

      If using the resource doesn't work on a version that old, you may have to resort to the traditional method of upgrading: https://bobsguides.com/modx-upgrade-faq.html

      Considering the volume of attacks on MODX in the last week, before you start upgrading, I would recommend moving your core directory above the web root and renaming the connectors directory as described here: https://bobsguides.com/blog.html/2015/05/05/hardening-your-modx-site/. If you have the gallery extra, remove it immediately and download the current version when you get to MODX 2.6.5. [ed. note: BobRay last edited this post 5 years, 8 months ago.]
        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
        • 14605
        • 40 Posts
        Hi BobRay

        Thank you for the response, much appreciated

        I have the snippet installed but the upgrade.php only shows the last 5 versions - I have updated the versionsToShow property in the UpgradedMODXSnippet to 99, cleared modx/core/cache manually on the file system and cleared browser cache but still only see 5 versions

        Have I missed something?

        Many thanks,
        Jon
          • 14605
          • 40 Posts
          Hi

          I've changed a few occurrences of versionsToShow and cleared the cache again and now I see more versions

          The earliest version I see is 'MODX Revolution 2.3.0-pl' - Since 2.1.0 is not available should I not use this method to upgrade?

          Thanks in advance

          Jon
            • 3749
            • 24,544 Posts
            You should see 2.2.0. If you can't get it to show up, you may have to upgrade to it manually: https://bobsguides.com/modx-upgrade-faq.html
              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
              • 14605
              • 40 Posts
              That was a long weekend! Learnt a valuable lesson in making sure the platform is up to date.

              So my approach was to perform the manual upgrade from 2.0 -> 2.1, then from 2.1 to 2.2. Since versions 2.3 and above were available in the UpgradeMODX tool I was able to use this to upgrade from 2.3 -> 2.4 . At this point I had an error logging in to the manager, all I had to debug this was a '1' above the user name field, no entries in logs... I decided to use the manual approach to upgrade from 2.4 -> 2.5, as I couldn't login to get to the UpgradeMODX pages... Luckily this fixed the login issue and was able to upgrade using UpgradeModx from 2.5 -> 2.6 and then 2.6 to 2.6.5

              I found Panic Transmit was very useful to merge the update files from local to remote for the manual upgrades

              Found a small issue where Gallery had changed quite a bit since 2011, but this was just a HTML display issue which was resolved fairly easily

              Also, symlinks were behaving differently but tweaking the forward_merge_excludes setting by adding 'id' to the comma separated list seems to have solved the issue

              The upgrade is still recent so I'll see if any other issues arise, but looking good so far

              Good to now be using PHP 7.1, I tried PHP 7.2 but there was an error so reverted to 7.1

              Thanks for the help

              Jon

                • 3749
                • 24,544 Posts
                I'm glad you got it sorted. smiley
                  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