Page MenuHomePhabricator

Internal error: The server could not save the temporary file
Open, Needs TriagePublicBUG REPORT


Steps to replicate the issue (include links if applicable):

  • The error occurs after uploading a 300 MB file with the UploadWizard (might also occur via Chunked uploader)
  • I use Firefox 120

What happens?:
After uploading, an error is shown with the message: "Interner Fehler: Der Server konnte keine temporäre Datei speichern" (Internal error: The server could not save the temporary file)

What should have happened instead?:

Software version (skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

Event Timeline

The issue might be limited to only TIF(F) files. An upload and publishing of a PNG file with similar file size worked

Similar issue with PDF files over 100MB:

I got error after trying to upload temporary file:
{"errors":[{"code":"stashfailed","html":"Внутрішня помилка: сервер не зміг зберегти тимчасовий файл.","module":"upload"}],"docref":"Див. щодо використання API. Щоб взнавати про заплановані і остаточні критичні зміни API, підпишіться на розсилку mediawiki-api-announce тут: <>.","servedby":"mw2317"}

Doesn't help that AssembleUploadChunksJob.php takes the specific (and even localized!) error and replaces it with a super generic one. Maybe we should stop doing that.q

One possible cause of this would be if you started uploading the file more than 48 hours ago (6 for sites that aren't commons). If you have a specific case, that is recent, I can look things up in the logs to see what happened, but it would have to have happened roughly in the last 15 days.