Page MenuHomePhabricator

Exception installing DB Schema
Closed, ResolvedPublic

Description

./storage upgrade --force

Loading quickstart template...
[2015-01-27 06:12:43] EXCEPTION: (AphrontQueryException) #1283: Column 'corpus' cannot be part of FULLTEXT index at [<phutil>/src/aphront/storage/connection/mysql/AphrontBaseMySQLDatabaseConnection.php:308]

#0 AphrontBaseMySQLDatabaseConnection::throwQueryCodeException(integer, string) called at [<phutil>/src/aphront/storage/connection/mysql/AphrontBaseMySQLDatabaseConnection.php:275]
#1 AphrontBaseMySQLDatabaseConnection::throwQueryException(mysqli) called at [<phutil>/src/aphront/storage/connection/mysql/AphrontBaseMySQLDatabaseConnection.php:181]
#2 AphrontBaseMySQLDatabaseConnection::executeRawQuery(string) called at [<phutil>/src/xsprintf/queryfx.php:6]
#3 queryfx(AphrontMySQLiDatabaseConnection, string, string) called at [<phabricator>/src/infrastructure/storage/management/PhabricatorStorageManagementAPI.php:219]
#4 PhabricatorStorageManagementAPI::applyPatchSQL(string) called at [<phabricator>/src/infrastructure/storage/management/workflow/PhabricatorStorageManagementUpgradeWorkflow.php:109]
#5 PhabricatorStorageManagementUpgradeWorkflow::execute(PhutilArgumentParser) called at [<phutil>/src/parser/argument/PhutilArgumentParser.php:396]
#6 PhutilArgumentParser::parseWorkflowsFull(array) called at [<phutil>/src/parser/argument/PhutilArgumentParser.php:292]
#7 PhutilArgumentParser::parseWorkflows(array) called at [<phabricator>/scripts/sql/manage_storage.php:171]

Code from:
From https://github.com/facebook/phabricator

b303d71..1028afd  master     -> origin/master

Updating b303d71..1028afd

Event Timeline

jeremycrussell raised the priority of this task from to Needs Triage.
jeremycrussell updated the task description. (Show Details)
jeremycrussell added a project: Restricted Project.
jeremycrussell added a subscriber: jeremycrussell.

This should be fixed in HEAD.

After updating, if your databases ended up in a partially constructed state, you can probably use:

phabricator/ $ ./bin/storage destroy

...to clean the mess up, then use:

phabricator/ $ ./bin/storage upgrade

...to continue.

Thanks for the report, and let us know if you run into anything else.