#134677 HA: File upload on MediaWiki fails

closed
5
2009-04-04
2009-03-30
No

When trying to upload a jpg picture (~400kb) to our MediaWiki at http://blueobelisk.sf.net, we consistently get the error:

Internal error
Could not copy file "/tmp/phpe6x9u0" to "/home/groups/b/bl/blueobelisk/htdocs/mediawiki-1.6.7/images/temp/d/d4/20090330125511!BODinnerSLC2009.jpg".

After manually chmod o+w, the above step worked, but then we got an error in the next step:

Could not copy file "/home/groups/b/bl/blueobelisk/htdocs/mediawiki-1.6.7/images/temp/d/d4/20090330130140!BODinnerSLC2009.jpg" to "/home/groups/b/bl/blueobelisk/htdocs/mediawiki-1.6.7/images/d/d4/BODinnerSLC2009.jpg".

I did not bother to fiddle around with permissions any further because there seems to a more fundamental problem and this should work out of the box, I guess.

You help here would be greatly appreciated. :-)

Cheers,

Christoph Steinbeck

Discussion

  • Travis West
    Travis West
    2009-03-30

    • assigned_to: nobody --> hinojosa
    • milestone: --> Second Level Support
    • status: open --> pending
     
  • Travis West
    Travis West
    2009-03-30

    Greetings Christoph!
    Can you confirm that you are connecting using this format? username,projectname@web.sourceforge.net

    In many of the permissions cases I've seen, the problem is with the connection string.

    Please add a comment to let me know how it goes.

    Thanks,
    Travis West
    Support Guy
    SourceForge.net

    P.S., Support items set to status of 'Pending', will auto-close in 14 days if there is no response. Also, be sure to monitor our Site Status page: https://sourceforge.net/sitestatus .

     
  • Hi Travis,

    this is not, AFAIK, a shell issues. I'm logging onto the SF mediawiki hosted app with my normal username "steinbeck".
    I have tried to login with steinbeck,blueobelisk@web.sourceforge.net, but it wouldn't let me do that. I guess that is only for shell login, right?

    Cheers,

    Chris

     
    • status: pending --> open
     
    • assigned_to: hinojosa --> sog
    • summary: File upload on MediaWiki fails --> HA: File upload on MediaWiki fails
     
  • Greetings,

    This does not appear to be a permissions problem, rather a missing directory problem since
    /home/groups/b/bl/blueobelisk/htdocs/mediawiki-1.6.7/images/d/d4
    does not exist. The parent directory does. You need to create it first or try using rsync from an interactive shell.

    Just in case, I reset the group and added write permissions to all of /home/groups/b/bl/blueobelisk/htdocs

    Cheers!

    Matthew Moore
    SourceForge.net Support

     
    • status: open --> closed