Page MenuHomePhabricator
Paste P8737

(An Untitled Masterwork)
ActivePublic

Authored by Isarra on Jul 11 2019, 7:21 PM.
rahah@shintaiden:~/mediawiki/core$ php maintenance/migrateActors.php
Creating actor entries for all registered users
... 1 - 5
PHP Warning: mysqli::query(): MySQL server has gone away in /media/zephyrnia/mediawiki/core/includes/libs/rdbms/database/DatabaseMysqli.php on line 46
Warning: mysqli::query(): MySQL server has gone away in /media/zephyrnia/mediawiki/core/includes/libs/rdbms/database/DatabaseMysqli.php on line 46
PHP Warning: mysqli::query(): Error reading result set's header in /media/zephyrnia/mediawiki/core/includes/libs/rdbms/database/DatabaseMysqli.php on line 46
Warning: mysqli::query(): Error reading result set's header in /media/zephyrnia/mediawiki/core/includes/libs/rdbms/database/DatabaseMysqli.php on line 46
Wikimedia\Rdbms\DBQueryDisconnectedError from line 1587 of /media/zephyrnia/mediawiki/core/includes/libs/rdbms/database/Database.php: A connection error occurred during a query.
Query: SELECT user_id AS `actor_user`,user_name AS `actor_name` FROM `user` WHERE (user_id >= 1) AND (user_id <= 5) ORDER BY user_id FOR UPDATE
Function: MigrateActors::doDBUpdates
Error: 2006 MySQL server has gone away (localhost)
#0 /media/zephyrnia/mediawiki/core/includes/libs/rdbms/database/Database.php(1557): Wikimedia\Rdbms\Database->getQueryExceptionAndLog('MySQL server ha...', 2006, 'SELECT user_id...', 'MigrateActors::...')
#1 /media/zephyrnia/mediawiki/core/includes/libs/rdbms/database/Database.php(1146): Wikimedia\Rdbms\Database->reportQueryError('MySQL server ha...', 2006, 'SELECT user_id...', 'MigrateActors::...', false)
#2 /media/zephyrnia/mediawiki/core/includes/libs/rdbms/database/Database.php(1785): Wikimedia\Rdbms\Database->query('SELECT user_id...', 'MigrateActors::...')
#3 /media/zephyrnia/mediawiki/core/includes/libs/rdbms/database/Database.php(3079): Wikimedia\Rdbms\Database->select('user', 'user_id AS `act...', Array, 'MigrateActors::...', Array, Array)
#4 /media/zephyrnia/mediawiki/core/includes/libs/rdbms/database/Database.php(3028): Wikimedia\Rdbms\Database->nonNativeInsertSelect('actor', 'user', Array, Array, 'MigrateActors::...', Array, Array, Array)
#5 /media/zephyrnia/mediawiki/core/maintenance/includes/MigrateActors.php(85): Wikimedia\Rdbms\Database->insertSelect('actor', 'user', Array, Array, 'MigrateActors::...', Array, Array)
#6 /media/zephyrnia/mediawiki/core/maintenance/Maintenance.php(1724): MigrateActors->doDBUpdates()
#7 /media/zephyrnia/mediawiki/core/maintenance/doMaintenance.php(99): LoggedUpdateMaintenance->execute()
#8 /media/zephyrnia/mediawiki/core/maintenance/migrateActors.php(27): require_once('/media/zephyrni...')
#9 {main}

Event Timeline

Isarra created this paste.Jul 11 2019, 7:21 PM

Apparently the problem was mariadb-10.4.6.

THAT WAS FUN.