3.5 upgradeproblem (from beta1 to rc1 )

Author Message

Felix Laate

Wednesday 24 November 2004 5:41:39 am

Hi all!

Just upgraded a site running on 3.5.0beta1 to 3.5.0rc1.

After running "Database consistency check" in the admin interface I get this output:

<i>
The database is not consistent with the distribution database.
To synchronize your database with the distribution setup, run the following SQL commands:

ALTER TABLE ezpdf_export ADD COLUMN version int(11) NOT NULL DEFAULT '0';
ALTER TABLE ezpdf_export DROP PRIMARY KEY;
ALTER TABLE ezpdf_export ADD PRIMARY KEY ( id, version );
ALTER TABLE ezproductcollection_item ADD COLUMN name varchar(255) NOT NULL DEFAULT '';
ALTER TABLE ezrole ADD COLUMN is_new int(11) NOT NULL DEFAULT '0';
ALTER TABLE ezrss_export CHANGE COLUMN status status int(11) NOT NULL DEFAULT '0';
ALTER TABLE ezrss_export DROP PRIMARY KEY;
ALTER TABLE ezrss_export ADD PRIMARY KEY ( id, status );
ALTER TABLE ezrss_export_item ADD COLUMN status int(11) NOT NULL DEFAULT '0';
ALTER TABLE ezrss_export_item DROP PRIMARY KEY;
ALTER TABLE ezrss_export_item ADD PRIMARY KEY ( id, status );
ALTER TABLE ezrss_import CHANGE COLUMN status status int(11) NOT NULL DEFAULT '0';
ALTER TABLE ezrss_import DROP PRIMARY KEY;
ALTER TABLE ezrss_import ADD PRIMARY KEY ( id, status );
ALTER TABLE ezsearch_word DROP INDEX ezsearch_word;
ALTER TABLE ezsearch_word ADD INDEX ezsearch_word_word_i ( word );
</i>

Fair enough! But when I try to run the sql-commands I get errors speaking about e.g. duplicate columns etc.

How come?

Felix

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com

Frederik Holljen

Wednesday 24 November 2004 5:45:50 am

Sounds like a bug in the SQL diff tool. Please file a bug report.

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 21:15:29
Script start
Timing: Jan 18 2025 21:15:29
Module start 'layout'
Timing: Jan 18 2025 21:15:29
Module start 'content'
Timing: Jan 18 2025 21:15:29
Module end 'content'
Timing: Jan 18 2025 21:15:29
Script end

Main resources:

Total runtime0.0172 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.0059 587.9141152.6250
Module start 'layout' 0.00590.0035 740.539139.4609
Module start 'content' 0.00940.0056 780.000089.3047
Module end 'content' 0.01490.0022 869.304730.3047
Script end 0.0171  899.6094 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002715.4247140.0002
Check MTime0.00116.6540140.0001
Mysql Total
Database connection0.00074.137810.0007
Mysqli_queries0.003118.285030.0010
Looping result0.00000.087410.0000
Template Total0.001810.410.0018
Template load0.00095.444410.0009
Template processing0.00084.921510.0008
Override
Cache load0.00063.648110.0006
General
dbfile0.00031.793580.0000
String conversion0.00000.047240.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