mono apps are failed to start in CF


Aleksey Zalesov
 

OK, could you verify that your app works on both stacks in your local instance?

$ cf push app_name -s lucid64
$ cf push app_name -s cflinuxfs2

Alex Zalesov


Juan Antonio Breña Moral <bren at juanantonio.info...>
 

Using a local instance, the stacks installed are:

mocha test --config=LOCAL_INSTANCE_1
Environment: LOCAL_INSTANCE_1

Cloud foundry Stacks
{ metadata:
{ guid: '8898aa08-0d82-4c0b-9009-5d5989b56a95',
url: '/v2/stacks/8898aa08-0d82-4c0b-9009-5d5989b56a95',
created_at: '2015-07-15T12:32:30Z',
updated_at: null },
entity: { name: 'lucid64', description: 'Ubuntu 10.04 on x86-64' } }
{ metadata:
{ guid: '4dc22bc6-e7f3-4cb5-b1d0-da53723c65df',
url: '/v2/stacks/4dc22bc6-e7f3-4cb5-b1d0-da53723c65df',
created_at: '2015-07-15T12:32:30Z',
updated_at: null },
entity:
{ name: 'cflinuxfs2',
description: 'Cloud Foundry Linux-based filesystem' } }
√ The platform returns Stacks installed (190ms)


1 passing (850ms)

Juan Antonio


Aleksey Zalesov
 

Hi,

as I see this buildpack is for lucid64 stack. PWS now uses cflinuxfs2 stack. This inconsistency can be the source of your problem.

Can you verify stack on your local CF using `cf stacks`?

Alex Zalesov


Juan Antonio Breña Moral <bren at juanantonio.info...>
 

Do you have some hello world example to tests in local?
A hello world example?

Juan Antonio


Balaramaraju JLSP <balaramaraju@...>
 

Hi All,

I tried to push .net application [using
https://github.com/cloudfoundry-community/.net-buildpack] to pivotal CF but
is failing with following error. earlier same application used to run with
out any issue.

2015-10-26T11:53:38.000+00:00 [STG] ERR No start command detected; command
must be provided at runtime
2015-10-26T11:53:59.000+00:00 [STG] OUT Uploaded droplet (61.4M)
2015-10-26T11:54:07.000+00:00 [APP] ERR Usage: /tmp/lifecycle/launcher <app
directory> <start command> <metadata>
2015-10-26T11:54:07.000+00:00 [APP] OUT Exit status 1

but same application working with my local cloud foundry (installed 3
months back). I couldn't follow recent changes in CF.

dose any input commands changed recently ?

*cf push command *

cf push OwinFhir -b https://github.com/cloudfoundry-community/.net-buildpack
-m 256M

*cf push log*


Creating app OwinFhir in org MONO / space development as ...
OK

Creating route owinfhir.cfapps.io...
OK

Binding owinfhir.cfapps.io to OwinFhir...
OK

Uploading OwinFhir...
Uploading app files from: D:\Cloud\Git\cf_nise_installer\OwinSamp
Uploading 361.7K, 14 files
OK

Starting app OwinFhir in org MONO / space development as
OK
Creating container
Successfully created container
Downloading app package...
Downloaded app package (1.2M)
Downloading buildpacks (
https://github.com/cloudfoundry-community/.net-buildpack)...
Downloaded buildpacks
Staging...
-----> Downloading Mono runtime 3.4.0_full from
http://ci-labs-buildpack-downloads.s3.amazonaws.com/mono/lucid/x86_64/mono-3.4.0_full.tar.gz
(1.9s)
expanding Mono to vendor/mono (1.6s)
-----> Installing Mozilla certificate data to .config/.mono/certs (1.3s)
-----> Downloading Procfile container current.linux-amd64 from
https://godist.herokuapp.com/projects/ddollar/forego/releases/current/linux-amd64/forego
(1.0s)
-----> Patching Procfile to rename web: to _web: (0.0s)
-----> Preparing AppSettingsAutoReconfiguration.exe (0.0s)
*No start command detected; command must be provided at runtime*
Exit status 0
Staging complete
Uploading droplet, build artifacts cache...
Uploading droplet...
Uploading build artifacts cache...
Uploaded build artifacts cache (59.7M)
Uploaded droplet (61.4M)
Uploading complete

0 of 1 instances running, 1 starting
0 of 1 instances running, 1 starting
0 of 1 instances running
0 of 1 instances running
0 of 1 instances running
Thanks
J L S P Balaramaraju