meteor-up icon indicating copy to clipboard operation
meteor-up copied to clipboard

mup deploy stucked at 0% when pushing to the server

Open adelivet opened this issue 1 year ago • 11 comments

I'm blocked in my deployment process.

The local build is running correctly but when pushing to the server, it stays to 0%. It used to work perfectly until last week.

I did not update Meteor, mup or anything.

Started TaskList: Pushing Meteor App [XX.XX.XX.XX] - Pushing Meteor App Bundle to the Server [ ] 0% 0.0s

I've already checked several things:

  • Docker image exists
  • No network issue
  • Tried it on several buckets

Anyone know how to fix this?

Mup version: 1.5.9

Mup config ` meteor: { name: 'xxx', path: '..',

servers: {
  staging1: {},
},

buildOptions: {
  serverOnly: true,
},

env: {
  ROOT_URL: 'https://staging.xxx.com',
  PORT: 3000,
  MONGO_URL: 'mongodb+srv://xxx',
  MONGO_OPLOG_URL: 'mongodb+srv://oploguser:xxx',
  HTTP_FORWARDED_COUNT: 1
},

docker: {
  image: 'networksforchange/meteord:node-14.18.1-base',
},

deployCheckWaitTime: 100,
enableUploadProgressBar: true

}, };`

adelivet avatar Nov 29 '23 11:11 adelivet

I am having the exact same problem. For me, however, it works just fine from MacOS... but the devops team is pushing from an Ubuntu Linux VM. Running with debug and --verbose adds no additional detail. It just hangs at 0%. mup setup works just fine.

generalleger avatar Dec 01 '23 23:12 generalleger

Just an update on my end. I was able to reproduce the issue in Ubuntu 22.04.3 on an Intel Mac through UTM.

I tried on Debian 12.2.0, also on the Intel Mac through UTM and it uploaded without error. For me, this seems to be an Ubuntu issue, though I don't know to fix it. But I have a workaround that is working for me.

generalleger avatar Dec 04 '23 23:12 generalleger

I fixed it by selecting node version v20.9.0 https://stackoverflow.com/a/77613785/5069866

pisacode avatar Dec 06 '23 14:12 pisacode

I fixed it by selecting node version v20.9.0 https://stackoverflow.com/a/77613785/5069866

That worked for me as well.

generalleger avatar Dec 07 '23 14:12 generalleger

I had the same issue but on Linux (Ubuntu 20) using node 20 and the latest mup. I was able to fix it by hard-coding a node 16 binary in the shebang of /usr/bin/mup.

chfritz avatar May 17 '24 22:05 chfritz

Thanks @pisacode Using node version 20.9.0 fix the issue, whereas version 20.12.0 (current LTS) waits forever when trying to push the app serverside. Strange !

erixtekila avatar May 21 '24 16:05 erixtekila

Hello, I have the same problem with mac. After switching my project to meteor 3.0, it gets stuck. image

Sergeant61 avatar Jun 16 '24 21:06 Sergeant61

@Sergeant61 what's your node version ? as stated above, switching to node v20.9.0 fixes the issue (it did for me)

renanlecaro avatar Jul 23 '24 08:07 renanlecaro