This error seems to happen more often than not. Where can i file a bug report that the message should contain more debug info. The "File missing" seems not to be the real reason for the problem in most of the cases. In my case i migrated a wikifarm and i suspect that the handling of global variables has changed in PHP and or MediaWiki and the corresponding settings in LocalSetting.php are not being picked up correctly any more. How can I debug this issue?
Topic on Project:Support desk
Jump to navigation Jump to search
Reply to "Error creating thumbnail: File missing - again"
Error creating thumbnail: File missing - again
@Malycko - thx for the two links. The Bug report would then be a normal phabricator task? The "File missing" case seems not to be part of the Manual:Errors and symptoms.
This is what i needed in my context:
global $wgWikiFarmSite; global $wgUploadDirectory; global $wgUploadPath; global $wgScriptPath; $wgUploadDirectory = "/var/www/wikifarm/sites/$wgWikiFarmSite/images"; $wgUploadPath = "$wgScriptPath/images/$wgWikiFarmSite";
Hard to say without any output posted from the webserver error log. So far this sounds like a config issues and not like some software bug to me.
The bug is in the confusing message "File missing" - it's not true that the file is missing. The configuration is wrong and the pointer to the directory of files is not configured correctly. For a single such message it would not be a problem but if in "browse files" every single image shows the same misleading message "File missing" than that is a issue which should be fixed to allow administrators to get informed about the problem by their users much more quickly and more detailed than is the case right now.
How would mediawiki distinguish between the config being wrong and the file just happening to be missing?
by the sheer numbers. If it happens only a few times it might be by chance. If it happens for all files then the configuration is wrong. The trigger could be something like "at least 20 files" and at least 75% considered missing. So the check would only have to be done for a few dozen files. Changing the message for all cases does also not hurt. It could be "File missing or wiki misconfigured see ..."