Mediawiki: File upload error

0

When tried to upload files of 12.7MB(djvu) and 7MB(mp4) mediawiki showed an error saying:

    Internal error
    [89512f99] 2014-10-21 06:29:26: Fatal exception of type UploadStashFileException

Maximum file size: 20 MB (a file on your computer)
Permitted file types: png, gif, jpg, jpeg, mp4, djvu, mp3, pdf.

arshad

Posted 2014-10-21T06:41:38.313

Reputation: 101

Are there any details besides the exception type? – ivan_pozdeev – 2014-10-21T07:06:41.537

Answers

0

There are some known bugs with the upload stash, please upgrade to MediaWiki 1.24 (just released) which includes some fixes, hopefully solving the error for you too.

The next thing you can do, given your files are so small, is to visit Special:Preferences on your wiki and disable "chunked uploading". You'll then use the standard upload, which is less powerful but usually less fragile.

If that fails as well, probably the issue is deeper, e.g. you might have misconfigured the upload directory. Better double check your uploads configuration and enable debugging (see Manual:Debug) to have more details on your error. If that doesn't help, please file a bug at http://phabricator.wikimedia.org.

Nemo

Posted 2014-10-21T06:41:38.313

Reputation: 1 050