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

    I've just migrated a site from one server to a new, some elements are working, others aren't.

    I installed a new version of modx to the new server, copied across all the relevant files from the old site via ftp, updated the database then run a setup, clicked upgrade, went though that and logged into manager which worked. However the pages/files tree on the left of the dashboard is missing, and it looks like it's only the home page is working, no other pages show (nor do any of the menu links, when you click them they give a NOT FOUND message.)

    I've tried clearing the cache files in core, but no luck.

    Any suggestions on what might have happened?

    Cheers folks

    Karl

    This question has been answered by karl-hive. See the first response.

      • 51123
      • 12 Posts
      Also just noticed all but the dashboard page are blank.

      I've set compress_css and compress_js to 0 which I've read can be an issue.
        • 28042 ☆ A M B ☆
        • 24,524 Posts
        If you tried to run your old site on top of a new installation, and they weren't the same version of MODX, that can cause a lot of problems. You might want to try making sure your browser cache is cleared, if it's trying to use a cached version of the javascript files then the Manager will definitely be broken.

        If the site isn't too big, the easiest way to move it is to use Vapor to create a transport package out of it. Then on the new server, install the same version of MODX. Put the Vapor transport package into the new installation's core/packages directory, and install it like any other package.

        You can install Vapor on your old site using the Package Manager, but Vapor itself is run from yoursite.com/vapor/.

        If you have access to the command line on both servers, Teleport is a better choice than Vapor, it works much the same way though.
          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
          • 51123
          • 12 Posts
          Thanks for that sottwell smiley

          I'm now trying to install the same version of Modx to the (new) server, I've uploaded the files for the install got to mysite.com/setup click en > new install but then the next page (where the database info usually is) is blank?

          Any idea why?
            • 51123
            • 12 Posts
            Scrape that, the site is up and running. I can see everything, however all the pages (except the homepage) are missing, I can see them in manager but when I go to the URL front end I get a 400 Not Found on this server error.
              • 47401
              • 295 Posts
              Quote from: karl-hive at Sep 29, 2015, 05:53 AM
              Thanks for that sottwell smiley

              I'm now trying to install the same version of Modx to the (new) server, I've uploaded the files for the install got to mysite.com/setup click en > new install but then the next page (where the database info usually is) is blank?

              Any idea why?

              the setup folder + contents needs to be writable as it opens the config file which is an xml based file that modx writes to.
              also make sure the core/cache folder is empty (writable) by clearing out this manually.
                • 51123
                • 12 Posts
                It seems I have the site up and running but it all looks so wrong:

                original site: http://inspireddentalcare.co.uk/
                Migrated site: http://ref-inspireddentalcare.co.uk/ (slow to load)

                Any ideas why it would look like this?
                  • 47401
                  • 295 Posts
                  Quote from: karl-hive at Oct 02, 2015, 09:29 AM
                  It seems I have the site up and running but it all looks so wrong:

                  original site: http://inspireddentalcare.co.uk/
                  Migrated site: http://ref-inspireddentalcare.co.uk/ (slow to load)

                  Any ideas why it would look like this?

                  http://ref-inspireddentalcare.co.uk/ the page is no longer available sad
                    • 51123
                    • 12 Posts
                    Ah,

                    Guess that's coz it's on a temp address and I've edited my host file to view it.

                    I'm pretty much ready to give up with migrating this website. I don't know if it's modx or the host, but it just doesn't want to work...
                      • 47401
                      • 295 Posts
                      migrating sites is not easy. I think if I was you, I would start again from scratch a fresh install (of the same version) on the new domain and create a new database. if setup completes fine and new modx instance runs fine then you know you have a problem with the migration