Error when run update.sh (from 2.61 to 2.70-1)

When i run ./update.sh i see on screen error:

Configuring new stor2rrd.cfg
sed: -e expression #32, char 28: unknown option to `s'

ERROR: Configuration of/home/stor2rrd/stor2rrd/etc/stor2rrd.cfg  failed, original file is kept
       This might cause unpredictable problems, contact product support in case anything is not working fine after the update

I find in update.sh sting started as:
eval ' sed -e 's/WEBDIR=.*/WEBDIR=$WEBDIR/g' \
where expression 34 about SSH command.

If exclude this expression (-e 's/SSH=.*/SSH=$SSH/g') file update.sh run without error.
I trace what make this expression and make change SSH string in stor2rrd.cfg by hand to:

# SSH client
#A#  SSH="ssh -q -o ConnectTimeout=80 -o StrictHostKeyChecking=no -o PreferredAuthentications=publickey -o SendEnv=no "
  SSH="ssh -q -F \\/dev\\/null -o Ciphers=+3des-cbc -o ConnectTimeout=80 -o StrictHostKeyChecking=no -o PreferredAuthentications=publickey -o SendEnv=no "
  # use this in case of Reflection/Tectia or other comercial ssh distros "ssh -q " 


Comments

  • Hi,

    ok, "+" in SSH path might cause a problem.
    Let us test and fix it. I suppose it is working for you now.
Sign In or Register to comment.