View Full Version : [ubuntu] MediaWiki Uploaded Files not accessible?
kooldino
April 7th, 2009, 11:53 AM
I have mediawiki installed, and it's set up so that users can upload files. However, when they successfully upload them, it places them in a path under the /images folder that doesn't exist. While it appears to have uploaded, the file does not exist. I have verified this via the shell.
Maybe my wgUploadDirectory and wgUploadPath mismatched?
Any ideas?
kooldino
April 7th, 2009, 04:37 PM
Ok, so thus far I figured out that it doesn't actually upload the files to the disk, but mediawiki thinks it does.
kooldino
April 8th, 2009, 02:35 PM
help?
Paul Weaver
April 9th, 2009, 12:36 PM
You'll probably find that your directory your uploads are supposed to be saved in isn't world-writable (or writable by apache). If you check the apache error log you might see something saying this.
kooldino
April 10th, 2009, 03:08 PM
You'll probably find that your directory your uploads are supposed to be saved in isn't world-writable (or writable by apache).
They're 777. I checked:
/var/www/wiki/images
as wel as:
/usr/share/mediawiki/images
*note: /var/www/wiki is a symbolic link to /usr/share/mediawiki
If you check the apache error log you might see something saying this.
Just errors from people trying to access "uploaded" files that don't exist.
Also to note: The database that runs this wiki was exported from mediawiki 1.10 and imported into a fresh installation of the latest and greatest mediawiki.
kooldino
April 13th, 2009, 09:42 AM
Monday morning bump.
kooldino
April 16th, 2009, 09:12 AM
Thursday bump.
kooldino
April 20th, 2009, 10:31 AM
Yet another monday bump.
Ateles
May 4th, 2009, 09:59 AM
I'm having the same problem... the upload directory is writeable, other previously uploaded files exist in the directory. Mediawiki acts like the file has been uploaded, but the file isn't actually being uploaded. Also no errors in the Apache logs.
Any ideas would be appreciated. Thanks!
vBulletin® v3.8.4, Copyright ©2000-2010, Jelsoft Enterprises Ltd.