CF CLI v7 Push failing with the Error <buildback> must be an existing admin buildpack or a valid git URI
search cancel

CF CLI v7 Push failing with the Error <buildback> must be an existing admin buildpack or a valid git URI

book

Article ID: 298294

calendar_today

Updated On:

Products

VMware Tanzu Application Service for VMs

Issue/Introduction

CF CLI v7 Push failing with below error:
Error <buildpack> must be an existing admin buildpack or a valid git URI

This eventually fails the App staging with the below error:
BuildpackCompileFailed - App staging failed in the buildpack compile phase FAILED


Environment

Product Version: 2.11

Resolution

Cause

  • This is a known issue with cf CLI v7 as per this git issue.
  • Looks like the stack is over-ridden by the cf CLI, so if you don't mention -s in cf push, it'll take it as <blank> and throw this error
 

Workaround

  • The workaround is to specify -s <stack> in cf push command, irrespective of the stack mentioned in the manifest.
 

Permanent Fix

  • Upgrade to cf CLI version 7.3.0