Installation failed: Could not create directory. . . .wp-content/upgrade
-
I’ve never tried building a localhost WordPress site before. I thought it would be a good way to redesign my current site without getting involved with my hosting company, however, I’ve run into the same problems over and over again that I’ve not been able to even get started. I successfully installed and am running XAMPP 8.2.4-0 on my Mac using OS 13.3.1 (a). I installed WordPress 6.2.2.
I originally set up the new site using Elementor, or started to. After studying a number of tutorials, as well as having plugin installation issues, I began to think it wasn’t really going to fit my needs so I deleted everything including WordPress and started over. I opened a 2nd WordPress folder (after deleting the first one) from the original downloaded .zip file (was that a mistake?). I copied the files to a new site folder in htdocs in XAMPP. I set up a new database file and logged into the site at localhost/(mysite)/wp-admin/.
Everything looked fine until I tried to delete “Hello Dolly” just for the heck of it. I got a request for FTP credentials (something I haven’t been able to find good description of or solution to, other than–) something I’d run into before and inserted the “define(‘FS_METHOD’,’direct’);” code into the wp-config.php file to get around it.
Now when I try to install Visual Composer, or Jetpack, for instance, I get the dreaded “Installation failed: Could not create directory. /Applications/XAMPP/xamppfiles/htdocs/(mysite)/wp-content/upgrade”
Besides this (or maybe connected to it) the Site Health status is showing me “Background updates are not working as expected” with a long list of .php files in wp-includes, and others.
Is this something that can be fixed? Should I start all over again with a new WordPress installation? I worked with WordPress many, many years ago, but that was directly on a hosted server, not local. I never had these kinds of problems before.
The topic ‘Installation failed: Could not create directory. . . .wp-content/upgrade’ is closed to new replies.