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/

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 16:05:51
Script start
Timing: Jan 18 2025 16:05:51
Module start 'layout'
Timing: Jan 18 2025 16:05:51
Module start 'content'
Timing: Jan 18 2025 16:05:51
Module end 'content'
Timing: Jan 18 2025 16:05:51
Script end

Main resources:

Total runtime0.0152 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 589.0391152.6250
Module start 'layout' 0.00520.0027 741.664139.4453
Module start 'content' 0.00800.0054 781.109493.4453
Module end 'content' 0.01340.0017 874.554738.3047
Script end 0.0151  912.8594 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002415.8347140.0002
Check MTime0.00117.2159140.0001
Mysql Total
Database connection0.00085.382010.0008
Mysqli_queries0.002617.006430.0009
Looping result0.00000.072310.0000
Template Total0.00149.110.0014
Template load0.00085.377310.0008
Template processing0.00063.727510.0006
Override
Cache load0.00053.529310.0005
General
dbfile0.00117.374780.0001
String conversion0.00000.039340.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs