@mrky007 the ownership is correct (there is only 2 options – root and www-data; i have exactly the same VM, it’s clone, i don’t have this problem there), but the issue is that it tries to create folders in the wrong directory
it should be /var/www/html/wp-admin/.. , but it is
/var/www/html/WORDPRESS/wp-admin/…
(the wordpress folder is empty, all content is on wp-admin folder)
Forget to point – it the wp-config.php i added this (hoped it would work)
define( ‘FTP_BASE’, ‘/var/www/html/’ );
define(‘FTP_CONTENT_DIR’, ‘/var/www/html/wp-content/’);
define(‘FTP_PLUGIN_DIR ‘, ‘/var/www/html/wp-content/plugins/’);
and
define(‘FS_METHOD’,’direct’);
Plugins don’t update as well, approx same error “can’t create directory, can’t copy file…”
-
This reply was modified 7 years, 5 months ago by raduzhka.