Report this

What is the reason for this report?

Can't Upgrade Wordpress

Posted on March 14, 2014

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!



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!

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.

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…

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.