Page MenuHomePhorge

Cannot create a wiki (Database Query Error)
Closed, WontfixPublic

Description

Hey there. I can't seem to create a new wiki right now - attempting to do so throws a database query error. (side note, this is my first time posting on phabricator, I apologize if I mess anything up!)

Steps taken:

  1. Log in to Shoutwiki (using Safari 13.1.1)
  2. Navigate to Special:CreateWiki

Result:

A database query error has occurred. This may indicate a bug in the software.

[44155f663716ff8124414f3f] /wiki/Special:CreateWiki Wikimedia\Rdbms\DBQueryError from line 1603 of /var/www/live/w/includes/libs/rdbms/database/Database.php: A database query error has occurred. Did you forget to run your application's database schema updater after upgrading? 
Query: SELECT wl_id FROM `shoutwiki`.`wiki_list` WHERE wl_actor = '3251914577' AND wl_deleted = '0' 
Function: CreateWikiBackend::checkThrottle
Error: 1054 Unknown column 'wl_actor' in 'where clause' (localhost)
Backtrace:
#0 /var/www/live/w/includes/libs/rdbms/database/Database.php(1574): Wikimedia\Rdbms\Database->getQueryExceptionAndLog(string, integer, string, string)
#1 /var/www/live/w/includes/libs/rdbms/database/Database.php(1152): Wikimedia\Rdbms\Database->reportQueryError(string, integer, string, string, boolean)
#2 /var/www/live/w/includes/libs/rdbms/database/Database.php(1807): Wikimedia\Rdbms\Database->query(string, string)
#3 /var/www/live/w/includes/libs/rdbms/database/DBConnRef.php(68): Wikimedia\Rdbms\Database->select(string, string, array, string)
#4 /var/www/live/w/includes/libs/rdbms/database/DBConnRef.php(315): Wikimedia\Rdbms\DBConnRef->__call(string, array)
#5 /var/www/live/w/extensions/CreateWiki/CreateWiki_backend.php(874): Wikimedia\Rdbms\DBConnRef->select(string, string, array, string)
#6 /var/www/live/w/extensions/CreateWiki/CreateWiki_body.php(61): CreateWikiBackend->checkThrottle()
#7 /var/www/live/w/includes/specialpage/SpecialPage.php(575): CreateWikiPage->execute(NULL)
#8 /var/www/live/w/includes/specialpage/SpecialPageFactory.php(611): SpecialPage->run(NULL)
#9 /var/www/live/w/includes/MediaWiki.php(296): MediaWiki\Special\SpecialPageFactory->executePath(Title, RequestContext)
#10 /var/www/live/w/includes/MediaWiki.php(900): MediaWiki->performRequest()
#11 /var/www/live/w/includes/MediaWiki.php(527): MediaWiki->main()
#12 /var/www/live/w/index.php(44): MediaWiki->run()
#13 {main}

Is this a side effect of the resolution to the following task: New wikis not created properly?

lewiscawte added a subscriber: lewiscawte.Thu, Jun 11, 10:14 AM
Jack cleaned up the affected wikis, and I've turned off CreateWiki (ish) for the time being. New wikis before we get back to 1.34 are going to cause more issues than its worth.

If so, is there anything a new user can do in the meantime? Or will it be a matter of waiting out the update to 1.34?

Thanks.

Event Timeline

For the record, Special:MyWikis throws the same error.

lewiscawte claimed this task.
lewiscawte added a subscriber: lewiscawte.

Is this a side effect of the resolution to the following task: New wikis not created properly?

No.

Please see the relevant announcement on our facebook page / this forum post.

If so, is there anything a new user can do in the meantime? Or will it be a matter of waiting out the update to 1.34?

1.34 has been out since about 2PM UTC Thursday.

Gotcha, I saw that forum post earlier, but it was when the most recent reply to it was an instruction to post to phabricator.

Thanks so much for taking the time to reply!

Take care!