Update of add-on failed, removing old working add-on

Any guidance on how to recover?
image

I clicked the update button, which failed and disabled/removed the adaptor. I then did a clean reboot and tried to add the adaptor, which also failed.

and randomly clicked Add again and it worked.

Delving into the logs, it looks as if there was an AWS glitch (log fragments below).

So I guess the real issue is that a failed upgrade can remove an add-on even though the old add-on is fine.

2019-10-23 10:48:15.780 INFO   : Unloading ZigbeeAdapter
2019-10-23 10:48:15.783 INFO   : zigbee: Adapter: ZigbeeAdapter unloaded
2019-10-23 10:48:19.299 INFO   : Fetching add-on https://s3-us-west-2.amazonaws.com/mozilla-gateway-addons/zigbee-adapter-0.10.1-linux-arm-v8.tgz as /tmp/LgQtQt/zigbee-adapter.tar.gz
2019-10-23 10:48:19.365 ERROR  : Failed to download add-on: zigbee-adapter
FetchError: request to https://s3-us-west-2.amazonaws.com/mozilla-gateway-addons/zigbee-adapter-0.10.1-linux-arm-v8.tgz failed, reason: getaddrinfo ENOTFOUND s3-us-west-2.amazonaws.com s3-us-west-2.amazonaws.com:443
2019-10-23 10:48:19.367 ERROR  : Failed to update add-on: zigbee-adapter
Failed to download add-on: zigbee-adapter
FetchError: request to https://s3-us-west-2.amazonaws.com/mozilla-gateway-addons/zigbee-adapter-0.10.1-linux-arm-v8.tgz failed, reason: getaddrinfo ENOTFOUND s3-us-west-2.amazonaws.com s3-us-west-2.amazonaws.com:443
...
2019-10-23 10:55:26.964 INFO   : Fetching add-on https://s3-us-west-2.amazonaws.com/mozilla-gateway-addons/zigbee-adapter-0.10.1-linux-arm-v8.tgz as /tmp/PB6k9h/zigbee-adapter.tar.gz
2019-10-23 10:55:26.998 ERROR  : Failed to download add-on: zigbee-adapter
FetchError: request to https://s3-us-west-2.amazonaws.com/mozilla-gateway-addons/zigbee-adapter-0.10.1-linux-arm-v8.tgz failed, reason: getaddrinfo ENOTFOUND s3-us-west-2.amazonaws.com s3-us-west-2.amazonaws.com:443
2019-10-23 11:07:10.757 INFO   : Fetching add-on https://s3-us-west-2.amazonaws.com/mozilla-gateway-addons/zigbee-adapter-0.10.1-linux-arm-v8.tgz as /tmp/g8SPEb/zigbee-adapter.tar.gz

Unfortunate timing, I guess.

I actually fixed the “failed add-on update removes the add-on” issue last week, so that will at least be resolved in 0.10.

1 Like

Will there be RCs of 0.10?

I can understand that it could be substantial effort to prepare and test RCs that divert you and team from getting on with the actual release.

We typically just do internal testing of the RCs.