Question

Can't Upgrade Wordpress

Hi,

I’m having problems upgrading Wordpress. it keeps giving me this error:

=============================================================================== Downloading update from https://wordpress.org/wordpress-3.8.1-no-content.zip…

Unpacking the update…

Could not create directory.

Installation Failed

I’ve tried using the steps mentioned here (https://www.digitalocean.com/community/questions/correct-permissions-for-wordpress-on-lemp) but still to no avail. Can someone please help?

By the way, I’ve got VestaCP installed, and I’m a complete noob in setting up server. :)

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.

Hi, <br> <br>You could download the latest version of wordpress and upload it replacing the outdated files in your install folder via sftp. Alternatively you could ssh in and insure that apaches user normally www-data owns the wordpress dictionary. To find out what user apache runs under ssh into your droplet and run the top command. After that type the following I’m assuming that the user is www-data and that you know to change /some/folder to the correct path. <br> <br>chown -R www-data:www-data /some/folder/yourinstall/* <br> <br>then to check the permissions are okay you could modify them to 755 not the best security practise but it will be okay if its only you using the server to do this run . <br> <br>chmod 755 -R /some/folder/yourinstall/* <br> <br>Hope this helps

Thanks! Solve my problem…