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?
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.
I've checked all php.ini files and there is no auto_prepend script anywhere. The target server is a new (centos) build from Monday using the guide here https://www.howtoforge.com/perfect-...l-php-pureftpd-postfix-dovecot-and-ispconfig3
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?
No nothing. Just followed that guide and nothing more. I've already rebuilt the server again from scratch and still get the same error.
and please run: grep -R 'dl(' /usr/local/ispconfig/ grep -R 'dl (' /usr/local/ispconfig/ on the target server and post the output.
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.
Ok, so populating the email address field for the clients in the control panel fixed that problem. Migration is running now.
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.