Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Deploying on a Stack that's not supported by this buildpack" #87

Closed
vik-y opened this issue Jul 4, 2015 · 7 comments
Closed

"Deploying on a Stack that's not supported by this buildpack" #87

vik-y opened this issue Jul 4, 2015 · 7 comments

Comments

@vik-y
Copy link

vik-y commented Jul 4, 2015

I am getting this error while deploying this service on bluemix. This error was not their about a week ago. Don't know what's wrong.

Cloning into '/tmp/buildpacks/php-buildpack'...
Submodule 'compile-extensions' (https://github.com/cloudfoundry-incubator/compile-extensions) registered for path 'compile-extensions'
Cloning into 'compile-extensions'...
Submodule path 'compile-extensions': checked out '1f260464c156bddfb654adb14298344797d030a1'
It looks like you're deploying on a stack that's not supported by this buildpack.
That could be because you're using a recent buildpack release on a deprecated stack.
If you're using the buildpack installed by your CF admin, please let your admin know you saw this error message.
If you at one point specified a buildpack that's at git URL, please make sure you're pointed at a version that supports this stack.

@cf-gitbot
Copy link

We have created an issue in Pivotal Tracker to manage this. You can view the current status of your issue at: https://www.pivotaltracker.com/story/show/98397482.

@dmikusa
Copy link

dmikusa commented Jul 4, 2015

See here for troubleshooting steps and a likely explanation: #86

@vik-y
Copy link
Author

vik-y commented Jul 5, 2015

Downgrading to version 3.2.2 worked for me too. Thanks 👍

@vik-y vik-y closed this as completed Jul 5, 2015
@dmikusa
Copy link

dmikusa commented Jul 6, 2015

Excellent! Just to be clear, downgrading is on a temporary solution. By downgrading, you're running a few risks:

1.) The lucid64 stack, which is likely what you're running, has not been supported supported by Cannonical since 4/30/15 (and consequently not supported by CF). The farther you get from that date, the more likely there are unpatched vulnerabilities in that stack.

2.) The build packs are not producing new binaries for lucid64 which means, you won't get the latest PHP, Nginx & Apache HTTPD binaries. Again, as time progresses it'll be more and more likely that your app will be using code with vulnerabilities.

Ultimately you need to migrate to the cflinuxfs2 stack. I don't know the situation with Bluemix, but migration could be as simple as running cf stacks to confirm that cflinuxfs2 is available and adding the -s cflinuxfs2 argument to cf push the next time you run it.

@vik-y
Copy link
Author

vik-y commented Jul 8, 2015

I didn't know it was that easy to change the stack. I did it and it's working fine for me now on Bluemix. 👍

@jsloyer
Copy link

jsloyer commented Jul 29, 2015

Is there a way to to default to cflinuxfs2 instead of getting the error message saying lucid64 is not supported?

@dmikusa
Copy link

dmikusa commented Jul 29, 2015

@jsloyer - It's not up to the build pack to pick the stack. It just works with the stack it's given.

If you're an application developer, you can use the default stack or set one with cf cli or via manifest.yml.

It's up to the CF operator to set the default stack. I don't know how to do that offhand. You could ask on the cf-dev list, I'm sure someone there can point you in the right direction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants