Giter Site home page Giter Site logo

Comments (13)

bgazzera avatar bgazzera commented on June 27, 2024 15

@AWI-Koleok Surely you have moved on, but this worked for me.

The instructions on https://github.com/arunoda/meteor-up
say:

sudo visudo

# replace this line
%sudo  ALL=(ALL) ALL

# by this line
%sudo ALL=(ALL) NOPASSWD:ALL  

Note that this is different from the solution above.

from meteor-up-legacy.

corv89 avatar corv89 commented on June 27, 2024

I can confirm this error message on Ubuntu 14.04 server.

You can use the root account on ubuntu as a workaround.

from meteor-up-legacy.

rmtmckenzie avatar rmtmckenzie commented on June 27, 2024

I had the same error, and am using root as a workaround as well.... but I'd prefer not to...

from meteor-up-legacy.

arunoda avatar arunoda commented on June 27, 2024

You don't need to be root. But create an user and allow him to login with SSH keys and make sudo password less.

from meteor-up-legacy.

arunoda avatar arunoda commented on June 27, 2024

BTW: Since Meteor needs port 80, that's why we need root like permission. But just after we bind to the port, your app will step down to a lower permission group.

So, if someone breach into your app, he will have some hard time.

from meteor-up-legacy.

corv89 avatar corv89 commented on June 27, 2024

@arunoda Thank you, that is good to know.

from meteor-up-legacy.

LeCoupa avatar LeCoupa commented on June 27, 2024

As @arunoda said, run sudo visudo and edit the file to be sure that your user can run sudo with no password:

# replace this line
%admin  ALL=(ALL) ALL

# by this line
%admin ALL=(ALL) NOPASSWD:ALL

And then:

sudo service sudo restart

from meteor-up-legacy.

Batistleman avatar Batistleman commented on June 27, 2024

@LeCoupa +1 for your solution (it would be a good idea to add this in the readme I guess?)

from meteor-up-legacy.

arunoda avatar arunoda commented on June 27, 2024

@LeCoupa can you send me a PR with this added to the README.

Add under this: https://github.com/arunoda/meteor-up#setting-up-a-server

from meteor-up-legacy.

kluzny avatar kluzny commented on June 27, 2024

Actually, I run my meteor app behind an apache server on 80, so I specified PORT: 3000 in my env block. I got all the way to when I think it is starting the server and poof, it requires sudo.

I'd prefer not to give my user sudoers at all, and if the port requirement is > 1024, then I don't think it should try to elevate with sudo.

I was able to get all the directory perms setup for the scp and file juggles, but this last problem confounds me.

I have found this dude, who lets node bind to any lower port, but I don't like that solution either
https://gist.github.com/gadr/6389682

from meteor-up-legacy.

AWI-Koleok avatar AWI-Koleok commented on June 27, 2024

Ok i have been trying to get around this for 6 hours, i am stumped guys. I know this an old one, but its still open and it is making my life sad.

I edited sudoers via sudo visudo to insert to modify sudo and admin group as noted above, and have read about about 20 forum threads top to bottom. Am i missing something? Well, clearly i am. I have created lots of new users on ubuntu vm to try different solutions in isolation, just don't know what else to do.

I am about to just skip mup and try to deploy manually with demeteorizer, not the solution i was hoping for :(

from meteor-up-legacy.

alexdmejias avatar alexdmejias commented on June 27, 2024

+1, which is annoying because I have made it work previsouly

from meteor-up-legacy.

MasterJames avatar MasterJames commented on June 27, 2024

Did you try mupx and follow migration?

from meteor-up-legacy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.