Update Failed: Could not create directory
-
I can almost hear you thinking: another noob having trouble with setting permissions. Well, that’s not the case here.
I am running a wordpress multisite setup on a Plesk server with Debian Buster. I just migrated this website and everything is running smoothly.
However: as soon as I try to update plugins, I get the message “Update Failed: Could not create directory”. Also, the following message gets logged:
PHP message: PHP Warning: file_exists(): open_basedir restriction in effect. File(/var/www/vhosts/business.eu/httpdocs/wp-content/upgrade/akismet.4.2.1-giPwTp/) is not within the allowed path(s): (/var/www/vhosts/business.eu/httpdocs/:/tmp/) in /var/www/vhosts/business.eu/httpdocs/wp-admin/includes/class-wp-filesystem-direct.php on line 390
. As you can see, the path is IN the open_basedir setting. Yet it logs it as a violation of the restriction. Strange, huh?If I disable the open_basedir restrictions. The error stays but nothing gets logged anywhere. I have confirmed that I can write to the
wp-content/
directory with the user that executes php files.What’s going on here? Does anyone have any experience with this?
- The topic ‘Update Failed: Could not create directory’ is closed to new replies.