I'm copying pages from another wiki, and this happens
I'm running the latest mediawiki with php5-fpm, using cache=accel
1 - open the page the file will eventually be at in the browser
2 - upload the image with the maintenance script
www-data@myserver$ php maintenance/importImages.php /path/to/images/directory
The image is not visible on the website. Instead, I only see the text
No file by this name exists.
running the purge script
php purgeList.php --purge --all
does not correct the problem, though visiting the purge page does
Restarting php5-fpm also corrects the issue.