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.

eZ debug

Timing: Jan 18 2025 19:01:54
Script start
Timing: Jan 18 2025 19:01:54
Module start 'layout'
Timing: Jan 18 2025 19:01:54
Module start 'content'
Timing: Jan 18 2025 19:01:55
Module end 'content'
Timing: Jan 18 2025 19:01:55
Script end

Main resources:

Total runtime0.7754 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0062 588.0547152.6406
Module start 'layout' 0.00620.0041 740.695339.4766
Module start 'content' 0.01030.7636 780.1719588.9375
Module end 'content' 0.77380.0016 1,369.109412.4375
Script end 0.7754  1,381.5469 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4167160.0002
Check MTime0.00130.1741160.0001
Mysql Total
Database connection0.00090.119010.0009
Mysqli_queries0.710991.6779620.0115
Looping result0.00070.0919600.0000
Template Total0.728293.920.3641
Template load0.00200.258520.0010
Template processing0.726193.642920.3631
Template load and register function0.00010.017910.0001
states
state_id_array0.00230.301310.0023
state_identifier_array0.00150.195520.0008
Override
Cache load0.00170.2167260.0001
Sytem overhead
Fetch class attribute can translate value0.00100.132130.0003
Fetch class attribute name0.00140.184560.0002
XML
Image XML parsing0.00090.120730.0003
class_abstraction
Instantiating content class attribute0.00000.002170.0000
General
dbfile0.00530.6874230.0002
String conversion0.00000.000940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 17
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs