• 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

Migrating from Confixx 2.0 -> Plesk 7.5.2

G

gripsnet

Guest
Hi,

looks like i can write to the forum now :)

I'm trying to migrate lots of sites from an old server running confixx 2.0 to a new server running plesk 7.5.2. After trying a few times, I still get the same error:

Code:
Konnte keine Beschreibung für die zu migrierenden Objekte erzeugen:
Error during dump retrieval
Lost connection with the remote host"

and in /usr/local/psa/PMM/var/migration.log appears this error:

Code:
[15:31:46 08.02.2005 | pid 13484]:1; readResponse|poll    |waiting 2 handles beginning from 0
[15:31:46 08.02.2005 | pid 13484]:1; readResponse|poll    |2 handles have data
[15:31:46 08.02.2005 | pid 13484]:1; readResponse|handle 0|(11) Hangup detected. Closing handle.
[15:31:46 08.02.2005 | pid 13484]:1; readResponse|handle 1|(13) Hangup detected. Closing handle.
[15:31:46 08.02.2005 | pid 13484]:1; readResponse|finish  |****************************************
[15:31:46 08.02.2005 | pid 13484]:1: Closing connection
[15:31:46 08.02.2005 | pid 13484]:1: destroying object.
[15:31:46 08.02.2005 | pid 13484]:Launchpad | Finished (pid 13484)
[15:31:50 08.02.2005 | pid 16537]:Launchpad | Started (pid 16537, uid 0, euid 0) | '/usr/local/psa/admin/bin/launchpad' '--remove-agent' '--ip=217.160.78.226' '--agent-name=ConfixxX.pl' '--login=root' '--agent-dir=migration/d9645f9436c1384a5dd40bbafe15822c'
[15:31:50 08.02.2005 | pid 16539]:1: Executing command to remote host. Command: 'rm' '-rf'  'migration/d9645f9436c1384a5dd40bbafe15822c' 
[15:31:50 08.02.2005 | pid 16539]:1: 'rm' '-rf'  'migration/d9645f9436c1384a5dd40bbafe15822c' 
[15:31:50 08.02.2005 | pid 16539]:1 : creation process with pid 16540
[15:31:50 08.02.2005 | pid 16539]:1: Reading response from remote host
[15:31:50 08.02.2005 | pid 16539]:1; readResponse|started |****************************************
[15:31:50 08.02.2005 | pid 16539]:1; readResponse|poll    |waiting 2 handles beginning from 0
[15:31:50 08.02.2005 | pid 16573]:Deployer | Started (pid 16573, uid 0, euid 0) | '/usr/local/psa/admin/bin/deployer' '--get-platforms'
[15:31:50 08.02.2005 | pid 16573]:Deployer | Finished (pid 16573)
[15:31:53 08.02.2005 | pid 16539]:1; readResponse|poll    |2 handles have data
[15:31:53 08.02.2005 | pid 16539]:1; readResponse|handle 0|(10) Hangup detected. Closing handle.
[15:31:53 08.02.2005 | pid 16539]:1; readResponse|handle 1|(12) Hangup detected. Closing handle.
[15:31:53 08.02.2005 | pid 16539]:1; readResponse|finish  |****************************************
[15:31:53 08.02.2005 | pid 16539]:1: Closing connection
[15:31:53 08.02.2005 | pid 16539]:1: destroying object.
[15:31:53 08.02.2005 | pid 16539]:Launchpad | Finished (pid 16539)

I don't have any idea why this happens, tried it a few times, everytime the same, so this is my last hope ;)

Thanks a lot !

cu
 
Problem solved...

Hi,

I checked out the error and looked into the Perlscript of the Confixx-migration-client and changed the following:

from:
Code:
sub encodeHtml {
  my(@ret,$src);
  if ($src=shift){
#
#
    if(ref $src){
#
#
      if(${$src}=~/[&"'><]/){
                ${$src}=~s/&/&amp;/sg;
                ${$src}=~s/>/&gt;/sg;
                ${$src}=~s/</&lt;/sg;
                ${$src}=~s/\'/'/sg;
                ${$src}=~s/\"/&quot;/sg;
      }
      return ${$src};
    }else{
      if($src=~/[&"'><]/){
                $src=~s/&/&amp;/sg;
                $src=~s/>/&gt;/sg;
                $src=~s/</&lt;/sg;
                $src=~s/\'/'/sg;
                $src=~s/\"/&quot;/sg;
      }
    }
  }
  return $src;
}

to:

Code:
sub encodeHtml {
  my(@ret,$src);
  if ($src=shift){
#
#
    if(ref($src) eq 'SCALAR') {
#
#
      if(${$src}=~/[&"'><]/){
                ${$src}=~s/&/&amp;/sg;
                ${$src}=~s/>/&gt;/sg;
                ${$src}=~s/</&lt;/sg;
                ${$src}=~s/\'/'/sg;
                ${$src}=~s/\"/&quot;/sg;
      }
      return ${$src};
    }else{
      if($src=~/[&"'><]/){
                $src=~s/&/&amp;/sg;
                $src=~s/>/&gt;/sg;
                $src=~s/</&lt;/sg;
                $src=~s/\'/'/sg;
                $src=~s/\"/&quot;/sg;
      }
    }
  }
  return $src;
}

This small change to the code solved the problem. Now the migration works fine :)

cyas
 
I managed to migrate ONE Domain with the manager... Every other one give the above error message ...

Konnte keine Beschreibung für die zu migrierenden Objekte erzeugen:
Error during dump retrieval
Fatal migration error

I also tried on "very easy" Domain Objects without any special conditions...

No success ...

Confixx-migration-client - where? "find" could not locate this...

Plesk 7.5.4
Confixx 3
 
dude, why dont you upgrade to plesk 7.5.4 first... there are several fixes made to the migration manager...
hal
 
Back
Top