Page MenuHomePhorge

Status code 500 on Special:ApiSandbox
Open, Needs TriagePublic

Description

Expected result: Successful return

Actual result: status code 500

[0533470d5065de1470826bc4] /w/api.php MediaWiki\SyntaxHighlight\PygmentsException: mkdir: cannot create directory '/sys/fs/cgroup/memory/mediawiki/job/243432': No such file or directory
limit.sh: failed to create the cgroup.
Pygments version 2.11.2, (c) 2006-2021 by Georg Brandl, Matthäus Chajdas and contributors.

Backtrace:

from /var/www/production/w/extensions/SyntaxHighlight_GeSHi/includes/Pygmentize.php(120)
#0 /var/www/production/w/includes/libs/objectcache/wancache/WANObjectCache.php(1689): MediaWiki\SyntaxHighlight\Pygmentize::fetchVersion()
#1 /var/www/production/w/includes/libs/objectcache/wancache/WANObjectCache.php(1522): WANObjectCache->fetchOrRegenerate()
#2 /var/www/production/w/extensions/SyntaxHighlight_GeSHi/includes/Pygmentize.php(88): WANObjectCache->getWithSetCallback()
#3 /var/www/production/w/includes/libs/objectcache/BagOStuff.php(216): MediaWiki\SyntaxHighlight\Pygmentize::MediaWiki\SyntaxHighlight\{closure}()
#4 /var/www/production/w/extensions/SyntaxHighlight_GeSHi/includes/Pygmentize.php(90): BagOStuff->getWithSetCallback()
#5 /var/www/production/w/extensions/SyntaxHighlight_GeSHi/includes/Pygmentize.php(185): MediaWiki\SyntaxHighlight\Pygmentize::getVersion()
#6 /var/www/production/w/extensions/SyntaxHighlight_GeSHi/includes/SyntaxHighlight.php(76): MediaWiki\SyntaxHighlight\Pygmentize::getLexers()
#7 /var/www/production/w/extensions/SyntaxHighlight_GeSHi/includes/SyntaxHighlight.php(245): MediaWiki\SyntaxHighlight\SyntaxHighlight::getLexer()
#8 /var/www/production/w/extensions/SyntaxHighlight_GeSHi/includes/SyntaxHighlight.php(370): MediaWiki\SyntaxHighlight\SyntaxHighlight::highlightInner()
#9 /var/www/production/w/extensions/SyntaxHighlight_GeSHi/includes/SyntaxHighlight.php(597): MediaWiki\SyntaxHighlight\SyntaxHighlight::highlight()
#10 /var/www/production/w/includes/HookContainer/HookContainer.php(338): MediaWiki\SyntaxHighlight\SyntaxHighlight::onApiFormatHighlight()
#11 /var/www/production/w/includes/HookContainer/HookContainer.php(137): MediaWiki\HookContainer\HookContainer->callLegacyHook()
#12 /var/www/production/w/includes/api/ApiHookRunner.php(94): MediaWiki\HookContainer\HookContainer->run()
#13 /var/www/production/w/includes/api/ApiFormatBase.php(302): MediaWiki\Api\ApiHookRunner->onApiFormatHighlight()
#14 /var/www/production/w/includes/api/ApiMain.php(2164): ApiFormatBase->closePrinter()
#15 /var/www/production/w/includes/api/ApiMain.php(961): ApiMain->printResult()
#16 /var/www/production/w/includes/api/ApiMain.php(885): ApiMain->handleException()
#17 /var/www/production/w/includes/api/ApiMain.php(849): ApiMain->executeActionWithErrorHandling()
#18 /var/www/production/w/api.php(90): ApiMain->execute()
#19 /var/www/production/w/api.php(45): wfApiMain()
#20 {main}

Event Timeline

lewiscawte claimed this task.
lewiscawte subscribed.

As far as I can see, this should now be resolved.

Apologies for the delay in replying - I did fix this when I saw it last night, but I was preoccupied dealing with the page update headache that was more pressing of an issue.

Saftzie unsubscribed.

It's not fixed. The error is the same. FWIW, it also happens on my User: page, although not necessarily other User: pages.