Monitoring, Management & Location Tracking

Typo in start_amp_upgrade causes error during upgrade between beta releases

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

Version history
Revision #:
1 of 1
Last update:
‎06-09-2014 09:12 AM
Updated by:
 
Labels (1)
Contributors
Search Airheads
Showing results for 
Search instead for 
Did you mean: 
Is this a frequent problem?

Request an official Aruba knowledge base article to be written by our experts.