I tried abra app new mediawiki and then deploying, and got this blow-up:
�2023-06-25T19:57:42.733859652Z 2023-06-25 19:57:42 6 [Warning] Access denied for user 'mediawiki'@'10.0.3.4' (using password: YES)
�2023-06-25T19:57:42.735071168Z Wikimedia\Rdbms\DBConnectionError from line 1477 of /var/www/html/includes/libs/rdbms/loadbalancer/LoadBalancer.php: Cannot access the database: Access denied for user 'mediawiki'@'10.0.3.4' (using password: YES) (db)
�2023-06-25T19:57:42.735130929Z #0 /var/www/html/includes/libs/rdbms/loadbalancer/LoadBalancer.php(972): Wikimedia\Rdbms\LoadBalancer->reportConnectionError()
�2023-06-25T19:57:42.735143687Z #1 /var/www/html/includes/libs/rdbms/loadbalancer/LoadBalancer.php(944): Wikimedia\Rdbms\LoadBalancer->getServerConnection(0, 'mediawiki', 4)
�2023-06-25T19:57:42.735151502Z #2 /var/www/html/includes/libs/rdbms/database/DBConnRef.php(95): Wikimedia\Rdbms\LoadBalancer->getConnectionInternal(-2, Array, 'mediawiki', 4)
�2023-06-25T19:57:42.735162518Z #3 /var/www/html/includes/libs/rdbms/database/DBConnRef.php(101): Wikimedia\Rdbms\DBConnRef->ensureConnection()
�2023-06-25T19:57:42.735169546Z #4 /var/www/html/includes/libs/rdbms/database/DBConnRef.php(280): Wikimedia\Rdbms\DBConnRef->__call('getServerVersio...', Array)
{2023-06-25T19:57:42.735207888Z #5 /var/www/html/maintenance/update.php(156): Wikimedia\Rdbms\DBConnRef->getServerVersion()
|2023-06-25T19:57:42.735217959Z #6 /var/www/html/maintenance/includes/MaintenanceRunner.php(309): UpdateMediaWiki->execute()
�2023-06-25T19:57:42.735226786Z #7 /var/www/html/maintenance/doMaintenance.php(85): MediaWiki\Maintenance\MaintenanceRunner->run()
p2023-06-25T19:57:42.735233883Z #8 /var/www/html/maintenance/update.php(312): require_once('/var/www/html/m...')
)2023-06-25T19:57:42.735240464Z #9 {main}
EDIT: I think this specific error was from leftover volumes from a previous test deployment, but I still think I'm on the right track with a cause / solution..
Thanks for the report @iexos!
I tried `abra app new mediawiki` and then deploying, and got this blow-up:
```
�2023-06-25T19:57:42.733859652Z 2023-06-25 19:57:42 6 [Warning] Access denied for user 'mediawiki'@'10.0.3.4' (using password: YES)
�2023-06-25T19:57:42.735071168Z Wikimedia\Rdbms\DBConnectionError from line 1477 of /var/www/html/includes/libs/rdbms/loadbalancer/LoadBalancer.php: Cannot access the database: Access denied for user 'mediawiki'@'10.0.3.4' (using password: YES) (db)
�2023-06-25T19:57:42.735130929Z #0 /var/www/html/includes/libs/rdbms/loadbalancer/LoadBalancer.php(972): Wikimedia\Rdbms\LoadBalancer->reportConnectionError()
�2023-06-25T19:57:42.735143687Z #1 /var/www/html/includes/libs/rdbms/loadbalancer/LoadBalancer.php(944): Wikimedia\Rdbms\LoadBalancer->getServerConnection(0, 'mediawiki', 4)
�2023-06-25T19:57:42.735151502Z #2 /var/www/html/includes/libs/rdbms/database/DBConnRef.php(95): Wikimedia\Rdbms\LoadBalancer->getConnectionInternal(-2, Array, 'mediawiki', 4)
�2023-06-25T19:57:42.735162518Z #3 /var/www/html/includes/libs/rdbms/database/DBConnRef.php(101): Wikimedia\Rdbms\DBConnRef->ensureConnection()
�2023-06-25T19:57:42.735169546Z #4 /var/www/html/includes/libs/rdbms/database/DBConnRef.php(280): Wikimedia\Rdbms\DBConnRef->__call('getServerVersio...', Array)
{2023-06-25T19:57:42.735207888Z #5 /var/www/html/maintenance/update.php(156): Wikimedia\Rdbms\DBConnRef->getServerVersion()
|2023-06-25T19:57:42.735217959Z #6 /var/www/html/maintenance/includes/MaintenanceRunner.php(309): UpdateMediaWiki->execute()
�2023-06-25T19:57:42.735226786Z #7 /var/www/html/maintenance/doMaintenance.php(85): MediaWiki\Maintenance\MaintenanceRunner->run()
p2023-06-25T19:57:42.735233883Z #8 /var/www/html/maintenance/update.php(312): require_once('/var/www/html/m...')
)2023-06-25T19:57:42.735240464Z #9 {main}
```
EDIT: I think this specific error was from leftover volumes from a previous test deployment, but I still think I'm on the right track with a cause / solution..
My guess is that the problem was introduced in 57cf8db -- which [tries to run `composer_install` before `init_db`](https://git.coopcloud.tech/coop-cloud/mediawiki/src/branch/main/entrypoint.sh.tmpl#L137-L141), where `composer_install` now [tries to run `maintenante/update.php`](https://git.coopcloud.tech/coop-cloud/mediawiki/src/branch/main/entrypoint.sh.tmpl#L22) -- which I guess fails because the database isn't initialised yet?
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Fresh deploy of
2.2.3+1.39.3, then upgrade to2.3.0+1.39.3works thoughThanks for the report @iexos!
I tried
abra app new mediawikiand then deploying, and got this blow-up:EDIT: I think this specific error was from leftover volumes from a previous test deployment, but I still think I'm on the right track with a cause / solution..
My guess is that the problem was introduced in
57cf8db-- which tries to runcomposer_installbeforeinit_db, wherecomposer_installnow tries to runmaintenante/update.php-- which I guess fails because the database isn't initialised yet?Attempting a fix now, stay tuned.