Topic on Project:Support desk

[Resolved] [FileOperation] StoreFileOp failed

5
Jimmy36~mediawikiwiki (talkcontribs)

Hello,

I use mediawiki 1.22 , users cannot upload images, the process seems to be ok. But when we click on the image link, we get a "404 Not Found error".

I chmod 777 everything in the image folder, and my disk is not full.


I have activated the debug logs and I found an error :

[FileOperation] StoreFileOp failed (batch #750m5ry3ra4910zhvkzb9i24rdb7xqc): {"op":"store","src":"/tmp/php9uBhLz","dst":"mwstore://local-backend/local-public/b/bb/Desertpetit.jpg","overwrite":true,"headers":[],"dstExists":false,"failedAction":"attempt"}

I found the tmp file with the picture, but the target folder is empty.

Where can i found a more detailed error in order to understand what append durring the file copy ?

Thanks a lot,

This post was posted by Jimmy36~mediawikiwiki, but signed as Jimmy36.

Ciencia Al Poder (talkcontribs)
178.213.67.2 (talkcontribs)

In the php log i found :

[01-Oct-2014 11:39:33] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/xmlwriter.so' - /usr/lib64/php/modules/xmlwriter.so: failed to map segment from shared object: Cannot allocate memory in Unknown on line 0
[01-Oct-2014 11:39:33] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/xsl.so' - /usr/lib64/php/modules/xsl.so: failed to map segment from shared object: Cannot allocate memory in Unknown on line 0
[01-Oct-2014 11:39:33] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/zip.so' - /usr/lib64/php/modules/zip.so: failed to map segment from shared object: Cannot allocate memory in Unknown on line 0

I guess i have not enough memory for php ?

Ciencia Al Poder (talkcontribs)

It may be the problem. Try increasing PHP's memory_limit (or with $wgMemoryLimit if MediaWiki is allowed to increase it).

You may try to set a higher number in $wgMaxShellMemory

178.213.66.42 (talkcontribs)

Solved, I increase the php memory and stop/start apache server. And now it's working.

Thanks a lot !

Reply to "[Resolved] [FileOperation] StoreFileOp failed"