oortcloud / heroku-buildpack-meteorite

MIT License
188 stars 97 forks source link

Deploy to Heroku Meteor 0.6.2.1 #12

Closed cdcme closed 11 years ago

cdcme commented 11 years ago

I'm trying to deploy my app as usual but now it seems that code in my Meteor.startup() function never gets executed. I have:

Meteor.startup(function () {

  Accounts.loginServiceConfiguration.remove({});

  var loginConfigs = [
   // login configs
  ];

  _.map(loginConfigs, function(config) {
    Accounts.loginServiceConfiguration.insert(config);
  });

});

to set up login services upon startup. However, when I launch, the app crashes and when I check my collections, I see that the existing collection has not been modified with the new login service configs. I dropped the collection to see if it would be created and it was not.

This has worked previously with Heroku but now does not, although it still works perfectly in my local environment.

tmeasday commented 11 years ago

Hi @carlodicelico - perhaps your app is crashing before the startup block executes?

Sorry for the late reply, I was out of town.

cdcme commented 11 years ago

No problem. I checked the logs and didn't see any of the usual crash messages. The app just runs as normal but the data isn't populated for some reason. Other than this, though (and to be fair, I haven't determined unequivocally that this issue is one with the buildpack), the build pack is fantastic - thanks for the great work.

tmeasday commented 11 years ago

How odd. Hard to say more really. Perhaps you didn't check the file into git?