Update Prob

Report bugs and workarounds
Post Reply
uwejanssen
Posts: 10
Joined: 06 Feb 2017 11:04

Update Prob

Post 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 ?
Greeting from Germany
Uwe
User avatar
shawniverson
Posts: 3783
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Update Prob

Post 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.
uwejanssen
Posts: 10
Joined: 06 Feb 2017 11:04

Re: Update Prob

Post 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

:-(
Greeting from Germany
Uwe
User avatar
shawniverson
Posts: 3783
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Update Prob

Post 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}')
User avatar
shawniverson
Posts: 3783
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Update Prob

Post by shawniverson »

Wait, I know the problem.

I bet when you run du -c /var/lib/mysql 'total' is 'gesamt' on last line.
User avatar
shawniverson
Posts: 3783
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Update Prob

Post by shawniverson »

Preparing a fix to update script ... :)

Give me a few minutes.
uwejanssen
Posts: 10
Joined: 06 Feb 2017 11:04

Re: Update Prob

Post by uwejanssen »

OK i wait..
Greeting from Germany
Uwe
User avatar
shawniverson
Posts: 3783
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Update Prob

Post by shawniverson »

Ok, update file is fixed. Please try it now (after changing version back and taking care of backup dir)
uwejanssen
Posts: 10
Joined: 06 Feb 2017 11:04

Re: Update Prob

Post by uwejanssen »

Thanks, now it is ok :-) :dance:
Greeting from Germany
Uwe
Post Reply