Page 1 of 1

Update Prob

Posted: 27 Mar 2017 10:35
by uwejanssen
We have a Prob with the Update one System
in the log ist
Starting update to E.F.A. 3.0.1.9
/var/EFA/update/EFA-Version-Upgrade: Zeile 63: * 3: Syntax Fehler: Operator erwartet. (Fehlerverursachendes Zeichen ist \"* 3\").
All done

The Webinsterface say: MailWatch für MailScanner v1.2.0 - RC4 running on EFA-3.0.1.9 - © 2006-2017
so Mailscanner iss not MailWatch für MailScanner v1.2.1-dev

What is todo ?

Re: Update Prob

Posted: 27 Mar 2017 11:32
by shawniverson
Ooops :)

In your specific case, do this:

1) Edit /etc/EFA-Version and set back to 3.0.1.8
2) Remove or move out of the way /var/EFA/backup/3.0.1.9 (if present)

Try running the update again.

Re: Update Prob

Posted: 27 Mar 2017 12:26
by uwejanssen
The same Prob is after make a new Update,
Starting update to E.F.A. 3.0.1.9
/var/EFA/update/EFA-Version-Upgrade: Zeile 63: * 3: Syntax Fehler: Operator erwartet. (Fehlerverursachendes Zeichen ist \"* 3\").
All done

:-(

Re: Update Prob

Posted: 27 Mar 2017 12:28
by shawniverson
That is bizzare....

Can you do me a favor and try this on your shell?

Code: Select all

echo $((3 * 3))
Also this:

Code: Select all

echo $(du -c /var/lib/mysql | grep total | awk '{print $1}')

Re: Update Prob

Posted: 27 Mar 2017 12:32
by shawniverson
Wait, I know the problem.

I bet when you run du -c /var/lib/mysql 'total' is 'gesamt' on last line.

Re: Update Prob

Posted: 27 Mar 2017 12:33
by shawniverson
Preparing a fix to update script ... :)

Give me a few minutes.

Re: Update Prob

Posted: 27 Mar 2017 12:35
by uwejanssen
OK i wait..

Re: Update Prob

Posted: 27 Mar 2017 12:44
by shawniverson
Ok, update file is fixed. Please try it now (after changing version back and taking care of backup dir)

Re: Update Prob

Posted: 27 Mar 2017 12:56
by uwejanssen
Thanks, now it is ok :-) :dance: