-
Notifications
You must be signed in to change notification settings - Fork 70
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
stuck on deploy step #4
Comments
Just have same issue here |
Founds out that local git repository where |
Forgot to add, worked for me when cloning pm2 project from github. Maybe the npm version is outdated or buggy. |
i have the same issue. probably because of gitignore was cached. |
I have same issue, nodejs@44de8b0f1d41: commit or stash your changes before deploying Deploy failed |
Paste your ecosystem.json here |
the "gabriel" is local network pc |
Your repo isn't online yet so pm2 can't clone the repo. Push it to github, Alternatively, if the repo can be accessed via the local network, use that On Tue, Sep 30, 2014 at 11:50 PM, RaisCui [email protected] wrote:
|
my master pm2 server and deploy server both can clone the "[email protected]:rais/gabriel.git" . it's a Private git project, but both pc can clone with "Deploy keys" for "[email protected]:rais/gabriel.git", pm2 can got file cloned into deploy server -- "gabriel", that's "current , shared,source" ,3 folder, and current(source) folder is clean git data( I use git add, commit , diff ,status ..eg) I don't understand when I run "pm2 deploy dev" , it show me : I don't know what folder and why it said "Not a git repository" ?? (both PC , I used "nodejs" user for do all things,) |
Same issue here.
And then...
ecosystem.json:
I have two users on the same machine. I want my jenkins user to run pm2 deploy command in order to let deploy user to do his job. Any ideas? |
Seems to be an issue with the deploy script. I added a comment here: visionmedia/deploy#22 |
Same issue( |
it seems that this bug came back with 2.4.0, It's also solved for me if I cwd to $path/source |
so how to fix the issue?
|
Still having this issue, what do I do? |
I found this thread after getting the Failed: vs
|
Could #193 be the problem in your cases? |
Hi there,
I am trying to use the pm2 deploy feature but getting stuck on step 2 - deployment. I've run the setup command which successfully clones the repo but the next command throws the following error:
Edit: Works fine when using
visionmedia/deploy
directly.Config file:
The text was updated successfully, but these errors were encountered: