Topic on Project:Support desk

Jump to navigation Jump to search

oojs-ui not created after mediawiki update

4
Wuestenarchitekten (talkcontribs)

After a mediawiki update to 1.35.1, running the update script as well as the composer update, it seems oojs-ui is not being created - any hints to what might be the reason for that?

 2021-01-11 21:42:08 ip- wiki: Generating module package failed: [Exception MWException( /var/www/html/includes/resourceloader/ResourceLoaderImage.php:243) File '/var/www/html/resources/lib/oojs-ui/themes/wikimediaui/images/icons/logo-CC.svg' does not exist]
 #0 /var/www/html/includes/resourceloader/ResourceLoaderImage.php(213): ResourceLoaderImage->getImageData(ResourceLoaderContext, NULL, string)
 #1 /var/www/html/includes/resourceloader/ResourceLoaderImageModule.php(362): ResourceLoaderImage->getDataUri(ResourceLoaderContext, NULL, string)
 #2 /var/www/html/includes/resourceloader/ResourceLoaderImageModule.php(320): ResourceLoaderImageModule->getStyleDeclarations(ResourceLoaderContext, ResourceLoaderImage, string)
 #3 /var/www/html/includes/resourceloader/ResourceLoaderModule.php(729): ResourceLoaderImageModule->getStyles(ResourceLoaderContext)
 #4 /var/www/html/includes/resourceloader/ResourceLoaderModule.php(674): ResourceLoaderModule->buildContent(ResourceLoaderContext)
 #5 /var/www/html/includes/resourceloader/ResourceLoader.php(1078): ResourceLoaderModule->getModuleContent(ResourceLoaderContext)
 #6 /var/www/html/includes/resourceloader/ResourceLoader.php(782): ResourceLoader->makeModuleResponse(ResourceLoaderContext, array, array)
 #7 /var/www/html/load.php(51): ResourceLoader->respond(ResourceLoaderContext)
 #8 {main}
Bawolff (talkcontribs)

how did you update mediawiki?

Wuestenarchitekten (talkcontribs)

Thanks! THese are the steps I had noted from the last time:

  • replaced all files from my wiki with the extracted files from the mediawiki tar.gz.
  • added in all extensions
  • run composer update --no-dev
  • run php maintenance/update.php
Bawolff (talkcontribs)

mediawiki tar.gz file should contain oojs and anything else needed by mediawiki (composer update only needed if an extension needs it or you obtained mw via git).

I would check to see if the file was in the tarball you used

Reply to "oojs-ui not created after mediawiki update"