Migration tool errors - pls help

Discussion in 'Plugins/Modules/Addons' started by czdavid, Jun 23, 2018.

  1. czdavid

    czdavid Member

    Hello,
    I made everything as migration tool tutorial describes.
    I am still getting error when migration from old to new server.

    Old server ispconfig 3.0.5.4p8 (Debian GNU/Linux 6.0) - PHP 5.3
    New server ispconfig 3.1.12 (based on tutorial for Ubuntu 18.04)
    Attaching migration log (new server was ispconfig version 3.1dev - I updated to 3.1.12, but migration process still failed with same errors)

    Migration error on source server:
    Code:
    API call to sites_database_user_get failed
    API call to sites_database_user_add failed
    Apache error log on target server:
    Code:
    [client IP:47183] mod_fcgid: stderr: PHP Fatal error:  Uncaught Error: Class 'SoapFault' not found in /usr/local/ispconfig/interface/lib/classes/remoting.inc.php:531
    [Sat Jun 23 23:41:33.863218 2018] [fcgid:warn] [pid 34236] [client IP:47183] mod_fcgid: stderr: Stack trace:
    [Sat Jun 23 23:41:33.863222 2018] [fcgid:warn] [pid 34236] [client IP:47183] mod_fcgid: stderr: #0 /usr/local/ispconfig/interface/lib/classes/remoting.inc.php(493): remoting->getSession('f4b76e00e5fbeeb...')
    [Sat Jun 23 23:41:33.863225 2018] [fcgid:warn] [pid 34236] [client IP:47183] mod_fcgid: stderr: #1 /usr/local/ispconfig/interface/lib/classes/remote.d/sites.inc.php(216): remoting->checkPerm('f4b76e00e5fbeeb...', 'sites_database_...')
    [Sat Jun 23 23:41:33.863228 2018] [fcgid:warn] [pid 34236] [client IP:47183] mod_fcgid: stderr: #2 /usr/local/ispconfig/interface/lib/classes/json_handler.inc.php(117): remoting_sites->sites_database_user_add('f4b76e00e5fbeeb...', '39', Array)
    [Sat Jun 23 23:41:33.863231 2018] [fcgid:warn] [pid 34236] [client IP:47183] mod_fcgid: stderr: #3 /usr/local/ispconfig/interface/web/remote/json.php(17): ISPConfigJSONHandler->run()
    [Sat Jun 23 23:41:33.863234 2018] [fcgid:warn] [pid 34236] [client IP:47183] mod_fcgid: stderr: #4 {main}
    [Sat Jun 23 23:41:33.863236 2018] [fcgid:warn] [pid 34236] [client IP:47183] mod_fcgid: stderr:   thrown in /usr/local/ispconfig/interface/lib/classes/remoting.inc.php on line 531
    
    Migration crashes in different process of migration each time ... everytime I get little bit closer to the end... but still... when I got first API failed messages - it is failed to the end of migration. I dont know why :( Please, help me.
     

    Attached Files:

  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Did you write e-mail to migsupport?
     
  3. czdavid

    czdavid Member

    Yes, I used support form at ispconfig website.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    The PHP soap module is missing on the new server. Install it with:

    apt-get install php-soap

    Then start the migration again.
     
  5. czdavid

    czdavid Member

    php-soap for php7.2 was really missing, but I made migration without php-soap for php7.2 ... I have to migrate one service by one... not everything at all (weird).
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    php-soap is required for the remote api in ISPConfig. Thje migration tool uses the remote api, so php-soap must be installed on the new server to use it. It does not matter if you migrate one service/site or all sites for this.
     
  7. czdavid

    czdavid Member

    Yes, but I migrated it before... weird :)
    I have also installed PHP 5.6 as PHP-FPM on new server.
     

Share This Page