-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
Hi team,
Running the following docker-compse, throws license error:
docker-compose -f docker-compose.yaml logs -f
Error
A license file was not provided at the expected location: /opt/staging/pd.profile/server-root/pre-setup/PingAuthorize.lic
To reproduce the error
I have done the following steps:
- obtained a valid devops username/key (https://devops.pingidentity.com/get-started/devopsRegistration/)
- generated the config file using
pingctl config - copied the variables from
~/.pingidentity/configinto~/pingidentity/devops. (~/pingidentity/devopsalready hasPING_IDENTITY_DEVOPS_USERandPING_IDENTITY_DEVOPS_KEY). - manually added
PING_IDENTITY_DEVOPS_USERandPING_IDENTITY_DEVOPS_KEYtocdr.env - run docker-compose.yaml
docker-compose -f docker-compose.yaml logs -f
- docker-compose throws the following error
Error details
################################################################################
Ping Identity DevOps Docker Image
Version: pingauthorizepap-alpine_3.15-al11-9.0.0.0-220303-98471
DevOps User:
Hostname: a20283f39d08
Started: Sat Mar 5 21:54:43 UTC 2022
################################################################################
################################################################################
----- Starting hook: /opt/staging/hooks/10-start-sequence.sh
Initializing server for the first time
----- Starting hook: /opt/staging/hooks/17-check-license.sh
A license file was not provided at the expected location: /opt/staging/pd.profile/server-root/pre-setup/PingAuthorize.lic
No credentials were provided to retrieve an evaluation license.
##################################################################################
############################ ALERT #################################
##################################################################################
#
# License File could not be found at the expected location
# /opt/staging/pd.profile/server-root/pre-setup/PingAuthorize.lic
# An evaluation license could not be obtained from PingIdentity either.
#
#
# More info on obtaining your DevOps User and Key can be found at:
# https://devops.pingidentity.com/get-started/devopsRegistration/
#
##################################################################################
CONTAINER FAILURE: License File absent
- In addition, I tried to use
pingctlto generate the license file using the following commands:
pingctl license
pingctl license PingAuthorize
but it throws the following error:
/home/linuxbrew/.linuxbrew/bin/pingctl: 839: shift: can't shift that many
Platform
OS: windows 11
WSL 2 Distro: Ubuntu-20.04
Docker Desktop Version: 4.5.1
Docker Compose: 1.29.2
Metadata
Metadata
Assignees
Labels
No labels