Unable to upgrade to 3.2.12 with Debian 7 in a multiserver scenario

Discussion in 'ISPConfig 3 Priority Support' started by clixclix, Jul 15, 2024.

  1. clixclix

    clixclix Member HowtoForge Supporter

    Hi,
    one of the slave servers in my multiserver scenario runs Debian 7.
    Trying to upgrade from ISPConfig 3.2.11 to 3.2.12 the update script says it cannot perform the update because it needs PHP 7 or newer.
    My questions are:
    • what will happen if I leave that slave server with ISPConfig 3.2.11 while the master server has 3.2.12 ?
    • do you think there is a valid workaround to let ISPConfig run on PHP 7 on a Debian 7 machine?
    • would you try upgrading Debian?
    Thank you.
    Claudio
     
  2. clixclix

    clixclix Member HowtoForge Supporter

    Ok, I already found out that the two versions are incompatible, as modifying a website throws an error on the remore server saying the field disable_symlinknotowner is missing in the web_domain table.
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    Parts of the system will likely fail as the database structure is not the same on all nodes.

    If you have PHP 7 installed, then you can try to change the default PHP version of the OS to a PHP 7.x version. AS an alternative, you can likely install ISPConfig 3.2.12 by using the manual installation procedure

    Code:
    cd /tmp
    wget https://www.ispconfig.org/downloads/ISPConfig-3.2.12.tar.gz
    tar xvfz ISPConfig-3.2.12.tar.gz
    cd ispconfig3_install/install
    php -q update.php
    and before running update.php, you modify the file ispconfig3_install/install/lib/installer_base.lib.pho and modify line 256, change the 7.0 to e.g. 5.3. This hack will likely work for this version now as the code should still be compatible with PHP 5, but don't expect this to work in future releases as we will start using more modern code constructs that will raise PHP errors in PHP 5.

    I guess you will have to do that sooner or later if you want to continue using that system. But in any case you must have a full backup of the system and then upgrade the OS step-by-step.
     
    clixclix likes this.

Share This Page