Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
So I was trying to test #475832: provision deploy doesn't change the site_url to see if it was still relevant, but I couldn't even get that far. I get the following error after the updatedb output:
Including non-version specific file : [notice]
/var/hostmaster/.drush/provision/platform/drupal/clear.inc
Fatal error: Call to undefined function cache_clear_all() in /var/hostmaster/.drush/provision/platform/drupal/clear.inc on line 7
Drush command could not be completed. [error]
The steps to reproduce:
827 cd ../drupal-5.17/
828 /var/hostmaster/drush/drush.php --verbose=2 provision backup test.example.com
829 cd ../drupal-6.12/
830 /var/hostmaster/drush/drush.php --verbose=2 provision deploy d6.test.example.com /var/hostmaster/backups/test.example.com-2009-06-09.tar.gz
The complete log:
sh-3.1$ /var/hostmaster/drush/drush.php --verbose=2 provision deploy d6.test.example.com /var/hostmaster/backups/test.example.com-2009-06-09.tar.gz
Initialized Drupal 6.12 root directory at /var/hostmaster/drupal-6.12 [notice]
Undefined index: base_url [notice]
Undefined index: db_url [notice]
Deploying site from [message]
/var/hostmaster/backups/test.example.com-2009-06-09.tar.gz
tar -zxf /var/hostmaster/backups/test.example.com-2009-06-09.tar.gz [notice]
-C /var/hostmaster/drupal-6.12/sites/d6.test.example.com
Executing: tar -zxf /var/hostmaster/backups/test.example.com-2009-06-09.tar.gz -C /var/hostmaster/drupal-6.12/sites/d6.test.example.com
Running: tar -zxf [notice]
/var/hostmaster/backups/test.example.com-2009-06-09.tar.gz -C
/var/hostmaster/drupal-6.12/sites/d6.test.example.com
Successfully extracted the contents of [message]
/var/hostmaster/backups/test.example.com-2009-06-09.tar.gz
Initialized Drupal site d6.test.example.com at [notice]
sites/d6.test.example.com
Found a valid version of the system module with schema version 6051 [notice]
Found a valid version of the block module with schema version 1 [notice]
Found a valid version of the color module with schema version 1 [notice]
Found a valid version of the comment module with schema version 6004 [notice]
Found a valid version of the filter module with schema version 1 [notice]
Found a valid version of the help module with schema version 1 [notice]
Found a valid version of the locale module with schema version 6006 [notice]
Found a valid version of the menu module with schema version 1 [notice]
Found a valid version of the node module with schema version 1 [notice]
Found a valid version of the taxonomy module with schema version 1 [notice]
Found a valid version of the user module with schema version 1 [notice]
Could not find a version of the watchdog module [warning]
Removed symlink for alias test-example-com.site.koumbit.net [message]
Removed symlink for alias www.test.example.com [message]
Created symlink for alias test-example-com.site.koumbit.net [message]
Created symlink for alias www.test.example.com [message]
Created site_1491_1 database [success]
Found database dump at [message]
/var/hostmaster/drupal-6.12/sites/d6.test.example.com/database.sql.
Database dump at [message]
/var/hostmaster/drupal-6.12/sites/d6.test.example.com/database.sql is
readable
Importing database using command: mysql -usite_1491_1 -pzfdnCFUCNj [notice]
-hlocalhost site_1491_1 <
/var/hostmaster/drupal-6.12/sites/d6.test.example.com/database.sql
mysql -usite_1491_1 -pzfdnCFUCNj -hlocalhost site_1491_1 < [notice]
/var/hostmaster/drupal-6.12/sites/d6.test.example.com/database.sql
Executing: mysql -usite_1491_1 -pzfdnCFUCNj -hlocalhost site_1491_1 < /var/hostmaster/drupal-6.12/sites/d6.test.example.com/database.sql
Generating apache host configuration file d6.test.example.com. [notice]
Executing: sudo /usr/sbin/apache2ctl graceful
Apache has been restarted [notice]
Generate settings.php file [notice]
Changed permissions of settings.php to 640 [message]
Changed permissions of settings.php to 440 [message]
Change group ownership of settings.php to www-data [message]
Undefined index: root [notice]
Undefined variable: context [notice]
Undefined variable: string [notice]
ob_flush(): failed to flush buffer. No buffer to flush. [notice]
ob_flush(): failed to flush buffer. No buffer to flush. [notice]
ob_flush(): failed to flush buffer. No buffer to flush. [notice]
ob_flush(): failed to flush buffer. No buffer to flush. [notice]
ob_flush(): failed to flush buffer. No buffer to flush. [notice]
ob_flush(): failed to flush buffer. No buffer to flush. [notice]
ob_flush(): failed to flush buffer. No buffer to flush. [notice]
ob_flush(): failed to flush buffer. No buffer to flush. [notice]
ob_flush(): failed to flush buffer. No buffer to flush. [notice]
ob_flush(): failed to flush buffer. No buffer to flush. [notice]
ob_flush(): failed to flush buffer. No buffer to flush. [notice]
ob_flush(): failed to flush buffer. No buffer to flush. [notice]
ob_flush(): failed to flush buffer. No buffer to flush. [notice]
ob_flush(): failed to flush buffer. No buffer to flush. [notice]
ob_flush(): failed to flush buffer. No buffer to flush. [notice]
ob_flush(): failed to flush buffer. No buffer to flush. [notice]
Initialized Drupal 6.12 root directory at /var/hostmaster/drupal-6.12 [notice]
Initialized Drupal site d6.test.example.com at [notice]
sites/d6.test.example.com
Undefined index: base_url [notice]
Undefined index: db_url [notice]
Including version specific file : [notice]
/var/hostmaster/drush/commands/core/drupal/update_6.inc
Could not login with user ID #<em>1</em>. [error]
CREATE TABLE {batch} ( [success]
`bid` INT unsigned NOT NULL auto_increment,
`token` VARCHAR(64) NOT NULL,
`timestamp` INT NOT NULL,
`batch` LONGTEXT DEFAULT NULL,
PRIMARY KEY (bid),
INDEX token (token)
) /*!40100 DEFAULT CHARACTER SET UTF8 */
ALTER TABLE {cache} ADD `serialized` SMALLINT NOT NULL DEFAULT 0 [success]
ALTER TABLE {cache_filter} ADD `serialized` SMALLINT NOT NULL DEFAULT[success]
0
ALTER TABLE {cache_page} ADD `serialized` SMALLINT NOT NULL DEFAULT 0[success]
ALTER TABLE {cache_menu} ADD `serialized` SMALLINT NOT NULL DEFAULT 0[success]
ALTER TABLE {system} ADD `info` TEXT DEFAULT NULL [success]
ALTER TABLE {system} ADD `owner` VARCHAR(255) NOT NULL DEFAULT [success]
''
ALTER TABLE {locales_target} ADD `language` VARCHAR(12) NOT NULL [success]
DEFAULT ''
ALTER TABLE {locales_source} ADD `textgroup` VARCHAR(255) NOT NULL [success]
DEFAULT 'default'
ALTER TABLE {locales_source} ADD `version` VARCHAR(20) NOT NULL [success]
DEFAULT 'none'
CREATE TABLE {cache_block} ( [success]
`cid` VARCHAR(255) NOT NULL DEFAULT '',
`data` LONGBLOB DEFAULT NULL,
`expire` INT NOT NULL DEFAULT 0,
`created` INT NOT NULL DEFAULT 0,
`headers` TEXT DEFAULT NULL,
`serialized` SMALLINT NOT NULL DEFAULT 0,
PRIMARY KEY (cid),
INDEX expire (expire)
) /*!40100 DEFAULT CHARACTER SET UTF8 */
<em>module</em> <em>watchdog</em> is incompatible with this release [warning]
of Drupal, and will be disabled.
UPDATE {system} SET status = 0 WHERE name IN ('watchdog') [success]
Updating module system from schema version 5999 to schema version [notice]
6050
Updating module comment from schema version 6000 to schema version [notice]
6003
Updating module locale from schema version 5999 to schema version [notice]
6005
ALTER TABLE {boxes} CHANGE COLUMN bid bid int NOT NULL [success]
REPLACE INTO {sequences} VALUES ('{boxes}_bid', 0) [success]
ALTER TABLE {term_node} ADD `vid` INT unsigned NOT NULL DEFAULT 0 [success]
ALTER TABLE {term_node} DROP PRIMARY KEY [success]
ALTER TABLE {term_node} ADD PRIMARY KEY (vid, tid, nid) [success]
ALTER TABLE {term_node} ADD INDEX vid (vid) [success]
ALTER TABLE {variable} DROP PRIMARY KEY [success]
ALTER TABLE {variable} CHANGE name `name` VARCHAR(128) NOT NULL [success]
DEFAULT ''
ALTER TABLE {variable} ADD PRIMARY KEY (name) [success]
ALTER TABLE {comments} ADD INDEX status (status) [success]
ALTER TABLE {url_alias} ADD language varchar(12) NOT NULL default [success]
''
ALTER TABLE {url_alias} DROP INDEX dst [success]
ALTER TABLE {url_alias} ADD UNIQUE dst_language (dst, language) [success]
ALTER TABLE {node_counter} DROP INDEX daycount [success]
ALTER TABLE {node_counter} DROP INDEX totalcount [success]
ALTER TABLE {node_counter} DROP INDEX timestamp [success]
UPDATE {watchdog} SET severity = 5 WHERE severity = 0 [success]
UPDATE {watchdog} SET severity = 4 WHERE severity = 1 [success]
UPDATE {watchdog} SET severity = 3 WHERE severity = 2 [success]
UPDATE {system} SET owner = description [success]
ALTER TABLE {system} DROP description [success]
UPDATE {system} SET status = 1 WHERE name = 'php' AND type [success]
= 'module'
UPDATE {filters} SET delta = 0, module = 'php' WHERE module[success]
= 'filter' AND delta = 1
UPDATE {filters} SET delta = 1 WHERE module = 'filter' AND [success]
delta = 2
UPDATE {filters} SET delta = 2 WHERE module = 'filter' AND [success]
delta = 3
ALTER TABLE {watchdog} ADD `variables` LONGTEXT DEFAULT NULL [success]
UPDATE {watchdog} SET variables = '%s' (N;) [success]
ALTER TABLE {watchdog} CHANGE variables `variables` LONGTEXT NOT NULL[success]
ALTER TABLE {node} ADD language varchar(12) NOT NULL default [success]
''
Cache rebuilt. [success]
variable_set('install_task') [success]
CREATE TABLE {cache_form} ( [success]
cid varchar(255) NOT NULL default '',
data longblob,
expire int NOT NULL default '0',
created int NOT NULL default '0',
headers text,
serialized int(1) NOT NULL default '0',
PRIMARY KEY (cid),
INDEX expire (expire)
) /*!40100 DEFAULT CHARACTER SET UTF8 */
ALTER TABLE {node} ADD UNIQUE KEY nid_vid (nid, vid) [success]
ALTER TABLE {blocks} ADD bid int NOT NULL AUTO_INCREMENT PRIMARY KEY [success]
ALTER TABLE {filters} ADD fid int NOT NULL AUTO_INCREMENT PRIMARY KEY[success]
ALTER TABLE {flood} ADD fid int NOT NULL AUTO_INCREMENT PRIMARY KEY [success]
ALTER TABLE {permission} ADD pid int NOT NULL AUTO_INCREMENT PRIMARY [success]
KEY
ALTER TABLE {term_relation} ADD trid int NOT NULL AUTO_INCREMENT [success]
PRIMARY KEY
ALTER TABLE {term_synonym} ADD tsid int NOT NULL AUTO_INCREMENT [success]
PRIMARY KEY
HTML corrector filter added to the 'Filtered HTML' input format. [success]
HTML corrector filter added to the 'Full HTML' input format. [success]
ALTER TABLE {boxes} CHANGE format `format` SMALLINT NOT NULL DEFAULT [success]
0
ALTER TABLE {comments} CHANGE format `format` SMALLINT NOT NULL [success]
DEFAULT 0
ALTER TABLE {comments} DROP INDEX lid [success]
ALTER TABLE {comments} ADD INDEX nid (nid) [success]
ALTER TABLE {cache} CHANGE serialized `serialized` SMALLINT NOT NULL [success]
DEFAULT 0
ALTER TABLE {cache_filter} CHANGE serialized `serialized` SMALLINT [success]
NOT NULL DEFAULT 0
ALTER TABLE {cache_page} CHANGE serialized `serialized` SMALLINT NOT [success]
NULL DEFAULT 0
ALTER TABLE {cache_form} CHANGE serialized `serialized` SMALLINT NOT [success]
NULL DEFAULT 0
UPDATE {users} SET uid = 1 WHERE uid = 0 [success]
ALTER TABLE {users} DROP PRIMARY KEY [success]
ALTER TABLE {users} CHANGE uid `uid` INT unsigned NOT NULL [success]
auto_increment, ADD PRIMARY KEY (uid)
UPDATE {users} SET uid = 0 WHERE uid = 1 [success]
ALTER TABLE {boxes} DROP PRIMARY KEY [success]
ALTER TABLE {boxes} CHANGE bid `bid` INT unsigned NOT NULL [success]
auto_increment, ADD PRIMARY KEY (bid)
ALTER TABLE {files} DROP PRIMARY KEY [success]
ALTER TABLE {files} CHANGE fid `fid` INT unsigned NOT NULL [success]
auto_increment, ADD PRIMARY KEY (fid)
ALTER TABLE {node} DROP PRIMARY KEY [success]
ALTER TABLE {node} CHANGE nid `nid` INT unsigned NOT NULL [success]
auto_increment, ADD PRIMARY KEY (nid)
ALTER TABLE {node_revisions} DROP PRIMARY KEY [success]
ALTER TABLE {node_revisions} CHANGE vid `vid` INT unsigned NOT NULL [success]
auto_increment, ADD PRIMARY KEY (vid)
CREATE TABLE {menu_router} ( [success]
`path` VARCHAR(255) NOT NULL DEFAULT '',
`load_functions` VARCHAR(255) NOT NULL DEFAULT '',
`to_arg_functions` VARCHAR(255) NOT NULL DEFAULT '',
`access_callback` VARCHAR(255) NOT NULL DEFAULT '',
`access_arguments` TEXT DEFAULT NULL,
`page_callback` VARCHAR(255) NOT NULL DEFAULT '',
`page_arguments` TEXT DEFAULT NULL,
`fit` INT NOT NULL DEFAULT 0,
`number_parts` SMALLINT NOT NULL DEFAULT 0,
`tab_parent` VARCHAR(255) NOT NULL DEFAULT '',
`tab_root` VARCHAR(255) NOT NULL DEFAULT '',
`title` VARCHAR(255) NOT NULL DEFAULT '',
`title_callback` VARCHAR(255) NOT NULL DEFAULT '',
`title_arguments` VARCHAR(255) NOT NULL DEFAULT '',
`type` INT NOT NULL DEFAULT 0,
`block_callback` VARCHAR(255) NOT NULL DEFAULT '',
`description` TEXT NOT NULL,
`position` VARCHAR(255) NOT NULL DEFAULT '',
`weight` INT NOT NULL DEFAULT 0,
`file` MEDIUMTEXT DEFAULT NULL,
PRIMARY KEY (path),
INDEX fit (fit),
INDEX tab_parent (tab_parent)
) /*!40100 DEFAULT CHARACTER SET UTF8 */
CREATE TABLE {menu_links} ( [success]
`menu_name` VARCHAR(32) NOT NULL DEFAULT '',
`mlid` INT unsigned NOT NULL auto_increment,
`plid` INT unsigned NOT NULL DEFAULT 0,
`link_path` VARCHAR(255) NOT NULL DEFAULT '',
`router_path` VARCHAR(255) NOT NULL DEFAULT '',
`link_title` VARCHAR(255) NOT NULL DEFAULT '',
`options` TEXT DEFAULT NULL,
`module` VARCHAR(255) NOT NULL DEFAULT 'system',
`hidden` SMALLINT NOT NULL DEFAULT 0,
`external` SMALLINT NOT NULL DEFAULT 0,
`has_children` SMALLINT NOT NULL DEFAULT 0,
`expanded` SMALLINT NOT NULL DEFAULT 0,
`weight` INT NOT NULL DEFAULT 0,
`depth` SMALLINT NOT NULL DEFAULT 0,
`customized` SMALLINT NOT NULL DEFAULT 0,
`p1` INT unsigned NOT NULL DEFAULT 0,
`p2` INT unsigned NOT NULL DEFAULT 0,
`p3` INT unsigned NOT NULL DEFAULT 0,
`p4` INT unsigned NOT NULL DEFAULT 0,
`p5` INT unsigned NOT NULL DEFAULT 0,
`p6` INT unsigned NOT NULL DEFAULT 0,
`p7` INT unsigned NOT NULL DEFAULT 0,
`p8` INT unsigned NOT NULL DEFAULT 0,
`p9` INT unsigned NOT NULL DEFAULT 0,
`updated` SMALLINT NOT NULL DEFAULT 0,
PRIMARY KEY (mlid),
INDEX path_menu (link_path(128), menu_name),
INDEX menu_plid_expand_child (menu_name, plid, expanded,
has_children),
INDEX menu_parents (menu_name, p1, p2, p3, p4, p5, p6, p7, p8, p9),
INDEX router_path (router_path(128))
) /*!40100 DEFAULT CHARACTER SET UTF8 */
ALTER TABLE {menu} ADD `converted` TINYINT unsigned NOT NULL DEFAULT [success]
0
CREATE TABLE {menu_custom} ( [success]
`menu_name` VARCHAR(32) NOT NULL DEFAULT '',
`title` VARCHAR(255) NOT NULL DEFAULT '',
`description` TEXT DEFAULT NULL,
PRIMARY KEY (menu_name)
) /*!40100 DEFAULT CHARACTER SET UTF8 */
UPDATE {menu_custom} SET menu_name = 'primary-links', [success]
description = 'Primary links are often used at the theme layer
to show the major sections of a site. A typical representation for
primary links would be tabs along the top.' WHERE menu_name =
'menu-primary-links'
UPDATE {menu_links} SET menu_name = 'primary-links' WHERE [success]
menu_name = 'menu-primary-links'
UPDATE {blocks} SET delta = 'primary-links' WHERE module = [success]
'menu' AND delta = '2'
UPDATE {blocks_roles} SET delta = 'primary-links' WHERE [success]
module = 'menu' AND delta = '2'
Relocated 44 existing items to the new menu system. [success]
DROP TABLE {menu} [success]
ALTER TABLE {files} DROP INDEX nid [success]
ALTER TABLE {files} CHANGE nid `uid` INT unsigned NOT NULL DEFAULT 0 [success]
ALTER TABLE {files} ADD `status` INT NOT NULL DEFAULT 0 [success]
ALTER TABLE {files} ADD `timestamp` INT unsigned NOT NULL DEFAULT 0 [success]
ALTER TABLE {files} ADD INDEX uid (uid) [success]
ALTER TABLE {files} ADD INDEX status (status) [success]
ALTER TABLE {files} ADD INDEX timestamp (timestamp) [success]
ALTER TABLE {file_revisions} DROP PRIMARY KEY [success]
ALTER TABLE {file_revisions} DROP INDEX vid [success]
ALTER TABLE {file_revisions} RENAME TO {upload} [success]
ALTER TABLE {upload} ADD `nid` INT unsigned NOT NULL DEFAULT 0 [success]
ALTER TABLE {upload} ADD INDEX nid (nid) [success]
ALTER TABLE {upload} ADD PRIMARY KEY (vid, fid) [success]
ALTER TABLE {upload} ADD INDEX fid (fid) [success]
UPDATE {files} SET status = 1 [success]
ALTER TABLE {node_revisions} DROP INDEX nid [success]
ALTER TABLE {node_revisions} CHANGE nid `nid` INT unsigned NOT NULL [success]
DEFAULT 0
ALTER TABLE {node_revisions} ADD INDEX nid (nid) [success]
ALTER TABLE {node} ADD `tnid` INT unsigned NOT NULL DEFAULT 0 [success]
ALTER TABLE {node} ADD `translate` INT NOT NULL DEFAULT 0 [success]
ALTER TABLE {node} ADD INDEX tnid (tnid) [success]
ALTER TABLE {node} ADD INDEX translate (translate) [success]
ALTER TABLE {node} DROP INDEX node_title_type [success]
ALTER TABLE {node} CHANGE title `title` VARCHAR(255) NOT NULL DEFAULT[success]
''
ALTER TABLE {node} ADD INDEX node_title_type (title, type(4)) [success]
ALTER TABLE {node_revisions} CHANGE title `title` VARCHAR(255) NOT [success]
NULL DEFAULT ''
ALTER TABLE {blocks} ADD `cache` TINYINT NOT NULL DEFAULT 1 [success]
'dblog' module enabled. [success]
CREATE TABLE {actions} ( [success]
`aid` VARCHAR(255) NOT NULL DEFAULT '0',
`type` VARCHAR(32) NOT NULL DEFAULT '',
`callback` VARCHAR(255) NOT NULL DEFAULT '',
`parameters` LONGTEXT NOT NULL,
`description` VARCHAR(255) NOT NULL DEFAULT '0',
PRIMARY KEY (aid)
) /*!40100 DEFAULT CHARACTER SET UTF8 */
CREATE TABLE {actions_aid} ( [success]
`aid` INT unsigned NOT NULL auto_increment,
PRIMARY KEY (aid)
) /*!40100 DEFAULT CHARACTER SET UTF8 */
ALTER TABLE {node_comment_statistics} CHANGE nid `nid` INT unsigned [success]
NOT NULL DEFAULT 0
ALTER TABLE {system} DROP INDEX weight [success]
ALTER TABLE {system} ADD INDEX modules (type(12), status, weight, [success]
filename)
ALTER TABLE {system} ADD INDEX bootstrap (type(12), status, [success]
bootstrap, weight, filename)
ALTER TABLE {blocks} CHANGE region `region` VARCHAR(64) NOT NULL [success]
DEFAULT ''
UPDATE {blocks} SET region = '' WHERE status = 0 [success]
ALTER TABLE {upload} ADD `weight` TINYINT NOT NULL DEFAULT 0 [success]
ALTER TABLE {flood} ADD INDEX allow (event, hostname, timestamp) [success]
ALTER TABLE {history} ADD INDEX nid (nid) [success]
ALTER TABLE {blocks} CHANGE theme `theme` VARCHAR(64) NOT NULL [success]
DEFAULT '', ADD UNIQUE KEY tmd (theme, module, delta), ADD
INDEX list (theme, status, region, weight, module)
ALTER TABLE {blocks_roles} ADD INDEX rid (rid) [success]
ALTER TABLE {filters} DROP INDEX weight [success]
ALTER TABLE {filters} ADD UNIQUE KEY fmd (format, module, delta) [success]
ALTER TABLE {filters} ADD INDEX list (format, weight, module, delta) [success]
ALTER TABLE {node} DROP INDEX status [success]
ALTER TABLE {node} DROP KEY nid_vid [success]
ALTER TABLE {users} ADD INDEX mail (mail) [success]
ALTER TABLE {users_roles} ADD INDEX rid (rid) [success]
ALTER TABLE {locales_target} ADD PRIMARY KEY (language, lid, plural) [success]
ALTER TABLE {term_data} DROP INDEX vid [success]
ALTER TABLE {term_data} ADD INDEX vid_name (vid, name) [success]
ALTER TABLE {term_data} ADD INDEX taxonomy_tree (vid, weight, name) [success]
ALTER TABLE {term_node} DROP PRIMARY KEY [success]
ALTER TABLE {term_node} DROP INDEX tid [success]
ALTER TABLE {term_node} ADD PRIMARY KEY (tid, vid) [success]
ALTER TABLE {term_relation} DROP INDEX tid1 [success]
ALTER TABLE {term_relation} ADD UNIQUE KEY tid1_tid2 (tid1, tid2) [success]
ALTER TABLE {term_synonym} DROP INDEX name [success]
ALTER TABLE {term_synonym} ADD INDEX name_tid (name, tid) [success]
ALTER TABLE {vocabulary} ADD INDEX list (weight, name) [success]
ALTER TABLE {vocabulary_node_types} DROP PRIMARY KEY [success]
ALTER TABLE {vocabulary_node_types} ADD PRIMARY KEY (type, vid) [success]
ALTER TABLE {vocabulary_node_types} ADD INDEX vid (vid) [success]
DELETE FROM {term_node} WHERE vid = 0 [success]
UPDATE {blocks} SET cache = -1 WHERE module = 'user' AND [success]
delta IN ('0', '1')
UPDATE {blocks} SET cache = -1 WHERE module = 'system' AND [success]
delta = '0'
ALTER TABLE {menu_router} CHANGE load_functions `load_functions` TEXT[success]
NOT NULL
ALTER TABLE {menu_router} CHANGE to_arg_functions `to_arg_functions` [success]
TEXT NOT NULL
ALTER TABLE {url_alias} DROP INDEX src [success]
ALTER TABLE {url_alias} ADD INDEX src_language (src, language) [success]
ALTER TABLE {comments} DROP score [success]
ALTER TABLE {comments} DROP users [success]
Global comment settings copied to all node types. [success]
ALTER TABLE {comments} ADD INDEX pid (pid) [success]
CREATE TABLE {languages} ( [success]
`language` VARCHAR(12) NOT NULL DEFAULT '',
`name` VARCHAR(64) NOT NULL DEFAULT '',
`native` VARCHAR(64) NOT NULL DEFAULT '',
`direction` INT NOT NULL DEFAULT 0,
`enabled` INT NOT NULL DEFAULT 0,
`plurals` INT NOT NULL DEFAULT 0,
`formula` VARCHAR(128) NOT NULL DEFAULT '',
`domain` VARCHAR(128) NOT NULL DEFAULT '',
`prefix` VARCHAR(128) NOT NULL DEFAULT '',
`weight` INT NOT NULL DEFAULT 0,
`javascript` VARCHAR(32) NOT NULL DEFAULT '',
PRIMARY KEY (language),
INDEX list (weight, name)
) /*!40100 DEFAULT CHARACTER SET UTF8 */
INSERT INTO {languages} (language, name, native, direction, enabled, [success]
plurals, formula, domain, prefix, weight) SELECT locale, name, name,
0, enabled, plurals, formula, '', locale, 0 FROM
{locales_meta}
DROP TABLE {locales_meta} [success]
UPDATE {locales_target} SET language = locale [success]
ALTER TABLE {locales_target} DROP locale [success]
DELETE FROM {locales_target} WHERE translation = '' [success]
DELETE FROM {locales_source} WHERE lid NOT IN (SELECT lid FROM [success]
{locales_target})
ALTER TABLE {locales_target} ADD INDEX language (language) [success]
Finished performing updates. [ok]
An error occurred at function : drush_core_updatedb [error]
Command dispatch complete [notice]
The following updates are pending:
system module
6000 - Remove auto_increment from {boxes} to allow adding custom blocks with
visibility settings.
6001 - Add version id column to {term_node} to allow taxonomy module to use
revisions.
6002 - Increase the maximum length of variable names from 48 to 128.
6003 - Add index on comments status column.
6004 - This update used to add an index on users created column (#127941).
However, system_update_1022() does the same thing. This update tried to
detect if 1022 had already run but failed to do so, resulting in an "index
already exists" error. Adding the index here is never necessary. Sites
installed before 1022 will run 1022, getting the update. Sites installed
onafter 1022 got the index when the table was first created. Therefore, this
function is now a no-op.
6005 - Add language to url_alias table and modify indexes.
6006 - Drop useless indices on node_counter table.
6007 - Change the severity column in the watchdog table to the new values.
6008 - Add info files to themes. The info and owner columns are added by
update_fix_d6_requirements() in update.php to avoid a large number of error
messages from update.php. All we need to do here is copy description to
owner and then drop description.
6009 - The PHP filter is now a separate module.
6010 - Add variable replacement for watchdog messages. The variables field
is NOT NULL and does not have a default value. Existing log messages should
not be translated in the new system, so we insert 'N;' (serialize(NULL)) as
the temporary default but then remove the default value to match the schema.
6011 - Add language support to nodes
6012 - Add serialized field to cache tables. This is now handled directly by
update.php, so this function is a no-op.
6013 - Rebuild cache data for theme system changes
6014 - Record that the installer is done, so it is not possible to run the
installer on upgraded sites.
6015 - Add the form cache table.
6016 - Make {node}'s primary key be nid, change nid,vid to a unique key. Add
primary keys to block, filters, flood, permission, and term_relation.
6017 - Rename settings related to user.module email notifications.
6018 - Add HTML corrector to HTML formats or replace the old module if it was
in use.
6019 - Reconcile small differences in the previous, manually created mysql
and pgsql schemas so they are the same and can be represented by a single
schema structure. Note that the mysql and pgsql cases make different
changes. This is because each schema needs to be tweaked in different ways
to conform to the new schema structure. Also, since they operate on tables
defined by many optional core modules which may not ever have been installed,
they must test each table for existence. If the modules are first installed
after this update exists the tables will be created from the schema structure
and will start out correct.
6020 - Create the tables for the new menu system.
6021 - Migrate the menu items from the old menu system to the new menu_links
table.
6022 - Update files tables to associate files to a uid by default instead of a
nid. Rename file_revisions to upload since it should only be used by the
upload module used by upload to link files to nodes.
6023 - description not available
6024 - Add translation fields to nodes used by translation module.
6025 - Increase the maximum length of node titles from 128 to 255.
6026 - Display warning about new Update status module.
6027 - Add block cache.
6028 - Add the node load cache table.
6029 - Enable the dblog module on sites that upgrade, since otherwise
watchdog logging will stop unexpectedly.
6030 - Add the tables required by actions.inc.
6031 - Ensure that installer cannot be run again after updating from Drupal
5.x to 6.x Actually, this is already done by system_update_6014(), so this is
now a no-op.
6032 - profile_fields.name used to be nullable but is part of a unique key
and so shouldn't be.
6033 - Change node_comment_statistics to be not autoincrement.
6034 - Rename permission "administer access control" to "administer
permissions".
6035 - Change index on system table for better performance.
6036 - Change the search schema and indexing. The table data is preserved
where possible in MYSQL and MYSQLi using ALTER IGNORE. Other databases don't
support that, so for them the tables are dropped and re-created, and will
need to be re-indexed from scratch.
6037 - Create consistent empty region for disabled blocks.
6038 - Ensure that "Account" is not used as a Profile category.
6039 - Rename permissions "edit foo content" to "edit any foo content". Also
update poll module permission "create polls" to "create poll content".
6040 - Add a weight column to the upload table.
6041 - Change forum vocabulary not to be required by default and set the
weight of the forum.module 1 higher than the taxonomy.module.
6042 - Upgrade recolored theme stylesheets to new array structure.
6043 - Update table indices to make them more rational and useful.
6044 - RC1 to RC2 index cleanup.
6045 - Update blog, book and locale module permissions. Blog module got
"edit own blog" replaced with the more granular "create blog entries", "edit
own blog entries" and "delete own blog entries" permissions. We grant create
and edit to previously privileged users, but delete is not granted to be in
line with other permission changes in Drupal 6. Book module's "edit book
pages" was upgraded to the bogus "edit book content" in Drupal 6 RC1 instead
of "edit any book content", which would be correct. Locale module introduced
"administer languages" and "translate interface" in place of "administer
locales". Modeled after system_update_6039().
6046 - Ensure that the file_directory_path variable is set (using the old 5.x
default, if necessary), so that the changed 6.x default won't break existing
sites.
6047 - Fix cache mode for blocks inserted in system_install() in fresh
installs of previous RC.
6048 - Increase the size of the 'load_functions' and 'to_arg_functions' fields
in table 'menu_router'.
6049 - Replace src index on the {url_alias} table with src, language.
6050 - Clear any menu router blobs stored in the cache table.
comment module
6001 - description not available
6002 - Changed comment settings from global to per-node -- copy global
settings to all node types.
6003 - Add index to parent ID field.
locale module
6000 - {locales_meta} table became {languages}.
6001 - Change locale column to language. The language column is added by
update_fix_d6_requirements() in update.php to avoid a large number of error
messages from update.php. All we need to do here is copy locale to language
and then drop locale.
6002 - Remove empty translations, we don't need these anymore.
6003 - Prune strings with no translations (will be automatically re-registered
if still in use)
6004 - Fix remaining inconsistent indexes.
6005 - Change language setting variable of content types. Use
language_content_type_<content_type> instead of language_<content_type> so
content types such as 'default', 'count' or 'negotiation' will not interfere
with language variables.
Do you wish to run all pending updates? (y/n): y
Undefined index: driver [notice]
Undefined index: driver [notice]
Including non-version specific file : [notice]
/var/hostmaster/.drush/provision/platform/drupal/clear.inc
Fatal error: Call to undefined function cache_clear_all() in /var/hostmaster/.drush/provision/platform/drupal/clear.inc on line 7
Drush command could not be completed. [error]
Comment | File | Size | Author |
---|---|---|---|
#8 | 486718_boot.patch | 2.82 KB | anarcat |
#5 | log.txt | 38.37 KB | anarcat |
#5 | 486718_boot.patch | 1.29 KB | anarcat |
#4 | 486718_boot.patch | 940 bytes | anarcat |
#2 | log.txt | 38.46 KB | anarcat |
Comments
Comment #1
anarcat CreditAttribution: anarcat commented[drupal.org refused my original submission, yay]
So I was trying to test #475832: provision deploy doesn't change the site_url to see if it was still relevant, but I couldn't even get that far. I get the following error after the updatedb output:
The steps to reproduce:
Comment #2
anarcat CreditAttribution: anarcat commentedThe verbose logfile.
Comment #3
anarcat CreditAttribution: anarcat commentedComment #4
anarcat CreditAttribution: anarcat commentedSo this patch doesn't actually works, but at least it shows that the bootstrap fails. The error return is not right because it's already actually present before the bootstrap gets ran.
It's really weird because Drupal should already be bootstrapped at this point. If I explicitely include
includes/cache.inc
, then it fails at the db_query.I feel that the problem is that the drupal_bootstrap() stuff uses an internal static function to figure out where it's at in the bootstrap and will not reload...
Comment #5
anarcat CreditAttribution: anarcat commentedSo a new approach: don't clear the cache if we can't bootstrap. Still fails, log attached.
Comment #6
anarcat CreditAttribution: anarcat commentedOkay, here's the deal: the installed sites on Drupal 5 do not have a uid #1 anymore, for some obscure reason. That's the reason why deploy fails:
That's a part of the SQL dump made on a freshly created site on a D5 platform. I tried creating the site from a D6 *and* D5 frontend, same results. Something seriously broke here since the RC.
Comment #7
anarcat CreditAttribution: anarcat commentedSo obviously, that last comment was wrong: the user id #1 is there in the dump i put above. But it's not on sites created from the D6 frontend.
So this is a bug specific to the D6 frontend. I have no idea why. phew.
Comment #8
anarcat CreditAttribution: anarcat commentedKnee-deep. This will make sure we create the admin user even if the client_email isn't passed, which seems to be the bug on D6.
Comment #9
anarcat CreditAttribution: anarcat commentedSo with the above patch, the user #1 is properly created from the D6 frontend, even though the welcome email isn't sent (which is another issue that's less critical).
Comment #10
anarcat CreditAttribution: anarcat commentedMoving out of the main 0.2 critical queue, we'll retarget once we get 0.2 out. I'm tagging those particular issues with the +aegir-6.x-0.2 tag.
Comment #11
anarcat CreditAttribution: anarcat commentedAlright, patch committed.
Comment #12
anarcat CreditAttribution: anarcat commented