We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 2762
    • 1,198 Posts
    I'm currently moving a site from Evo 1.0.10 to Revo 2.2.8 using Provisioner 1.1.0-pl

    Provisioner succeeds in:
    - Import Contents (and Convert Tags)
    - Import Templates (and Convert Tags)
    - Import chunks (and Convert Tags)
    - Import snippets (if needed)
    - Import Tv *

    Provisioner fails in:
    - *Tv values (ie: all "documenttags" tv are empty, all images tv are empty..)
    - Import files
    - Import users: just import usename, without password, email and other fields
    - Full Evolution site import





      Free MODx Graphic resources and Templates www.tattoocms.it
      -----------------------------------------------------

      MODx IT  www.modx.it
      -----------------------------------------------------

      bubuna.com - Web & Multimedia Design
      • 2762
      • 1,198 Posts
      Update!! Update!! Update!!

      Tried again to import full Evolution 1.0.10 site in Revolution 2.2.9-pl using Provisioner
      - replaced in Evolution, Revogateway files with this:
      https://github.com/shamblett/provisoner/tree/master/evolution

      Full Import Evolution site to Revo - Works!!!!
      Imported over 1000 content pages with a lot of tvs and values (like thumbnail images, tags, sethomepage tv, link to files..) and all document settings.
      Needed Templates, chunks and other elements imported with "Remote Elements" function of Provisioner.

      Now I have a 95% working site (just need to replace a couple of snippets).

      I'm so Happy laugh
        Free MODx Graphic resources and Templates www.tattoocms.it
        -----------------------------------------------------

        MODx IT  www.modx.it
        -----------------------------------------------------

        bubuna.com - Web & Multimedia Design
        • 10525
        • 247 Posts
        Hi banzai, folks,

        I am just starting the migration process of a sizeable site from evo 1.0.12 to revo 2.2.10.

        Provisioner connected OK, imported my evo site and reported success.

        I see a lot of resources, templates, chunks etc in the revo site, which is good. Looking at my site settings though, there doesn't seem to have been any migration here. Even the site name remains the default "MODX Revolution". Did you experience any import of site settings?

        I had about 17 directories in my assets dir., including my own css and scripts and js dirs. These are nowhere to be seen in the revo site. The only thing my revo assets dir contains is: assets > components > provisioner > and then provioner dirs and files below this.

        Anybody know what Provisioner does with non-default directories and files in, for example, the evo assets dir?

        Current state of the front end: a blank white screen. Not sure where to start off here. Any suggestions?

        Having searched around for a while, the whole Provisioner subject seems to be very under-used, or just not maintained. There are still pages kicking about which talk of a migration tool due out in future - all now looking out of date (eg: http://rtfm.modx.com/revolution/2.x/administering-your-site/upgrading-modx/upgrading-from-modx-evolution and http://bobsguides.com/migrating-revolution.html). Nothing seems to be being updated. Is there anybody out there who is confident about how it works? and is it still being maintained/upgraded?
          • 2762
          • 1,198 Posts
          @Gav

          - Use Provisioner only to import DB data from Evo Site (contents, resources, chunks).
          - Download files from assets directory of your Evo server to your computer: images folder, templates with js and css
          - Upload files from your computer to the Revo server, in the same location of Evo: create needed subfolders in assets for your templates, files, and images (like in Evo assets/templates/yourtemplatename/..)

          Your new Revo site should operate at 90%

            Free MODx Graphic resources and Templates www.tattoocms.it
            -----------------------------------------------------

            MODx IT  www.modx.it
            -----------------------------------------------------

            bubuna.com - Web & Multimedia Design
            • 10525
            • 247 Posts
            Quote from: banzai at Nov 24, 2013, 01:38 PM
            @Gav

            - Use Provisioner only to import DB data from Evo Site (contents, resources, chunks).
            - Download files from assets directory of your Evo server to your computer: images folder, templates with js and css
            - Upload files from your computer to the Revo server, in the same location of Evo: create needed subfolders in assets for your templates, files, and images (like in Evo assets/templates/yourtemplatename/..)

            Your new Revo site should operate at 90%

            Thanks for that banzai. I didn't notice info to this effect anywhere, so assumed that everything would be ported across.

            I notice that there are now provisioner directories scattered through my Revo install, eg:
            assets/components/provisioner
            core/components/provisioner
            Not sure if there are others. Should these be left there or deleted after migration?
            • Those are the files for the Provisioner application itself. If you want to remove it, use the Package Manager to un-install and remove the Provisioner package.
                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
                • 10525
                • 247 Posts
                Thanks sottwell, so I can ignore them for now.

                OK so I'm still getting a white page for my site, but have discovered Reports > Error Log. This looks like the place to debug from. However, I have some difficulty in deciphering some of the logs. Here are some of the common ones:
                [2013-11-25 10:24:02] (ERROR @ /var/www/vhosts/mysite.com/httpdocs/revo1/core/cache/includes/elements/modsnippet/39.include.cache.php : 7) PHP warning: require(/var/www/vhosts/mysite.com/httpdocs/revo1/assets/snippets/wayfinder/snippet.wayfinder.php): failed to open stream: No such file or directory

                [2013-11-25 10:42:40] (ERROR @ /var/www/vhosts/mysite.com/httpdocs/revo1/core/cache/includes/elements/modsnippet/36.include.cache.php : 7) PHP warning: require(/var/www/vhosts/mysite.com/httpdocs/revo1/assets/snippets/ajaxSearch/snippet.ajaxSearch.php): failed to open stream: No such file or directory

                [2013-11-25 10:42:52] (ERROR @ /revo1/connectors/system/phpthumb.php) phpThumb was unable to generate a thumbnail for: /var/www/vhosts/mysite.com/httpdocs/revo1/core/cache/phpthumb/phpThumb_cache_mysite.com_srcca7632ec99ab2a78e195ba302a3abc5_paradf8965f319fa323d8e84ccb98c5_dat0.jpeg

                [2013-11-25 10:42:52] (ERROR @ /var/www/vhosts/mysite.com/httpdocs/revo1/core/model/phpthumb/phpthumb.class.php : 3210) PHP warning: file_get_contents(/var/www/vhosts/mysite.com/httpdocs/assets/images/banner-1.jpg): failed to open stream: No such file or directory

                [2013-11-25 10:42:52] (ERROR @ /revo1/connectors/system/phpthumb.php) Error outputting thumbnail:
                OutputThumbnail() failed because !is_resource($this->gdimg_output) in file "phpthumb.class.php" on line 557

                [2013-11-25 10:46:32] (ERROR @ /var/www/vhosts/mysite.com/httpdocs/revo1/core/cache/includes/elements/modsnippet/35.include.cache.php : 7) PHP warning: require(/var/www/vhosts/mysite.com/httpdocs/revo1/assets/snippets/ditto/snippet.ditto.php): failed to open stream: No such file or directory
                I understand that some of these appear to be searching for old snippets which are now out of date or in a different location.

                I installed the new Wayfinder and that error disappeared, fine.

                I obviously need to replace other snippets with updated versions (and Ditto with getResources, ajaxsearch with simplesearch etc).

                However, I can't understand the references to cache, when I have deleted all cache files (manually), eg "../core/cache/.." and "35.include.cache.php".

                Anyone venture to take a stab at the meaning of any of these errors? Or tips on how to pinpoint common errors in this process?
                  • 4943
                  • 4 Posts
                  I have never done an upgrade from evolution, so I may be wrong. as far as i understand cache usage in revolution, it caches almost everything on first use / view and before actually displaying any output. (that's done from the cache built on first view) the cache mentions an include file from ditto not being found. since the cache is built before the actual rendering of the viewable page, the error keeps reappearing.

                  Fixing the template / snippet that currently call's ditto and clearing the cache after fixing that should fix this error.

                  Greets,
                  Chaot_s
                    • 10525
                    • 247 Posts
                    Cheers Chaot_s. I'm working my way through all these snippet calls, so hopefully should be able to report success soon smiley
                      • 4943
                      • 4 Posts
                      also,

                      The way I look for what snippet or other item is causing the error is by just opening the cache file (its just php code) and check the lines around the line that throws the error. this most of the time gives me a good enough hint on what is happening or what snippet / mod is causing the error.