-
Notifications
You must be signed in to change notification settings - Fork 38
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
Permission denied / Verbose mode #43
Comments
It's failing at the scp (session.copy) in remoteTasks.js . |
Turned out to be the permissions of the remote directories I manually created (duh). I'll leave this open as I believe the pm2-meteor tool should have created these; I'd specified the user in the pm2-meteor file, and that user had sudo access at the time. Also the error reporting could be improved. Thanks for making this tool available; now that I have it working I think I'll enjoy it! |
Hello @cunneen, could you explain a bit more how you solved this? Thanks |
Hi @cunneen and @maxcabrera I just changed the install path to /home/ubuntu/pm2-meteor and then had no issue with permissions. Not really sure why it has to go into /opt anyway - obviously, that's "the way it is" or "that's where user apps live" in Ubuntu, but for a Meteor app, I see no problem with putting it in /home/ubuntu ? |
Hi, I'm unable to get this working on ubuntu 16.04.
First I got "permission denied" errors for creating the destination folders on the server:
Then after creating that manually I got "permission denied" for the subfolders:
(and again for the backups folder).
After creating all those folders manually (as the user I've told pm2-meteor to use), I now just get "Permission denied" without any information about what it's trying to get permission for.
Some more information would be helpful.
The text was updated successfully, but these errors were encountered: