Repository navigation
Description
Bug Description
After updating to the newest commit via hermes update, the default profile is accessible from discord, but a non-default profile's discord gateway does not work.
I've seen #34511 and the behavior is similar:
- discord bot appears online, but does not reply to messages
- does not reply in channels and threads
hermes -p newprofile setup gatewaydoes not list Discord as an available platform- log shows
No adapter available for discord
Steps to Reproduce
Might need to have a different profile created before updated to 0.15.1
- Update Hermes from PyPI using pipx.
- Confirm version is hermes-agent 0.15.1.
- Have an existing Discord gateway configuration with DISCORD_BOT_TOKEN configured in a profile other than default: ~/.hermes/profiles/newprofile/.env.
- Stop the gateway service
- Load the Hermes environment manually:
set -a
source ~/.hermes/profiles/newprofile/.env
set +a
- Confirm the Discord token exists in the shell.
- Run the gateway manually: hermes gateway run
- Observe:
WARNING gateway.run: No adapter available for discord
- Also run the below and see that Discord is not listed as an available messaging platform:
hermes setup gateway
Expected Behavior
Since:
- DISCORD_BOT_TOKEN is configured
- Discord dependencies are installed
- plugins.platforms.discord.adapter imports successfully
- DISCORD_AVAILABLE=True
Hermes should discover/register the Discord adapter and connect the Discord gateway.
hermes setup gateway should list Discord as an available platform.
hermes gateway run should create the Discord adapter and bring the bot online.
Actual Behavior
Running the gateway manually with the environment loaded.
Output:
┌─────────────────────────────────────────────────────────┐
│ ⚕ Hermes Gateway Starting... │
├─────────────────────────────────────────────────────────┤
│ Messaging platforms + cron scheduler │
│ Press Ctrl+C to stop │
└─────────────────────────────────────────────────────────┘
WARNING gateway.run: No adapter available for discord
WARNING gateway.run: No adapter could be created for any of the 1 configured platform(s).
Check that required dependencies are installed and credentials are set. Gateway will continue for cron job execution.
The same warning appears in the systemd user service logs.
hermes setup gateway also does not list Discord as an available platform.
Affected Component
Gateway (Telegram/Discord/Slack/WhatsApp)
Messaging Platform (if gateway-related)
Discord
Debug Report
Report https://paste.rs/PHZk9
agent.log https://paste.rs/qLAwJ
gateway.log https://paste.rs/XNQpBOperating System
Ubuntu 26.04
Python Version
3.11.15
Hermes Version
0.15.1
Additional Logs / Traceback (optional)
Root Cause Analysis (optional)
No response
Proposed Fix (optional)
No response
Are you willing to submit a PR for this?
- I'd like to fix this myself and submit a PR
Activity
alt-glitch commentedon May 31, 2026
Related to #34511 (Discord adapter not discovered on PyPI v0.15.1 — fix merged in #34484) and #32430 (force plugin discovery before adapter creation). If you installed via pip, the plugin.yaml fix in #34484 should resolve this — verify you're on a version that includes it. If the issue persists post-fix, the non-default profile aspect may be a separate discovery bug in profile-scoped plugin loading.
matchy233 commentedon May 31, 2026
@alt-glitch Thanks for the prompt reply. I've updated
hermesviahermes updateagain andgit login~/.hermes/hermes-agent/showed me I'm on77bb64813which is the latest commit (also checked withgit merge-base --is-ancestor 2765b02 HEAD && echo "YES" || echo "NO"and the output was"YES"). The non-default profile is still not accessible from discord on the newest version. The default profile works just fine.matchy233 commentedon Jun 27, 2026
Seems to be fixed in 0.17.0