Skip to content
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

Not getting anything into my slack channel and I'm not sure where to start debugging #27

Open
GusRuss89 opened this issue Apr 2, 2018 · 5 comments

Comments

@GusRuss89
Copy link

My settings:

slack_url: https://hooks.slack.com/services/[redacted]/[redacted]/[redacted]
buffer_seconds: 20
log: true

I tried stopping and starting pm2 but nothing...

If I do pm2 log I can see my log files updating, but nothing gets to my slack channel. I have no idea how to debug this...

@wilian746
Copy link

I have this problem too. I can not see my log

@TheMrugraj
Copy link

I am also facing the same issue. Not getting any Slack message. I tried to check the Hook URL using Postman and its working so, the issue is not with the URL.

@sefabaser
Copy link

Have the same

@joshtronic
Copy link

Ran into this as well. Initially I had installed pm2-slack as a super user (was thinking I was installing it globall), but my app is running as a normal user. Upon reinstalling / configuring pm2-slack as the non-elevated user that was in charge of my existing processes, everything started to post to slack correctly.

Hope this helps somebody :)

@randommr3
Copy link

randommr3 commented Jan 30, 2020

Hey,
I don't know if this is the correct way but I also didn't see any logs from pm2-slack until I did this:
Go to pm2-slack install folder, for me this was:

cd ~/.pm2/modules/pm2-slack/node_modules/pm2-slack/
Start pm2-slack as a pm2 service:
pm2 start index.js --name=pm2-slack

Now the logs started flooding in as per my pm2 set pm2-slack:... settings.

I also did pm2 update so that the service gets recognized as Module if you do pm2 status.

Hope this helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants