Skip to content

How to force AWS Gateway Update

0

My gateway has a message of "A new software update is available. This may generate an automatic restart of your gateway."

However, when I click Apply Update Now, the green message pops up along the top, but the Gateway never updates.

Any idea why this happens?

2 Answers
0
Accepted Answer

I am assuming you are talking about Storage Gateway.

Use CLI to force an update:

Get the ARN

aws storagegateway list-gateways { "Gateways": [ { "GatewayId": "sgw-VVVVV", "GatewayARN": "arn:aws:storagegateway:us-east-1:XXXXX:gateway/sgw-VVVVV", "GatewayName": "HHHHHHH", "GatewayOperationalState": "ACTIVE", "GatewayType": "FILE_S3" }, { "GatewayId": "sgw-GGGGGG", "GatewayARN": "arn:aws:storagegateway:us-east-1:XXXXXX:gateway/sgw-GGGGGG", "GatewayName": "dskhdksj", "GatewayOperationalState": "ACTIVE", "GatewayType": "FILE_S3" } ] } With the ARN you could now force the update:

aws storagegateway update-gateway-software-now --gateway-arn arn:aws:storagegateway:us-west-1:XXXXX:gateway/sgw-HGHJGJ { "GatewayARN": "arn:aws:storagegateway:us-west-1:XXXXX:gateway/sgw-GHGHGH" } More info here: https://docs.aws.amazon.com/cli/latest/reference/storagegateway/update-gateway-software-now.html

AWS
answered 3 years ago
0

I am having the same issue as the OP. Trying the AWS CLI command above gives the same result as clicking "Apply update now" in the console, I get a response but the update does not get applied.

The gateway shows as "Running" (with an exclamation mark signifying the available update) and an "OK" alarm state. It is currently at version 1.26.9 and the latest available update is 1.27.10.

Other than restarting the gateway appliance, is there anything else I can do via the console or CLI to prompt the update, or get more info on my it's not being applied? Cloudwatch logs are empty and the debug output from the CLI command doesn't help as the command is seen as being successful.

answered 4 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.