Migrate and update ISPConfig installation

Discussion in 'Installation/Configuration' started by Bocki, Oct 27, 2017.

  1. Bocki

    Bocki New Member HowtoForge Supporter

    Hello everyone,

    I've got several ISPConfig installations (versions 3.0.x) on Debian 8. These I want to update to Debian 9 and ISPConfig 3.1.x.

    All these instances are virtual machines on one host. Because I have to migrate them to another host I have to change the IP-addresses and hostnames of the virtual machines, too.

    What is the proposed procedure to accomplish this? In which order should I do the updates and in which places do I have to update the IP and hostname?

    Thanks for your support!
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    I would proceed like this:
    Move a copy of the virtual machine to the new servers, there you:
    1) Change the IP address in /etc/network/interfaces file, so that you can connect to the internet again.
    2) Update Debian to 9.
    3) Update ispconfig and choose to reconfigure services.
    4) Run Tools > resync in ISPConfig on the websites to rewrite the server config.
    If you used the IP address instead of * in the website settings, then you might have to adjust the IP in ISPConfig. Same with DNS records.
     
  3. Bocki

    Bocki New Member HowtoForge Supporter

    Thanks Till, I will try it like that!

    Edit: It worked out well! Thanks again for the procedure. :)
     
    Last edited: Nov 6, 2017
  4. Loveless

    Loveless Member

    @till, do you know if migration from
    mysql Ver 15.1 Distrib 10.0.34-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2 (on Ubuntu 16)
    to
    mysql Ver 15.1 Distrib 10.1.26-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2 (on Debian 9)
    is going to cause a problem? It's a downgrade in version, but only for a tiny bunch of changelog entries...
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    To me, it looks like an upgrade: from MariaDB 10.0.34 to 10.1.26. Debian 9 is much newer than Ubuntu 16.04, so it should be an upgrade and not downgrade.
     
  6. Loveless

    Loveless Member

    Thanks, my tired eyes didn't see the .1. in the middle ;-)
    I migrated all under /var/lib/mysql 1:1, and ran
    # mysql_upgrade -u root -p
    and it looks like it's 100% OK.
     

Share This Page