ISPconfig 3 and latest update Debian Stretch

Discussion in 'Installation/Configuration' started by Peter Oudenes, Jul 16, 2019.

  1. Peter Oudenes

    Peter Oudenes Member

    Hi All,

    After I did a full backup of my VPS (So happy) I tried to update the system with latest updates. There was a big update list over more then 500 items:

    root@vps:/home/poudenes# apt update
    Hit:1 WEBLINK/debian-security stretch/updates InRelease
    Hit:2 WEBLINK//debian stretch-updates InRelease
    Hit:3 WEBLINK//debian stable InRelease
    Ign:4 WEBLINK//debian stretch InRelease
    Hit:5 WEBLINK//debian stretch Release
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    527 packages can be upgraded. Run 'apt list --upgradable' to see them.

    After I did the upgrade and dist-upgrade I reboot the system. After that the problems started:

    Was not able to read my emails. Sending was no problems, tried to find out where the problem can be.
    Old and new dovecot.conf file and master.conf and main.cf where all the same. Checked open Ports and see all the ports there what is needed.
    Website gives error then curl php was not installed, tried it, without success.

    At the end, I restored my VPS to previous one and now everything is working again.

    But can someone help me and others how we can do this big update?

    Cheers,
    Peter
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Was the original operating system Debian 9.x Stretch? Was the upgrade to Debian 10 Buster?
    After the upgrade, did you force ISPConfig to do reconfigure services?
    Was reading e-mails the only problem?
     
  3. Peter Oudenes

    Peter Oudenes Member

    I run Stretch 9.x and don't know if this update upgrade me to 10...
    Tried to search for it, but was not able to find the way how to reconfigure the services.

    I can try it again, if you can give me the command to reconfigure the services...
    Then I make a backup again and do the steps again
     
  4. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Find out what OS you have now:
    Code:
    lsb_release -a 
    Good grief. You really should know. If you upgrade to Debian 10, follow the Debian upgrade instructions in Buster Release Notes: https://www.debian.org/releases/stable/releasenotes .
    Assuming you stay with Debian 9 Strech, what is the version of ISPConfig the host has? Force reconfigure services by choosing yes to that question when doing
    Code:
    cd /tmp
    wget http://www.ispconfig.org/downloads/ISPConfig-3-stable.tar.gz
    tar xfz ISPConfig-3-stable.tar.gz
    cd ispconfig3_install/install/
    and then
    Code:
    # php -q upgrade.php
    The above is from https://www.howtoforge.com/tutorial...-dovecot-ispconfig-3.1/3/#-install-ispconfig-
     
    Last edited: Jul 16, 2019
  5. Peter Oudenes

    Peter Oudenes Member

    It is already buster... haha...

    root@vps:/home/poudenes# lsb_release -a
    No LSB modules are available.
    Distributor ID: Debian
    Description: Debian GNU/Linux 10.0 (buster)
    Release: 10.0
    Codename: buster

    But then the long list of updates are for buster.
    ISPConfig was original installed on Stretch. I have latest ISPConfig installed: 3.1.14

    Will do your steps tomorrow. Will give the results back then
     
  6. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    If you have buster, do the steps from ISPConfig Perfect Server guide for Buster and your choice of web server. Then do force reconfigure services.
    And check what you have in /etc/apt/sources.list and /etc/apt/sources.list.d/ directory, so you are using Buster package repositories.
     
  7. Peter Oudenes

    Peter Oudenes Member

  8. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    The complete Perfect Server Guide. The settings may have changed between Stretch and Buster, you have to ensure everything is now set up as ISPConfig needs on Buster.
     
  9. Peter Oudenes

    Peter Oudenes Member

    Hmm ok. Thats more then I thought. My system is running good now. So little scare when do all steps again I will break my system.
    But will compare the steps with the current one I used for the setup
     
  10. lollollollol

    lollollollol Member

    Hello,
    Just "for the record"... I just finished an upgrade from Debian 9 to Debian 10

    What I have done:
    Code:
    # apt update && apt upgrade && apt dist-upgrade && apt autoremove
    [​IMG]

    Add Buster to your /etc/apt/sources.list then
    Code:
    # apt-get upgrade
    # apt full-upgrade
    I don't know why php5.6-curl and php7.0-curl was remove

    I need to install php-mysql to get php7.3-mysql installed...
    Code:
    # apt install php-fpm php-curl
    # a2enconf php7.3-fpm
    # systemctl reload apache2
    # apt install php-mysql
    # cd /tmp && wget http://www.ispconfig.org/downloads/ISPConfig-3-stable.tar.gz
    # tar xfz ISPConfig-3-stable.tar.gz && cd ispconfig3_install/install/
    # php -q update.php
    + Reconfigure Services? (yes,no,selected) [yes]:

    [​IMG]

    Everything seems good, so far so good...
     
    Richard Foley, ahrasis and till like this.
  11. Silverdog

    Silverdog New Member

    Hi Guys,
    sorry to reopen this.
    I did the same upgrading from debian 9 to 10. all working good except the nginx.
    the php socket is not updated after reconfiguring ispconfig (php -q update.php). And there is no multiple socket creation per user. I just have apps.socks and ispconfig.socks . Just checking that all my things are still there I changed a php socket path to use the apps.socks and works perfect but off course that's not the idea (paths are still generated with php 7.0 instead 7.3)
    Any clue on how can that be fixed?

    Thanks in advance.
     

Share This Page