Forums / Install & configuration / Upgrading Webin

Upgrading Webin

Author Message

Marco Zinn

Monday 18 August 2008 9:22:54 am

Hi there,

i'm having trouble upgrading ezwebin 1.2 to 1.3.

Background: I have a site running ez 3.10, which i want to upgrade to ez4. The upgrade documentation tells me, that i need to upgrade ezwebin, too, because ez4 will only support ezwebin 1.3.

Following the upgrade docs, i copied my old (1.2) ezwebin extension to the new (4.0.1RC2) folder and did all the other upgrade stuff (which worked quite fine).

Now, i try to follow the odd instruction in the webin install PDF and end up here:

php ezwebinupgrade.php --package-dir=tmp --to-version=1.3-0
Notice: No siteaccess provided, will use default siteaccess
Warning: Processing in auto-mode:
- packages will be downloaded to 'tmp';
- packages will be imported to 'var/storage/packages/eZ-systems';
- installing of existing classes will be skipped;
- all files(extesion, design, downloaded and imported packages) will be overwritten;
Continue? [y/n]: y
Configuring...
Downloading...
ezwebin_classes
ezwebin_extension
ezwebin_design_blue
ezwebin_design_gray
ezwebin_site
Importing...
ezwebin_classes
Error: Faild to import 'ezwebin_classes' package: err =

Beside, that i had to copy the script to root folder AND i had to specify, that i want to upgrade to 1.3 (obviously... its ez4), the thing downloads the packages from somewhere, but fails to "import" them. I can see, that it creates var/storage/packages/eZ-systems/ezwebin_classes, but then, this is empty.

What shall i do?

I which ways is ezwebin 1.2 not compatible with ez4 ... aka: can't i skip that update?

Any help is very much appreciated

Marco
http://www.hyperroad-design.com

Olivier TURPIN

Friday 22 August 2008 4:22:06 am

Hello All,

I have exactly the same problem with 4.0.1 release, therefore cannot upgrade.
Did anyone managed to upgrade a 3.10 to 4.0.1 ?

Many thanks for feedback.

Friday 22 August 2008 12:32:52 pm

Did you try follow the process for manually downloading the packages?

Olivier TURPIN

Sunday 24 August 2008 1:45:52 am

Hello All,

In order to solve this issue, one has to remove evry file from directories /tmp/ezwebin and var/storage/packages.
In fact, it seems that there is a conflict between an old var/storage/packages/ez-systems directory and the new one var/storage/packages/eZ-systems (the caps makes the difference ?)...

Afetr removal, the import phase is OK. BUT the following step stops on a PHP error : any idea ?

[root@Efferalgan equiMan]# php ezwebinupgrade.php --to-version=1.3-0
Notice: No siteaccess provided, will use default siteaccess
Warning: Processing in auto-mode:
- packages will be downloaded to '/tmp/ezwebin';
- packages will be imported to 'var/storage/packages/eZ-systems';
- installing of existing classes will be skipped;
- all files(extesion, design, downloaded and imported packages) will be overwritten;
Continue? [y/n]: y
Configuring...
Downloading...
ezwebin_classes
ezwebin_extension
ezwebin_design_blue
ezwebin_design_gray
ezwebin_site
Importing...
ezwebin_classes
ezwebin_extension
ezwebin_design_blue
ezwebin_design_gray
ezwebin_site
Installing...
Installing package 'ezwebin_classes'
PHP Fatal error: Call to a member function isClassAttributeRemovable() on a non-object in /home/equiman/equiMan/kernel/classes/ezcontentclass.php on line 867

Fatal error: eZ Publish did not finish its request
The execution of eZ Publish was abruptly ended, the debug output is present below.

Olivier TURPIN

Sunday 24 August 2008 9:39:23 am

Hello,

Solution is to clear var/cache manually...
Then upgrade procedure runs without problems.

Hope this can help.

Tuesday 23 September 2008 10:06:09 am

Hi everybody,

We've updated the Website Interface 1.3 setup doc to fix a few issues as covered in this thread:

- Change in package folder name
- Clearing of relevant folders and cache before performing the upgrade
- Fixed package download URL

See the updated doc here:

http://ez.no/doc/extensions/website_interface/

eZ debug

Timing: Jan 18 2025 10:55:17
Script start
Timing: Jan 18 2025 10:55:17
Module start 'content'
Timing: Jan 18 2025 10:55:18
Module end 'content'
Timing: Jan 18 2025 10:55:18
Script end

Main resources:

Total runtime1.2139 sec
Peak memory usage4,096.0000 KB
Database Queries205

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0067 588.8203180.8438
Module start 'content' 0.00671.0102 769.6641615.2188
Module end 'content' 1.01690.1968 1,384.8828337.0703
Script end 1.2137  1,721.9531 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00410.3375210.0002
Check MTime0.00150.1230210.0001
Mysql Total
Database connection0.00090.076410.0009
Mysqli_queries1.126492.79252050.0055
Looping result0.00230.18932030.0000
Template Total1.182197.420.5910
Template load0.00230.188120.0011
Template processing1.179897.191820.5899
Template load and register function0.00010.007910.0001
states
state_id_array0.00080.068710.0008
state_identifier_array0.00150.121420.0007
Override
Cache load0.00200.1653650.0000
Sytem overhead
Fetch class attribute can translate value0.00120.100640.0003
Fetch class attribute name0.00130.107470.0002
XML
Image XML parsing0.00110.087740.0003
class_abstraction
Instantiating content class attribute0.00000.001170.0000
General
dbfile0.00430.3524270.0002
String conversion0.00000.000530.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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
13content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
6content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 29
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs