user2078654
user2078654

Reputation: 59

IBM Bluemix NoAppDetectedError when uploading application

Anyone ever have any issues uploading their own app? I have my app file unzipped on my desktop and nothing seems to work. Also the file is 39 MB not 3 MB

C:\Users\Michael\Desktop\test>cf push test
Creating app test in org mweiner_org / space dev as [email protected]...
OK

Creating route test.mybluemix.net...
OK

Binding test.mybluemix.net to findmy...
OK

Uploading test...
Uploading app files from: C:\Users\Michael\Desktop\test
Uploading 3.9M, 2024 files
Done uploading
OK

Starting app findmy in org mweiner_org / space dev as [email protected]
    Staging failed: An application could not be detected by any available buildpack


FAILED
NoAppDetectedError

TIP: use 'cf logs findmy --recent' for more information

Upvotes: 0

Views: 2071

Answers (2)

Ram Vennam
Ram Vennam

Reputation: 3546

When you push an application to Bluemix without specifying a buildpack, all of the pre-installed buildpacks (cf buildpacks) will try to see if they are capable of running your application (buildpack detect script). In your case, none of the buildpacks think they are capable.

What kind of application is in your "test" folder? You can force a buildpack to try to run your application by either specifying the buildpack name or URL of a publicly hosted buildpack.

cf push <appname> -b <name or url of buildpack>

Upvotes: 1

RandalAnders
RandalAnders

Reputation: 1441

1) Try specifying -m and giving a memory value like:

cf push appname -m 512M

2) I see you're taking the default buildpack, is that your intention?

3) Try using the following command to gather only staging errors:

cf logs appname --recent | grep '\[STG\]'

Upvotes: 1

Related Questions