I think I made a bobo. On my centos 7.9 I upgraded to php8.1 from remi some time ago. All are working. Now I am trying to migrate to a new server with debian 12 by using the migration tool. Just found out the migration tool only supports until php version 7.4. Is there an updated migration tool? Or please let me know how to install php 7.4 without affecting the current old server. P.V.Anthony
We are working on a upgrade for the tool, it will be ready in the next 1-2 weeks. Until the new release is ready, you can specify the PHP version that the tool is using like this: Code: PHP=/path/to/php7 ./migrate I'm not using CentOS, but as far as I know, you can install multiple PHP versions simultaneously there as well with: Code: $ sudo yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm $ sudo yum install yum-utils $ sudo yum install php80 php74 You can find several guides when using google "install multiple php versions on centos 7".
This is great news!!! I will wait for the upgrade as I do not want to mess up the current server. Currently I am using php8.1 If there is a need for testing, I am very happy to try it out.
I'm sorry, I could not finish it yet; there are still some issues to fix. I recommend you use the current version by setting an alternate PHP version using the PHP command line variable; it works well and has been used many times. You can basically use any PHP 7.x version and even PHP 5.6.
Unfortunately when I upgraded php 7.x using remi to 8.1, the 7.x is not there any more. :-( I will wait for the new version. Any chance of the new version by Friday? So that I can do the migration in the weekend. I do not what to mess up the current server by installing php 7.x. Please try your best to help.
Very gentle reminder . Hope we can get the migration script on Saturday, 16th March 2024. Hope you can help.
The new version is nearly finished; I'm just waiting for Marius to send me the final version, which fixes some warnings that are still showing when you run it.
The new version of the Migration Tool and ISPCopy is online now. They both now support PHP versions from 5.3 to 8.2. You can download it at the usual URL: https://www.ispconfig.org/downloads/ispconfig_migration_toolkit-latest.zip
Thank you very much for the updated version. I will run and report back. Once again thank you very much for helping.
The migration went well. Moved from centos 7 to debian 12. They were some errors in the command line but it seems ok. Here are the errors for reference. Hope it helps. Code: which: no courierlogger in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/usr/pgsql-9.6/bin:/root/bin) What is the database name of your SOURCE ISPConfig 3 installation? [dbispconfig]: Deprecated: Function strftime() is deprecated in /root/migration/v81/includes/functions.inc.php on line 356 Testing MySQL connection ... OK Testing target server's MySQL setting ...Warning Warning Your max_allowed_packet setting is < 128M (16M). DB import might fail. Starting API calls. [1/1] <Client> processing xxx (C1) [23/23] <Domain> processing phase2.example.com [1/23] <Website> processing net.example.com with autosub none Warning: Undefined variable $parent_id in /root/migration/v81/includes/importer.inc.php on line 1191 [2/23] <Website> processing lala.example.com with autosub none Warning: Undefined variable $parent_id in /root/migration/v81/includes/importer.inc.php on line 1191 [3/23] <Website> processing acc.example.com with autosub none Warning: Undefined variable $parent_id in /root/migration/v81/includes/importer.inc.php on line 1191 [4/23] <Website> processing b.example.com with autosub none Warning: Undefined variable $parent_id in /root/migration/v81/includes/importer.inc.php on line 1191 [7/7] <DBUser> processing c1userroundcube [1/7] <Database> processing c1haha_db Warning: Undefined variable $db_id in /root/migration/v81/includes/importer.inc.php on line 2161 [2/7] <Database> processing c1a_db Warning: Undefined variable $db_id in /root/migration/v81/includes/importer.inc.php on line 2161 [3/7] <Database> processing c1b Warning: Undefined variable $db_id in /root/migration/v81/includes/importer.inc.php on line 2161 [4/7] <Database> processing c1c Warning: Undefined variable $db_id in /root/migration/v81/includes/importer.inc.php on line 2161 [5/7] <Database> processing c1d Warning: Undefined variable $db_id in /root/migration/v81/includes/importer.inc.php on line 2161 [6/7] <Database> processing c1e Warning: Undefined variable $db_id in /root/migration/v81/includes/importer.inc.php on line 2161 [7/7] <Database> processing c1f Warning: Undefined variable $db_id in /root/migration/v81/includes/importer.inc.php on line 2161
Btw I also experienced the "Warning Your max_allowed_packet setting is < 128M (16M). DB import might fail." on Ubuntu 24.04.1 as well (I did only dry-run just now). I will try to do the real one and report back soon.
This is just an information that if you encounter any issues with database import, you should increase max_allowed_packet in your MariaDB config file.