User:Aude/Phabricator

Installation
phabricator requires installing several components, in a sibling directory of the phabricator directory:


 * https://github.com/phacility/arcanist
 * https://github.com/phacility/libphutil

With no use of composer or anything sane to manage which versions of those go with which version of phabricator.

There is pretty much no documentation for how to setup, aside from using the http://www.phabricator.com/rsrc/install/install_ubuntu.sh script which supposedly does everything. This is not suitable if you want to develop something in phabricator.

Database setup
Then I am supposed to run

When running that, then it created dozens of databases (applying dozens of patches) instead of creating tables within a single database. Then, database setup failed:

Applying patch 'phabricator:20140430.dash.2.edge.sql'... Applying patch 'phabricator:20140501.passphraselockcredential.sql'... [2014-09-27 17:55:57] EXCEPTION: (AphrontSchemaQueryException) #1146: Table 'phabricator_passphrase.passphrase_credential' doesn't exist at [ /src/aphront/storage/connection/mysql/AphrontBaseMySQLDatabaseConnection.php:305] #0 AphrontBaseMySQLDatabaseConnection::throwQueryCodeException(integer, string) called at [ /src/aphront/storage/connection/mysql/AphrontBaseMySQLDatabaseConnection.php:275] #1 AphrontBaseMySQLDatabaseConnection::throwQueryException(mysqli) called at [ /src/aphront/storage/connection/mysql/AphrontBaseMySQLDatabaseConnection.php:181] #2 AphrontBaseMySQLDatabaseConnection::executeRawQuery(string) called at [ /src/xsprintf/queryfx.php:6] #3 queryfx(AphrontMySQLiDatabaseConnection, string, string) called at [ /src/infrastructure/storage/management/PhabricatorStorageManagementAPI.php:190] #4 PhabricatorStorageManagementAPI::applyPatchSQL(string) called at [ /src/infrastructure/storage/management/PhabricatorStorageManagementAPI.php:168] #5 PhabricatorStorageManagementAPI::applyPatch(PhabricatorStoragePatch) called at [ /src/infrastructure/storage/management/workflow/PhabricatorStorageManagementUpgradeWorkflow.php:168] #6 PhabricatorStorageManagementUpgradeWorkflow::execute(PhutilArgumentParser) called at [ /src/parser/argument/PhutilArgumentParser.php:394] #7 PhutilArgumentParser::parseWorkflowsFull(array) called at [ /src/parser/argument/PhutilArgumentParser.php:290] #8 PhutilArgumentParser::parseWorkflows(array) called at [ /scripts/sql/manage_storage.php:162]