• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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