Bob Yoplait
Bob Yoplait

Reputation: 2501

cf push -p incorrect usage

I am trying to push a package on IBM cloud

cf push “Backoffice” -p target/Backoffice.war
FAILED
Incorrect Usage. 
[...]
   -p   Path to app directory or to a zip file of the contents of the app directory

where

cf -v
cf version 6.33.1+c77e55743.2017-12-15

I don't know what to do since my call with the "-p" option is inline with the doc. I am new to cloudfoundry / IBM Cloud. I don't have a manifest.yml file.

Then I do (and I get):

cf logs "VCBackoffice V2"
  " maximum number of connection retries reached "

Can you help me identifying the problem(s) ?

Upvotes: 2

Views: 1988

Answers (1)

Bob Yoplait
Bob Yoplait

Reputation: 2501

it was “Backoffice” and not "Backoffice" (bad quotes from a cut and paste)

Also doing a new "cf login" solved my problems

Upvotes: 1

Related Questions