We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 5811
    • 1,717 Posts
    I have upgraded a revo site from revo 2.0.4 to revo 2.0.6

    Unfortunately I named the root folder revo204 tongue so now I would like move this site to /modxrevo instead of /revo204.
    I have modified the paths of the core/config file, but I still get an error 503 : Site temporarily unavailable when I tried to launch http://localhost/modxrevo/

    What should I do to be able to move this site without a entire re-installation.
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      Have you run the installer in upgrade mode? Cleared all the cache files (I understand that in Revo there are something like four of them)? Cleared your browser cache?
        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
        • 5811
        • 1,717 Posts
        Have you run the installer in upgrade mode?
        Yes to migrate from 2.0.4 to 2.0.6

        Cleared all the cache files (I understand that in Revo there are something like four of them)?
        I have cleared the cache/web/resources folder
        Cleared your browser cache?
        Yes
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          From the posts I’ve read, there are a few other cache files you need to clear out to get rid of the old path. What about the .htaccess file? Does it have an appropriate RewriteBase?

          I don’t know about your OS, but on OS X it’s easy enough to do a search in any given directory and its sub-directories for a string like revo204.
            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
            • 5811
            • 1,717 Posts
            All the cache folders has been cleared. And I can’t found any "revo204" string under the root directory embarrassed

            How are computed the site_id, the site_sessionname and the uuid of the config file ?
            are they related to the root directory name huh

            When I come back to "revo204" for the root folder name and for paths in config file, the site is correctly launched.
              • 5811
              • 1,717 Posts
              Modification of the paths of the core/config file is not enougth. The following files should be changed too:
              - config.core.php file in the root folder
              - config.core.php in manager folder
              - config.core.php in connectors folder

              Now fixed.