I have an existing node.js app on heroku and I want to upgrade the node.js version by supplying a 0.6.7 buildpack.
Is it possible to update the buildpack a Heroku app is assigned?
If not, what is the suggested path for upgrading the builpack an app uses?
If I have to deploy a new app, how do I made sure the addons don't die?
Thanks,
Matt
To upgrade via the Heroku Dashboard, navigate to your app settings page and click the Upgrade Stack button. Confirm that you want to upgrade, which will set the stack to the latest version.
If you installed the CLI with apt , you must use sudo apt-get update && sudo apt-get upgrade heroku . If you installed the CLI with npm or yarn , you must use npm upgrade -g heroku or yarn global upgrade heroku .
This should be possible if you have a public git repo (e.g. a fork of https://github.com/heroku/heroku-buildpack-nodejs).
To update the buildpack you're using, set the BUILDPACK_URL config using the Heroku CLI:
heroku config:add BUILDPACK_URL=git://github.com/heroku/heroku-buildpack-nodejs.git
(Note: replace the git URL with the URL of your buildpack.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With