Repository navigation
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Silo Kody — review completeReview finished. Check the inline comments for findings and verify each suggestion against the code and tests. Reviewing changes in Silo
Review settingsReview OptionsThe following review options are enabled or disabled:
|
|
Draft until Silo-Server/silo-server#3118 is merged into main. The docs describe that change, and its labels or defaults may still change in review. (It was stacked on Silo-Server/silo-server#3117, which has merged.) |
|
|
||
| ```sh | ||
| BACKUP="silo-$(date +%F).dump" | ||
| docker exec -u silo silo pg_dump -h /run/postgresql -Fc silo > "$BACKUP" |
There was a problem hiding this comment.
Backup failure occurs with an external database because the command always dumps through /run/postgresql, while the documented DATABASE_URL option disables bundled PostgreSQL, causing the command to fail and leave an empty redirected backup file. Mark these steps as bundled-database-only and direct external-database users to dump their configured database.
Prompt for LLM
File src/content/docs/docs/running-a-server/backup-restore.md:
Line 86:
Backup failure occurs with an external database because the command always dumps through `/run/postgresql`, while the documented `DATABASE_URL` option disables bundled PostgreSQL, causing the command to fail and leave an empty redirected backup file. Mark these steps as bundled-database-only and direct external-database users to dump their configured database.
Talk to Kody by mentioning @kody
Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.
|
|
||
| 1. [Back up the Compose stack](/docs/backup-restore#back-up-the-default-compose-stack), including a database dump. | ||
| 2. Stop it with `docker compose down` from its directory. | ||
| 3. Copy the `artwork`, `plugins`, and `compat` directories from its `SILO_DATA_ROOT` into a `silo` directory inside the new config directory, such as `/opt/silo/config/silo`. The container gives them to `PUID` and `PGID` when it starts. |
There was a problem hiding this comment.
Incomplete migration instructions copy only artwork, plugins, and compat, omitting /var/lib/silo/userdb when userdb.backend=sqlite despite the linked backup guide requiring a separate backup of that directory. Copy that backup into the new /config/silo/userdb before starting the omnibus container, because restoring the PostgreSQL dump does not restore per-user data such as watch progress.
Prompt for LLM
File src/content/docs/docs/running-a-server/omnibus.md:
Line 173:
Incomplete migration instructions copy only `artwork`, `plugins`, and `compat`, omitting `/var/lib/silo/userdb` when `userdb.backend=sqlite` despite the linked backup guide requiring a separate backup of that directory. Copy that backup into the new `/config/silo/userdb` before starting the omnibus container, because restoring the PostgreSQL dump does not restore per-user data such as watch progress.
Talk to Kody by mentioning @kody
Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.
|
Preview removed after this pull request was closed. Its address now redirects to siloserver.org, though some visitors may still see the old preview for a while. |
…ompt The restore steps loaded a dump with pg_restore --clean while Silo was running against the same database. Restores now stop Silo inside the container first, recreate the database, and restart, the sequence tested on a migrated Compose install. Moving from the Compose stack now keeps the old stack restartable (stop, not down), dumps with Silo stopped, warns against reusing the PostgreSQL data directory, and adds a prompt that a coding agent can follow to do the move. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Silo Kody — review completeReview finished. Check the inline comments for findings and verify each suggestion against the code and tests. Reviewing changes in Silo
Review settingsReview OptionsThe following review options are enabled or disabled:
|
| docker exec -u silo silo dropdb -h /run/postgresql silo | ||
| docker exec -u silo silo createdb -h /run/postgresql silo | ||
| docker exec -i -u silo silo pg_restore -h /run/postgresql -d silo --no-owner --role=silo --exit-on-error < silo.dump | ||
| docker restart silo |
There was a problem hiding this comment.
Premature restart in the restore block runs docker restart silo even when pg_restore --exit-on-error fails, starting Silo against an incomplete restore before the reader can follow the error-handling instruction. Chain the destructive restore commands with && so restoration must succeed before restart, and apply the same guard to the agent prompt's command block.
docker exec -u silo silo dropdb -h /run/postgresql silo &&
docker exec -u silo silo createdb -h /run/postgresql silo &&
docker exec -i -u silo silo pg_restore -h /run/postgresql -d silo --no-owner --role=silo --exit-on-error < silo.dump &&
docker restart siloPrompt for LLM
File src/content/docs/docs/running-a-server/omnibus.md:
Line 154 to 157:
Premature restart in the restore block runs `docker restart silo` even when `pg_restore --exit-on-error` fails, starting Silo against an incomplete restore before the reader can follow the error-handling instruction. Chain the destructive restore commands with `&&` so restoration must succeed before restart, and apply the same guard to the agent prompt's command block.
Suggested Code:
docker exec -u silo silo dropdb -h /run/postgresql silo &&
docker exec -u silo silo createdb -h /run/postgresql silo &&
docker exec -i -u silo silo pg_restore -h /run/postgresql -d silo --no-owner --role=silo --exit-on-error < silo.dump &&
docker restart silo
Talk to Kody by mentioning @kody
Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.
Turning on the bundled Meilisearch now starts the bundled Redis as well (Silo-Server/silo-server#3118), and an external Meilisearch needs Redis turned on too (Silo-Server/silo-server#3130). Co-Authored-By: Claude Opus 5.5 <[email protected]>
Silo Kody — review completeReview finished. Check the inline comments for findings and verify each suggestion against the code and tests. Reviewing changes in Silo
Review settingsReview OptionsThe following review options are enabled or disabled:
|
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Silo Kody — review completeReview finished. Check the inline comments for findings and verify each suggestion against the code and tests. Reviewing changes in Silo
Review settingsReview OptionsThe following review options are enabled or disabled:
|
|
Ready for review: Silo-Server/silo-server#3118 merged as 577386316, and Silo-Server/silo-server#3117 as bca55f764. The review thread checks these pages against current main before this merges. |
There was a problem hiding this comment.
Actionable comments posted: 6

Review info
-
Run configuration-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: Organization UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
06e13759-ec04-4f15-8bb2-160553480633
Files selected for processing: 6-
src/content/docs/docs/get-started/installation-options.mdsrc/content/docs/docs/running-a-server/backup-restore.mdsrc/content/docs/docs/running-a-server/docker.mdsrc/content/docs/docs/running-a-server/omnibus.mdsrc/content/docs/docs/running-a-server/updates.mdsrc/data/sidebar.mjs
Included review availability: This review used your included allowance. 8 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 10 reviews per hour.
-
|
|
||
| ## Image and tags | ||
|
|
||
| The image is `ghcr.io/silo-server/silo-server` with `-omnibus` added to each [regular tag](/docs/docker#image-and-tags), such as `latest-omnibus` and `build-N-omnibus`. It's built for Linux x86-64 and arm64, and runs the same Silo as the regular image of the same build. |
There was a problem hiding this comment.
Use the published image tags.
The merged image workflow publishes aio and build-N-aio, not latest-omnibus or build-N-omnibus. Update the quick start, agent prompt, and update command too. The current commands can fail or use a stale image. (raw.githubusercontent.com)
| 1. In a new directory, download the file: | ||
|
|
||
| ```sh | ||
| curl -fSL https://raw.githubusercontent.com/Silo-Server/silo-server/main/docker-compose.omnibus.yml -o docker-compose.omnibus.yml |
There was a problem hiding this comment.
Update the Compose download and workflow.
The server repository removed docker-compose.omnibus.yml and replaced it with docker-compose.yml. This download now returns 404, so the Compose installation cannot proceed. Update the commands and migration guidance for the replacement file. (github.com)
| | `POSTGRES_TUNE_MEMORY_BUDGET_PERCENT` | `50` | Share of the container's memory that [automatic tuning](/docs/configuration#postgresql-tuning) gives PostgreSQL. It's lower than the regular `75` because Silo shares the container. | | ||
| | `FILE__<NAME>` | None | Reads the variable `<NAME>` from a file, such as `FILE__SECRET_KEY=/run/secrets/silo_secret_key` for a Docker secret | | ||
|
|
||
| The image doesn't support `MODE` values other than `integrated`. It logs a warning if you set one. |
There was a problem hiding this comment.
Correct the node-mode limitation.
The current omnibus image supports MODE=proxy and MODE=transcode. Update this statement and the one-server claims in this guide and installation-options.md. They direct readers away from a supported deployment. (raw.githubusercontent.com)
| docker exec -u silo silo dropdb -h /run/postgresql silo | ||
| docker exec -u silo silo createdb -h /run/postgresql silo | ||
| docker exec -i -u silo silo pg_restore -h /run/postgresql -d silo --no-owner --role=silo --exit-on-error < silo.dump | ||
| docker restart silo |
There was a problem hiding this comment.
Use a Compose restart for Compose installations.
The Compose file does not assign the container the name silo. After a Compose user restores the dump, docker restart silo therefore does not restart the service. Document docker compose ... restart silo for that installation path. (raw.githubusercontent.com)
| docker restart silo | ||
| ``` | ||
|
|
||
| The restart starts Silo again on the restored data and lets PostgreSQL apply its tuned memory settings. If `pg_restore` stops with an error, the old data is untouched; fix the cause before trying again. |
There was a problem hiding this comment.
Warn that the restore deletes the existing database.
dropdb deletes the existing silo database before pg_restore runs. If restoration fails, its previous contents are not untouched. Require a separate backup before restoring over an existing database and correct this reassurance.
| ``` | ||
| Copy `.env` and the Compose files next to the dump. Don't delete anything from the old stack in this or any later step. | ||
| 3. **Stop the old stack**: `docker compose -p <name> stop`. Use `stop`, not `down`, so it can be started again if this goes wrong. | ||
| 4. **Prepare the new `/config`.** Make a new, empty host directory for it, and inside it `silo/`. Copy the old plugins and compat directories into `silo/plugins` and `silo/compat` with `cp -a`. Copy the old artwork directory into `silo/artwork` too if there's room; if it's too large to copy, mount it at `/config/silo/artwork` in step 5 instead. Silo only adds files there. The image gives the `silo` account ownership of everything under `/config/silo`, including that mount, on every start; the old stack runs as root and can still read it. |
There was a problem hiding this comment.
Keep the rollback artwork independent.
Mounting the old artwork directory shares it with the new server. Silo can collect displaced artwork revisions, so it does not only add files. A rollback can then reference artwork that the new server removed. Require a copy or a separate snapshot before sharing the directory. (github.com)
|
Closing: #326 replaced this and is merged. |
Problem
Closes #307
Silo-Server/silo-server#3118 adds the omnibus image: Silo and PostgreSQL in one container, with Redis and Meilisearch available on request, plus
docker-compose.omnibus.yml. The manual describes only the Compose stack, so someone who wants one container, such as on a NAS or from an app catalog, has nothing to follow.Draft until Silo-Server/silo-server#3118 merges. It was stacked on Silo-Server/silo-server#3117, which has since merged into main. Connecting Meilisearch from
.envin the Compose stack is #306; this pull request links to that page's existing Optional Meilisearch section rather than repeating it.Pages changed
What changed on each page
Run Silo in one container
New page in Deployment reference, after Docker deployment reference, slug
docs/omnibus.Start with
docker run(with--stop-timeout 120) or withdocker-compose.omnibus.ymland a.envholdingSECRET_KEYandMEDIA_ROOT."What runs in the container": a table of each service's account, uid,
/configdirectory, and listener.PUIDcan't be 999, 998, or 997, with the exact error text."Environment":
SECRET_KEY,PUID/PGID(911 by default, 1000 in the Compose file),ENABLE_REDIS,ENABLE_MEILISEARCH,MEILI_MASTER_KEY,DATABASE_URL,REDIS_URL,POSTGRES_TUNE_MEMORY_BUDGET_PERCENT(50 here),FILE__<NAME>."Turn on Meilisearch": no admin steps. The fields in Admin > Server > Search show Managed by SILO_SEARCH_PROVIDER. Turning it off returns search to PostgreSQL on that start, and the admin page can choose again after that. Covers
MEILI_UPGRADE_DB=true."Use the bundled PostgreSQL":
psqlthroughdocker exec -u silo, local settings inconf.d/10-local.conf, and how automatic tuning interacts with them. "After a PostgreSQL major version change" gives dump-and-restore steps."Move from the Compose stack" and "Update the container".
"Restore a dump into the container": one restore sequence, shared by the major-version path and the move from Compose, that stops Silo inside the container before restoring.
"Move from the Compose stack": keeps the old stack restartable (
stop, notdown), warns against reusing the PostgreSQL data directory (glibc collation versions differ), and includes a copyable prompt for a coding agent to do the move.Worth checking: the issue says Admin > Settings > Search. The page uses Admin > Server > Search, the label the existing docs and #306 use.
Requirements and installation options
docker run.Plan and test your backups
org.opencontainers.image.versionlabel, dump withpg_dumpthroughdocker exec -u silo, copy the run command or Compose file and.env, and copy/config/silo. Leave outpostgres,redis, andmeilisearch.Update Silo safely and Docker deployment reference
Left out on purpose
/run/silo-omnibusstate files: they're internals, and no other page goes that deep./config/silo/.envSilo reads at start, and theMEILI_*defaults the image sets: environment variables cover the same ground.Evidence
Source reviewed against silo-server
c862f72cb(#3118 head) andbca55f764(#3117 merge), siloserver.org35d8597.Tested on a Docker host with an image built from #3118:
pg_restore --no-owner --role=silo, restart), on a Compose install seeded with an account, a profile, a scanned library, watch state, and an encrypted provider key. Every row count matched, the old password signed in, and the key was still configured.docker exec -u silo ... psqlwithPUID=1000passes peer authentication.Evidence: https://evidence.siloserver.org/r/siloserver-org/omnibus-image/
Follow-ups
docs/omnibus-image.mdreference) are fixed in Silo-Server/silo-server@8a781448e.Risks
None identified. Documentation only.
Checklist
AI Disclosure
🤖 Generated with Claude Code
Note
Add omnibus single-container image guide to install docs
SECRET_KEYand dump-only PostgreSQL backups.Macroscope summarized 51a3d2a.