Updating a server from Debian X to Debian X+1

Discussion in 'General' started by calbasi, Nov 17, 2021.

  1. calbasi

    calbasi Member HowtoForge Supporter

    Until now, when one of my servers has an OS unsupported, like nowadays is Debian 9, I migrate all my websites to a new server, with a newer version of Debian (10/11). I migrate them one by one (now I'm considering using Migrating Tool).
    I don't just upgrade my "old" Debian because I think it could have missconfigurations, old config files/permissions that generate a "tech debt" and become problems in the future.
    What do you think about it?
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Debian update process supports release upgrade to the next release, that is Debian 9 can be upgraded to Debian 10. This works well provided the updating instructions from Release Notes are followed.
    I would consider doing it the way you describe if upgrading from Debian 9 to Debian 11, that is skipping a release. Your way may be easier that upgrading 9 -> 10, then 10 -> 11.
     
  3. calbasi

    calbasi Member HowtoForge Supporter

    So, in your experience, Ispconfig services are not disturbed by a Debian release upgrade, are they?
     
  4. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    No, if following Debian upgrade instructions and ISPConfig upgrade instructions, and doing the ISPConfig Perfect Server Guide for the upgraded to Debian release and forcing ISPConfig to reconfigure services after all this is done.
     
  5. calbasi

    calbasi Member HowtoForge Supporter

    OK, so in my understanding there are 4 steps:

    1) Debian upgrade
    2) Ispconfig upgrade
    3) doing the ISPConfig Perfect Server Guide for the upgraded to Debian release
    4)
    Ispconfig reconfiguration services

    Right? Is this procedure documented anywhere (even these 4 steps). I think it would be useful to have this "guide".
     
  6. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    I do not know of such guide. The procedure is described in this forum on several threads, but there is no authoritative definitive guide that I know of.
     
  7. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    Step 2 and 4 are the same; leave out 2. Ie. After the Debian upgrade, run through the perfect server guide for your new os version, then update ispconfig afterwards to reconfigure services. Note if the installer warns you about having custom templates and either rename them or integrate your customizations again as needed.
     

Share This Page