Reproduction steps
- Start with a self-hosted instance on the older per-part Docker Compose layout ("Docker Compose, older layout"), managed by rexctl, with SeaweedFS holding a few attachments.
- Install rexctl 2026.1128.359 and run
rexctl migrate --to docker --dry-run. It's clean, with no stoppers. - Run
rexctl migrate --to dockerand answer Yes.
Expected behaviour
The move to one container completes, and media-proxy serves the existing attachments from plain files.
Actual behaviour
Valkey to Postgres succeeds (48 keys), and SeaweedFS to plain files reports done (
The rollback is clean every time.
fluxer: 31 objects, 32782599 bytes, fluxer-uploads: 1 objects, 7237 bytes). Then:
Checking that it works.
▲ Going back from SeaweedFS to plain files.
▲ Going back from Valkey to Postgres.
✘ The change didn't work, and rexctl put your instance back as it was.
Media-proxy can't find 9 of 9 attachments, such as
attachments/1575656663854088192/1575656799795675137/signin-background_1.jpg.
Migrate: storage check failed: media-proxy can't find 9 of 9 attachments
Build information
rexctl 2026.1128.359 (60904533), go1.27.4, linux/amd64. Target Fluxer release 2026.1128.359. The instance is on the legacy Compose layout, with images pinned by digest. PostgreSQL 16.16. Host: UGREEN DXP4800 Pro NAS, UGOS Pro (Debian-based), x86_64, Docker root on btrfs.
Platform
Self-hosting
Evidence
What a watcher polling every 2 s saw during the check:
- The
fluxer_objects-datavolume contains.layout={"v":1},fluxer/,fluxer-uploads/,.meta/and.staging/. There are 34 files, all65532:10001mode0660. Folders are65532:10001mode2770, and the root is10001:10001 2770. - All 9 attachments the check names exist at
fluxer/attachments/<channel>/<id>/<filename>, with the same sizes as in SeaweedFS (for example, one PNG is 1,198,412 bytes)..meta/holds an entry only forattachments/…/public.json. - media-proxy is recreated with
FLUXER_MEDIA_PROXY_STORAGE_BACKEND=local,FLUXER_MEDIA_PROXY_STORAGE_ROOT=/var/lib/fluxer/objectsand mountfluxer_objects-data -> /var/lib/fluxer/objects. It runs asuid=10001 gid=10001, so the files are group-readable. It turns healthy, and about 10 s later rexctl rolls back. - media-proxy logs only startup INFO lines ("native memory budget", "attachment url signature policy active mode=Enforce", "media proxy listening"). There are no warnings or errors about missing objects.
- media-proxy's environment includes
FLUXER_MEDIA_PROXY_MODE=uploadand an emptyFLUXER_S3_READ_BUCKET=. SettingFLUXER_S3_READ_BUCKET=fluxerexplicitly made no difference.
- What does the storage check request from media-proxy (URL, signed or unsigned), and which response does it treat as "can't find"?
- Does the
localbackend expect a different layout or bucket mapping from whatmigratewrites (for example.meta/sidecars, or bucket resolution inuploadmode)? - Is there a way to get debug logs from media-proxy or from the check, or to keep the failed state for inspection instead of rolling back?