Cant upload themes to wordpress

  • Posted July 7, 2014

I have recently migrate my wordpress multisite fron shared hosting to DO. I am a bit newbie in server management, so I do it following this great tutorial and the others linked in it:

All works well but themes upload. When I try to install a theme it show me this error:

“Unable to create directory uploads/2014/07. Is its parent directory writable by the server?”

Any help?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Problem found! I had wrong upload path in Network admin -> Sites -> Main site edit -> Settings -> upload path ( Setting->Media in normal installation )

Make sure that you have given the www-data user permission to write to the folder. Run (replacing username with your user):

sudo chown -R  username:www-data /var/www/html
sudo chmod -R  g+w /var/www/html

Yes, it is on <code>/var/www/html/wp-content/uploads</code>

Hi! Thanks for your answer, but continue not working.

I can install themes and plugins from wordpress repository, upload images… but if I upload a theme via wordpress uploader it show the error.