Page MenuHomePhabricator

https://meta.toolforge.org/stewardry/srwiki?bureaucrat=1 raises exception: SQLSTATE[HY000] [1049] Unknown database 'srwiki_p'
Closed, ResolvedPublic

Description

When I visit https://meta.toolforge.org/stewardry/srwiki?bureaucrat=1, it shows these errors:

Could not connect to database host "s8.web.db.svc.eqiad.wmflabs".
Exception: SQLSTATE[HY000] [1049] Unknown database 'srwiki_p'

Fatal error: Uncaught Error: Call to a member function fetchAllAssoc() on bool in /data/project/meta/git/wikimedia-contrib/tool-labs/stewardry/framework/StewardryEngine.php:96 Stack trace: #0 /data/project/meta/git/wikimedia-contrib/tool-labs/stewardry/index.php(72): StewardryEngine->fetchMetrics() #1 {main} thrown in /data/project/meta/git/wikimedia-contrib/tool-labs/stewardry/framework/StewardryEngine.php on line 96

srwiki is on s5, not on s8, so I believe that it is the reason for the error.

Event Timeline

taavi subscribed.

This is caused by the tool not being updated for https://wikitech.wikimedia.org/wiki/News/Wiki_Replicas_2020_Redesign and needs to be reported to the tool maintainer.

Thanks @Majavah.

@Pathoschild As a maintainer, could you please check what's happening?

bd808 renamed this task from Exception: SQLSTATE[HY000] [1049] Unknown database 'srwiki_p' to https://meta.toolforge.org/stewardry/srwiki?bureaucrat=1 raises exception: SQLSTATE[HY000] [1049] Unknown database 'srwiki_p'.May 14 2021, 8:33 PM

Fixed via GitHub issue #148 and deployed. Thanks for reporting it!

Pathoschild claimed this task.
Pathoschild triaged this task as High priority.