question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

mup deploy is no longer able to push to either of my servers

See original GitHub issue

I can no longer successfully push a deploy to a server. I have tried on two different servers, and sometimes it will push to a non-zero percent (say 18% or whatever) and then hang, sometimes it will just hang right out of the gate.

I have reinstalled node_modules, deleted/redefined server directories, rerun setup, ensured previous cached builds were deleted, rebooted my server, and probably more. At this point, I do not know what else to do other than ask what else I can do.

Mup version (mup --version):

davidlogan@DAVIDs-MacBook-Pro .deploy % mup --version
1.5.1
davidlogan@DAVIDs-MacBook-Pro .deploy % 

Mup config

davidlogan@DAVIDs-MacBook-Pro .deploy % mup validate --show --scrub
{
  "servers": {
    "one": {
      "host": "1.2.3.4",
      "username": "david",
      "pem": "~/.ssh/pem"
    }
  },
  "app": {
    "name": "my-app",
    "path": "../",
    "servers": {
      "one": {}
    },
    "buildOptions": {
      "serverOnly": true,
      "debug": true
    },
    "env": {
      "ROOT_URL": "http://subdomain.subdomain.host.com",
      "MONGO_URL": "mongodb://mongodb:27017/my-app",
      "MONGO_OPLOG_URL": "mongodb://mongodb/local"
    },
    "docker": {
      "image": "iccserver_base",
      "stopAppDuringPrepareBundle": true,
      "imagePort": 3000,
      "args": [
        "--link=mongodb:mongodb"
      ]
    },
    "enableUploadProgressBar": true,
    "type": "meteor"
  },
  "mongo": {
    "version": "3.6.3",
    "servers": {
      "one": {}
    },
    "dbName": "iccserver"
  }
}
✓ Config is valid
davidlogan@DAVIDs-MacBook-Pro .deploy % 

Output of command

davidlogan@DAVIDs-MacBook-Pro .deploy % mup deploy --verbose
Building App Bundle Locally
Unable to resolve some modules:
  "react-chessground/dist/assets/theme.css" in /Users/davidlogan/workspace/icc/iccserver/imports/ui/pages/components/AppWrapper.js (web.browser)
If you notice problems related to these missing modules, consider running:
  meteor npm install --save react-chessground
Unable to resolve some modules:
  "react-chessground/dist/assets/theme.css" in /Users/davidlogan/workspace/icc/iccserver/imports/ui/pages/components/AppWrapper.js (web.browser.legacy)
If you notice problems related to these missing modules, consider running:
  meteor npm install --save react-chessground
Unable to resolve some modules:
  "react-chessground/dist/assets/theme.css" in /Users/davidlogan/workspace/icc/iccserver/imports/ui/pages/components/AppWrapper.js (web.cordova)
If you notice problems related to these missing modules, consider running:
  meteor npm install --save react-chessground
   Building the application                
Started TaskList: Pushing Meteor App
[54.145.233.19] - Pushing Meteor App Bundle to the Server
[                                       ] 0% 0.0s

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

7reactions
kationscommented, Jul 26, 2020

Had the same problem, try to use node 12. I had this problem after upgrade to node 14

2reactions
zoderncommented, Nov 30, 2020

The ssh2 package is being rewritten, so it will be a while before there is a new version with the fix. I am looking into a work around, but it will likely slow down uploading the bundle.

I’ve read node 15 reverted the change that broke this, but I haven’t tried it yet.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Mup deploy hangs - Meteor forums
When I enter DEBUG=* mup deploy I see that it hangs with this as the final output: [104.131.8.107] - Pushing Meteor App Bundle...
Read more >
amazon web services - MUP Deploy Stuck - Stack Overflow
I am trying to deploy my meteor project at AWS(EC2 instance type => t2.micro) using MUP. But somehow it always stucks when it...
Read more >
I can't deploy with MUP because an error with docker/mongodb
I am using one of the One-click droplets from Digital Ocean because it came with Mongodb installed already. The version of Mongodb on...
Read more >
Intent to Remove: HTTP/2 and gQUIC server push
However, these studies had been done more than a year ago and push usage data still does not indicate wide deployment even within...
Read more >
First Experiences Scaling a Meteor App - Medium
My initial setup could no longer handle the load and I was faced with a scaling ... Your server won't be able to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found