Update of underlying OS

Discussion in 'Installation/Configuration' started by Thomas Schachtner, Dec 20, 2019.

Tags:
  1. Thomas Schachtner

    Thomas Schachtner New Member

    Hi there,
    I'm currently using ISPConfig V. 3.1.15p2 on a server running Debian 8.11.
    The websever being used is apache V. 2.4.27.
    I wanted to update the system using apt-get update, apt-get upgrade and apt-get dist-upgrade, but since some time, I cannot perform apt-get dist-upgrade anymore as then, apache2 is being removed rendering my rendering my system being being unusable.
    I do not want to retry the dist-upgrade with updated/patched apt.sources as I fear that this will break my system beyond any hope of repair.

    I currently have several web sites running on the server with each having one or many MySQL databases.
    There are some user accounts and some FTP accounts and so on.
    And there are 50 (or so) primary DNS zones on the server.

    How can this system be updated easily?
    What are possible scenarios for the update?

    My ideas:
    - Set up a parallel ISPConfig system
    Then transfer all the web pages (backup on one server and restore on the other one), and all the DNS zones (very complicated?)

    - Set up an additional ISPConfig system (a slave ISPConfig system with the current server being the master system)
    Then transfer all the web pages (one-click?) and all the DNS zones (one-click?)
    Then update the primary server (does this work when only the secondary ISPConfig server is running? Can the upgraded server then be the master ISPConfig server again?)

    - Full ISPConfig backup (including web sites, settings, DNS zones and all other parts of the system) which is restored on a temporary server, the upgrade the system and move the ISPConfig installation back.

    - any other scenario?

    Are there any suggestions on how to do this OS upgrade?

    Best regards,
    Thomas
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Updated to what? Debian 9, or what?
    If you have not changed /etc/apt/sources.list, and apt-get dist-upgrade removes Apache, then something conflicts with Apache causing it to be removed. You can see the reason for removal reading the stuff that dist-upgrade writes on your screen, or from dpkg.log.
    If you are upgrading Debian 8 to Debian 9, do it following this: https://www.debian.org/releases/stretch/releasenotes If something goes wrong during upgrade that document should tell how to repair it.
     
  3. Thomas Schachtner

    Thomas Schachtner New Member

    Yes, I'd like to update to Debian 9.
    But that didn't work. Apache2 is still uninstalled due to dependency issues.
    I assume it's due to a manually installed php3 on the current ISPConfig system, but I am not sure.
    Basically, I'm currently not able to update the ISPConfig installation to a new Debian version. (at least not in-place...)
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Have you tried to force-install it again after the upgrade? Normally such a Debian dist upgrade works quite smoothly, I use Debian on my servers as well.

    Are these servers your own hardware or are they rented? If you rented them, I would consider to rent a new server and move ISPConfig over and then cancel the old ones. That way you get newer and faster hardware as well. A way to do this is using the Migration Toolkit which contains the Migration Tool and ISPCopy which help you to move an ISPConfig installation to a new server.
     
  5. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    I am sure you can upgrade to next Debian version, at least it works following the Release Notes I posted a link to.
    If apache2 is removed during the upgrade, apt-get install it after the upgrade. The command shows what would get removed, so you can examine what is the conflict.
    It is possible that you have installed a system where something conflicts with apache, you should be able to see what those conflicting packages are and remove those or otherwise resolve the conflict.
     
  6. Thomas Schachtner

    Thomas Schachtner New Member

    Yes, I tried to force the installation of the packages, but there were missing packages or version conflicts again and again.
    I guess it's due to the manually-added php version on the server. That manually copied bits break Debians update dependencies...
    I've never heard of the Migration tool or ISPCopy. I'll give it a try.
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    The Migration tool basically imports the config and data of a system into another system by using the remote API from ISPConfig. ISPCopy, which is part of the Toolkit as well, does a one to one copy of the system. I would use the Migration Tool over ISPCopy in your case as it ensures that the problems of your current config don't get migrated to the new system as well. You can find a tutorial here: https://www.howtoforge.com/tutorial...-confixx-plesk-to-ispconfig-31-single-server/

    What the Tools is doing can be done manually too of course, it just requires more knowledge and more time to do it manually, you can find threads on how to manually move an ISPConfig installation here in the forum as well.
     

Share This Page