Question

Can't update plugins on one click wordpress install?

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


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.

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:-)