We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 54325
    • 22 Posts
    Hi
    I am thinking about upgrading my site from 2.4.2 to 2.6.5 to heed the security alert. Is there a roadmap to do this? Has anyone done this and can you share gotchas, issues, best step by step approach?

    Thanks,
    James
      • 3749
      • 24,544 Posts
      Not much to it. Download and install the UpgradeMODX extra.

      Then use it to upgrade to 2.5.0, 2.6.0, and then 2.6.5.

      I usually check after each upgrade to make sure I can edit and save a resource or an element.
        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
        • 54325
        • 22 Posts
        Quote from: BobRay at Aug 23, 2018, 02:45 PM
        Not much to it. Download and install the UpgradeMODX extra.

        Then use it to upgrade to 2.5.0, 2.6.0, and then 2.6.5.

        I usually check after each upgrade to make sure I can edit and save a resource or an element.

        How do I install an extra? Is there a doc for that ... on your site purchance?
          • 54325
          • 22 Posts
          Quote from: jxarms3 at Aug 26, 2018, 04:37 PM
          Quote from: BobRay at Aug 23, 2018, 02:45 PM
          Not much to it. Download and install the UpgradeMODX extra.

          Then use it to upgrade to 2.5.0, 2.6.0, and then 2.6.5.

          I usually check after each upgrade to make sure I can edit and save a resource or an element.

          How do I install an extra? Is there a doc for that ... on your site purchance?

          I found your extra. UpgradeModx. How do I back up the site? dump db and copy files? Is there an extra for that?
            • 54325
            • 22 Posts
            Quote from: jxarms3 at Aug 26, 2018, 04:39 PM
            Quote from: jxarms3 at Aug 26, 2018, 04:37 PM
            Quote from: BobRay at Aug 23, 2018, 02:45 PM
            Not much to it. Download and install the UpgradeMODX extra.

            Then use it to upgrade to 2.5.0, 2.6.0, and then 2.6.5.

            I usually check after each upgrade to make sure I can edit and save a resource or an element.

            How do I install an extra? Is there a doc for that ... on your site purchance?

            I found your extra. UpgradeModx. How do I back up the site? dump db and copy files? Is there an extra for that?

            I zipped the modx root and have copied the db contents.
              • 54325
              • 22 Posts
              Quote from: jxarms3 at Aug 26, 2018, 05:30 PM
              Quote from: jxarms3 at Aug 26, 2018, 04:39 PM
              Quote from: jxarms3 at Aug 26, 2018, 04:37 PM
              Quote from: BobRay at Aug 23, 2018, 02:45 PM
              Not much to it. Download and install the UpgradeMODX extra.

              Then use it to upgrade to 2.5.0, 2.6.0, and then 2.6.5.

              I usually check after each upgrade to make sure I can edit and save a resource or an element.

              How do I install an extra? Is there a doc for that ... on your site purchance?

              I found your extra. UpgradeModx. How do I back up the site? dump db and copy files? Is there an extra for that?

              I zipped the modx root and have copied the db contents.

              When I click on the UpgradeModx button, it sends me to the login page??? This is not correct right?
                • 54325
                • 22 Posts
                Quote from: jxarms3 at Aug 26, 2018, 05:32 PM
                Quote from: jxarms3 at Aug 26, 2018, 05:30 PM
                Quote from: jxarms3 at Aug 26, 2018, 04:39 PM
                Quote from: jxarms3 at Aug 26, 2018, 04:37 PM
                Quote from: BobRay at Aug 23, 2018, 02:45 PM
                Not much to it. Download and install the UpgradeMODX extra.

                Then use it to upgrade to 2.5.0, 2.6.0, and then 2.6.5.

                I usually check after each upgrade to make sure I can edit and save a resource or an element.

                How do I install an extra? Is there a doc for that ... on your site purchance?

                I found your extra. UpgradeModx. How do I back up the site? dump db and copy files? Is there an extra for that?

                I zipped the modx root and have copied the db contents.

                When I click on the UpgradeModx button, it sends me to the login page??? This is not correct right?

                I am going thru your upgrade notes on your site. Sorry for the spam. I am not sure why I click on your UpgradeModx and I get the login page but ..... let me back up first.
                  • 54325
                  • 22 Posts
                  Quote from: BobRay at Aug 23, 2018, 02:45 PM
                  Not much to it. Download and install the UpgradeMODX extra.

                  Then use it to upgrade to 2.5.0, 2.6.0, and then 2.6.5.

                  I usually check after each upgrade to make sure I can edit and save a resource or an element.

                  Hi Bob,
                  I am trying to use your extra. Every time I click on the button, I get kicked out - to my login screen. Is this a permission's thing? I looked at that and added resource groups, no difference? What should I change?

                  James
                    • 54325
                    • 22 Posts
                    Quote from: jxarms3 at Aug 26, 2018, 07:14 PM
                    Quote from: BobRay at Aug 23, 2018, 02:45 PM
                    Not much to it. Download and install the UpgradeMODX extra.

                    Then use it to upgrade to 2.5.0, 2.6.0, and then 2.6.5.

                    I usually check after each upgrade to make sure I can edit and save a resource or an element.

                    Hi Bob,
                    I am trying to use your extra. Every time I click on the button, I get kicked out - to my login screen. Is this a permission's thing? I looked at that and added resource groups, no difference? What should I change?

                    James

                    Hi

                    One more note worthy piece of info with the extra:

                    it calls https://myserver:80/upgrade.php

                    the resource has a friendly url set up: upgrade-modx.html

                    Does apache not know how to handle the upgrade.php url? I don't know?

                    James
                      • 3749
                      • 24,544 Posts
                      Are you running upgrade.php in a code editor? That would explain the port number in the URL and the problem. When you switch to a different port, the session is lost and you're no longer logged in. If you're running it in MODX, it should just forward you to the script without changing the port number, unless you have something unusual in .htaccess.

                        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