Debian Jessie 8.5 - update from 3.0.5.4p9 to 3.1

Discussion in 'ISPConfig 3 Priority Support' started by inside83, Oct 5, 2016.

  1. inside83

    inside83 Member

    Hi
    I just updated ISPCOnfig on Debian Jessie 8.5 from 3.0.5.4p9 to 3.1 and at the end of the update process I got this message:
    Code:
    Restarting services ...
    Update finished.
    /usr/local/ispconfig/server/scripts/update_from_tgz.sh: line 21: -d: command not found
    /usr/local/ispconfig/server/scripts/update_from_tgz.sh: line 26: syntax error near unexpected token `else'
    /usr/local/ispconfig/server/scripts/update_from_tgz.sh: line 26: `else'
    /usr/local/bin/ispconfig_update.sh: line 4: ate.php: command not found
    Should I be concerned?

    Edit 1:
    I just got the same message on 3 other servers.

    This is
    /usr/local/bin/ispconfig_update.sh
    on all 3 servers:
    Code:
    #!/bin/bash
    
    php -q \
        -d disable_classes= \
        -d disable_functions= \
        -d open_basedir= \
        /usr/local/ispconfig/server/scripts/ispconfig_update.php
    and this is
    /usr/local/ispconfig/server/scripts/update_from_tgz.sh
    on all 3 servers:
    Code:
    #!/bin/bash
    
    {
        umask 0077 \
        && tmpdir=`mktemp -dt "$(basename $0).XXXXXXXXXX"` \
        && test -d "${tmpdir}" \
        && cd "${tmpdir}"
    } || {
        echo 'mktemp failed'
        exit 1
    }
    
    wget http://www.ispconfig.org/downloads/ISPConfig-3-stable.tar.gz
    if [ -f ISPConfig-3-stable.tar.gz ]
    then
        tar xvfz ISPConfig-3-stable.tar.gz
        cd ispconfig3_install/install/
        php -q \
            -d disable_classes= \
            -d disable_functions= \
            -d open_basedir= \
            update.php
        cd /tmp
        rm -rf "${tmpdir}"
    else
        echo "Unable to download the update."
        exit 1
    fi
    
    exit 0
     
    Last edited: Oct 5, 2016
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    inside83 likes this.
  3. inside83

    inside83 Member

    Great, thank you!
    Feel free to delete second and third post.
    Sorry again.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    No problem at all :)
     

Share This Page