• 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

Directory issue when migrating

D

death

Guest
Hello!

I'm migrating my customers from a RH9 box with PSA 7.5.3 to a debian box with 7.5.4

Now I got the problem with paths. Plesk 7.5.4 under debian wants its users vhost under /var/www (which makes sense for debian). On the old RH9 Server with PSA 7.5.3, the vhost directory resides in /usr/local/psa/home

Someone in this forum (sorry, can't find the thread anymore) proposed me to do a symlink from /usr/local/psa/home/vhosts to /var/www/vhosts which i did. This is because many scripts (mainly php) are pointing to /usr/local/psa/home/vhosts/...

But now I get theses Error messages:
fopen(/usr/local/psa/home/vhosts/***.ch/httpdocs/albums/.users/.htaccess): failed to open stream: Permission denied in /var/www/vhosts/...
I get rid of the openbasedir errors by setting:
php_admin_flag engine on
php_admin_value safe_mode 0
php_admin_value open_basedir none
In this users httpd.include

Any suggestions? How can I migrate this customers to the new server without having to go trough each single php script?
 
Sorry folks. Posted too fast.

Managed to get it working by setting the owner of albums/ (yes, its gallery) to www-data.www-data

Plesk changed this to <user>.psacln during migration.
 
Back
Top