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.