Closed (fixed)
Project:
Drupal.org site moderators
Component:
Textual improvements
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Mar 2010 at 13:27 UTC
Updated:
6 Apr 2010 at 11:24 UTC
There are 2 potential hazards for users upgrading to 6.16:
1. It's incompatible with PHP 4 per #732096: Fatal error: Call to undefined function: array_intersect_key() in url/modules/update/update.compare.inc on line 695. This is critical.
2. You get warnings about the new {semaphore} table not existing, before you've run and while running update.php; these warnings are harmless and go away but people get worried (#732024: Updating from 6.1 user warning: Table 'semaphore' doesn't exist).
These need noting on the release page http://drupal.org/drupal-6.16.
Comments
Comment #1
gábor hojtsyI've already added this note to the front page post:
I'll add more info on the warning appearing in the update. I'd like to have a patch on the PHP 4 compatibility issue so I can link to a suggested fix for users. I suspect it will be a line or two in changes, which we could tell people to apply manually, and hopefully don't need to rush a 6.17.
Comment #2
gábor hojtsyBTW the issue prompted to add that note at the start was #732064: "Call to undefined function lock_acquire", locale module were people seem to come back with reports that the issue was intermittent.
Comment #3
gpk commentedThanks Gábor, that was where I was thinking the extra info could go. :)
Comment #4
gábor hojtsyAdded a note in the paragraph (emphasis added to make it more clear for this issue):
Comment #5
gpk commentedIf you can be bothered, it might be worth adding the emphasis to the page itself, and moving that para to the top of the "Important issues" section.
Also even in the absence of a patch (I've not found anything yet :( ...) I think the incompatibility with PHP4 needs to be noted somewhere prominent.
Comment #6
gpk commented>To make sure your site continues to function right, running update.php is extremely important.
I think we mean that running update.php is essential!
Comment #7
gábor hojtsyOk, updated to this (quoted verbatim):
Comment #8
gpk commentedGreat, we can't make people read that stuff but at least we tried ;)
Comment #9
jweowu commentedWhat is a definition of a "rushed" 6.17 release?
Today?
Within the next week?
Any time prior to the next future security fix?
Personally, I would sincerely hope there was a 6.17 release inside of a week to resolve this. Users needing to patch Drupal core really shouldn't be an acceptable situation.
And surely the sooner that 6.17 comes out, the less disruption there will be for the people who have yet to start the upgrade?
Comment #10
gábor hojtsySo far we have received minimal reports from people with PHP 4 that I know of. Putting out a follow up release will give work to the overwhelming majority, who are not affected at all. I'm not happy about this misstep in Drupal 6.16, but pushing out a new release immediately for everybody seems a bit drastic, unless the problem is more widespread.
I've committed a fix to the DRUPAL-6 branch so those running with CVS checkouts can just update to that. For those (expected majority) running on releases, I've put up a one-line change suggestion and updated the front page post:
I'll keep monitoring issues people had with Drupal 6.16. There are some people having issues with Drupal 6.16, but in all cases so far, it turned out to be an issue with not following the update process (not setting up maintenance mode, not running update.php, etc). However, if there are actual issues with the code which are not fixed by running the update properly, we should not release 6.17 without fixing them. So we'll need to gather some more experience with results from people's updates. The critical issue queue I'm watching is at http://drupal.org/project/issues/search/drupal?text=&assigned=&submitted...
So all-in-all I think the best we can do is to (a) provide a quick one-line fix for PHP 4 users to minimize their patching needs (b) monitor if there are any critical issues with the codebase that warrant a release. If PHP 4 users don't turn up in masses, then I'd consider the PHP 4 issue not critical enough to warrant a quick follow up release. Same applies to if the other issues all turn out to be process/local configuration problems, as they did so far.
Comment #11
b3liev3 commentedSo, should I understand that the 'semaphore' warning is due to an improvement and it's completely harmless?
Comment #12
gábor hojtsy@b3liev3: yes, it should only appear until you actually run the updates. It will appear on the last update feedback screen, since it displays warnings collected in the update process, but should not display beyond that, because the update actually adds in this table.
Comment #13
b3liev3 commentedThanks a lot @Gábor Hojtsy.
Afterwards I've done more updates without problems.