We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28956
    • 73 Posts
    Okay, I am using a very old version of Modx and would like to upgrade to the new one, but I’m having severe issues.

    First, I tried to follow the link for the Modx Backup Module, but I got an error every time. So I then tried downloading my database through Cyberduck to my computer, but I get the following error message:

    FTP Error: Download failed
    /stats/.statspwd

    Can’t open .statspwd: Permission denied.

    When I clicked for further details, I got this:

    -rw----r-- 1 0 0 138779 Dec 21 16:19 logarchive.09_12.zip
    213 End.
    CWD /stats
    250 OK. Current directory is /stats
    TYPE I
    200 TYPE is now 8-bit binary
    PASV
    227 Entering Passive Mode (208,109,181,70,50,207)
    RETR .statspwd
    550 Can’t open .statspwd: Permission denied
    QUIT
    221-Goodbye. You uploaded 0 and downloaded 0 kbytes.
    221 Logout.

    I have absolutely no idea what this means. Can anyone help in backing-up my site?

    I’m running my site through Godaddy.com and have Modx loaded into a database. Do I need to download everything through Cyberduck to my computer, or do I need to download the entire database from Godaddy.com?

    After backing-up, I need to duplicate the files in my assets/templates/default to another one called assets/templates/mydefault.
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      For one thing, you aren’t downloading your database. What you are doing is downloading the files. And the error you are getting is because you don’t have permission to access that particular file. That is a separate application, and is not part of MODx.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 28956
        • 73 Posts
        Thanks!

        So in other words, is the /stats folder something used by godaddy?

        Do I just need to download everything else except for this folder?
          • 28956
          • 73 Posts
          And I don’t need to back-up the database? Only the files?

          Also, could you please tell me how I can create a assets/templates/mydefault and move everything from my assets/templates/default folder into it?
            • 28042 ☆ A M B ☆
            • 24,524 Posts
            MODx files are the index.php, index-ajax.php, .htaccess files and the assets and manager folders (with all of their files inside). You can back up the database using the backup tool in the MODx manager, Tools -> Backup. Or you can export the database using your control panel’s PHPMyAdmin. If your host is using CPanel, you can also use its file manager to select the files and folders you want to archive and zip them up into one file for download. Other control panels probably also have a similar feature.

            Your FTP client can most likely let you simply copy or duplicate assets/templates/default to assets/templates/mydefault.
              Studying MODX in the desert - http://sottwell.com
              Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
              Join the Slack Community - http://modx.org
              • 28956
              • 73 Posts
              That’s great. I’ll do that.

              I’m using cyberduck as an FTP client. When I highlight the assets/templates/default directory, it won’t let me duplicate the entire folder. I can go in and highlight each file within the folder separately and hit duplicate. It then creates a duplicate file but places it in the same folder. I’m not able to figure-out how to move it to the /mydefault folder.

              Do you know of a free FTP client compatible with a Mac that can do this, or do you know of a better way?
                • 28042 ☆ A M B ☆
                • 24,524 Posts
                Hm, I use Cyberduck myself. How about just download the folder, rename it locally, then upload it?

                  Studying MODX in the desert - http://sottwell.com
                  Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                  Join the Slack Community - http://modx.org
                  • 28956
                  • 73 Posts
                  Before I use the Modx manager to back-up my site, could you tell me if I should back-up all of these files? This is the complete list of files. Please tell me if I need to uncheck any of these to prevent them from being downloaded for back-up.

                  modx_active_users 3 216 B 40 B 136 B 2 KB 2.21 KB
                  modx_categories 10 252 B - 252 B 2 KB 2.25 KB
                  modx_document_groups 2 78 B 26 B 26 B 4 KB 4.08 KB
                  modx_documentgroup_names 1 28 B - 28 B 6 KB 6.03 KB
                  modx_event_log 0 - - - 1 KB 1 KB
                  modx_jot_content 15 10.22 KB - 10.22 KB 6 KB 16.22 KB
                  modx_jot_fields 54 1.55 KB - 1.55 KB 3 KB 4.55 KB
                  modx_jot_subscriptions 0 - - - 1 KB 1 KB
                  modx_keyword_xref 7 63 B - 63 B 3 KB 3.06 KB
                  modx_manager_log 1931 115.95 KB - 115.95 KB 21 KB 136.95 KB
                  modx_manager_users 2 96 B - 96 B 4 KB 4.09 KB
                  modx_member_groups 0 - - - 1 KB 1 KB
                  modx_membergroup_access 0 - - - 1 KB 1 KB
                  modx_membergroup_names 0 - - - 1 KB 1 KB
                  modx_site_content 30 79.46 KB 22.41 KB 34.64 KB 60 KB 139.46 KB
                  modx_site_content_metatags 0 - - - 1 KB 1 KB
                  modx_site_htmlsnippets 19 25.14 KB 84 B 24.97 KB 2 KB 27.14 KB
                  modx_site_keywords 4 104 B - 104 B 3 KB 3.1 KB
                  modx_site_metatags 0 - - - 1 KB 1 KB
                  modx_site_module_access 0 - - - 1 KB 1 KB
                  modx_site_module_depobj 1 17 B - 17 B 2 KB 2.02 KB
                  modx_site_modules 2 13.17 KB - 13.17 KB 2 KB 15.17 KB
                  modx_site_plugin_events 19 247 B - 247 B 1 KB 1.24 KB
                  modx_site_plugins 6 33.18 KB - 33.18 KB 2 KB 35.18 KB
                  modx_site_snippets 16 118.32 KB - 118.32 KB 2 KB 120.32 KB
                  modx_site_templates 4 16.72 KB 1.28 KB 14.16 KB 2 KB 18.72 KB
                  modx_site_tmplvar_access 0 - - - 1 KB 1 KB
                  modx_site_tmplvar_contentvalues 1 168 B 56 B 56 B 4 KB 4.16 KB
                  modx_site_tmplvar_templates 10 130 B - 130 B 2 KB 2.13 KB
                  modx_site_tmplvars 3 388 B - 388 B 3 KB 3.38 KB
                  modx_system_eventnames 102 3.6 KB - 3.6 KB 2 KB 5.6 KB
                  modx_system_settings 80 4.15 KB - 4.15 KB 4 KB 8.15 KB
                  modx_user_attributes 2 280 B 20 B 240 B 3 KB 3.27 KB
                  modx_user_messages 0 - - - 1 KB 1 KB
                  modx_user_roles 1 348 B - 348 B 2 KB 2.34 KB
                  modx_user_settings 5 176 B - 176 B 3 KB 3.17 KB
                  modx_web_groups 4 52 B - 52 B 2 KB 2.05 KB
                  modx_web_user_attributes 3 332 B - 332 B 3 KB 3.32 KB
                  modx_web_user_settings 0 - - - 1 KB 1 KB
                  modx_web_users 3 152 B - 152 B 4 KB 4.15 KB
                  modx_webgroup_access 1 13 B - 13 B 2 KB 2.01 KB
                  modx_webgroup_names
                    • 28956
                    • 73 Posts
                    Let me give you my website address so you can know what I’m talking about: www.hopeagainministries.com.

                    The forums section is run through vBulletin (using a weblink), but the rest of the site is completely run through Modx.

                    Once I upset my Modx and the main part of my site, I can then upgrade my vBulletin forums section.
                      • 28042 ☆ A M B ☆
                      • 24,524 Posts
                      Those are not files, they are database tables. You definitely want to back up the database.
                        Studying MODX in the desert - http://sottwell.com
                        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                        Join the Slack Community - http://modx.org