Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I uninstall this buildpack in Heroku?

I installed heroku-buildpack-php-tyler on my Heroku app a few days ago, and it all seemed to work fine. I installed it by running the following command:

heroku config:set BUILDPACK_URL=git://github.com/iphoting/heroku-buildpack-php-tyler.git

However I now want to remove it. I tried using the following command:

heroku config:unset BUILDPACK_URL=git://github.com/iphoting/heroku-buildpack-php-tyler.git

But it returns the following error message:

Unsetting BUILDPACK_URL=git://github.com/iphoting/heroku-buildpack-php-tyler.git and restarting hnf-heroku... failed

! Resource not found`

Because PHP isn't officially supported by Heroku, there's not much documentation about this. So how do I uninstall this buildpack?

like image 848
Tom Oakley Avatar asked May 01 '14 12:05

Tom Oakley


2 Answers

In the current version of heroku (v3.1.0 as of this writing) you can use heroku buildpacks:remove [BUILDPACK_URL]

Typing heroku buildpacks help lists the available commands:

  buildpacks:add BUILDPACK_URL       #  add new app buildpack, inserting into list of buildpacks if neccessary
  buildpacks:clear                   #  clear all buildpacks set on the app
  buildpacks:remove [BUILDPACK_URL]  #  remove a buildpack set on the app
  buildpacks:set BUILDPACK_URL       #  set new app buildpack, overwriting into list of buildpacks if neccessary
like image 110
Caleb Larsen Avatar answered Nov 17 '22 06:11

Caleb Larsen


Try:

heroku config:unset BUILDPACK_URL
like image 17
erickthered Avatar answered Nov 17 '22 06:11

erickthered