Closed (duplicate)
Project:
Drupal core
Version:
8.0.x-dev
Component:
other
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
21 Apr 2013 at 22:39 UTC
Updated:
29 Jul 2014 at 22:12 UTC
New try. This time with fresh installed D7.22 and after that created an article and one basic ... thing.
OS: Android 4.2
Webserver: lighttpd/1.4.31 for KSWEB
PHP: 5.4.13
MySQL: 5.1.62
Drupal 7.22
Did all steps like in UPGRADE.TXT described.
One thing, that happened with my mirrored server too when loading update.php firts times: I get Internal Server Error. Even if I restart the server or not, I have to wait some time (one minute or so) and then update.php loads.
Result: Update went till the end but with one Error left:
The following updates returned messages
file module
Update #8001
Failed: Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes: ALTER TABLE {file_usage} CHANGE `id` `id` VARCHAR(64) NOT NULL DEFAULT '' COMMENT 'The primary key of the object using the file.'; Array ( ) in Drupal\Core\Database\Connection->query() (line 554 of /mnt/sdcard/ksweb/htdocs/drupal/core/lib/Drupal/Core/Database/Connection.php).After that I can only load the frontpage. With everything else I get 404.
Comments
Comment #1
KarstenS commentedAdded Tags.
Comment #2
chx commented#1852896: Throw an exception if a schema defines a key that would be over 1000 bytes in MySQL
Comment #3
yesct commented@KarstenS I just wanted to thank you again. You did a great job testing and opening the issue. Thanks!
Keep testing every few weeks, especially once you see #1852896: Throw an exception if a schema defines a key that would be over 1000 bytes in MySQL fixed.
Actually... following that issue, waiting for a patch that addresses upgrades, and testing the patch there to see if it helps your upgrade bug would be cool.
Comment #4
xjmThis isn't a duplicate; we need to fix this update on its own.
Comment #5
xjmActually, it's a dupe of #1969680: Installation fails with MyISAM - key too long. :) Thanks folks; sorry for the noise.