I just replaced 6.x-2.4 by 6.x-2.5 (after deleting the module's directory).

Running update.php causes the following errors:

The following queries were executed
weblinks module
Update #6110

    Failed: ALTER TABLE {weblinks} ADD `urlhash` CHAR(32) NOT NULL DEFAULT ''
    Failed: ALTER TABLE {weblinks} ADD INDEX urlhash (urlhash)
    Failed: ALTER TABLE {weblinks} ADD INDEX last_checked (last_checked)

Update #6111

    variable_del('weblinks_url')

Update #6112

    No queries

Update #6113

    No queries

Update #6114

    No queries

Update #6115

    Failed: ALTER TABLE {weblinks} DROP weight

Update #6116

    UPDATE {system} SET weight=0 WHERE type='module' AND name='weblinks'

MySQL is 5.0.51b.

Can anybody tell me what has to be done? Thanks!

Comments

jonathan1055’s picture

Hi,

When I updated to from the broken 2.4 to the correct 2.5 there were no updates pre-selected. Did you manually choose to run those specific updates?

Jonathan

nancydru’s picture

Status: Active » Postponed (maintainer needs more info)

And what release were you on before 2.4?

FrankT’s picture

Status: Postponed (maintainer needs more info) » Active

I definitely had 2.3 before, but I'm not sure if a dev has been in production in between.

GStegemann’s picture

Issue summary: View changes
Status: Active » Closed (cannot reproduce)

I guess the update errors occurred due to a wrong schema version in the system table.