Error
- service.version: 1.42.0-wmf.7
- trace.id: fd63b66c-f49c-4e10-aac1-b9b7e2f18c93
- Find trace.id in Logstash
[{reqId}] {exception_url} RuntimeException: firejail is enabled, but cannot be found
from /srv/mediawiki/php-1.42.0-wmf.7/includes/shell/CommandFactory.php(125) #0 /srv/mediawiki/php-1.42.0-wmf.7/includes/shell/CommandFactory.php(160): MediaWiki\Shell\CommandFactory->getLocalShellboxOptions() #1 /srv/mediawiki/php-1.42.0-wmf.7/includes/shell/Shell.php(129): MediaWiki\Shell\CommandFactory->create() #2 /srv/mediawiki/php-1.42.0-wmf.7/includes/GlobalFunctions.php(1597): MediaWiki\Shell\Shell::command(array) #3 /srv/mediawiki/php-1.42.0-wmf.7/includes/media/DjVuImage.php(263): wfShellExec(string) #4 /srv/mediawiki/php-1.42.0-wmf.7/includes/media/DjVuHandler.php(317): DjVuImage->retrieveMetaData() #5 /srv/mediawiki/php-1.42.0-wmf.7/includes/media/MediaHandler.php(227): DjVuHandler->getSizeAndMetadata(TrivialMediaHandlerState, string) #6 /srv/mediawiki/php-1.42.0-wmf.7/includes/utils/MWFileProps.php(89): MediaHandler->getSizeAndMetadataWithFallback(FSFile, string) #7 /srv/mediawiki/php-1.42.0-wmf.7/includes/upload/UploadBase.php(546): MWFileProps->getPropsFromPath(string, string) #8 /srv/mediawiki/php-1.42.0-wmf.7/includes/upload/UploadBase.php(478): UploadBase->verifyPartialFile() #9 /srv/mediawiki/php-1.42.0-wmf.7/includes/upload/UploadBase.php(401): UploadBase->verifyFile() #10 /srv/mediawiki/php-1.42.0-wmf.7/includes/upload/UploadFromFile.php(99): UploadBase->verifyUpload() #11 /srv/mediawiki/php-1.42.0-wmf.7/includes/specials/SpecialUpload.php(521): UploadFromFile->verifyUpload() #12 /srv/mediawiki/php-1.42.0-wmf.7/includes/specials/SpecialUpload.php(248): MediaWiki\Specials\SpecialUpload->processUpload() #13 /srv/mediawiki/php-1.42.0-wmf.7/includes/specialpage/SpecialPage.php(727): MediaWiki\Specials\SpecialUpload->execute(NULL) #14 /srv/mediawiki/php-1.42.0-wmf.7/includes/specialpage/SpecialPageFactory.php(1644): MediaWiki\SpecialPage\SpecialPage->run(NULL) #15 /srv/mediawiki/php-1.42.0-wmf.7/includes/MediaWiki.php(359): MediaWiki\SpecialPage\SpecialPageFactory->executePath(string, RequestContext) #16 /srv/mediawiki/php-1.42.0-wmf.7/includes/MediaWiki.php(962): MediaWiki->performRequest() #17 /srv/mediawiki/php-1.42.0-wmf.7/includes/MediaWiki.php(615): MediaWiki->main() #18 /srv/mediawiki/php-1.42.0-wmf.7/index.php(50): MediaWiki->run() #19 /srv/mediawiki/php-1.42.0-wmf.7/index.php(46): wfIndexMain() #20 /srv/mediawiki/w/index.php(3): require(string) #21 {main}
Impact
Notes
The URL is Special:Upload , the 3 errors logged so far are all for frwikisource and all related to DjVuHandler.php(317): DjVuImage->retrieveMetaData() which does MediaWiki\Shell\CommandFactory->getLocalShellboxOptions(). My guess is the Kubernetes image does not have firejail or the DjVu handler should use a remote shellbox?