Page MenuHomePhabricator

UploadStashFileNotFoundException: Key [file].jpg not found in stash. (via Special:Upload tryagain feature)
Closed, ResolvedPublicPRODUCTION ERROR

Description

Error
labels.normalized_message
[{reqId}] {exception_url}   UploadStashFileNotFoundException: Key "1bt2r7e6bawk.jyp10r.46780975.jpg" not found in stash.
FrameLocationCall
from/srv/mediawiki/php-1.45.0-wmf.2/includes/upload/UploadStash.php(137)
#0/srv/mediawiki/php-1.45.0-wmf.2/includes/upload/UploadStash.php(181)UploadStash->getFile(string)
#1/srv/mediawiki/php-1.45.0-wmf.2/includes/upload/UploadFromStash.php(106)UploadStash->getMetadata(string)
#2/srv/mediawiki/php-1.45.0-wmf.2/includes/upload/UploadFromStash.php(136)UploadFromStash->initialize(string, string)
#3/srv/mediawiki/php-1.45.0-wmf.2/includes/upload/UploadBase.php(247)UploadFromStash->initializeFromRequest(MediaWiki\Request\WebRequest)
#4/srv/mediawiki/php-1.45.0-wmf.2/includes/specials/SpecialUpload.php(170)UploadBase::createFromRequest(MediaWiki\Request\WebRequest)
#5/srv/mediawiki/php-1.45.0-wmf.2/includes/specials/SpecialUpload.php(275)MediaWiki\Specials\SpecialUpload->loadRequest()
#6/srv/mediawiki/php-1.45.0-wmf.2/includes/specialpage/SpecialPage.php(734)MediaWiki\Specials\SpecialUpload->execute(null)
#7/srv/mediawiki/php-1.45.0-wmf.2/includes/specialpage/SpecialPageFactory.php(1738)MediaWiki\SpecialPage\SpecialPage->run(null)
#8/srv/mediawiki/php-1.45.0-wmf.2/includes/actions/ActionEntryPoint.php(499)MediaWiki\SpecialPage\SpecialPageFactory->executePath(string, MediaWiki\Context\RequestContext)
#9/srv/mediawiki/php-1.45.0-wmf.2/includes/actions/ActionEntryPoint.php(143)MediaWiki\Actions\ActionEntryPoint->performRequest()
#10/srv/mediawiki/php-1.45.0-wmf.2/includes/MediaWikiEntryPoint.php(198)MediaWiki\Actions\ActionEntryPoint->execute()
#11/srv/mediawiki/php-1.45.0-wmf.2/index.php(58)MediaWiki\MediaWikiEntryPoint->run()
#12/srv/mediawiki/w/index.php(3)require(string)
#13{main}
Notes

Noted 3 of these in T392172: 1.45.0-wmf.2 deployment blockers while doing log triage, but it seems likely this is a longstanding issue.

Details

Request URL
https://en.wikipedia.org/wiki/Special:Upload
Related Changes in Gerrit:

Event Timeline

Umherirrender renamed this task from UploadStashFileNotFoundException: Key [file].jpg not found in stash. to UploadStashFileNotFoundException: Key [file].jpg not found in stash. (via Special:Upload tryagain feature).Sep 29 2025, 10:27 PM

Change #1192256 had a related patch set uploaded (by Umherirrender; author: Umherirrender):

[mediawiki/core@master] specials: Handle UploadStashException on Special:Upload

https://gerrit.wikimedia.org/r/1192256

Change #1192256 merged by jenkins-bot:

[mediawiki/core@master] specials: Handle UploadStashException on Special:Upload

https://gerrit.wikimedia.org/r/1192256