• 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

Plesk 8.2 to 8.3 Migration via Expand resetting permissions?

M

Mark Duffell

Guest
Old Server Details:
Plesk 8.2 (RHEL3) with 4PSA Integrator (only single license)
Apache User: apache

New Server:
Plesk 8.3 (Ubuntu 7.10) without 4PSA Integrator
Apache user: www-data

Managed by:
Plesk Expand 2.3.2

Hey all,

I'm currently attempting to migrate some client/domains from a 8.2 to 8.3 and am experiencing an issue with the attributes being altered after migration. I'll explain via a scenario I'm seeing below.

A website on 8.2 currently is utilising the application Joomla on their website which was installed via the 4PSA Integrator tool, when installed via this tool some files are owned by the webserver (apache).

When I migrate the working website to the 8.3 server, the web-content displayed via the Site Preview function displays a permissions error and as such the website does not load correctly, from what I can tell this is being caused by the owner information being changed between systems (shown in the example below). It changes apache owned files to the default pleskuser:pleskgroup.

Is there anyway to retain this information, or will I need to manually identify apache owned files and manually change them after migration (could be a hassle if there's a lot of files!) to the Plesk 8.3 apache user (www-data)?



Plesk 8.2 Files Example:
-rw-r----- 1 apache apache 6555 Oct 19 10:47 jwsig.php
-rw-r----- 1 apache apache 3647 Oct 19 10:47 jwsig.xml
drwxr-xr-x 2 apache apache 4096 Oct 19 10:47 plugin_jw_sig
drwxr-xr-x 2 apache apache 4096 Sep 10 01:03 rokdownload
-rw-rw-rw- 1 apache apache 5974 Sep 10 01:03 rokdownload.php
-rw-rw-rw- 1 apache apache 823 Sep 10 01:03 rokdownload.xml

Plesk 8.3 Files Example:
-rw-r----- 1 pleskuser psacln 6555 2009-10-19 10:47 jwsig.php
-rw-r----- 1 pleskuser psacln 3647 2009-10-19 10:47 jwsig.xml
drwxr-xr-x 2 pleskuser psacln 4096 2009-10-19 10:47 plugin_jw_sig
drwxr-xr-x 2 pleskuser psacln 4096 2009-09-10 01:03 rokdownload
-rw-rw-rw- 1 pleskuser psacln 5974 2009-09-10 01:03 rokdownload.php
-rw-rw-rw- 1 pleskuser psacln 823 2009-09-10 01:03 rokdownload.xml
 
Hey Marc,
I know its about a year since you last post.. but did you figure out how to solve that problem?

I have the same problem switching from Suse -> Centos :(

regards
Michael
 
Hey Marc,
I know its about a year since you last post.. but did you figure out how to solve that problem?

I have the same problem switching from Suse -> Centos :(

regards
Michael

We didn't really resolve the issue unfortunately. However an interim step I took for some of the sites needing to be migrated was to run a basic script to identify any files on the OLD server that were running as apache:apache, then mass-chown these files on the new server so the attributes were returned.

But in the end we ended up not needing to keep the permissions as we moved to a server that utilises suphp and has no use for 4PSA Integrator and all seems to be fine.
 
Thank you Mark.

I think a script is a good solution as suPHP would make things more complicated at the moment.

Michael
 
Back
Top