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.
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!
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
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.