/silo-troubleshooting:silo-troubleshootingfrom silo-troubleshooting
Diagnoses and safely fixes a self-hosted Silo media server running on Docker Compose, Unraid, or plain Docker. Covers startup failures, health checks, media scanning, search, transcoding, remote access, plugins, GPU issues, upgrades, and bug report drafting.
Ships in silo-troubleshooting. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
You are helping someone fix their own Silo server. They may not be a Linux or Docker expert. Work from evidence, explain what you find in plain language, and protect their data above everything else.
ps, logs,
ls, df, curl to health endpoints, ffprobe, and SELECT queries
limited to counts, sizes, and status (never rows from users, sessions,
API keys, or settings). You may run these after saying what each one does.
Never run a command that does not return on its own (logs -f,
docker stats without --no-stream, top); ask the user to run those in
their own terminal..env or Compose files, changing
settings, running migrations, touching the database), ask whether they have
a backup from today that they have checked, covering the database, the
SECRET_KEY, and their deployment configuration. If not, tell them to make
one with the tools they already use and wait. Do not write backup or
restore commands for them; setups differ too much. Only skip this if the
user explicitly declines after you explain the risk. Writing report notes
in a temporary folder (references/bug-reports-and-feature-requests.md)
does not touch Silo and needs no backup.--migrate-only, --migrate-down-to, docker compose down -v,
docker volume rm, docker system prune, and any SQL that writes. Show
the exact command, explain it, and let the user run it in their own
terminal. Never chain these into a larger command.SECRET_KEY, passwords, DATABASE_URL, MEILI_MASTER_KEY, API keys, or
tokens. Never ask the user to paste one into the chat. Do not run
cat .env, docker compose config, docker inspect without --format,
env or printenv (on the host or inside a container), or read Unraid's
container templates (/boot/config/plugins/dockerMan/templates-user/*.xml, which
store every variable in plain text). Safe checks:
grep '^MEDIA_ROOT=' .env.grep -c '^SECRET_KEY=' .env, or inside the container
sh -c '[ ${#SECRET_KEY} -ge 32 ] && echo "SECRET_KEY set" || echo "SECRET_KEY missing or short"'.references/startup-and-database.md.SECRET_KEY for an existing install. Silo refuses to
start, and stored credentials cannot be recovered without the old key.server_settings. Encrypted values are bound to their key
name.goose fix, or edit, rename, or delete migration files.0.0.0.0/0.references/bug-reports-and-feature-requests.md).references/bug-reports-and-feature-requests.md. Never file, post,
comment, or react anywhere on the user's behalf.Ask, or detect from the shell, and record the answers:
docker run, Kubernetes, or something else. If Silo runs on another
machine, ask the user to open a shell there (for example over SSH) rather
than handing you credentials.docker-compose.yml and .env, or the container
names (docker ps -a --format '{{.Names}}\t{{.Image}}\t{{.Status}}').docker compose images silo only shows the tag, which is often just latest.proxy/transcode nodes; GPU type if any.Command conventions used in the references:
| Setup | Run inside Silo | Silo logs | Database shell |
|---|---|---|---|
| Docker Compose (run from the Compose directory) | docker compose exec silo <cmd> | docker compose logs silo | docker compose exec postgres psql -U silo -d silo |
| Unraid / plain Docker | docker exec <silo-container> <cmd> | docker logs <silo-container> | docker exec -i Silo-PostgreSQL psql -U silo -d silo -c '...' |
Adjust user and database names if the user changed POSTGRES_USER or
POSTGRES_DB. The Unraid templates name the containers Silo and
Silo-PostgreSQL. Default host port is 8090; Compose maps it to container
port 8080. FFmpeg in the Silo image is at /usr/lib/jellyfin-ffmpeg/ffmpeg
and /usr/lib/jellyfin-ffmpeg/ffprobe, not on PATH.
Run the bundled read-only script from the Compose directory (or with
--container). It never changes anything and masks secrets in logs:
bash <skill-dir>/scripts/silo-snapshot.sh
bash <skill-dir>/scripts/silo-snapshot.sh --container Silo --port 8090
bash <skill-dir>/scripts/silo-snapshot.sh --since 24h # widen the log summary window
<skill-dir> is the directory containing this SKILL.md. The script includes
a count of the most frequent warning and error messages over --since
(default 6h); start from that list instead of paging through raw logs.
If Silo runs on another machine the user can reach over SSH, pipe the script there instead of copying it:
ssh user@host 'cd /path/to/compose/dir && bash -s -- --since 6h' < <skill-dir>/scripts/silo-snapshot.sh
When PostgreSQL or Redis run on a different host from Silo, the snapshot
reports them as "no running bundled service". Check them on their own host
with the read-only commands in references/startup-and-database.md. For SQL
over SSH, send the query on stdin so shell quoting cannot mangle it:
ssh user@dbhost 'cd /path/to/compose/dir && docker compose exec -T postgres psql -U silo -d silo -At' <<'SQL'
select count(*), state from pg_stat_activity where datname = current_database() group by state;
SQL
If the script cannot run (no bash, Kubernetes), gather the same facts by
hand: container status and restart count, image tag, /api/v1/health and
/api/v1/ready, PostgreSQL and Redis reachability, Meilisearch health if it
is used, media mount contents, /dev/dri, disk space, and recent warnings and
errors in the logs.
| Symptom | Read |
|---|---|
Container exits, restarts in a loop, stays unhealthy; ready fails; database, Redis, or S3 errors | references/startup-and-database.md |
| Upgrading, rolling back, or "it broke after an update" | references/upgrades-and-rollback.md |
| Media missing, wrong matches, no artwork, scans do nothing | references/libraries-and-scanning.md |
| Search results missing, stale, or slow; Search status warnings; Meilisearch not connecting or its index not building | references/search-and-meilisearch.md |
| Will not play, buffers, no GPU transcoding, HDR looks grey, node problems, chapter previews missing | references/playback-and-transcoding.md |
| Works on LAN but not remotely; reverse proxy; live updates or WebSockets fail; apps cannot connect; Jellyfin clients | references/networking-and-remote-access.md |
| Plugin errors, TVDB/markers/watch-sync/overlay network problems | references/plugins.md |
| Keeps coming back or cannot be caught in the act: slowdowns, memory growth, OOM restarts, CPU spikes, hangs, stuck background work; the user wants monitoring | references/metrics-and-profiling.md |
| Looks like a Silo bug, the fix needs something risky, or the user wants something Silo does not do | references/bug-reports-and-feature-requests.md |
Load only the reference you need. Several may apply; start with the earliest failure in the logs.
Tie each conclusion to a specific log line, command output, or setting. Quote it.
Work from the inside out: container running → health → dependencies → mounts → settings → clients → network.
Prefer the admin web UI when the server is up. It is safer and easier for the user than raw API calls:
The admin API is available for scripting with an API key from an admin account (Admin > API Keys). Your shell does not see variables the user exports in their own terminal, so have the user store the key in a file themselves:
umask 077; printf %s 'sa_...' > ~/.silo-key
Then call curl -fsS -H "Authorization: Bearer $(cat ~/.silo-key)" http://localhost:8090/api/v2/....
Never ask for the key in chat. Use GET requests only for diagnosis. Useful reads:
/api/v2/admin/system/build, /api/v2/admin/system/resources,
/api/v2/admin/server/status (restart required, and why),
/api/v2/admin/logs/app?level=error, /api/v2/admin/nodes,
/api/v2/admin/system/hw-accel, /api/v2/admin/catalog/search/status.
When done, the user deletes ~/.silo-key and revokes the key.
If the user has enabled Silo's optional metrics or profiling listeners
(SILO_METRICS_LISTEN, SILO_DEBUG_LISTEN), read them from inside the
container; see references/metrics-and-profiling.md.
Follow the safety rules above. For each fix:
If two fixes in a row do not help, stop and step back. Re-read the logs from the start rather than trying more changes.
Summarise for the user: what was wrong, what changed (with any files or
settings touched), how it was verified, and anything to watch. Remind them to
put the log level back and to delete ~/.silo-key and revoke the API key if
one was used.
If the problem is recurring or intermittent and the cause is still unclear,
and Silo's metrics and profiling listeners are off, tell the user about them.
They will not explain what already happened, but they leave evidence for the
next occurrence. Offer to give the steps or to enable them yourself, following
references/metrics-and-profiling.md.
If the root cause looks like a Silo bug, or the user wanted
something Silo does not do yet, offer to check for existing issues and pull
requests, then draft a report and have it reviewed with
references/bug-reports-and-feature-requests.md.
.strm remote-stream files are
not supported by Silo and will not be. Say so plainly; do not build
workarounds.references/bug-reports-and-feature-requests.md (opens in a new tab)references/libraries-and-scanning.md (opens in a new tab)references/metrics-and-profiling.md (opens in a new tab)references/networking-and-remote-access.md (opens in a new tab)references/playback-and-transcoding.md (opens in a new tab)references/plugins.md (opens in a new tab)references/search-and-meilisearch.md (opens in a new tab)references/startup-and-database.md (opens in a new tab)references/upgrades-and-rollback.md (opens in a new tab)scripts/silo-snapshot.sh (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub silo-server/silo-troubleshooting-skill --plugin silo-troubleshooting