Troubleshooting
Bot does not respond in Slack
-
Make sure the bot is added to the channel: click the channel name > Integrations > Add an App.
-
Try mentioning it again:
@PrivMan Approvals -
Check logs:
docker logs privman-slack-bot
No approval cards appearing
-
Confirm the channel is registered by mentioning the bot and checking that it replies.
-
The bot polls every 60 seconds — wait up to a minute after a request is submitted.
-
Verify there are pending requests in Privilege Manager.
-
Check logs:
docker logs -f privman-slack-bot
Bot stopped unexpectedly
Run docker logs privman-slack-bot and look for ERROR lines. Common causes:
-
Slack tokens expired — Regenerate the tokens in the Slack app settings and re-run the container with the updated
-evalues. -
Privilege Manager URL or credentials changed — Re-run the container with the corrected
-evalues.
Authentication failed in logs (Privilege Manager)
-
Verify
PRIVMAN_USERNAMEandPRIVMAN_PASSWORDare correct. -
Confirm
PRIVMAN_BASE_URLends exactly with/Tms. -
Verify the API client exists in Privilege Manager and has the Privilege Manager Administrators role.
Container exits immediately
Run docker logs privman-slack-bot to see the error. The most likely cause is a missing or incorrect SLACK_BOT_TOKEN or SLACK_APP_TOKEN.
BoltError: SLACK_BOT_TOKEN is required
The SLACK_BOT_TOKEN variable is missing or empty. Verify your -e flags in the docker run command.
PermissionError: channels.json
The container writes channel data relative to its working directory /app/data. Make sure the named volume is mounted correctly:
-v privman-bot-data:/app/data
NoRegionError
USE_LOCAL_STORAGE is not set to true. Add -e USE_LOCAL_STORAGE=true to your docker run command.
Quick reference
| Item | Value |
|---|---|
| Docker image | delineaxpm/privman-slack:latest
|
| Default poll interval | 60 seconds |
| Auto-approve duration | 4 hours |
| Data volume | privman-bot-data (named Docker volume) |
| Data path inside container | /app/data
|
| Runtime user | Non-root |