I'm trying the Slack integration for Swarm and I think I have everything setup correctly. I'm using the instructions from https://swarm.worksh...software-slack/ but I'm not seeing anything in the Slack channel that I've created to receive updates from Swarm.
I've done the following
- copied across the files mentioned in the instructions to the relevant locations in my Swarm install
- changed the file permissions on the files and directories to ensure that they are writeable and executable as required
- set up the webhook in my Slack channel
- copied that webhook into the settings for the Swarm project that I'm using
I don't see any error messages in my Swarm error log or any POSTs from Swarm to the Slack webhook URL in my Swarm access log.
The install instructions don't match the standard Swarm custom module path for javascript files.
I installed the module according to the readme, then checked the <head> tag to verify whether or not the Slack.js file was being loaded, and it wasn't present.
Then, I installed the module's javascript file as swarm/public/custom/Slack/Slack.js and verified that it was now present in Swarm.
Try having the customer install the Slack.js file into swarm/public/custom/Slack/Slack.js
The install instructions don't match the standard Swarm custom module path for javascript files.
I installed the module according to the readme, then checked the <head> tag to verify whether or not the Slack.js file was being loaded, and it wasn't present.
Then, I installed the module's javascript file as swarm/public/custom/Slack/Slack.js and verified that it was now present in Swarm.
Try having the customer install the Slack.js file into swarm/public/custom/Slack/Slack.js
Apparently this doesn't work, but POSTing directly to the Slack channel does. Looks like it's an issue with Swarm or the module.
I am running into this issue myself. Any pointers would be appreciated.