Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Feb 02 19:13
    zodern commented #1339
  • Feb 02 16:29
    1seck commented #1339
  • Feb 02 16:28
    1seck opened #1339
  • Jan 30 16:08
    paulincai opened #1338
  • Jan 29 20:49
    cormip closed #1337
  • Jan 29 20:49
    cormip commented #1337
  • Jan 28 17:56
    derwaldgeist commented #1336
  • Jan 28 13:52
    derwaldgeist commented #1336
  • Jan 28 13:50
    derwaldgeist commented #1336
  • Jan 27 21:16
    cormip edited #1337
  • Jan 27 21:12
    cormip opened #1337
  • Jan 25 18:22
    zodern commented #1335
  • Jan 25 18:22

    zodern on master

    Update insecure deps v1.5.10 (compare)

  • Jan 25 16:36
    natschoman opened #1336
  • Jan 24 19:39
    sitiarel commented #1335
  • Jan 24 19:03

    zodern on master

    Fix shared Nginx config path Merge pull request #1335 from s… (compare)

  • Jan 24 19:03
    zodern closed #1335
  • Jan 24 19:03
    zodern commented #1335
  • Jan 24 19:02
    sitiarel opened #1335
  • Jan 03 00:59
    SadekSyed commented #544
Laurent Roger
@lc3t35
as it said, port is already allocated
do you have another ng’ox or apache2 running on your host or another docker ?
(« another nginx »)
Grzegorz Pociejewski
@pociej
@lc3t35 thx for reply but there is no ngix at least not one run by me. Here is what is running there :
➜ stage git:(stage) ✗ mup docker ps
[46.101.130.237] docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
18ca9aafb793 mup-app:latest "/bin/sh -c 'bash $M…" 44 hours ago Up 44 hours 0.0.0.0:80->80/tcp app
1561a2cec1a3 mongo:3.4.1 "/entrypoint.sh mong…" 7 weeks ago Up 11 days 127.0.0.1:27017->27017/tcp mongodb
so indeed there is app running on port 80
but i expected mup to manage things. Should i stop app cntainer then run proxy and redeploy ?
Grzegorz Pociejewski
@pociej
Ok after i stop the app config proxy and them redeploy it seems to be running ( at least no error )
but still i see invalid cert error while im sure certificate is ok, should i go there and place certificate related files somwhere in container ?
Laurent Roger
@lc3t35
what is the error message ?
zodern
@zodern
I released mup-node 0.8 today. This release adds support for production debugging. Run mup node debug, and you can connect your local Node devtools, for example those in Chrome, to your Node app running on the server.
Slind14
@Slind14
Hi @zodern do you know if there is a way to set an environment variable with multiple args? E.g. for nodejs diagnostics this is required:
NODE_OPTIONS: '--report-uncaught-exception --report-on-fatalerror --report-on-signal --report-signal=SIGUSR2 --report-filename=./meteor-app-diagnostic-report.json --report-directory=/tmp'
If done through mup it fails with Error response from daemon: Dockerfile parse error line 13: ARG requires exactly one argument
or adding them to the node start command
Richard Marks
@TheRichardMarks_gitlab
Hello everyone. I have a bit of an issue. I've been hired to update an app that is pretty active and in production. I'm faced with redeploying updates to the app, it was learned that mup was used to deploy the app, however the original deployment mup.js file is no longer available. I have root ssh access to the production server. Is there any way for me to reverse-engineer/dump the mup.js config details on the production server so that I can recreate the deployment to match the current configuration? Or do I have to start over from scratch? There are multiple apps being run through mup on this server, and downtime needs to be at a minimum.
Fred-J
@Fred-J
Hello, When mup setup --verbose runs on Windows 10 Power Shell, it gives path\to\mup.ps1 is not digitally signed. Do I need to change Windows PowerShell execution policies? The second question is do I need to use mup.cmd setup or that ".cmd" only applies to mup.cmd init?
Eric Priou
@erixtekila
Hi,
Could somebody share a post.mongo.start hook that access mongo via its shell. Thanks
Laurent Roger
@lc3t35
can you detail Erik ?
Eric Priou
@erixtekila
Yep. I would like to launch a ssh command, after the local mongo db has started. BTW, the plugin API is not really documented and I have hard time to figure how to get into mongo from it
hooks": {
    "post.mongo.start" (api)
    {
      const config = api.getConfig();
      console.log(config);
    }
  }
conorstrejcek
@conorstrejcek
Hey, I had a quick question about the docker image which meteor-up uses for the proxy. Is it possible to update to a newer version of this image using the mup CLI, or is there an accepted way to do this? I mainly want to keep nginx up to date without interfering with the normal mup process, so I've been avoiding manually updating the image.
conorstrejcek
@conorstrejcek
@djbelieny Did you ever get more information on updating the nginx-proxy docker image?
Rob Gordon
@robgordon_gitlab

Hi - in need of assistance - been using mup for 4+ years. Love it.
But I'm completely at a loss as to why I'm getting a 503 Service Temporarily Unavailable. (Am trying to re-release an existing working app to a new Digital Ocean droplet)

mup status looks like everything has deployed perfectly. Any suggestions?

Meteor version 1.8.2.
image: 'zodern/meteor:root'.

conorstrejcek
@conorstrejcek
@robgordon_gitlab If you are using the proxy, are you able to share nginx logs?
Fred-J
@Fred-J
How to modify the proxy nginx-config which is generated by mup? "mup proxy nginx-config" shows it.
Rob Gordon
@robgordon_gitlab
@conorstrejcek @Fred-J Thanks for your responses. As mentioned, this was an existing application that had successfully been deployed perhaps a dozen times over the last 12 months. I'm not sure why I was getting that error, nor why it finally deployed without an error; very frustrating but as of Mar 08 it's been uploaded :)
Ghost
@ghost~5cfd437dd73408ce4fc29676
Hi all, I've created a github workflow to upload my open source app to digital ocean with mup directly in a github vm. It lets me deploy faster (my upload speed at home is terrible) and rollback changes on github from a mobile phone (useful for indies). So i though i'd share the file : https://github.com/renanlecaro/simpletextnet/blob/master/.github/workflows/main.yml
fmatheus
@fmatheus_gitlab
Hi, hope this is the right place to ask, npm is hanging in the middle of npm install --unsafe-perms inside docker, outside seens to work fine. Any hints?
seems to be on the 'extract:reify' (npm 6) or 'inflate:xtend' (npm 7) so registry http did not worked
fmatheus
@fmatheus_gitlab
reify is only installed by mup script, npm install --unsafe-perms works fine in my app inside zodern/meteor image when I download it, but hangs with in the same image with mup script, maybe the problem is it trying to install meteor 2.2 deps?
fmatheus
@fmatheus_gitlab
changing to meteor 2.2.3 moves to hang while extracting fibers
fmatheus
@fmatheus_gitlab
Looks like the problem isn't of above, npm is just eating the error:
meteor build (2.2.x) for some reason is generating a bundle/programs/server/package.json with "source-map-support": "https://github.com/meteor/node-source-map-support/tarball/1912478769d76e5df4c365e147f25896aee6375e" instead of package version, editing it to "source-map-support": "0.5.20" workaround the issue.
Ghost
@ghost~5cfd437dd73408ce4fc29676
Hi all, are your meteor up deploys working normally ? All my deploys fail when using node 14, they can't connect to the local mongo instance on 127.0.0.1:27017 . I'm documenting my attempts at solving this in the issue #1303
Laurent Roger
@lc3t35
seems to be solved ;)
James "Rusty" Haner
@JRustyHaner
Good morning all
Ivan
@ivan133
Hey guys
I have an app that has 2 domains
in "proxy.domains"
and it works fine
But google / fb auth
cause it redirects to the "main" domain the one that set in ROOT_URL
Is there a way around it, other than create 2 docker instances with correct ROOT_URL?
I'm using image: "zodern/meteor:latest", but I think all images requite ROOT_URL
Laurent Roger
@lc3t35
redirect url is defined on google side when you create the auth token, no ?
so you need one token per domain and switch the auth params depending on your url ?
Ivan
@ivan133

redirect url is defined on google side when you create the auth token, no ?

Yes

so you need one token per domain and switch the auth params depending on your url ?

Well when I call Meteor.loginWithGoogle it creates redirect_url to the domain set in ROOT_URL
And looks like it is set here https://github.com/meteor/meteor/blob/4c293d329c9c24acd0c001afad6bcb6d2a4932d0/packages/oauth/oauth_common.js#L3
so you can't redirect to another domain

Laurent Roger
@lc3t35
you can define and use : process.env.MOBILE_ROOT_URL (replace meteor_runtime_config.ROOT_URL; if defined)
Slind14
@Slind14
Hi, is there an option to run a pre.deploy hook only if the cache flag is not set?
dyadav@gmail.com
@dyadav79_twitter
when i am running command mup.cmd from windows command prompt, i get the docker failed error and then this output
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
sudo: a password is required
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
can someone help resolve this?
Trevor Bernard
@trevorbernard
Hi, is it possible to create a configuration where I use a jumpbox to deploy to a private server inside a network with mup?