Skip to content

Replace pgsty/minio image with pgsty/silo - #18231

Merged
JinHai-CN merged 1 commit into
infiniflow:mainfrom
sarbojitrana:replace-minio-with-silo
Aug 13, 2026
Merged

JinHai-CN merged 1 commit into
infiniflow:mainfrom
sarbojitrana:replace-minio-with-silo

Conversation

@sarbojitrana

Copy link
Copy Markdown
Contributor

Summary

Closes #18019.

Pigsty renamed its community MinIO fork from pgsty/minio to pgsty/silo on 2026-08-06 (announcement in the repo README). pgsty/minio is frozen at RELEASE.2026-08-04T00-00-00Z — all further releases, including security fixes, ship as pgsty/silo. RAGFlow still pins the old name, so it is now parked on an image that no longer gets updates.

This PR repoints the three places that reference the image and bumps to RELEASE.2026-08-06T00-00-00Z, the first release published under the new name:

File Change
docker/docker-compose-base.yml image: for the minio service
helm/values.yaml minio.image.repository + .tag (kept in sync with compose, per #16322)
docs/faq.mdx the two sample docker ps outputs

docs/release_notes.md also mentions pgsty/minio, but that is the historical note for the release that introduced it, so it is left alone.

Why this is a drop-in swap

The rename touches delivery surfaces only — Silo's compatibility policy keeps the S3 API, the MINIO_* variables, the /minio/* routes, the x-minio-* headers and the on-disk format (including .minio.sys) unchanged. Concretely, for the three things this compose service depends on:

  1. command: is unchanged. The server binary is renamed minio → silo with no minio alias installed, but the entrypoint is still /usr/bin/docker-entrypoint.sh and it now translates the legacy argv:

    case "${1:-}" in
        "")                          set -- silo ;;
        minio)             shift;    set -- silo "$@" ;;
        silo)                        ;;
        -*|server|fmt-gen|healthcheck) set -- silo "$@" ;;
    esac

    So both the compose form (server --console-address :9001 /data) and the Helm form (server --console-address=:9001 /data) keep working untouched.

  2. The healthcheck is unchanged. /minio/health/live is still served, and curl is still present in the image, so test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"] needs no edit.

  3. Existing minio_data volumes keep working. The on-disk format is identical, so an upgrading user's data is picked up in place — no migration, no re-upload.

Multi-arch coverage is the same as before (linux/amd64 + linux/arm64).

Proof of working (click to expand)

1. Upgrade path: data written by pgsty/minio is served by pgsty/silo from the same volume

Started the unmodified compose service, wrote an object through the same minio Python SDK calls rag/utils/minio_conn.py makes (list_buckets / bucket_exists / make_bucket / put_object / stat_object / get_object / copy_object / list_objects / get_presigned_url / remove_object):

$ docker compose -p silotest -f docker-compose-base.yml up -d minio   # pgsty/minio:RELEASE.2026-03-25T00-00-00Z
$ python s3_check.py write
[write] endpoint=127.0.0.1:9000 bucket=ragflow-kb-compat expected_sha256=1d082065173617d2...
[write] list_buckets      -> []
[write] make_bucket       -> created ragflow-kb-compat
[write] put_object        -> etag=33d155c79249de54dee3afd9df2864fe size=59392
[write] stat_object       -> size=59392 etag=33d155c79249de54dee3afd9df2864fe modified=2026-08-13 10:21:21+00:00
[write] get_object        -> sha256 OK (1d082065173617d2...)
[write] copy_object       -> OK
[write] list_objects      -> ['chunk/doc-0001.bin', 'chunk/doc-0001.copy.bin']
[write] presigned_url     -> http://127.0.0.1:9000/ragflow-kb-compat/chunk/doc-0001.bin?<signature len=256>
[write] remove_object     -> removed chunk/doc-0001.copy.bin
[write] ALL S3 OPERATIONS PASSED

Then applied this PR's diff and recreated the service on the same minio_data volume:

$ docker compose -p silotest -f docker-compose-base.yml stop minio
$ git apply <this PR>
$ docker compose -p silotest -f docker-compose-base.yml up -d minio
 Container silotest-minio-1  Recreated
 Container silotest-minio-1  Started

$ docker compose -p silotest logs minio | tail
minio-1  | Silo Object Storage Server
minio-1  | Copyright: 2015-2025 MinIO, Inc.
minio-1  | Modifications: Copyright 2025-2026 PGSTY
minio-1  | License: GNU AGPLv3 - https://www.gnu.org/licenses/agpl-3.0.html
minio-1  | Version: RELEASE.2026-08-06T00-00-00Z (go1.26.5 linux/amd64)
minio-1  |
minio-1  | API: http://172.22.0.2:9000  http://127.0.0.1:9000
minio-1  | WebUI: http://172.22.0.2:9001 http://127.0.0.1:9001

The pre-existing bucket and object are intact — same etag, same last_modified as written by the old image:

$ python s3_check.py read
[read] endpoint=127.0.0.1:9000 bucket=ragflow-kb-compat expected_sha256=1d082065173617d2...
[read] list_buckets      -> ['ragflow-kb-compat']
[read] stat_object       -> size=59392 etag=33d155c79249de54dee3afd9df2864fe modified=2026-08-13 10:21:21+00:00
[read] get_object        -> sha256 OK (1d082065173617d2...)
[read] copy_object       -> OK
[read] list_objects      -> ['chunk/doc-0001.bin', 'chunk/doc-0001.copy.bin']
[read] presigned_url     -> http://127.0.0.1:9000/ragflow-kb-compat/chunk/doc-0001.bin?<signature len=256>
[read] remove_object     -> removed chunk/doc-0001.copy.bin
[read] ALL S3 OPERATIONS PASSED

On-disk format carried over untouched:

$ docker exec silotest-minio-1 sh -c 'ls /data && cat /data/.minio.sys/format.json'
ragflow-kb-compat
{"version":"1","format":"xl-single","id":"de59c359-...","xl":{"version":"3",...}}

2. Compose healthcheck passes unmodified

$ docker ps
pgsty/silo:RELEASE.2026-08-06T00-00-00Z  "/usr/bin/docker-ent…"  Up 3 minutes (healthy)  0.0.0.0:9000-9001->9000-9001/tcp  silotest-minio-1

$ docker exec silotest-minio-1 curl -f http://localhost:9000/minio/health/live   # exactly what compose runs
HTTP 200
$ curl -o /dev/null -w '%{http_code}\n' http://127.0.0.1:9000/minio/health/cluster
200
$ curl -o /dev/null -w '%{http_code}\n' http://127.0.0.1:9001    # console
200

$ docker exec silotest-minio-1 silo --version
silo version RELEASE.2026-08-06T00-00-00Z (commit-id=3be10fcc1a44f6620ded0bd303461f9d688cca23)
Runtime: go1.26.5 linux/amd64
License: GNU AGPLv3 - https://www.gnu.org/licenses/agpl-3.0.html

3. Helm chart renders and lints, and its arg form works against the new image

$ helm template ragflow ./helm | grep -A1 'name: minio'
      - name: minio
        image: pgsty/silo:RELEASE.2026-08-06T00-00-00Z

$ helm lint ./helm
1 chart(s) linted, 0 chart(s) failed

$ docker run -d pgsty/silo:RELEASE.2026-08-06T00-00-00Z server --console-address=:9001 /data
$ curl -o /dev/null -w '%{http_code}\n' http://127.0.0.1:19000/minio/health/live   # S3
200
$ curl -o /dev/null -w '%{http_code}\n' http://127.0.0.1:19001                     # console
200

4. Multi-arch parity retained

$ docker manifest inspect pgsty/silo:RELEASE.2026-08-06T00-00-00Z
  linux/amd64  sha256:da1284931914c3de5...
  linux/arm64  sha256:2c00469c7b3b95371...

Note

@AlphaRex-pixel was assigned this issue on Aug 10 and no PR had been opened yet when I put this together — happy to close this in favour of theirs if they have work in flight.

Type of change

  • Bug Fix (non-breaking change which fixes an issue)
  • New Feature (non-breaking change which adds functionality)
  • Documentation Update
  • Refactoring
  • Performance Improvement
  • Other (please describe):

The upstream fork was renamed from pgsty/minio to pgsty/silo on
2026-08-06; pgsty/minio no longer receives releases. Point the compose
stack, the Helm chart and the FAQ sample output at the new image and
bump to the first release published under the new name.

The image is a drop-in replacement: same /usr/bin/docker-entrypoint.sh,
same MINIO_* environment variables, same /minio/* routes (so the
existing curl -f http://localhost:9000/minio/health/live healthcheck is
unchanged), and the same on-disk format, so existing minio_data volumes
are picked up as-is. Only the server binary is renamed minio -> silo,
and the entrypoint translates the legacy argv, so the existing
`server --console-address :9001 /data` command needs no change.

Closes infiniflow#18019
@dosubot dosubot Bot added size:XS This PR changes 0-9 lines, ignoring generated files. 🐞 bug Something isn't working, pull request that fix bug. 📖 documentation Improvements or additions to documentation labels Aug 13, 2026
@coderabbitai

coderabbitai Bot commented Aug 13, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: aa3c7ca1-462a-4f48-9cf6-2bbc779c68ed

📥 Commits

Reviewing files that changed from the base of the PR and between c10371d and 1739995.

📒 Files selected for processing (3)
  • docker/docker-compose-base.yml
  • docs/faq.mdx
  • helm/values.yaml

📝 Walkthrough

Walkthrough

The pull request replaces the pinned pgsty/minio image with pgsty/silo:RELEASE.2026-08-06T00-00-00Z in Docker Compose, Helm values, and two FAQ examples.

Changes

Silo image migration

Layer / File(s) Summary
Update runtime image configuration
docker/docker-compose-base.yml, helm/values.yaml
The MinIO service and Helm image settings now use the pinned pgsty/silo August 2026 release.
Synchronize documentation examples
docs/faq.mdx
Two FAQ Docker examples now use the same pgsty/silo image and release tag.

Estimated code review effort: 2 (Simple) | ~5 minutes

Mergeability Score: ⚪ Minimal · up to 17399

The change repoints the documented MinIO image references to the compatible Silo image and preserves the existing commands, healthcheck, and data volume behavior. No actionable merge-blocking risk remains beyond normal checks.

Suggested reviewers: jinhai-cn, qinling0210

Poem

A rabbit hops through YAML bright,
Replacing images left and right.
Silo tags now stand in line,
Compose, Helm, and docs align.
“Hop approved!” the rabbit sings.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely describes the primary image replacement made by the pull request.
Description check ✅ Passed The description includes the required summary, background, affected files, compatibility details, validation evidence, and change type.
Linked Issues check ✅ Passed The pull request updates the Docker Compose image required by issue #18019 and keeps related Helm and documentation references synchronized.
Out of Scope Changes check ✅ Passed All changes support the image replacement objective; the historical release note remains correctly unchanged.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@JinHai-CN
JinHai-CN merged commit c7aca4c into infiniflow:main Aug 13, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🐞 bug Something isn't working, pull request that fix bug. 📖 documentation Improvements or additions to documentation size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request]: Replace minio with pgsty/silo

2 participants