Page MenuHomePhabricator

Database can not be initialized - bin-storage upgrade
OpenPublic

Asked by AlexL777 on Feb 23 2017, 12:12 PM.

Details

Hello Community and Developers,

I have a big problem with my Phabricator Tool. If I run "./bin/storage upgrade", it means that a database table does not exist.

I had to restore all databases in Plesk before.

These errors are displayed to me.

Loading quickstart template onto "localhost"...
[2017-02-23 13:11:54] EXCEPTION: (AphrontSchemaQueryException) #1146: Table 'git_audit.audit_transaction' doesn't exist at [<phutil>/src/aphront/storage/connection/mysql/AphrontBaseMySQLDatabaseConnection.php:325]
arcanist(head=master, ref.master=3b6b523c2b23), phabricator(head=master, ref.master=9f3cde4db765), phutil(head=master, ref.master=ef580c9ccc21)
  #0 AphrontBaseMySQLDatabaseConnection::throwCommonException(integer, string) called at [<phutil>/src/aphront/storage/connection/mysql/AphrontBaseMySQLDatabaseConnection.php:348]
  #1 AphrontBaseMySQLDatabaseConnection::throwQueryCodeException(integer, string) called at [<phutil>/src/aphront/storage/connection/mysql/AphrontBaseMySQLDatabaseConnection.php:289]
  #2 AphrontBaseMySQLDatabaseConnection::throwQueryException(mysqli) called at [<phutil>/src/aphront/storage/connection/mysql/AphrontBaseMySQLDatabaseConnection.php:185]
  #3 AphrontBaseMySQLDatabaseConnection::executeRawQuery(string) called at [<phutil>/src/xsprintf/queryfx.php:8]

How can I create this database table or install a patch so I can upgrade?

Thanks in advance.

New Answer