Problem
During the user interface (UI) portion of a Terraform Enterprise airgapped installation, uploading the .airgap file fails with the following error message.
Error attempting to upload bundle: undefined
Cause
This error can occur if the .airgap license bundle has expired. You can confirm this by checking the Replicated logs for license expiration messages.
To check the logs, run the following command from the Terraform Enterprise instance's command line.
$ docker logs replicated > replicated.txt
Review the output in the replicated.txt file. The presence of an error message similar to the following indicates an expired license.
INFO pkg/health/await_healthy.go:16 Waiting for service retraced INFO pkg/health/await_healthy.go:21 Service retraced is ready INFO airgap/airgap.go:139 Airgap license loaded successfully ERRO daemon/daemon.go:410 License bootstrap failed: install license offline: license has expired
Solutions
A valid .airgap bundle or license is required to complete the installation. You have two options to obtain a new one.
Option 1: Contact your Account Team
Contact your Customer Success Manager (CSM) or sales account owner to request a new, valid .airgap license bundle.
Option 2: Open a Support Ticket
Open a support ticket with HashiCorp Support. To expedite the process, please set the appropriate ticket severity and include the symptoms and the Replicated log output in your request.
Outcome
Once you receive the new .airgap bundle or license, you can restart the installation process. When prompted, upload the new file. The installation should now proceed successfully.