Page MenuHomeMiraheze

Upgrade to MediaWiki 1.38.0
Open, NormalPublic

Description

This is obviously not close yet but mostly opening so far so we don't forget that ALTER TABLE searchindex MODIFY COLUMN si_title MEDIUMTEXT; has been run on allthetropeswiki, bandolerismowiki and empiredarsoiswiki and that that may need to be looked at before schema changes with 1.38

Unfixed blockers:

  • Maps: "callback 'MapsRegistration::onRegistration' is not callable"
  • HeaderFooter: "Call to undefined method ParserOptions::getUser() from /srv/mediawiki/w/extensions/HeaderFooter/HeaderFooter.class.php:12"

Former blockers:

Prep Work

  • Get list of SQLs (CORE - P454)
  • Set central auth hidden level migration (patch-gu_hidden_normalize.sql) (DONE sql, set migration to OLD)
  • .....

Upgrade process

Upgrade START date/time:

(approx) upgrade END date/time:

Steps

  1. [17:01] mwupgradetool
  2. (WHEN PROMPTED) Merge Puppet PR to flip branch
  3. (WHEN PROMPTED) - read only PR -
  4. follow script
  5. Run SQL changes [@Someone]

Post upgrade work

  • refresh image meta data

SQL/Maintenance scripts:

P454

Availability of SRE during upgrade
@Agent_Isai will be available from
@RhinosF1 will be available from
@Reception123 will be available from
@Universal_Omega will be available from
@Paladox will be available from

Event Timeline

Reception123 changed the task status from Open to Stalled.Feb 7 2022, 17:55
Reception123 triaged this task as Low priority.
Reception123 created this task.

I removed disable jobrunner / depool as mwtask is a very different situation.

We should have deploy v2 which will take off about 30 minutes run time.

RhinosF1 closed subtask T8671: Undeploy UserMerge as Resolved.
RhinosF1 added a subscriber: Universal_Omega.

Mathoid doesn't need updated everytime. Only last time because it was broken.

RhinosF1 changed the task status from Stalled to Open.Feb 21 2022, 12:15
RhinosF1 raised the priority of this task from Low to Normal.

This is being worked on.

Reception123 changed the status of subtask T8798: Replace wgUseCategoryBrowser with Ext:CategoryExplorer from Open to Stalled.
Reception123 changed the status of subtask T8899: Remove Tabber extension from Open to Stalled.

Schema changes from extensions (may have missed some though)

Agent_Isai changed the status of subtask T8899: Remove Tabber extension from Open to Stalled.

Noting that the current plan is that RhinosF1 will deal with the upgrade on the Beta cluster as soon as RC0 is released.

Noting that the current plan is that RhinosF1 will deal with the upgrade on the Beta cluster as soon as RC0 is released.

RC0 is now released

I upgraded the files (not sql yet) on test101:

some errors first:

Deprecated: Template directory should be relative to skin or omitted for skin flatbox [Called from ExtensionProcessor::extractInfo in /srv/mediawiki/w/includes/registration/ExtensionProcessor.php at line 197] in /srv/mediawiki/w/includes/debug/MWDebug.php on line 377


Fatal error: Uncaught UnexpectedValueException: callback 'MapsRegistration::onRegistration' is not callable in /srv/mediawiki/w/includes/registration/ExtensionRegistry.php:572
Stack trace:
#0 /srv/mediawiki/w/includes/registration/ExtensionRegistry.php(258): ExtensionRegistry->exportExtractedData(Array)
#1 /srv/mediawiki/w/includes/Setup.php(252): ExtensionRegistry->loadFromQueue()
#2 /srv/mediawiki/w/maintenance/doMaintenance.php(96): require_once('/srv/mediawiki/...')
#3 /srv/mediawiki/w/maintenance/mergeMessageFileList.php(175): require_once('/srv/mediawiki/...')
#4 {main}
  thrown in /srv/mediawiki/w/includes/registration/ExtensionRegistry.php on line 572

Deprecated: Use of wfWikiID was deprecated in MediaWiki 1.35. [Called from MediaWiki\Extensions\OAuth\Backend\Utils::isCentralWiki in /srv/mediawiki/w/extensions/OAuth/src/Backend/Utils.php at line 25] in /srv/mediawiki/w/includes/debug/MWDebug.php on line 377


MWException from line 596 of /srv/mediawiki/w/includes/cache/localisation/LocalisationCache.php: LocalisationCache::readJSONFile: Invalid JSON file: /srv/mediawiki/w/includes/api/i18n/zh-hant.json
#0 /srv/mediawiki/w/includes/cache/localisation/LocalisationCache.php(929): LocalisationCache->readJSONFile('/srv/mediawiki/...')
#1 /srv/mediawiki/w/includes/cache/localisation/LocalisationCacheBulkLoad.php(100): LocalisationCache->recache('ami')
#2 /srv/mediawiki/w/maintenance/rebuildLocalisationCache.php(253): LocalisationCacheBulkLoad->recache('ami')
#3 /srv/mediawiki/w/maintenance/rebuildLocalisationCache.php(164): RebuildLocalisationCache->doRebuild(Array, Object(LocalisationCacheBulkLoad), false)
#4 /srv/mediawiki/w/maintenance/doMaintenance.php(114): RebuildLocalisationCache->execute()
#5 /srv/mediawiki/w/maintenance/rebuildLocalisationCache.php(281): require_once('/srv/mediawiki/...')
#6 {main}
Call to undefined method User::getEffectiveGroups()
from /srv/mediawiki/w/extensions/GroupsSidebar/GroupsSidebar.php(12)
#0 /srv/mediawiki/w/includes/HookContainer/HookContainer.php(338): GroupsSidebar::efHideSidebar(MediaWiki\Skin\Cosmos\SkinCosmos, array)
#1 /srv/mediawiki/w/includes/HookContainer/HookContainer.php(137): MediaWiki\HookContainer\HookContainer->callLegacyHook(string, array, array, array)
#2 /srv/mediawiki/w/includes/HookContainer/HookRunner.php(3431): MediaWiki\HookContainer\HookContainer->run(string, array)
#3 /srv/mediawiki/w/includes/skins/Skin.php(1543): MediaWiki\HookContainer\HookRunner->onSkinBuildSidebar(MediaWiki\Skin\Cosmos\SkinCosmos, array)
#4 /srv/mediawiki/w/includes/skins/Skin.php(1572): Skin->{closure}()
#5 /srv/mediawiki/w/includes/skins/SkinTemplate.php(784): Skin->buildSidebar()
#6 /srv/mediawiki/w/includes/skins/SkinTemplate.php(754): SkinTemplate->getPortletsTemplateData()
#7 /srv/mediawiki/w/includes/skins/Skin.php(657): SkinTemplate->getCategoryLinks()
#8 /srv/mediawiki/w/includes/skins/SkinTemplate.php(232): Skin->getCategories()
#9 /srv/mediawiki/w/includes/skins/SkinTemplate.php(133): SkinTemplate->prepareQuickTemplate()
#10 /srv/mediawiki/w/includes/skins/SkinTemplate.php(150): SkinTemplate->generateHTML()
#11 /srv/mediawiki/w/includes/OutputPage.php(2807): SkinTemplate->outputPage()
#12 /srv/mediawiki/w/includes/MediaWiki.php(924): OutputPage->output(boolean)
#13 /srv/mediawiki/w/includes/MediaWiki.php(937): MediaWiki::{closure}()
#14 /srv/mediawiki/w/includes/MediaWiki.php(564): MediaWiki->main()
#15 /srv/mediawiki/w/index.php(53): MediaWiki->run()
#16 /srv/mediawiki/w/index.php(46): wfIndexMain()
#17 {main}