hi
i update the latest dev and run in this msg

nodewords_extra module can not be updated. Its schema version is 0. Updates up to and including 6105 have been removed in this release. In order to update nodewords_extra module, you will first need to upgrade to the last version in which these updates were available.

i dont know what i have to do now
i become the red screen
"One or more problems of the Drupal installation have been identified. Check the status report for more information."

Database updates:
Some modules need to update your database schema. The script to update the database should be executed immediately.

Comments

damienmckenna’s picture

What version did you have before you updated?

eule’s picture

dev from october 30

damienmckenna’s picture

Priority: Normal » Critical
Issue tags: +v6.x-1.12 blocker

I've just updated a v6.x-1.11 install to v6.x-1.x-dev (20101030) and the error above is displayed when viewing update.php:

nodewords_extra module can not be updated. Its schema version is 0. Updates up to and including 6105 have been removed in this release. In order to update nodewords_extra module, you will first need to upgrade to the last version in which these updates were available.

I will have to look into why this was done.

dave reid’s picture

I think we need to just change nodewords_extra_update_last_removed() into empty update functions. Looking into this too.

damienmckenna’s picture

With revision 1.1.2.7 (on 10/10/2009) the 6101-through-6105 updates were removed (as were hook_enable and hook_disable) and replaced with a simple comment:

/**
 * Next update ID: 6106.
 */

It was the hook_update_last_removed() implementation added for the ICRA tag removal which appears to break it for older sites. FYI I enabled nodewords_extra on a site that did not have it installed before and it does not give the above error, but sites that had it installed before (i.e. system.schema_version=0) will show the error.

dave reid’s picture

Status: Active » Needs review
StatusFileSize
new726 bytes

Just removing hook_update_last_removed() should fix it.

dave reid’s picture

Status: Needs review » Fixed

I ran drush sqlq "UPDATE {system} SET schema_version = 0 WHERE name = 'nodewords_extra'"; and confirmed the error message was present before the patch when running update.php. After the patch I was able to run the update just fine. Committing to CVS.
http://drupal.org/cvs?commit=444772

eule’s picture

Status: Fixed » Needs review

hi
i get after applying the patch and running update.php:

The following queries were executed
nodewords_extra module
Update #6106

* No queries

and right before a red screen

* warning: array_merge() [function.array-merge]: Argument #2 is not an array in ./update.php on line 174.
* warning: Invalid argument supplied for foreach() in ./update.php on line 338.

dave reid’s picture

Status: Needs review » Fixed

I just caught this too in my update testing and committed a fix to CVS. Note that this was just a missing message to report back to the update screen. Nothing actually went wrong.
http://drupal.org/cvs?commit=444786

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

damienmckenna’s picture

Status: Closed (fixed) » Needs work

Needs to be re-rolled against the latest 6.x-1.x codebase.

damienmckenna’s picture

Status: Needs work » Needs review
StatusFileSize
new1.53 KB

Here's a patch that adds nodewords_extra_update_6105() and nodewords_basic_update_6104() to both remove any question over what the next update should be and also avoid any possibly conflicts or confusion later.

damienmckenna’s picture

This applies cleanly to 6.x-1.x.

damienmckenna’s picture

StatusFileSize
new771 bytes

We already have nodewords_extra_update_6106() so nodewords_extra_update_6105() is no longer needed, so here's an updated patch with just nodewords_basic_update_6104().

damienmckenna’s picture

Status: Needs review » Fixed

Committed.

Status: Fixed » Closed (fixed)
Issue tags: -v6.x-1.12 blocker

Automatically closed -- issue fixed for 2 weeks with no activity.