File Upload Error in MediaWiki 1.22.3 - Could not create directory "mwstore://local-backend/local-public/7/70"

StackOverflow https://stackoverflow.com/questions/22303606

  •  12-06-2023
  •  | 
  •  

Pergunta

We recently upgraded our MediaWiki installation to 1.22.3 running on Ubuntu 12.04.2 LTS. Now when we try to upload files, we get the following error:

Could not create directory "mwstore://local-backend/local-public/7/70"

Foi útil?

Solução

Finally found the solution in the MediaWiki documentation. The problem was the ownership of the images directory. Making the adjustments suggested in the documentation eliminated the problem. See the following for details: http://www.mediawiki.org/wiki/Manual:Configuring_file_uploads

Specifically, do this:

sudo chown -R www-data:www-data images/ sudo chmod -R 755 images/

Your installation MIGHT use the uploads/ directory instead. If so, do the same to it.

Outras dicas

I had the same problem on a Windows Server. The cause was that the user that was running the wiki app-pool (IUSR) did not have acceess rights to the mediawiki\images folder.

Granting additional read/write access to the images folder solved the problem.

Hope this helps anyone encountering the same issue.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top