-
Notifications
You must be signed in to change notification settings - Fork 29
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
PM2 won't start at initial deploy #19
Comments
Hi, I looked in to this but I think this one might be pm2 related: Would be great if you could take the time and report this at pm2. The full process looks like:
Environment: ubuntu 16.04 |
Unfortunately, following the same modifications as you did (ie, comment ou the See the following branch so you can (hopefully) reproduce: https://github.com/xcambar/ansible-pm2/tree/test_notify (diff: master...xcambar:test_notify). After this branch is checked out (and the repo is clean), I run the following:
IMPORTANT! |
As a side note, the configuration in the PR only works if the folder of the module/repository is named |
Hi, yeah, you need to switch to the root user to see the apps running. |
Sorry, I was unclear: I went through step 2 and 3 as well, and step 3 is where it differs. Here's step 1: initial ls
Step 2: update
Step 3: list applications
Hope this helps! |
Here are the system infos from the VM:
|
ah ok, that helps. so currently the only difference would be the ubuntu distribution. I updated my box to xenial. what system are u running where the actual problem occured? trusty or xenial? |
|
Debian Stretch 8.9 and 9.1 |
ok, I added the stretch box:
uses:
and now I have the same behaviour as described above: Seems this is related to ubuntu xenial and at least debian stretch |
So here's the pm2.log which shows that after running
Running
|
I'll take some time to try and see the behaviour manually (no Ansible) to confirm the results. What would be your suggestion for the next steps? |
Next steps would be: • If you can confirm this manually, it's probably a bug and needs to be reported / fixed by pm2 (this actually means, that this role works as it should and you should add a workaround like calling • If it's not a but, we'll have to figure out why this is ansible related. |
Closing this due to inactivity. |
Hi,
I've noticed that, with my setup (below), during the initial deployment, the execution of the
update PM2
handler stops the process but does not restart it.I don't really know what to do with it, except ask for your help :)
Maybe you will find some piece of relevant info below, or event better, reproduce the situation...
Here's the info:
ansible-pm2 config:
The relevant ansible logs:
And a slice of Syslog to complete:
The text was updated successfully, but these errors were encountered: