Forums / General / Using package export to move content from 3.5.1 fails

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

eZ debug

Timing: Jan 20 2025 00:20:03
Script start
Timing: Jan 20 2025 00:20:04
Module start 'content'
Timing: Jan 20 2025 00:20:04
Module end 'content'
Timing: Jan 20 2025 00:20:04
Script end

Main resources:

Total runtime0.9021 sec
Peak memory usage4,096.0000 KB
Database Queries199

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 590.2266180.8203
Module start 'content' 0.00530.7937 771.0469594.0313
Module end 'content' 0.79890.1031 1,365.0781337.6875
Script end 0.9020  1,702.7656 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.4001210.0002
Check MTime0.00130.1469210.0001
Mysql Total
Database connection0.00080.083510.0008
Mysqli_queries0.833092.33731990.0042
Looping result0.00160.17361970.0000
Template Total0.876097.120.4380
Template load0.00160.181820.0008
Template processing0.874396.924420.4372
Template load and register function0.00020.019710.0002
states
state_id_array0.00140.150210.0014
state_identifier_array0.00070.075420.0003
Override
Cache load0.00130.1491260.0001
Sytem overhead
Fetch class attribute can translate value0.00120.128640.0003
Fetch class attribute name0.00080.088060.0001
XML
Image XML parsing0.00130.148840.0003
class_abstraction
Instantiating content class attribute0.00000.001970.0000
General
dbfile0.00860.9506340.0003
String conversion0.00000.000430.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 17
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs