During an upgrade or initial installation, TFE fails in early stage, with error in Replicated logs like below :
INFO 2022-01-21T07:28:12+00:00 marketlicense/app.go:200 Failed to get app YAML: market app version not found
ERRO 2022-01-21T07:28:13+00:00 daemon/daemon.go:410 License bootstrap failed: install license online: process license properties: finalize license import online: market app version not found
And goes into the restart cycle. Though the second error is misleading due to the "license" bit , the first one actually gives the correct hint.
- Release sequence provided to the install script or configured in /etc/replicated.conf is not active or does not exist.
For example we have following release numbers for subsequent versions :
- v202110-1 576 2021-10-11T18:56:55Z
- v202111-1 582 2021-11-11T23:35:45Z
E.g. there is no release 577 or 581 in-between. So if you specify by accident "581" - you will get exactly the error above.
Check the release sequence number, for example against our KB here: https://support.hashicorp.com/hc/en-us/articles/1500009817722-Terraform-Enterprise-Release-Sequence-Versions, and choose the correct one for the desired TFE version