Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mup deploy stucked at 0% when pushing to the server #1351

Open
adelivet opened this issue Nov 29, 2023 · 6 comments
Open

mup deploy stucked at 0% when pushing to the server #1351

adelivet opened this issue Nov 29, 2023 · 6 comments

Comments

@adelivet
Copy link

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

},
};`

@generalleger
Copy link

generalleger commented Dec 1, 2023

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
Copy link

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.

@pisacode
Copy link

pisacode commented Dec 6, 2023

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

@generalleger
Copy link

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

That worked for me as well.

@chfritz
Copy link

chfritz commented May 17, 2024

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.

@erixtekila
Copy link

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 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants