Page MenuHomePhabricator
Paste P1223

Upgrade with trace
ActivePublic

Authored by mim on Aug 3 2014, 7:21 AM.
Tags
None
Referenced Files
F185605: Upgrade_with_trace
Aug 3 2014, 7:21 AM
Subscribers
None
# ./phabricator/bin/storage upgrade --force --trace --user root --password password
>>> [1] <connect>
<<< [1] <connect> 843 us
>>> [2] <query> SELECT 1
<<< [2] <query> 294 us
>>> [3] <connect> phabricator_meta_data
<<< [3] <connect> 523 us
>>> [4] <query> SELECT patch FROM patch_status
<<< [4] <query> 239 us
>>> [5] <query> SELECT patch FROM patch_status
<<< [5] <query> 264 us
Applying patch 'phabricator:20140722.appname.php'...
Migrating user preferences...
>>> [6] <connect> phabricator_user
<<< [6] <connect> 494 us
>>> [7] <query> SELECT * FROM `user` WHERE id > 0 ORDER BY id ASC LIMIT 100
<<< [7] <query> 268 us
>>> [8] <query> SELECT * FROM `user_preferences` WHERE userPHID = 'PHID-USER-w3k3d53akbugmhdh5qp2'
<<< [8] <query> 146 us
>>> [9] <query> UPDATE `user_preferences` SET preferences = '{\"titles\":\"glyph\",\"editor\":\"\",\"monospaced\":\"\",\"dark_console\":true,\"nav-collapsed\":false,\"diff-filetree\":1,\"time-format\":\"H:i\",\"app-tiles\":{\"PhabricatorApplicationDifferential\":\"hide\"},\"re-prefix\":true,\"self-mail\":\"1\",\"mailtags\":{\"differential-review-request\":true,\"differential-updated\":true,\"differential-comment\":true,\"differential-reviewers\":true,\"differential-committed\":true,\"differential-cc\":true,\"differential-o
<<< [9] <query> 34,334 us
>>> [10] <query> SELECT * FROM `user_preferences` WHERE userPHID = 'PHID-USER-oqh4ssxbo2xjw7vsqtfr'
<<< [10] <query> 241 us
>>> [11] <query> SELECT * FROM `user_preferences` WHERE userPHID = 'PHID-USER-ghvj4wfkhzkyitjs7pku'
<<< [11] <query> 184 us
>>> [12] <query> SELECT * FROM `user_preferences` WHERE userPHID = 'PHID-USER-a6nyjdduxb55xn6tvji2'
<<< [12] <query> 195 us
>>> [13] <query> SELECT * FROM `user` WHERE id > 4 ORDER BY id ASC LIMIT 100
<<< [13] <query> 245 us
Migrating dashboard installs...
>>> [14] <connect> phabricator_dashboard
<<< [14] <connect> 580 us
>>> [15] <query> SELECT * FROM `dashboard_install` WHERE id > 0 ORDER BY id ASC LIMIT 100
<<< [15] <query> 232 us
Migrating `phabricator.uninstalled-applications` config...
>>> [16] <connect> phabricator_config
<<< [16] <connect> 504 us
[2014-08-03 10:18:28] EXCEPTION: (AphrontQueryConnectionException) Attempt to connect to root@localhost failed with error #1045: Access denied for user 'root'@'localhost' (using password: NO). at [<phutil>/src/aphront/storage/connection/mysql/AphrontMySQLiDatabaseConnection.php:65]
#0 AphrontMySQLiDatabaseConnection::connect() called at [<phutil>/src/aphront/storage/connection/mysql/AphrontMySQLDatabaseConnectionBase.php:97]
#1 AphrontMySQLDatabaseConnectionBase::establishConnection() called at [<phutil>/src/aphront/storage/connection/mysql/AphrontMySQLDatabaseConnectionBase.php:120]
#2 AphrontMySQLDatabaseConnectionBase::requireConnection() called at [<phutil>/src/aphront/storage/connection/mysql/AphrontMySQLiDatabaseConnection.php:15]
#3 AphrontMySQLiDatabaseConnection::escapeBinaryString(string) called at [<phutil>/src/aphront/storage/connection/mysql/AphrontMySQLiDatabaseConnection.php:11]
#4 AphrontMySQLiDatabaseConnection::escapeUTF8String(string) called at [<phutil>/src/xsprintf/qsprintf.php:170]
#5 xsprintf_query(AphrontMySQLiDatabaseConnection, string, integer, string, integer) called at [<phutil>/src/xsprintf/xsprintf.php:63]
#6 xsprintf(string, AphrontMySQLiDatabaseConnection, array) called at [<phutil>/src/xsprintf/qsprintf.php:64]
#7 qsprintf(AphrontMySQLiDatabaseConnection, string, string, string, string, string)
#8 call_user_func_array(string, array) called at [<phutil>/src/xsprintf/queryfx.php:5]
#9 queryfx(AphrontMySQLiDatabaseConnection, string, string, string, string, string)
#10 call_user_func_array(string, array) called at [<phutil>/src/xsprintf/queryfx.php:16]
#11 queryfx_all(AphrontMySQLiDatabaseConnection, string, string, string, string, string)
#12 call_user_func_array(string, array) called at [<phutil>/src/aphront/storage/connection/AphrontDatabaseConnection.php:20]
#13 AphrontDatabaseConnection::queryData(string, string, string, string, string)
#14 call_user_func_array(array, array) called at [<phabricator>/src/infrastructure/storage/lisk/LiskDAO.php:496]
#15 LiskDAO::loadRawDataWhere(string, string, string)
#16 call_user_func_array(array, array) called at [<phabricator>/src/infrastructure/storage/lisk/LiskDAO.php:460]
#17 LiskDAO::loadOneWhere(string, string, string) called at [<phabricator>/src/applications/config/storage/PhabricatorConfigEntry.php:30]
#18 PhabricatorConfigEntry::loadConfigEntry(string) called at [<phabricator>/resources/sql/autopatches/20140722.appname.php:131]
#19 require_once(string) called at [<phabricator>/src/infrastructure/storage/management/PhabricatorStorageManagementAPI.php:196]
#20 PhabricatorStorageManagementAPI::applyPatchPHP(string) called at [<phabricator>/src/infrastructure/storage/management/PhabricatorStorageManagementAPI.php:171]
#21 PhabricatorStorageManagementAPI::applyPatch(PhabricatorStoragePatch) called at [<phabricator>/src/infrastructure/storage/management/workflow/PhabricatorStorageManagementUpgradeWorkflow.php:168]
#22 PhabricatorStorageManagementUpgradeWorkflow::execute(PhutilArgumentParser) called at [<phutil>/src/parser/argument/PhutilArgumentParser.php:394]
#23 PhutilArgumentParser::parseWorkflowsFull(array) called at [<phutil>/src/parser/argument/PhutilArgumentParser.php:290]
#24 PhutilArgumentParser::parseWorkflows(array) called at [<phabricator>/scripts/sql/manage_storage.php:115]

Event Timeline

mim changed the title of this paste from untitled to Upgrade with trace.
mim updated the paste's language from autodetect to autodetect.