Page MenuHomePhabricator

New install of mw-vagrant with striker role fails on phab_setup_db provisioning step
Open, Needs TriagePublic


Steps to reproduce:

  1. Checkout mediawiki-vagrant and vagrant up.
  2. git-update and vagrant provision until the bleeding stops
  3. vagrant roles enable striker
  4. vagrant provision
  5. vagrant git-update because provision failed
  6. vagrant provision becomes stuck at the phab_setup_db step

Actual results:

==> default: Notice: /Stage[main]/Phabricator/Exec[phab_setup_db]/returns: [2021-01-14 00:19:52] EXCEPTION: (PhutilProxyException) Failed while trying to read schema status: the database "phabricator_meta_data" exists, but the current user ("phabricator") does not have permission to access it. GRANT the current user more permissions, or use a different user. {>} (AphrontAccessDeniedQueryException) #1044: Access denied for user 'phabricator'@'localhost' to database 'phabricator_meta_data' at [<phabricator>/src/infrastructure/storage/connection/mysql/AphrontBaseMySQLDatabaseConnection.php:350]

Expected results:
Provisioning succeeds

I haven't figured out where that database exists if it does, because running mysql in the shell produced:

MariaDB [wiki]> show databases;
| Database           |
| information_schema |
| keystone           |
| ldapauthwiki       |
| mysql              |
| performance_schema |
| striker            |
| wiki               |
| wikishared         |
8 rows in set (0.00 sec)

If I can fix this, I'll update the task here. If someone else figures out what's wrong or what I'm doing wrong, even better 😁

Event Timeline

Bstorm created this task.Thu, Jan 14, 12:29 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptThu, Jan 14, 12:29 AM