How to update/upgrade Ubuntu with ISPconfig installed?

Discussion in 'Installation/Configuration' started by rmccain, Mar 23, 2009.

  1. rmccain

    rmccain New Member

    I've been running a production P3 machine with Ubuntu 7.10, Postfix and ISPconfig for the past year+ and would like to upgrade to Ubuntu 8.04 LTS. However, I'm having difficulty even doing updates while ISPconfig is running.

    In the past, my solution for updates was to reboot the server in single user mode, run apt-get from console. However this method takes down all 30+ domains that are hosted on the machine for an hour or two.

    Is there a better way to do routine updates?
     
  2. falko

    falko Super Moderator Howtoforge Staff

  3. rmccain

    rmccain New Member

    Let's do this in baby steps

    Let's say for the sake of argument that I didn't want to upgrade to 8.04.

    My initial problem was and is that I can't do an apt-get update while the server is running with ISPconfig turned on. The only way seems to be to:

    1. reboot - abort before ISPconfig starts
    2. switch to single user (runlevel 1)
    3. run apt-get update
    4. switch to multiuser (runlevel 3)
    5. start ISPconfig (or reboot normally)

    This makes it very difficult to schedule automatic updates. Am I running an old version of ISPconfig that needs upgrading?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    I'am updating my servers always when ISPConfig is running, never had a problem in the last years. If you want to stop ISPConfig, just run:

    /etc/init.d/ispconfig_server stop

    No need to do something with runlevels etc.
     

Share This Page