Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialHollie Burkey
3,003 PointsWordPress Updates/Plugins - "Could not create directory"
Hi,
I'm taking the WordPress basics course and trying to set up everything locally. In the video, the instructor updated all plugins and everything else without a problem. However, when I try to update them exactly as he did, it says:
"Update WordPress Downloading update from https://downloads.wordpress.org/release/wordpress-4.7.5-partial-0.zipβ¦
Unpacking the updateβ¦
Could not create directory.
Installation Failed"
I've looked for solutions here and on google and haven't found anything to help. I'm not sure if there are files missing or if something went wrong somehow. I followed the instructions on installing everything just as shown in the video, so I'm not sure where it went wrong. Any help is appreciated.
Thanks.
Hollie Burkey
3,003 PointsHollie Burkey
3,003 PointsUPDATE: I got everything to work on my own, but not the way that is shown in the WordPress Basics tutorial where he walks you through installing WP with DesktopServer locally. I couldn't get the plugins or WP version to update when I did it the way the video showed and I was also unable to view my site properly. I'm not sure why it didn't work, but in case anyone else is having this problem, I wanted to update this and show what I did since there are minimal resources on how to make this work properly if that original method is unsuccessful.
So, I watched this video on what to do. It essentially walks you through installing Wamp Server so you can run WP locally. Afterwards, you go to the wordpress.org and download the WP zip file. From there, you go into your C: Drive, click the wamp folder, then click the www folder. Create a folder to store your unpacked wordpress zip file in, then extract the files from the zip files into your created folder.
Check to make sure your wamp icon in the taskbar is green. If it is yellow or red, left-click and select start all services. If this does not work, check what port apache is using and make sure it's not already being used by something else. There can also be a mysql port conflict, so check that as well if apache is working but wamp still won't start. For me, I had to change my apache port from 80 to 8080 to get it to work. You can also refer to this troubleshooting guide .
If there are any issues you come across, you can refer to the comments on the video, google or ask here.