Open t0lkman opened 5 years ago
same problem. centos 7 pm2 version 3.5.0
pm2 deploy development revert
--> Deploying to development environment
--> on host localhost
○ reverting 1 deploy(s)
○ deploying 91ef402
○ executing pre-deploy-local
○ executing pre-deploy echo
○ fast forward 91ef402 HEAD is now at 91ef402... /api/dev fatal: Couldn't find remote ref 91ef402
git pull failed
Deploy failed
It might be linked to: https://github.com/Unitech/pm2-deploy/blob/master/deploy#L267
Feel free to PR
@Unitech Same problem here. fatal: Couldn't find remote ref #changesetNumber Error occur on
run "cd $path/source && git checkout $branch && git pull origin $branch"
It will execute "git pull origin $branch", however the $branch = git changeset, instead of a branch name. I would like to revert changes, but why it will goes to pull command again?
any news?
Ping on news concerning this?
Same problem here
Please try with:
npm install Unitech/pm2#development -g
This is PM2 v4
It is also not working with v4.
Why? Any news. PM2 is such a good tool, but revert / rollback is not working!
@Unitech
btw: It seems like @t0lkman fixed this within #174 Is there a reason why it's still not merged? @Unitech
Same here. Any news?
I was referred to pm2 after realizing that shipit would not work for deploying to multiple servers, and then I run into this. The ability to revert a deployment is a bit of a must have. 😞
It's on linux ubuntu 18 pm2 version is 3.3.1