Monitoring, Management & Location Tracking

 View Only
last person joined: one year ago 

Articles relating to existing and legacy HPE Aruba Networking products and solutions including AirWave, Meridian Apps, ALE, Central / HPE Aruba Networking Central, and UXI / HPE Aruba Networking User Experience Insight

Typo in start_amp_upgrade causes error during upgrade between beta releases 

Jun 09, 2014 12:12 PM

If you are upgrading according to any of these paths:

6.2rc4 beta --> 6.2 General beta
6.2 General beta --> 6.2 general release
6.2rc4 beta --> 6.2 general release

Your upgrade may fail with this message:

/root/AMP-6.2.0_beta4-amp_upgrade: line 3: syntax error near unexpected token `newline'
/root/AMP-6.2.0_beta4-amp_upgrade: line 3: ` <head>'


There is a typo in the upgrade script that generates an incorrect file path. To apply the fix:

1. Ssh into your AMP server as root
2. Enter the scripts directory

# scripts

3. Within the scripts directory, there is a script called start_amp_upgrade. This file contains a one-letter typo that must be fixed using VI or another text editor. If you're unfamiliar with editing files in Linux, contact support@airwave.com for assistance.

The typo is on line 110:

$TARGET_fILE

should be

$TARGET_FILE

**note the change between lowercase "f" and capital "F"

After saving the file run ml from the AMP command line. When the make is done, run the upgrade command again:

# start_amp_upgrade -v 6.2.0_beta3
If you are upgrading according to any of these paths:

6.2rc4 beta --> 6.2 General beta
6.2 General beta --> 6.2 general release
6.2rc4 beta --> 6.2 general release

Your upgrade may fail with this message:

/root/AMP-6.2.0_beta4-amp_upgrade: line 3: syntax error near unexpected token `newline'
/root/AMP-6.2.0_beta4-amp_upgrade: line 3: ` <head>'


There is a typo in the upgrade script that generates an incorrect file path. To apply the fix:

1. Ssh into your AMP server as root
2. Enter the scripts directory

# scripts

3. Within the scripts directory, there is a script called start_amp_upgrade. This file contains a one-letter typo that must be fixed using VI or another text editor. If you're unfamiliar with editing files in Linux, contact support@airwave.com for assistance.

The typo is on line 110:

$TARGET_fILE

should be

$TARGET_FILE

**note the change between lowercase "f" and capital "F"

After saving the file run ml from the AMP command line. When the make is done, run the upgrade command again:

# start_amp_upgrade -v 6.2.0_beta3
If you are upgrading according to any of these paths:

6.2rc4 beta --> 6.2 General beta
6.2 General beta --> 6.2 general release
6.2rc4 beta --> 6.2 general release

Your upgrade may fail with this message:

/root/AMP-6.2.0_beta4-amp_upgrade: line 3: syntax error near unexpected token `newline'
/root/AMP-6.2.0_beta4-amp_upgrade: line 3: ` <head>'


There is a typo in the upgrade script that generates an incorrect file path. To apply the fix:

1. Ssh into your AMP server as root
2. Enter the scripts directory

# scripts

3. Within the scripts directory, there is a script called start_amp_upgrade. This file contains a one-letter typo that must be fixed using VI or another text editor. If you're unfamiliar with editing files in Linux, contact support@airwave.com for assistance.

The typo is on line 110:

$TARGET_fILE

should be

$TARGET_FILE

**note the change between lowercase "f" and capital "F"

After saving the file run ml from the AMP command line. When the make is done, run the upgrade command again:

# start_amp_upgrade -v 6.2.0_beta3

Statistics
0 Favorited
0 Views
0 Files
0 Shares
0 Downloads

Related Entries and Links

No Related Resource entered.