Discord
Where is the real Discord?
Where is the real Discord?
The Cupola Discord invite is https://discord.gg/2vNRzRMY6K.Do not use:
discord.gg/relic— not Cupola (unrelated Roblox community)discord.gg/heycupola— expired invite
Session & Authentication
Session expired
Session expired
Your session token has a limited lifetime. When it expires, re-authenticate:
Invalid JWT error
Invalid JWT error
JWT tokens refresh automatically. If the error persists, clear your session and re-authenticate:
Secret Injection
relic run says Server Error or Environment not found
relic run says Server Error or Environment not found
If
relic run -e <name> prints Server Error or Environment not found, the environment name is missing or wrong.- Run
relicand open your project. - Create an environment (for example
development), or copy the exact name you already have. - Run again:
relic run -e development -- <command>
relic init alone does not create environments. Create at least one environment before relic run.relic run returns no secrets
relic run returns no secrets
Check the following:The next
- Verify the environment name matches exactly:
relic run -e development -- ... - Make sure
relic.tomlexists in your project root (runrelic initif not) - Clear stale cache:
relic run will fetch fresh data from the server.Secrets have outdated values
Secrets have outdated values
Cache invalidation happens automatically when secrets are updated. If you still see old values, delete the local cache:
When using API keys (CI/CD mode), caching is disabled and secrets are always fetched fresh.
TUI
Colors or UI elements look broken
Colors or UI elements look broken
TUI won't start or crashes
TUI won't start or crashes
Run with debug logging enabled to see what’s happening:Then check the log file:
Debugging
When something isn’t working, enable debug logs to get more information.1
Enable debug logging
Set the
RELIC_LOG environment variable:2
Check the log file
Logs are written to
~/.config/relic/logs/ (%APPDATA%\relic\logs\ on Windows):Override the log path with
RELIC_LOG_FILE if needed.3
Watch logs in real time
Tail the log file while running Relic in another terminal:
Windows
Windows support is in beta. These are the differences you are most likely to run into.'relic' is not recognized after installing
'relic' is not recognized after installing
The PowerShell installer adds
%USERPROFILE%\.relic\bin to your user PATH, but terminals that were already open keep the old value. Open a new terminal window, or update the current session:Running scripts is disabled on this system
Running scripts is disabled on this system
Your execution policy blocks the installer. Run it with the policy bypassed for that one process:
relic run cannot find my command
relic run cannot find my command
The runner looks up commands in
PATH using the extensions in PATHEXT, limited to .com, .exe, .bat, and .cmd. The current directory is not searched.- For a script in the current directory, use a path:
relic run -e dev -- .\build.cmd - For
cmd.exebuilt-ins such asechoorset, go through the shell. From PowerShell:relic run -e dev -- cmd /c echo %API_URL% - For PowerShell scripts, call PowerShell:
relic run -e dev -- pwsh -File .\deploy.ps1
relic upgrade prints a command instead of upgrading
relic upgrade prints a command instead of upgrading
Windows does not allow a running Installs from the PowerShell installer upgrade in place: the installer moves the running binary aside to
relic.exe to be replaced. If you installed with npm, Bun, or Scoop, relic upgrade prints the command to run once it exits, for example:relic.exe.old and removes it on the next install.TUI colors or layout look wrong
TUI colors or layout look wrong
Use Windows Terminal, which is the default terminal on Windows 11. The legacy console host (
conhost.exe) on older Windows 10 builds may render colors and box characters incorrectly.Enable debug logs in PowerShell
Enable debug logs in PowerShell
PowerShell sets environment variables differently from Unix shells:
Cache
Relic caches data locally to reduce API calls. If you need to reset it:What never to paste (Discord / GitHub / DMs)
Hygiene only — no crypto claims. Secret names are OK. Secret values are never OK — including in screenshots, screen recordings, and “redacted” snippets that still show part of a token. Never paste (or show on camera):- Secret values, API tokens, JWTs, cookies, Authorization headers, private keys / PEM blocks, master passwords
- Full
.envbodies or anyRELIC_*/ Wrapper credential values - Wrapper share codes, attach links, or session URLs (anyone with the link can reach the shared session)
- Device-auth / OIDC one-time codes, login callback URLs, or magic links
- PTY dumps, agent transcripts, MCP tool output, or CI logs that contain values
- Request IDs that embed account data (when in doubt, omit)
- OS + Relic / Wrapper version (
relic --version) - Exact command with environment name only (for example
-e development) - Error text / exit code with values removed
- Secret names only (for example
OPENAI_API_KEYexists / missing)
Names yes. Values never. No .env dumps. No tokens. No share links. No PTY pastes. Screenshots count.
Still stuck?
Discord
Ask in #support with OS + command (names only — no secret values).
Open an issue
Report bugs or request features on GitHub.
Security issues
For security vulnerabilities, email us directly. Do not open public issues.