This is coming from an old install of Phabricator during upgrade. I have to either complete the upgrade or revert to previous state.
Applying patch 'phabricator:20150116.maniphestapplicationemails.php'... Migrating `metamta.maniphest.public-create-email` to new application email infrastructure... [2015-07-03 12:25:33] EXCEPTION: (AphrontSchemaQueryException) #1146: Table 'phabricator_spaces.spaces_namespace' doesn't exist at [<phutil>/src/aphront/storage/connection/mysql/AphrontBaseMySQLDatabaseConnection.php:308] arcanist(head=master, ref.master=d54cb072facd), phabricator(head=master, ref.master=1f4cd900f3de), phutil(head=master, ref.master=83f09f6c5a03) #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, string, string, string, string, string, string, string, string) #4 call_user_func_array(string, array) called at [<phutil>/src/xsprintf/queryfx.php:11] #5 queryfx_all(AphrontMySQLiDatabaseConnection, string, string, string, string, string, string, string, string, string, string) called at [<phabricator>/src/infrastructure/query/policy/PhabricatorCursorPagedPolicyAwareQuery.php:99] #6 PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRows(PhabricatorSpacesNamespace) called at [<phabricator>/src/infrastructure/query/policy/PhabricatorCursorPagedPolicyAwareQuery.php:81] #7 PhabricatorCursorPagedPolicyAwareQuery::loadStandardPage(PhabricatorSpacesNamespace) called at [<phabricator>/src/applications/spaces/query/PhabricatorSpacesNamespaceQuery.php:40] #8 PhabricatorSpacesNamespaceQuery::loadPage() called at [<phabricator>/src/infrastructure/query/policy/PhabricatorPolicyAwareQuery.php:227] #9 PhabricatorPolicyAwareQuery::execute() called at [<phabricator>/src/applications/spaces/query/PhabricatorSpacesNamespaceQuery.php:114] #10 PhabricatorSpacesNamespaceQuery::getAllSpaces() called at [<phabricator>/src/applications/spaces/query/PhabricatorSpacesNamespaceQuery.php:150] #11 PhabricatorSpacesNamespaceQuery::getViewerSpaces(PhabricatorUser) called at [<phabricator>/src/applications/spaces/query/PhabricatorSpacesNamespaceQuery.php:171] #12 PhabricatorSpacesNamespaceQuery::getViewerActiveSpaces(PhabricatorUser) called at [<phabricator>/src/applications/people/storage/PhabricatorUser.php:797] #13 PhabricatorUser::getDefaultSpacePHID() called at [<phabricator>/src/applications/metamta/storage/PhabricatorMetaMTAApplicationEmail.php:48] #14 PhabricatorMetaMTAApplicationEmail::initializeNewAppEmail(PhabricatorUser) called at [<phabricator>/resources/sql/autopatches/20150116.maniphestapplicationemails.php:11] #15 require_once(string) called at [<phabricator>/src/infrastructure/storage/management/PhabricatorStorageManagementAPI.php:226] #16 PhabricatorStorageManagementAPI::applyPatchPHP(string) called at [<phabricator>/src/infrastructure/storage/management/PhabricatorStorageManagementAPI.php:191] #17 PhabricatorStorageManagementAPI::applyPatch(PhabricatorStoragePatch) called at [<phabricator>/src/infrastructure/storage/management/workflow/PhabricatorStorageManagementUpgradeWorkflow.php:190] #18 PhabricatorStorageManagementUpgradeWorkflow::execute(PhutilArgumentParser) called at [<phutil>/src/parser/argument/PhutilArgumentParser.php:406] #19 PhutilArgumentParser::parseWorkflowsFull(array) called at [<phutil>/src/parser/argument/PhutilArgumentParser.php:301] #20 PhutilArgumentParser::parseWorkflows(array) called at [<phabricator>/scripts/sql/manage_storage.php:176]
What are my options to get around this?