When installing MW 1.35-rc2 from scratch (no tables in database), the installation stops with error 1146:
Setting up database... done Creating tables, step one... [X0K4cLHhKkd8BQVmPFrEtAAAAE8] /w/mw-config/index.php?page=Install Wikimedia\Rdbms\DBQueryError from line 1699 of /home/otelriuj/domainname.org/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? Error 1146: Table 'otelriuj_topools.l10n_cache' doesn't exist (localhost) Function: LCStoreDB::get Query: SELECT lc_value FROM `l10n_cache` WHERE lc_lang = 'sv' AND lc_key = 'deps' LIMIT 1
Error is reproducible with install settings:
Your language: en - English Wiki language: sv - Swedish
If both langugages are set to English, the error does not appear.
When checking the database, only four tables have been created: actor, site_identifiers, updatelog and user_format_groups.
If I first install MW-1.34.2 from scratch tables are created as expected in database. It is then possible to install 1.35.rc2 which detects existing tables and the installation proceeds with success.
System is a shared host with:
- PHP: 7.4.9 (litespeed)
- MariaDB: 10.3.23-MariaDB-log-cll-lve
See backtrace below (domain name changed for privacy):
#0 /home/otelriuj/domainname.org/w/includes/libs/rdbms/database/Database.php(1683): Wikimedia\Rdbms\Database->getQueryException(string, integer, string, string)
#1 /home/otelriuj/domainname.org/w/includes/libs/rdbms/database/Database.php(1658): Wikimedia\Rdbms\Database->getQueryExceptionAndLog(string, integer, string, string)
#2 /home/otelriuj/domainname.org/w/includes/libs/rdbms/database/Database.php(1227): Wikimedia\Rdbms\Database->reportQueryError(string, integer, string, string, boolean)
#3 /home/otelriuj/domainname.org/w/includes/libs/rdbms/database/Database.php(1907): Wikimedia\Rdbms\Database->query(string, string, integer)
#4 /home/otelriuj/domainname.org/w/includes/libs/rdbms/database/Database.php(1746): Wikimedia\Rdbms\Database->select(string, string, array, string, array, array)
#5 /home/otelriuj/domainname.org/w/includes/libs/rdbms/database/DBConnRef.php(68): Wikimedia\Rdbms\Database->selectField(string, string, array, string)
#6 /home/otelriuj/domainname.org/w/includes/libs/rdbms/database/DBConnRef.php(300): Wikimedia\Rdbms\DBConnRef->__call(string, array)
#7 /home/otelriuj/domainname.org/w/includes/cache/localisation/LCStoreDB.php(63): Wikimedia\Rdbms\DBConnRef->selectField(string, string, array, string)
#8 /home/otelriuj/domainname.org/w/includes/cache/localisation/LocalisationCache.php(449): LCStoreDB->get(string, string)
#9 /home/otelriuj/domainname.org/w/includes/cache/localisation/LocalisationCache.php(495): LocalisationCache->isExpired(string)
#10 /home/otelriuj/domainname.org/w/includes/cache/localisation/LocalisationCache.php(371): LocalisationCache->initLanguage(string)
#11 /home/otelriuj/domainname.org/w/includes/cache/localisation/LocalisationCache.php(312): LocalisationCache->loadItem(string, string)
#12 /home/otelriuj/domainname.org/w/includes/language/LanguageFallback.php(106): LocalisationCache->getItem(string, string)
#13 /home/otelriuj/domainname.org/w/includes/language/LanguageFactory.php(175): MediaWiki\Languages\LanguageFallback->getAll(string)
#14 /home/otelriuj/domainname.org/w/includes/language/LanguageFactory.php(121): MediaWiki\Languages\LanguageFactory->newFromCode(string)
#15 /home/otelriuj/domainname.org/w/includes/ServiceWiring.php(240): MediaWiki\Languages\LanguageFactory->getLanguage(string)
#16 /home/otelriuj/domainname.org/w/vendor/wikimedia/services/src/ServiceContainer.php(447): Wikimedia\Services\ServiceContainer->{closure}(MediaWiki\MediaWikiServices)
#17 /home/otelriuj/domainname.org/w/vendor/wikimedia/services/src/ServiceContainer.php(416): Wikimedia\Services\ServiceContainer->createService(string)
#18 /home/otelriuj/domainname.org/w/includes/MediaWikiServices.php(623): Wikimedia\Services\ServiceContainer->getService(string)
#19 /home/otelriuj/domainname.org/w/includes/ServiceWiring.php(693): MediaWiki\MediaWikiServices->getContentLanguage()
#20 /home/otelriuj/domainname.org/w/vendor/wikimedia/services/src/ServiceContainer.php(447): Wikimedia\Services\ServiceContainer->{closure}(MediaWiki\MediaWikiServices)
#21 /home/otelriuj/domainname.org/w/vendor/wikimedia/services/src/ServiceContainer.php(416): Wikimedia\Services\ServiceContainer->createService(string)
#22 /home/otelriuj/domainname.org/w/includes/MediaWikiServices.php(925): Wikimedia\Services\ServiceContainer->getService(string)
#23 /home/otelriuj/domainname.org/w/includes/language/Message.php(1301): MediaWiki\MediaWikiServices->getMessageCache()
#24 /home/otelriuj/domainname.org/w/includes/language/Message.php(862): Message->fetchMessage()
#25 /home/otelriuj/domainname.org/w/includes/language/Message.php(991): Message->toString(string)
#26 /home/otelriuj/domainname.org/w/includes/installer/WebInstallerInstall.php(85): Message->escaped()
#27 /home/otelriuj/domainname.org/w/includes/installer/Installer.php(1619): WebInstallerInstall->endStage(string, Status)
#28 /home/otelriuj/domainname.org/w/includes/installer/WebInstallerInstall.php(44): Installer->performInstallation(array, array)
#29 /home/otelriuj/domainname.org/w/includes/installer/WebInstaller.php(269): WebInstallerInstall->execute()
#30 /home/otelriuj/domainname.org/w/mw-config/index.php(82): WebInstaller->execute(array)
#31 /home/otelriuj/domainname.org/w/mw-config/index.php(40): wfInstallerMain()
#32 {main}