Closed kevpfowler closed 1 year ago
These are the logs I see in the application contationer:
~$ docker logs appname
=> Setting node version
NODE_VERSION=14.18.3
v14.18.3 is already installed.
Now using node v14.18.3 (npm v6.14.15)
default -> 14.18.3 (-> v14.18.3 *)
=> Starting meteor app on port 80
Normally following that I see the logs from my app, or an error message that would help me to debug. But that is all I get.
@kevpfowler Did you manage to solve the issue, or find any workarounds?
I did not. After burning too much time on the issue I stayed with our original setup, and we went a non-meteor direction for our new application anyway. I'm closing this as it seems somehow unique to our particular scheme/config.
I have a meteor app that I deploy successfully to two servers already (running ancient ubuntu 16.04). I spun up a new ubuntu 20.02 EC2, and am trying to deploy to that. This has been spectacularly unsuccessful. I have tried numerous things but the Verify stage always fails.
If I go on to the docker container where the app is, I can see that it is not listening on port 80 - it is not listening on any port. The server logs look normal up until it runs
node main.js
. At that point none of our usual log messages are seen. But no errors are seen either, and the node process is running.We have confidence in the app code because we deploy the same version on two other servers successfully. I had started with ubuntu 22.04, but on seeing some other issues here I went down to 20.04, but that does not seem to be the problem. (Also tried with 18.04)
This server sits behind a NAT server, which is why the ssh port is 10022 (it is port-mapped to this server's port 22, and that works fine). We also have nginx running on the NAT server, forwarding requests to our domain name to this server's port 80. This precisely mimics another setup we have that is successfully deployed/running.
Any ideas what I'm missing?
Mup version (
mup --version
): 1.5.9Mup config
Output of command (mup deploy)
mup status: