Comments (13)
@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.
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.
I had the same error, and am using root as a workaround as well.... but I'd prefer not to...
from meteor-up-legacy.
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.
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.
@arunoda Thank you, that is good to know.
from meteor-up-legacy.
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.
@LeCoupa +1 for your solution (it would be a good idea to add this in the readme I guess?)
from meteor-up-legacy.
@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.
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.
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.
+1, which is annoying because I have made it work previsouly
from meteor-up-legacy.
Did you try mupx and follow migration?
from meteor-up-legacy.
Related Issues (20)
- Verifying deployment: FAILED; curl: (56) Recv failure: Connection reset by peer HOT 2
- unable to deploy with meteor 1.4.2 HOT 5
- docker not restarting on meteor app crash
- Deploy is successful but app not working on server
- publishing more ports?
- How to Revert Mup version
- Verifying deployment: FAILED, assert.js:93 throw new assert.AssertionError HOT 2
- Invoking deployment process: FAILED when mupx deploy HOT 1
- cd /
- Add settings to install MongoDB on a separate target
- mup deploy failing
- Deployment failure Mupx meteor 1.4.2.3 HOT 2
- command not found
- setup failed HOT 1
- when trying to setup
- is this repo still under support ? HOT 1
- deployment failure with bcrypt! HOT 1
- Deployment Failed | Start Meteor -failed
- mupx deploy error
- Archive repo
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from meteor-up-legacy.