Closed (works as designed)
Project:
Drupal core
Version:
6.0-rc2
Component:
update system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Jan 2008 at 02:07 UTC
Updated:
22 Jan 2008 at 23:35 UTC
Invoking the update.php URL does not update, control is transferred to core via drupal_bootstrap in update.php and never returns.
install.php is loaded instead of upgrading.
Turned off all non-core modules.
Reset theme to bluemarine.
Set $update_free_access = TRUE;
Comments
Comment #1
bryansd commentedI witnessed something similar last night too. I didn't see this problem with RC1, but experienced it with RC2. I'm going to run through everything again tonight and see if I run into the same problem (I'm hoping this is user error).
Comment #2
ByteEnable commentedIts caused by database.inc:
if (empty($db_url)) {
include_once 'includes/install.inc';
install_goto('install.php');
}
Its because db_url empty.
Byte
Comment #3
andycowl commentedI note the same issue upgrading from (vanilla) 5.3 and 5.6.
Worse, site is inaccessible after failed upgrade and I needed a full DB restore.
I am not complaining as this is beta and the warnings are already there. Just stressing the fact that a DB backup (that can be restored) is absolutely required.
Comment #4
gábor hojtsyOn upgrades, you need to restore the database settings in a settings.php (as documented), or otherwise Drupal will think it is going to be installed, not updated. This is documented in the upgrade instructions.
Comment #5
ByteEnable commentedMy database settings are correct in sites/default/default.settings.php.
Byte
Comment #6
ByteEnable commentedBumping back to active bug.
Comment #7
scoutbaker commentedThe UPDATE.txt specifically states, in part,
I have had no issues when I followed the update directions correctly.
(By design as noted by Gábor previously.)
Comment #8
andycowl commentedMea culpa. When I used my existing 'settings.php', my upgrade worked too. Hurrah !