Problem
Updating the Terraform Enterprise (Replicated Deployment) license in a deployment in airgapped mode may fail with the following error:
$ replicatedctl license-load --airgap-package /path/to/bundle.airgap < license.rli
Error: response from daemon: Invalid package archive
Prerequisites (if applicable)
- Terraform Enterprise installation is in airgapped mode
Causes
- The full path to the .airgap file is incorrect
- The .airgap file is corrupted
- The checksum on the .airgap file is not accurate
Overview of possible solutions (if applicable)
Solutions:
-
Solution 1
- Ensure the that full appropriate path to the .airgap file is being used.
$ replicatedctl license-load --airgap-package /path/to/bundle.airgap < license.rli
- Ensure the that full appropriate path to the .airgap file is being used.
-
Solution 2
- The .airgap archive is invalid possibly due to a partial download or upload. Try downloading the file then upload it again (TFE Replicated UI)
-
Solution 3
-
Validate the checksum of the local .airgap file using the command:
shasum -a 256 <Airgap bundle file>
-
Validate the checksum of the local .airgap file using the command:
Additional Information
- For additional assistance please contact HashiCorp Support to request additional assistance.