We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 19872
    • 1,078 Posts
    Hi Bob:

    How are you? Happy New Year!

    With the server I'm on, I have to use SSH to decompress the file. It does not have a file transfer utility. As well—the tech support has suggested I use SSH to make backups of the folders I'm updating. All way over my head, though I did use SSH to unzip the MODx archive on my first install.

    This simple upgrade from 2.2.8 to 2.2.10 is proving to be anything but simple.
      • 19872
      • 1,078 Posts
      Hi Bob:

      Looks like my response to you earlier did not post. Thanks for responding.
      This particular server does not have a utility, but I have spent the afternoon learning how to do most tasks with SSH using Terminal.
        • 19872
        • 1,078 Posts
        Here's my solution for performing the MODx update process of Merging folders from the New MODx folder with those already existing on the server from the previous install.

        I was unable for find an FTP client that would facilitate a merge on the remote server. Local to Remote merge and vice versa are possible, but not solely on the remote.

        With SSH using the following command the merge works. Folders are not overwitten. Contents of folders is copied. New files are copied. Existing files are updated.
        cp -R /path/to/folderToMerge* /path/to/folderToMergeInto

        IMPORTANT not to put a slash after the folderToMerge . Doing so will put a copy of the folderToMerge inside the folderToMergeInto rather than actually merging the folders.

        CORRECTION: I found on my server tat by leaving the name of the folderToMergeInto resulted also in the folderToMerge being place inside the folderToMergeInto rather than merging the folders. By removing the name of the folderToMergeInto the command worked perfectly.

        2 days struggling with FTP applications, and SSH commands, and the final setup process of the MODx update took about 10 seconds. Sheesh!

        I hope this is helpful for anyone having issues doing what sounds like a simple step in the MODx upgrade process. [ed. note: mmcgee last edited this post 12 years, 9 months ago.]
          • 19872
          • 1,078 Posts
          Quote from: BobRay at Jan 04, 2014, 02:30 PM
          Do you have access to a decompress/unzip utility or "Extract" in cPanel? If so the method described here would work: http://bobsguides.com/modx-upgrade-faq.html.

          I'm stuck on your step 8 Bob. It's also step 3. in the pre-upgrade checklist.


          In cPanel's File Manager at the remote site, delete all files in the core/cache directory

          I had not built anything on my site, but want to do the upgrade and the builde. I only have folders in core/cache. Do I need to delete those folders? Or do I just need to delete files if there were any?

          If you can please confirm, I would greatly appreciate it.
            • 3722
            • 171 Posts
            mmcgee,

            I am almost there.
            Trying to update Revo and merge the latest build into the root directory.
            I have the latest zip, unzipped and in a folder /modx-2.3.2-pl

            I am trying this, but no luck.
            cp -r modx-2.3.2-pl ..

            I have tried a few different ways.
            I know it;s not working beacause I do not see the /setup folder in the root.

            Any ideas?
            Thanks
            BG66
              • 3749
              • 24,544 Posts
              You want to copy what's *in* the modx-2.3.2-pl directory to the root, not the directory itself. Here's the method I usually use: http://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
                • 3722
                • 171 Posts
                Quote from: BobRay at Nov 09, 2014, 03:55 PM
                You want to copy what's *in* the modx-2.3.2-pl directory to the root, not the directory itself. Here's the method I usually use: http://bobsguides.com/modx-upgrade-faq.html

                Thanks Bob, but I do not have cPanel.
                I am using 1and1 as a webhost. They have a Webspace Explorer, but it does not merge the files.
                I also tried Cyberduck, but that does not work either.
                I can't seem to find the right Linux commands to merge the files.

                Any other ideas or programs to try?

                Thanks
                BG66
                  • 19872
                  • 1,078 Posts
                  BobbyG66.
                  The only way I found to do the updates is via SSH

                  I can find my notes and post them if you like. The paths will be different of course.
                    • 19872
                    • 1,078 Posts
                    How familiar are you with SSH? Beyond what everyone says, unless you do it all the time, it IS be intimidating because you cannot see what you are doing. As well it should. SSH is great in that it will allow you to do a lot of things much much faster than with FTP. However, caution is advised! You can do a lot of damage in the same amount of time.




                      • 3722
                      • 171 Posts
                      Quote from: mmcgee at Nov 12, 2014, 06:52 PM
                      How familiar are you with SSH? Beyond what everyone says, unless you do it all the time, it IS be intimidating because you cannot see what you are doing. As well it should. SSH is great in that it will allow you to do a lot of things much much faster than with FTP. However, caution is advised! You can do a lot of damage in the same amount of time.
                      That would be great.
                      Are you referring to command lines in a terminal window?
                      I am getting a little more comfortable with it.
                      as long as I have details, i can follow along.

                      Thanks
                      BG66