oortcloud / heroku-buildpack-meteorite

MIT License
189 stars 97 forks source link

Push rejected, That add-on plan is only available to select users. #59

Closed hvtor closed 9 years ago

hvtor commented 9 years ago

Hi Meteorites,

I'm getting an error when I try to 'git push heroku master'

I've installed the buildpack in my app. I have installed a mongolab small db. $15/mo. I've created a user for the mongolab db. Set the MONGO_URL to the mongolab URI provided. When I go to push my app up to heroku from Github, I consistently get this error:

Setting up MONGO_URL in .profile.d -----> Vendoring node into slug -----> Discovering process types Procfile declares types -> (none) Default types for Meteor app -> web

-----> Compressing... done, 11.9MB -----> Launching... ! Push rejected, That add-on plan is only available to select users.

To git@heroku.com:premeteor.git ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'git@heroku.com:premeteor.git'

In any case, I've been able to push the app to Modulus no issue. So I suspect this is a heroku related issue, and I'm not clear why it relates to the add-on plan because I've added it. I had previously entered my db through mongorestore, but along the way I removed the db, and have reinstalled a new db instance.

Any help would be greatly appreciated.

Thank you in advance for your help :)

pauldowman commented 9 years ago

I think it's probably trying to add the free MongoHQ plan which no longer exists.

But this build pack isn't supported any more, I recommend this one: https://github.com/AdmitHub/meteor-buildpack-horse

hvtor commented 9 years ago

I tried that buildpack.

I changed the buildpack from the previous one using : heroku config:set BUILDPACK_URL=https://github.com/AdmitHub/meteor-buildpack-horse.git -a myapp

Boom! It's deployed.

Thanks Paul!

pauldowman commented 9 years ago

Awesome.