• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Please beaware of a breaking change in the REST API on the current Plesk release (18.0.62).
    Starting from Plesk Obsidian 18.0.62, requests to REST API containing the Content-Type header with a media-type directive other than “application/json” will result in the HTTP “415 Unsupported Media Type” client error response code. Read more here

Installation failed: Could not create directory in wp-content/upgrade

Leta

New Pleskian
Server operating system version
Windows 10 Home
Plesk version and microupdate number
Plesk Obsidian Versione 18.0.61 #5
Hi,

I am new to Plesk

We recently moved our WordPress website to a different hosting company that uses Plesk

To speed up the process of moving the website to the new hosting company,
we installed from Plesk a fresh WP installation

But now it does not allow to install plugins or themes via WP backend, only through Plesk

The error from the WP backend is:
Installation failed: Could not create directory in wp-content/upgrade

the upgrade folder doesn't exist and if we try to create it via Plesk, the error is still present

by going to "Folder > Change permissions" (on Plesk)

(this option is checked)
Allow inheritable permissions from the parent object to propagate to this object and all child objects.
Include them with the items explicitly specified here

(this 2nd option is unchecked)
Replace the permission entries of all child objects with the items shown here

Groups or users:
  • Administrators
  • System user (SYSTEM)
  • Plesk FTP subaccount
  • Plesk Domain User
  • Applications pool group
All the following items have the “allow” box checked:
  • Permission for Adminisrators
  • Complete Check
  • Edit
  • Read and execute
  • Display of folder contents
  • Read
  • Write
then by clicking on "advanced settings":

(this option is checked)
Allow inheritable permissions from the parent object to propagate to this object and all child objects.
Include them with the items explicitly specified here

(the 2nd option is unchecked)
Replace the permission entries of all child objects with the items shown here

Groups or usersinherited fromapply to

Plesk FTP subaccount <not inherited>the selected folder, subfolders and files
Administrators...\home\ourwebsite\the selected folder, subfolders and files
System user (SYSTEM)...\home\ourwebsite\the selected folder, subfolders and files
Plesk FTP subaccount ...\home\ourwebsite\the selected folder and subfolders
Plesk FTP subaccount...\home\ourwebsite\only files
Plesk Domain User...\home\ourwebsite\the selected folder, subfolders and files
Applications pool group...\home\ourwebsite\the selected folder, subfolders and files

Permissions for Administrators (all of the following permissions have the "allow" checkbox selected):
  • Complete Check
  • Read permissions
  • write permissions
  • execute permissions
  • visit folder / execute file
  • view folder / data reading
  • file creation / data writing
  • folder creation / data adding
  • subfolders and files deletion
  • delete
  • change permissions
  • become owner
How do we fix the error that forbids the installation of plugins and themes?

Let me know soon, thanks
Best regards,
Leta
 
Hi there, there is an support article that discribes a similar case (for an upload folder) which details a solution that is probably is can be applied to your case as well. See: https://support.plesk.com/hc/en-us/...-file-could-not-be-moved-to-wp-content-upload

Hi,

Thanks for your answer

but that option, shown on the post you shared, was not available on our end

For anyone who might have encountered the same error
below is how I fixed it :)

our web hosting later said that it is because we are on a shared hosting plan
and we have only the Plesk interface for customers, not owners

how to fix the permission issue in Plesk through these steps:
  1. "Folder > Change permissions"
  2. deselect the 1st option and select the 2nd one that is
    "Replace the permission entries of all child objects with the items shown here"
  3. and also click below on Applications pool group and tick the box on the right "Modify"
 
Back
Top