Topic on User talk:Roland M. Horn

GIF-Uploads-problems with mediawiki 1.31.1

2
Roland M. Horn (talkcontribs)

Hi,

I want to upload animated gif named "Max_Planck_Institute_Shoemaker–Levy_9.gif" on my wiki https://atlantisforschung.de. Wenn I try to do so, it takes almost one minute, until I've got a message like:


"Warning: mysqli::query(): MySQL server has gone away in /www/htdocs/w018e8db/atlantisforschung.de/includes/libs/rdbms/database/DatabaseMysqli.php on line 46

Warning: mysqli::query(): Error reading result set's header in /www/htdocs/w018e8db/atlantisforschung.de/includes/libs/rdbms/database/DatabaseMysqli.php on line 46

[XEv9RW-g3wLbVUC7n1OaJAAAAA8] 2019-01-26 06:28:10: Fataler Ausnahmefehler des Typs „Wikimedia\Rdbms\DBQueryError“"


The image would not be displayed. Wenn I want to look at the thumb-view of the side I find the error-message


"Fehler beim Erstellen des Vorschaubildes: limit.sh: timed out executing command "OMP_NUM_THREADS='1' '/usr/bin/convert' '-background' 'white' '/www/htdocs/w018e8db/atlantisforschung.de/images/Max_Planck_Institute_Shoemaker–Levy_9.gif' '-coalesce' '-thumbnail' '120x90!' '-set' 'comment' 'File source: https://atlantisforschung.de/index.php?title=Datei:Max_Planck_Institute_Shoemaker%%E2%%80%%93Levy_9.gif' '+set' 'Thumb::URI' '-depth' '8' '-rotate' '-0' '-fuzz' '5%' '-layers' 'optimizeTransparency' '/tmp/transform_b92ab0d4c744.gif'" Error code: 124" instead of a thumb of the file."

(see https://atlantisforschung.de/index.php?title=Datei:Max_Planck_Institute_Shoemaker%E2%80%93Levy_9.gif


When I look at annother gif-file in the thumb-view, there is a message like


"Fehler beim Erstellen des Vorschaubildes: /www/htdocs/w018e8db/atlantisforschung.de/includes/shell/limit.sh: line 101: 14861 Aborted /usr/bin/timeout $MW_WALL_CLOCK_LIMIT /bin/bash -c "$1" 3>&- Error code: 134"


instead of showing the thumb-nail.


What can I do?


Greetings

Roland

Roland M. Horn (talkcontribs)

Have added the commands $wgMaxShellMemory   = unlimited; and

$wgMaxShellFileSize = unlimited; in LocalSettings.php, and now it works!

Reply to "GIF-Uploads-problems with mediawiki 1.31.1"