Question

Can't update plugins on one click wordpress install?

  • Posted February 24, 2015

Hiya, faily familiar with a comman line and ubuntu, file permissions etc

I’ve been trying the Digital Ocean One Click Apps to see if it’s easier than setting up and maintaining my own open source web control panel like Open Panel or Vesta

I’ve setup a website on a Digital Ocean 512mb droplet and is workign great for smaller sites but when in wordpress and I try to update plugins or themes it can’t write to the server?

Is there a clean way of allowing it to update or do I need to mess with folder permissions by hand?

Any help kindly apprceiated

Thanks

Subscribe
Share

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.

You can ensure that Apache has permission to write to your files by running the following command on your droplet as root:

chown -Rf www-data:www-data /var/www/

If you are going to be running a full LAMP stack (Linux, Apache, MySQL, PHP) on a 512MB droplet I would strongly recommend setting up a swap file, otherwise these services are likely to consume the available memory resulting in services crashing.

You can ensure that Apache has permission to write to your files by running the following command on your droplet as root:

chown -Rf www-data:www-data /var/www/

If you are going to be running a full LAMP stack (Linux, Apache, MySQL, PHP) on a 512MB droplet I would strongly recommend setting up a swap file, otherwise these services are likely to consume the available memory resulting in services crashing.

Thank you so much:-)