Upgrade 3.7.5 -> 3.8.2 fails

Author Message

Rolf Larsson

Tuesday 25 July 2006 5:45:37 am

Hi,

I'm trying (for the first time) to upgrade my ezPublish 3.7.5 installation to 3.8.2. I've followed the steps in the upgrade description to the word. After this, I go to my site and receive the setup page. The documentation doesn't state if this is supposed to happen, which I do find a little suspicious...

Anyway, I walk through the wizard fixing a couple of permission issues along the way. At the end of it all, I get this message:

The setup wizard was not able to complete the creation of your selected sites.

The following errors were detected:

    * EZSW-004Failed inserting data to mysql
      Table 'ezapprove_items' already exists
    * EZSW-040Failed to initialize site package 'plain_site'

If you think you have fixed the errors you can try and click the "Retry" button.

...and this is where my ideas end. I've tried probably a dozen times by now. I've dropped & recreated my 3.7.5 database as well as removed & unpacked the 3.8.2 source to the hard disk.

The ezpublish error log contain a lot of "Access denied for user 'root'@'localhost' (using password: NO)" which I find strange. My siteaccess has a different user and password specified, and it obcviously works during the setup as there's a message in it which corresponds to the table that already exists.

Help?

What am I doing wrong?

Łukasz Serwatka

Tuesday 25 July 2006 6:40:59 am

Hello Rolf, and welcome to the eZ publish Community!

Upgrade from 3.7 to 3.8 should be easy when your site was setup properly.
Look on upgrade documentation and make sure that you have followed all steps.
http://ez.no/doc/ez_publish/technical_manual/3_8/installation/upgrading/upgrading_from_3_6_x_3_7_x_to_3_8_0

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Rolf Larsson

Tuesday 25 July 2006 6:50:21 am

Yes,

As I wrote in my message, I have followed it, step by step, word by word, about a dozen times.

Łukasz Serwatka

Tuesday 25 July 2006 6:55:10 am

eZ publish reads your settings from settings/site.ini instead of your siteaccesses and override. Perhaps permissions.

Can you please check your 3.7.5 installation with Setup->Upgrade check. Check both files and database.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Rolf Larsson

Wednesday 02 August 2006 4:21:08 am

Hi,

there was one change in settings/site.ini (Locale had been changed from eng-GB to eng-US) which seems to have been behind this whole debacle. I did get a notice about this and checked it, but assumed it would not be a problem. Apparently it was... :-/

Now I don't end up in the setup wizard when accessing the 3.8.2 site any longer. Unfortunately, all is yet not well. Accessing the site, I get an "Object is unavailable" error. If I access the admin siteaccess, I get an "Error / kernel (3)" message in the top left corner. and this message in the middle of the screen:

"The requested page could not be displayed. (3)

The requested object is not available.

Possible reasons:

* The ID number of the object is incorrect. Please check the URL for spelling mistakes.
* The object is no longer available."

Any ideas?

Sebastian Camargo

Wednesday 02 August 2006 4:42:24 pm

Hi,

Another time this can be a problem running <b>updatemultilingual.php</b> script. make sure you are running it successfully.

The following forum link may help you:


http://ez.no/community/forum/install_configuration/problem_with_content_after_upgrade_to_3_8_2

good luck,

Sebastian

Rolf Larsson

Friday 04 August 2006 1:11:17 am

Hi Sebastian,

it appears related, but not the same. I've run the updatemultilingual.php script without any obvious problems (and I'm running MySQL, not postgres).

I've enabled all likely (and unlikely) debug outputs as well. It executes the same SQL statement as the support incident you referred to which returns 0 rows. after that I get an error message about "Error ocurred using URI: /index.php"

I just ran the "Database consistency check" under Setup->Upgrade check in in my 3.8.2 installation after upgrading, which suggested a number of "ALTER TABLE" statements to get my database in sync with what the released version should look like. executed the changes but no difference...

This is what it suggested I needed to do:

ALTER TABLE ezkeyword ADD INDEX ezkeyword_keyword_id ( keyword, id );
ALTER TABLE ezkeyword_attribute_link ADD INDEX ezkeyword_attr_link_kid_oaid ( keyword_id, objectattribute_id );
ALTER TABLE eznode_assignment ADD INDEX eznode_assignment_coid_cov ( contentobject_id, contentobject_version );
ALTER TABLE eznode_assignment ADD INDEX eznode_assignment_is_main ( is_main );
ALTER TABLE eznode_assignment ADD INDEX eznode_assignment_parent_node ( parent_node );
ALTER TABLE ezurlalias ADD INDEX ezurlalias_is_wildcard ( is_wildcard );

Any further ideas?

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.