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
  •  | 
  •  

Pregunta

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"

¿Fue útil?

Solución

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.

Otros consejos

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 bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top