We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25663 MODX Staff
    • 12,272 Posts
    How did you perform the upgrade, specifically?
      Ryan Thrash, MODX Co-Founder
      Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
      • 36667
      • 57 Posts
      Peter Falkenberg Brown Reply #12, 16 years, 9 months ago
      Dear Ryan,

      I followed the steps in this web page:

      http://svn.modxcms.com/docs/display/MODx096/Upgrading

      I didn’t have any snippets to worry about, so I just overwrote everything,
      and then checked permissions, etc.

      Thanks,

      Peter
        Visit The Significato Journal ~ nectar for the soul ~ http://significatojournal.com
        • 25663 MODX Staff
        • 12,272 Posts
        Overwriting can be error prone with some FTP clients. You might wish to try renaming the "old" folders to "manager.old", etc., and uploading fresh copies, copying over your config.inc.php file, and adjusting your newly uploaded directory and file permissions as needed. Then rerun the installer in upgrade mode just to be double-sure.
          Ryan Thrash, MODX Co-Founder
          Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
          • 36667
          • 57 Posts
          Peter Falkenberg Brown Reply #14, 16 years, 9 months ago
          Dear Ryan,

          I didn’t ftp them. I used wget and then untarred the file, and then copied them over via a Linux file manager (Midnight Commander).

          Any thoughts on which files might be the problems? If not, I guess I have to do a file compare, or do what you suggested above.

          This does raise a much bigger issue, however: how do we upgrade from 1.0.2 to any subsequent versions? If copying over code files doesn’t work, then what method should we use? We can’t do a clean install each time.

          Thanks,

          Peter
            Visit The Significato Journal ~ nectar for the soul ~ http://significatojournal.com
            • 36667
            • 57 Posts
            Peter Falkenberg Brown Reply #15, 16 years, 9 months ago
            Dear Ryan,

            I did a Linux ’diff’ of my directory versus the client’s directory. The only differences seemed inconsequential. In the client’s dir (where it was upgraded, instead of a clean install), there were these extra files:

            Only in assets/js: colorbox.css
            Only in assets/js: colorbox-ie.css
            Only in assets/js: images
            Only in assets/js: jquery.colorbox-min.js
            Only in assets/js: macFFBgHack.png
            Only in assets/js: thickbox.css
            Only in assets/js: thickbox.js

            Only in assets/modules: docfinder

            Only in assets/plugins/qm: readme.txt
            Only in assets/plugins/qm: res

            Only in assets/snippets/ajaxSearch: ajaxSearch_version_183.txt
            Only in assets/snippets/ajaxSearch/documentation/someConfigsExamples: owntables-2.config.php
            Only in assets/snippets/ajaxSearch/documentation/someConfigsExamples: owntables.config.php

            => I added docfinder.

            I’m wondering now if the 1.0.2 install has any differences in the database tables; either in the fields or the field values? I kept the old database from 1.0.0.

            I can’t think of any other potential differences.

            Thanks,

            Peter
              Visit The Significato Journal ~ nectar for the soul ~ http://significatojournal.com
              • 3749
              • 24,544 Posts
              Quote from: peterbrown at Dec 08, 2009, 04:41 PM

              Dear Ryan,

              This does raise a much bigger issue, however: how do we upgrade from 1.0.2 to any subsequent versions? If copying over code files doesn’t work, then what method should we use? We can’t do a clean install each time.

              Thanks,

              Peter


              Copying over the files works fine, it’s just that some FTP programs don’t actually do it. When you did your diff, did you compare file dates and/or sizes. What you’re looking for is files from the older version that didn’t get overwritten, most likely in the /manager directory.

              Another possibility is a file that got corrupted on transfer. There shouldn’t be anything of yours in the /manager folder except /manager/includes/config.inc.php. You can delete (back up, though) everything else in the /manager folder and then copy the new version files there.

              Be sure to do an upgrade install to finish things off.


                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
                • 36667
                • 57 Posts
                Peter Falkenberg Brown Reply #17, 16 years, 9 months ago
                Dear BobRay,

                Thanks... yes, ’diff’ looks at file sizes, dates and content.
                The manager dir is all the same.

                Also, I didn’t use ftp - I copied things within the system, with a file manager,
                overwriting all. And the diff said things were the same.

                I’m really wondering about the database field structure and values,
                with the upgrade from 1.0.0 to 1.0.2.

                Anyone know about that?

                Thanks,

                Peter
                  Visit The Significato Journal ~ nectar for the soul ~ http://significatojournal.com
                  • 3749
                  • 24,544 Posts
                  I don’t think there was a change in the structure from 1.0.1 to 1.0.2, but I couldn’t swear to it. If there is a difference, the upgrade install should detect it and make the appropriate changes (that’s one reason for doing the updgrade install).

                  Clearing the site cache and your browser cache and cookies are also worth a try.

                    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
                    • 25663 MODX Staff
                    • 12,272 Posts
                    Always run the installer in upgrade mode when doing upgrades. I honestly don’t recall, but I suspect there are some minor but important differences in the DB structure between 1.0.0 and 1.0.2.
                      Ryan Thrash, MODX Co-Founder
                      Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
                      • 36667
                      • 57 Posts
                      Peter Falkenberg Brown Reply #20, 16 years, 9 months ago
                      Dear Ryan and BobRay,

                      Yes, I ran it in upgrade mode, and have done all the things mentioned.

                      I guess I’ll have to do some more comparing, etc, but this really does highlight the issue of how to handle upgrades. I followed the instructions *exactly* and carefully, but the upgrade broke this very important function.

                      I think it’s a rather large issue.

                      Peter
                        Visit The Significato Journal ~ nectar for the soul ~ http://significatojournal.com