MeteorJS Mup - Pushing to bundle stuck at 0% on new computer - meteor

I have a MeteorJS app pushing to a Digital Ocean droplet. I recently got a newer Macbook Pro and am now doing all my dev on that (my old computer was a Macbook Pro too).
When I deploy to Digital Ocean using Mup on my new computer, everything goes as expected but then hangs on 0% when attempting to push the bundle to the server.
I have tried rerunning mup init and mup setup which works fine with no issues, so it is not an SSH access issue. I can also ssh into my server from my new computer without issue.
I have tried mup deploy --verbose, viewed both Debug=* mup deploy and mup logs but there is no error appearing - it simply hangs at 0% and never fails.
The really odd thing is that when I copy the meteor directory to my old computer and deploy, it works completely fine and does not hang.

At https://github.com/zodern/meteor-up/issues/1183 recommend to downgrade Node to v12.18.3.
I was having the same issue and it has worked for me.
I ended uninstalling brew node and using nvm instead.

Related

meteor runs production mode by default on local machine

As noted on meteor forum, my projects seem to run in production mode by default on my local machine without me explicitly telling it to, I tried reinstalling meteor that didn't work, it is set to production mode on every project I create, can someone assist reverting this. I need meteor to be in development mode on my local machine.
Thanks.
I am not sure what the problem was here but I managed to solve the problem by just restarting my PC then ran my meteor projects, voila meteor is back to development mode.

MUP Deployed Site Not Displaying After Update

I used Meteor Up (MUP) to deploy my meteor app to a Digital Ocean droplet. I had some problems with deploying it the first time but I solved all of them and I got it working. I then made some updates to my app but when I deployed it again the page says "This webpage is not available". I have tried re-deploying the app on new droplets with different IP addresses but the same happens. I have run mup setup on each new droplet. It always says success for the setup and for the deployment but nothing shows up.
Can anybody tell me what I have done wrong?
It's likely there is some kind of error with your app, probably not related to deployment if it the issue occurs in the way your describe it.
You'll have to check your app's server side logs for a bit more info:
mup logs -f

Meteor Vagrant can curl localhost:3000 but windows cannot open localhost:3000 windows 8.1

Good morning,
Working on installing Meteor on windows using the following guide:https://gist.github.com/gabrielhpugliese/5855677
As pointed out on other posts its a little dated and I needed to install meteor separately, which I used this guide: Unable to install meteorite on Ubuntu VM
Currently, my set up can do the following:
files stay in sync between vagrant and windows
localhost:3000/ is working on the server
What I still need help completing:
when opening localhost:3000/ in my windows browser, I get the "This webpage is not available
I know that the vagrant VM is correctly serving the app because I opened a new instance of vagrant and curled the localhoust:3000/
I am actively working in django and node and can successfully run apps locally on :8000 and :8080, I tested the meteor app on those ports but still couldn't connect. I also created a windows firewall port exception on 3000 but the results didn't change.
I know that there is a windows-preview currently out, but that is not working for me and I have an issue being tracked in gitHub.
Thank you in advance.
One thing that might be worth mentioning is it is somewhat possible to use Meteor on windows.
More details here: https://github.com/meteor/meteor/wiki/Preview-of-Meteor-on-Windows.
With your vagrant machine it sounds like there is a problem with port forwarding on your localhost machine to the VM's ports.
One possible simple way to get passed this is to get your Ubuntu machines IP address and simply load it up using http://<ip address>:3000.
I'm not sure why the port forwarding isn't working on your machine. In general the reason is provided when you run vagrant up, if there was an issue.

How does Meteor Up work?

I recently created a droplet on Digital Ocean, and then just used Meteor Up to deploy my site to it.
As awesome as it was to not have to mess with all of the details, I'm feeling a little worried and out of the loop about what's happening with my server.
For example, I was using the console management that Digital Ocean provides, and I tried to use the meteor mongo command to investigate what was happening with my database. It just errored, with command not found: meteor.
I know my database works, since records are persistent across accesses, but it seems like Meteor Up accomplished this without retaining any of the testing and development interfaces I grew used to on my own machine.
What does it do??? And how can I get a closer look at things going on behind the scenes?
Meteor Up installs your application to the remote server, but does not install the global meteor command-line utilities.
For those, simply run curl https://install.meteor.com | /bin/sh.
MUP does a few things. Note that this MUP is currently under active development and some of this process will likely change soon. The new version will manage deployment via Docker, add support for meteor build options, and other cool stuff. Notes on the development version (mupx) can be found here: https://github.com/arunoda/meteor-up/tree/mupx.
mup setup installs (depending on your mup.json file) Node, PhantomJS, MongoDB, and stud (for SSL support). It also installs the shell script to setup your environment variables, as well as your upstart configuration file.
mup deploy runs meteor build on your local machine to package your meteor app as a bundled and zipped node app for deployment. It then copies the packaged app to the remote server, unbundles it, installs npm modules, and runs as a node app.
Note that meteor build packages your app in production mode rather than the debug mode that runs by default on localhost when you call meteor or meteor run. The next version of MUP will have a buildOptions property in mup.json that you can use to set the debug and mobileSettings options when you deploy.
Also, since your app is running directly via Node (rather than Meteor), meteor mongo won't work. Instead, you need to ssh into the remote server and call mongo appName.
From there, #SLaks is right about how it sets things up on the server (from https://github.com/arunoda/meteor-up#server-setup-details):
This is how Meteor Up will configure the server for you based on the given appName or using "meteor" as default appName. This information will help you customize the server for your needs.
your app lives at /opt/<appName>/app
mup uses upstart with a config file at /etc/init/<appName>.conf
you can start and stop the app with upstart: start <appName> and stop <appName>
logs are located at: /var/log/upstart/<appName>.log
MongoDB installed and bound to the local interface (cannot access from the outside)
the database is named <appName>

Previewing Meteor app via Nitrous.io cannot access local host port 3000

Running Mavericks on Macbook air, Nitrous box with simple test app bundles and runs fine on Meteor host but is not accessible on browser via 'preview'.
Bit baffled. No firewall running and unsure how to proceed.
I am having the exact same problem with Nitrous.io right now. I am betting this is an intermittent problem. A few hours ago I could access sites running on that box just fine from my local machine.
Fiddler tells me:
No connection could be made because the target machine actively refused it 54.217.184.231:80 so this points to a server-side problem. Seems we have to wait.

Resources