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
Push rejected, failure creating release #13
Comments
Okay so the push rejected was an easy fix: I simply forgot to add the mongolabs addon before pushing, you might want to add that to the docs... The app now pushes and the app seems to build and deploy, but unfortunately it seems to crash because it cannot find the build somehow?
|
@RickvdP I am having the same problem as the first log. How did you add the mongolabs addon? |
Hi @nspangler, I added the addon by simply running
|
Have you gone through Heroku, to the MongoLabs add on config page and configured a user and password for the database? Then set the MongoURL with the db user and password?
|
Hi @hvtor, no I haven't done that as a 'heroku_app33102xxx' user and password where automatically created and a MongoDB connection string was already inserted in the MONGOLAB_URI env variable. |
I'm having a similar problem to @RickvdP. I'm on Meteor 1.0.3.1, I've added mongolab, and MONGOLAB_URI is set, but I still get this:
|
@jacksondc can confirm I get the same error when pushing a fresh repo |
i was getting the same error when pushing to Heroku, changed to this buildpack https://github.com/jordansissel/heroku-buildpack-meteor.git and it worked |
@nickbw I literally just used that package, can confirm, works great. |
@nickbw but it doesn't have horse in the name... 😢 |
that's true but at least it works |
Sorry for the delay, folks: I've documented the step requiring mongolab. Thanks @RickvdP for pointing that out. @jacksondc it sounds like you might have a separate issue, if you've added mongolab via This works:
|
@pauldowman I think the issue people were having in this thread is not having added mongolab via As to whether a different branch is necessary for mongohq/compose: the release file for master asserts that mongolab addon is used. This will work fine for existing apps that use mongohq/compose, as the addons section of the release file only runs or the first deploy, but it could mess up a first run of a project that is using mongohq/compose. I'm not sure why the release file isn't adding mongolab for first deployers in this thread -- if anyone has a clue for that we could remove that step from the README. 804aea2 is great for making sure people who were using this buildpack before don't break their production apps, but if you're going to use something other than mongolab it's probably best to use the branch or a fork so that mongolab in |
@yourcelf yes, the release file adds the mongolab add-on only the first time an app is deployed. So you're saying the issue could be that you manually added Compose first? Right that could be an issue. But if you have an existing app that uses Compose which was installed by this buildpack there's no problem since 804aea2 ensures that So I think the documentation should just warn that mongolab is installed on the first deploy, so remove it if you've manually added Compose? I assume you don't want to maintain a branch. 😄 I just tested deploying a Meteor 1.0.3.1 app for the each of the following:
All worked. I hadn't noticed that ROOT_URL isn't automatically set, this is an annoying gotcha that should be fixed (I'll try to find time for it soon). |
Can someone who's having this problem describe their app?
|
I created a new app using this build pack and followed the instructions and confirm that I got no errors |
Thanks @nickbw -- I'm going to close this issue now. If you, @jacksondc, or others see problems again, please open a new issue with more info. |
Hi,
I'm for the first time trying to deploy a Meteor app to Heroku. I just started out with the todos example, added the buildpack and tried to push the comitted code. Everything seems to go fine, but somehow the push is rejected and the build fails.
The text was updated successfully, but these errors were encountered: