Using package export to move content from 3.5.1 fails

Author Message

Torgeir Fritsvold

Thursday 08 March 2007 4:18:51 am

I'm trying to move a set of content objects from an old 3.5.1 installation to a new installation on 3.6.11, and have a couple of questions:

1) Is this a good way to move content between sites and eZ versions? I'm trying to move just the content and not the class definitions in case these have changed between versions.

2) Does the package export work for a (fairly) large number of content objects in 3.5.11? I'm able to move a few objects, but the package creation fails when I try to export the whole subtree.

Heath

Thursday 08 March 2007 4:33:04 am

Content object export is a time consuming task which often exceeds the default configured request timeout, http://google.com/search?q=http+request+timeout

I would recommend turning to the eZ Publish command line tools instead which are not affected by http request timeout dependencies.

You can review, ezpm.php, http://pubsvn.ez.no/nextgen/trunk/ezpm.php
http://ez.no/ezpublish/documentation/ez_publish_3_4/content_object_export_with_ezpm

Though I will warn you, I believe there are outstanding issues with certain uses of this component.

I might instead offer an alternative, use the csvextract extension to extract your content and use the features of 3.9 to import your csv!

hth,

Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
eZpedia community documentation project | http://ezpedia.org

Heath

Thursday 08 March 2007 4:57:59 am

I do see some improvements in the command line package tools in 3.9.1!

http://pubsvn.ez.no/nextgen/stable/3.9/doc/changelogs/3.9/CHANGELOG-3.9.0-to-3.9.1

* Package system:
 - Command line package tool 'ezpm.php' updated:
  o 'list', 'import', 'install' command have been changed to match admin
     interface functionality.
  o  Implemented suggestion #010001: 'ezinstallscript' and 'ezextension' items are
     supported by 'add' command.
  o  Implemented suggestion : Allow ezpm to set vendor.
  (Merged from trunk (3.10.0alpha1) rev. 17983)

hth

Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
eZpedia community documentation project | http://ezpedia.org

Xavier Dutoit

Thursday 08 March 2007 5:20:38 am

Hi,

Based on my experience, packages between version don't work smootly. I'd suggest to copy the db and do an update by hand with the provided mysql/postgres sql files+run the php if needed.

X+

http://www.sydesy.com

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.