Deployment and Monitoring


#21

I assume you meant meteor build here?


#22

Oops. Yes meteor build not deploy.


#23

I see. I haven’t seen this happening. I’m afraid I can’t help with this one other than by suggesting to reinstall Meteor. Though it would be good to trace back to the real cause in case it’s a bug.


#24

I think a good option would be to create a new app, and see if it still happens. If it works well for a new app, then there is probably something about that specific application. I would try to make the application simpler and simpler until the issue doesn’t happen anymore, that will help isolate the cause. Reinstalling Meteor is unlikely to help.


#25

That’s a very sensible suggestion, @sashko . Actually the best course of action. @jarski mentions updating the app from 1.2.1 to 1.4, without saying anything about changing the app code. My rationale was that, in this case the nuclear option would be best to try first, as it only takes a few minutes and there’s a slight chance it might save you all the tedious steps. I’ve seen meteor-tool getting corrupted once or twice in the past, after botched download attempts.

And now that I looked twice: why meteor npm install and not npm install?


#26

There was actually simple solution: the standard minifiers got removed for some reason during the update. Problem was solved by adding the package. Thanks for the help!


#27

Hi, I am trying to follow the deployment guide at https://guide.meteor.com/deployment.html#custom-deployment

Everything is good until the last command:

MONGO_URL=mongodb://localhost:27017/myapp ROOT_URL=http://my-app.com node main.js

# result:
/home/meteor/deploy/server/bundle/programs/server/node_modules/fibers/fibers.js:16
	throw new Error('`'+ modPath+ '.node` is missing. Try reinstalling `node-fibers`?');

Shouldn’t the npm install have installed all dependencies?

UPDATE: Found this solution: https://stackoverflow.com/questions/13327088/meteor-bundle-fails-because-fibers-node-is-missing. Perhaps the deployment guide should be updated to include the fiber reinstall?


#28

Kadira is to be removed, there’s some other service that offers kadira.


#29

Kadira links are broken, that section should be removed / updated.


#30

It’s a bit tricky to deduce which Node version to use when deploying a Meteor app on a custom server. This guide article only say:

Node 4.6.2 for Meteor 1.4.x
Node 0.10.43 for Meteor 1.3.x and earlier

I’d love a canonical table, listing the recommended production Node version for each Meteor release :heart_eyes:


#31

When you come to build your app, just run meteor node -v (and meteor npm -v).


#32

I would recommend to include a section in the documentation of Galaxy that explains how to handle file uploads. It will help out developers coming from a typical MAMP environment.