Question

Wordpress can't update theme/plugins, can upload images

  • Posted on December 26, 2014
  • CoenRAsked by CoenR

I followed exactly all steps in the following tutorial: https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-with-nginx-on-ubuntu-14-04

I also read the comments where various command are stated like:

sudo chgrp -R www-data /var/www/html

But after trying any of those I still am not able to upload theme files, or download plugins. Media works fine, but for plugins and themes I’d really prefer to use the options within the dashboard.

I keep receiving the pop-up that I have to enter my ftp credentials or SSH info.

Also another thing I noticed in the guide: Shouldn’t we remove the wordpress which we downloaded to our user account? Now we basically have two wordpress installs and the zip file on the server. Seems wasted space, but I’m not full expert on it, so should we remove this?

I hope someone can help, thanks

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

This question was answered by @CoenR:

After writing:

sudo chown www-data:www-data /var/www/html/ -R

it seemed to fix the problem. However would this impose any security issues?

View the original comment