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

    What are the steps for an upgrade from the RC1 to 1.0.2?

    is it a simple case of replacing files, or is there more to it?

    Thank you for any help

    Jim
      • 8609
      • 607 Posts
      It’s pretty simple. Make sure you make a backup of all your files and your database before you start. If you’ve made any changes to the core snippets or have custom snippets make sure you have those saved somewhere safe too. Clear your cache and then proceed.

      Upload the 1.0.2 files onto your server to overwrite what’s there. Then run the install script - yoursite.com/install. You’ll get the same screens as before when you did the installation, but this time make sure the option "Upgrade existing site" is chosen instead of the one to install a new website. Ofcourse you want to make sure you don’t install the sample website as this will overwrite your current website. The rest is pretty much straightforward. But do make sure you’ve backed up all your files and your database before you start.

      Hope this helps.
        • 37514
        • 178 Posts
        Thank you very much, we’ll have a go this holiday!
          • 37514
          • 178 Posts
          Went fine. We found the instructions on the wiki as well smiley
            • 22108
            • 39 Posts
            Quote from: einsteinsboi at Dec 16, 2009, 06:35 AM

            ... make sure the option "Upgrade existing site" is chosen instead of the one to install a new website. Ofcourse you want to make sure you don’t install the sample website as this will overwrite your current website.
            I upgraded from 1.0.0, but didn’t notice anything about installing the sample website. As the result, all my resources and elements are messed up.

            To correct the problem, is it enough to restore the database and re-install 1.0.2 or shall I first do a clean install of 1.0.0 and then perform the other two steps?

            As a suggestion, I believe it would be much better if the option of sample website be unchecked by default when we upgrade. After all, the whole purpose of upgrading, as opposed to clean install, is that you want to keep what you already have.
              • 8609
              • 607 Posts
              Quote from: OldGuru at Jan 07, 2010, 10:22 AM

              Quote from: einsteinsboi at Dec 16, 2009, 06:35 AM

              ... make sure the option "Upgrade existing site" is chosen instead of the one to install a new website. Ofcourse you want to make sure you don’t install the sample website as this will overwrite your current website.
              I upgraded from 1.0.0, but didn’t notice anything about installing the sample website. As the result, all my resources and elements are messed up.

              To correct the problem, is it enough to restore the database and re-install 1.0.2 or shall I first do a clean install of 1.0.0 and then perform the other two steps?

              As a suggestion, I believe it would be much better if the option of sample website be unchecked by default when we upgrade. After all, the whole purpose of upgrading, as opposed to clean install, is that you want to keep what you already have.

              The install sample website option is unchecked by default when performing an upgrade. What do you mean when you say your resources and elements are messed up? Also, did you clear your cache?
                • 22108
                • 39 Posts
                Quote from: einsteinsboi at Jan 07, 2010, 11:23 AM

                Quote from: OldGuru at Jan 07, 2010, 10:22 AM

                Quote from: einsteinsboi at Dec 16, 2009, 06:35 AM

                ... make sure the option "Upgrade existing site" is chosen instead of the one to install a new website. Ofcourse you want to make sure you don’t install the sample website as this will overwrite your current website.
                I upgraded from 1.0.0, but didn’t notice anything about installing the sample website. As the result, all my resources and elements are messed up.

                To correct the problem, is it enough to restore the database and re-install 1.0.2 or shall I first do a clean install of 1.0.0 and then perform the other two steps?

                As a suggestion, I believe it would be much better if the option of sample website be unchecked by default when we upgrade. After all, the whole purpose of upgrading, as opposed to clean install, is that you want to keep what you already have.

                The install sample website option is unchecked by default when performing an upgrade. What do you mean when you say your resources and elements are messed up? Also, did you clear your cache?
                My home page was changed to what seemed to be the sample site’s home page, some other pages disappeared (probably because they had the same Ids as the pages in sample site), other pages’ templates were changed to modxHost. Similar things happened to my templates, chunks, snippets, ...

                I restored the database and performed the upgrade again and now everything seems ok. As you said, the sample site option was off by default. Here is the only thing that I did differently from the first time:

                After selecting the upgrade option, for some reason I received a false warning about register_globals being ’on’ (it happened before too during installs or upgrades). The first time, I checked php.ini and register_globals was ’off’. So, I pressed the back button, selected the upgrade option again, clicked next and then started the installation. The second time, I just ignored the false warning.