Page MenuHomePhabricator

"FSFileBackend::doPrepareInternal: cannot create directory" on beta cluster
Closed, DuplicatePublic

Description

I have some suspicion beta is misconfigured, but not sure what or how it should be. Since starting the initImageData.php job the jobs are sending messages to logstash like:

FSFileBackend::doPrepareInternal: cannot create directory /srv/mediawiki/php-master/images/thumb/f/f9/Joo_Chia...

sample

The logged errors are (FileOperation channel):

mkdir(): Permission denied
No such file or directory
FSFileBackend::doPrepareInternal: cannot create directory /srv/mediawiki/php-master/images/thumb/<some file>

so this seems like a simple directiry permission issue.

Event Timeline

Tgr created this task.Jan 24 2017, 11:23 PM
Restricted Application added projects: Multimedia, Commons. · View Herald TranscriptJan 24 2017, 11:23 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript

possibly related to T145496 ?

Tgr added a comment.Jan 24 2017, 11:26 PM

(although I'm not quite sure why LinksUpdate would even try to create thumbnails)

This is happening for Commons images, and the 404 handler does not support those, so with thumbnail caching enabled they are generated on parse.