ISPConfig Migration

Discussion in 'Plugins/Modules/Addons' started by daniel.n, Sep 7, 2016.

  1. daniel.n

    daniel.n New Member

    Hello
    I'm having a problem trying to running this (version 1.4). I follow all the steps using migrate mode and get as far as the script trying to create the first client, which then generates this error
    [WARN] SOAP ERROR in API call (client_add): Call to undefined function dl()

    Can anybody help with this?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    That's an error in the PHP installation of the target server and not a problem in the migration tool. The error is returned by ISPConfig trough the soap API to the migration tool, ispconfig does not use the dl() function anywhere, so there must be another php script on the target server that is e.g. loaded by auto prepend which uses this function. Check all php.ini files on the target system if any of them has a auto_prepend script defined.
     
  3. daniel.n

    daniel.n New Member

  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Did you install any addons, extensions or custom themes in ISPConfig or any other PHP addons not described in this tutorial or a different PHP version?
     
  5. daniel.n

    daniel.n New Member

    No nothing. Just followed that guide and nothing more. I've already rebuilt the server again from scratch and still get the same error.
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    The installed ISPConfig version is the current stable 3.0.5.4p9 ?
     
  7. daniel.n

    daniel.n New Member

    It is yes. On both the source and target server.
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the output of the command:

    php --version

    from source and target server.
     
  9. till

    till Super Moderator Staff Member ISPConfig Developer

    and please run:

    grep -R 'dl(' /usr/local/ispconfig/
    grep -R 'dl (' /usr/local/ispconfig/

    on the target server and post the output.
     
  10. daniel.n

    daniel.n New Member

    source server:
    PHP 5.5.37-1+deprecated+dontuse+deb.sury.org~precise+1 (cli) (built: Jun 24 2016 08:28:38)
    Copyright (c) 1997-2015 The PHP Group
    Zend Engine v2.5.0, Copyright (c) 1998-2015 Zend Technologies
    with XCache v3.2.0, Copyright (c) 2005-2014, by mOo
    with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies
    with XCache Optimizer v3.2.0, Copyright (c) 2005-2014, by mOo
    with XCache Cacher v3.2.0, Copyright (c) 2005-2014, by mOo
    with XCache Coverager v3.2.0, Copyright (c) 2005-2014, by mOo

    target server:
    PHP 5.3.3 (cli) (built: Aug 11 2016 20:33:53)
    Copyright (c) 1997-2010 The PHP Group
    Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
    with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v5.1.2, Copyright (c) 2002-2016, by ionCube Ltd.

    Running those two commands on the target server doesn't return anything. I have since installed the php-intl package and the ioncube loader on the target server which has given me a different error this time:-

    2016-09-07 14:55:56 - [INFO] SOAP API call to client_get completed.
    2016-09-07 14:55:56 - [INFO] SOAP API call to client_get completed.
    2016-09-07 14:55:56 - [INFO] Creating client ****
    2016-09-07 14:55:56 - [WARN] SOAP ERROR in API call (client_add): email_error_isemail<br />
    2016-09-07 14:55:56 - [INFO] Trying again (client_add)
    2016-09-07 14:55:57 - [WARN] SOAP ERROR in API call (client_add): email_error_isemail<br />
    2016-09-07 14:55:57 - [INFO] Trying again (client_add)
    2016-09-07 14:55:58 - [WARN] SOAP ERROR in API call (client_add): email_error_isemail<br />
    2016-09-07 14:55:58 - [INFO] Config file saved.
     
  11. daniel.n

    daniel.n New Member

    Ok, so populating the email address field for the clients in the control panel fixed that problem. Migration is running now.
     
  12. till

    till Super Moderator Staff Member ISPConfig Developer

    Maybe you mixed source and target server before, as the php --version output showed that you had ioncube on the target installed and not the source system, but ioncube is required on the source as the migrator gets run on the source server and not the target.
     

Share This Page