Migrating from bundled MinIO (Docker Compose)
Releases up to 1.2 bundled MinIO as the object store, with its data in runtime/data/minio. The bundled store is now RustFS, which cannot read MinIO’s data, so the data has to be copied over once. While runtime/data/minio exists, ./deploy/compose.sh up and ./deploy/native.sh up refuse to start and point here. The upgrade never changes or removes the old data.
Run these steps from the deployment directory. The upgrade has already copied the old MINIO_ROOT_PASSWORD into OBJECT_STORAGE_SECRET_KEY in runtime/secrets.env, so both stores use the same credentials.
Move the old data aside. This also lets the deployment start again:
mv runtime/data/minio runtime/data/minio-legacy
Start only the new store:
./deploy/compose.sh up object-store
Run a temporary MinIO on the old data and copy every bucket into the new store with
rclone sync. Both containers share the new store’s network, so the old store listens onlocalhost:9100and the new one onlocalhost:9000:set -a; source runtime/secrets.env; set +a STORE=$(./deploy/compose.sh ps -q object-store) docker run -d --name minio-migration --network "container:$STORE" \ -v "$PWD/runtime/data/minio-legacy:/data" \ -e MINIO_ROOT_USER=scaleout -e MINIO_ROOT_PASSWORD="$OBJECT_STORAGE_SECRET_KEY" \ artifacts.scaleoutsystems.com/library/minio/minio:RELEASE.2025-09-07T16-13-09Z \ server /data --address :9100 RCLONE_ENV=( -e RCLONE_CONFIG_OLD_TYPE=s3 -e RCLONE_CONFIG_OLD_PROVIDER=Minio -e RCLONE_CONFIG_OLD_ENDPOINT=http://localhost:9100 -e RCLONE_CONFIG_OLD_ACCESS_KEY_ID=scaleout -e RCLONE_CONFIG_OLD_SECRET_ACCESS_KEY="$OBJECT_STORAGE_SECRET_KEY" -e RCLONE_CONFIG_NEW_TYPE=s3 -e RCLONE_CONFIG_NEW_PROVIDER=Other -e RCLONE_CONFIG_NEW_ENDPOINT=http://localhost:9000 -e RCLONE_CONFIG_NEW_ACCESS_KEY_ID=scaleout -e RCLONE_CONFIG_NEW_SECRET_ACCESS_KEY="$OBJECT_STORAGE_SECRET_KEY" ) docker run --rm --network "container:$STORE" "${RCLONE_ENV[@]}" rclone/rclone:1.75.2 sync old: new: --checksum docker run --rm --network "container:$STORE" "${RCLONE_ENV[@]}" rclone/rclone:1.75.2 check old: new:
rclone checkmust report0 differences found.Stop the temporary MinIO and start the full deployment (
./deploy/native.sh upin native mode):docker rm -f minio-migration ./deploy/compose.sh up
Once the deployment works, back up
runtime/data/minio-legacyand then remove it. On Linux its files are owned by root, so removing it needssudo.