©XSIBackup-Free: Free Backup Software for ©VMWare ©ESXi

Forum ©XSIBackup: ©VMWare ©ESXi Backup Software


You are not logged in.

#1 2019-04-15 19:44:50

bez
Member
Registered: 2019-04-15
Posts: 2

Syntax Error after updating ESXi to 6.7 Update 2

Hi there,

I have just updated my ESXi to 6.7 update 2 from update 1 and now I am getting the following error when running xsibackup

/vmfs/volumes/datastore1/xsi-dir/xsibackup: line 605: syntax error: unexpected "&"

I have tried reinstalling XSIBACKUP PRO but still getting the same errors when executing xsibackup

Offline

#2 2019-04-16 08:06:09

sistemi
Member
Registered: 2017-08-29
Posts: 74

Re: Syntax Error after updating ESXi to 6.7 Update 2

I have PRO and the error is at line 605, while building debuginfo string

Offline

#3 2019-04-16 11:14:08

admin
Administrator
Registered: 2017-04-21
Posts: 2,057

Re: Syntax Error after updating ESXi to 6.7 Update 2

We have confirmed this to be a compatibility issue with ESXi 6.7U2, the problem was already fixed. Download latest version

Offline

#4 2019-04-16 13:00:36

sistemi
Member
Registered: 2017-08-29
Posts: 74

Re: Syntax Error after updating ESXi to 6.7 Update 2

it seems related to special chars like "&", "(", ")", I tried escaping some lines and the scripts runs just until next unescaped char. Very ugly shell bug, or perhaps just a config option to set...

Offline

#5 2019-04-16 17:54:20

admin
Administrator
Registered: 2017-04-21
Posts: 2,057

Re: Syntax Error after updating ESXi to 6.7 Update 2

I'm afraid no config option should control wether a plain ampersand or parenthesis character is parsed by the interpreter when enclosed in double or even single quotes. We have found this to be happening even on commented out lines, thus is seems to be a bug.

Offline

#6 2019-04-19 07:45:38

my_33hops
Member
Registered: 2017-06-04
Posts: 9

Re: Syntax Error after updating ESXi to 6.7 Update 2

Hello I have the somme problem - when will we "Pro" Users get an update?????

Offline

#7 2019-04-19 09:05:37

admin
Administrator
Registered: 2017-04-21
Posts: 2,057

Re: Syntax Error after updating ESXi to 6.7 Update 2

Using the latest software in production is playing Russian roulete with your feet. This case is a clear example of that statement.

Some changes were made in the Bash interpreter that would break Bash script execution.

Offline

#8 2019-04-19 10:48:43

my_33hops
Member
Registered: 2017-06-04
Posts: 9

Re: Syntax Error after updating ESXi to 6.7 Update 2

The Problem is - I installed the update already.

Can I "deinstall" teh update?

Does anyone know if VMWARE is aware of the problem? Will the make a patch?

Offline

#9 2019-04-19 17:06:58

bez
Member
Registered: 2019-04-15
Posts: 2

Re: Syntax Error after updating ESXi to 6.7 Update 2

It's easy to revert ESXi to the previous version by pressing CTL+R when ESXI is booting from the disk. This is what I did and got back to my Update 1 Build 11675023 version.

Offline

#10 2019-04-24 18:00:55

sistemi
Member
Registered: 2017-08-29
Posts: 74

Re: Syntax Error after updating ESXi to 6.7 Update 2

For PRO users that can't revert ESXi and use remote backups, in addition to the workaround suggested in the bug tracker post, change the file <xsi-dir>/src/pro/host at the line 47 from
XSISTUFF="xsibackup$newline"
to
XSISTUFF=""

so the auto update fase will not override the xsibackup script that must to be modified on the remote hosts affected by the busybox bug.

Offline

#11 2019-04-25 10:54:48

admin
Administrator
Registered: 2017-04-21
Posts: 2,057

Re: Syntax Error after updating ESXi to 6.7 Update 2

Well, we have not tested Sistemi procedure, so anyone trying this out does at his own risk.
We have developed a new version that incorporates a fix as XSIBACKUP-PRO 11.3.0
The recommended procedure is:

1 - Skip ESXi 6.7.0 U2 if you can.
2 - Contact support to get your 11.3.0 version copy.

We have not published it yet as it's in testing phase, it's working fine so far anyway.
For those of you using more intrincate topologies, some bug may still arise.

Offline

#12 2019-06-06 08:23:31

OliverTempel
Member
Registered: 2018-02-20
Posts: 7

Re: Syntax Error after updating ESXi to 6.7 Update 2

I had the same probleme here, how to contact pro support?

 line 605: syntax error: unexpected "&"

Last edited by OliverTempel (2019-06-06 08:27:45)

Offline

Board footer