• 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

Issue WordPress can't create new files after migration

arturoeq

New Pleskian
Server operating system version
Ubuntu 22.04.1 LTS
Plesk version and microupdate number
18.0.49
Hi everyone,
I have migrated a Cpanel site with shared hosting to a VPS with Plesk, however WordPress has problems creating files (uploading plugins for example).
I have repaired Plesk permissions with plesk repair command via SSH, but this did not fix the problem.

1674916908928.png

1674916992955.png
 
There is a configuration file in your website or a configuration entry in a plugin or theme that uses an absolute path to your website. The file system structure of cPanel is different from Plesk. Your root path in Plesk is /var/www/vhosts/<your subscription domain>/<your document root directory>, for example:
/var/www/vhosts/example.com/httpdocs
First, please check your wp-config.php file, if a path is mentioned in some "DEFINE" statement that does not match the new environment.
Please also check your .htaccess file for such paths.
Then make sure that no third-party plugins are active that have such a configuration.
 
Back
Top