-
-
Notifications
You must be signed in to change notification settings - Fork 16.7k
Open
Labels
0.kind: bugSomething is brokenSomething is broken
Description
Describe the bug
--config-dir is deprecated since RELEASE.2023-12-09T18-17-51Z
Starting the server with an existing dataDir created from newer release fails.
Steps To Reproduce
Steps to reproduce the behavior:
minio = {
enable = true;
dataDir = ["/data"];
}
systemctl status minio | bat -p
× minio.service - Minio Object Storage
Loaded: loaded (/etc/systemd/system/minio.service; enabled; preset: enabled)
Active: failed (Result: exit-code) since Mon 2024-02-12 07:34:25 +07; 54min ago
Duration: 490ms
Process: 535918 ExecStart=/nix/store/fqgqngp82l6p85sm45j29bbb17f3875d-minio-2024-01-31T20-20-33Z/bin/minio server --json --address 52345:9000 --console-address 43214323:9001 --config-dir=/var/lib/minio/config /data (code=exited, status=1/FAILURE)
Main PID: 535918 (code=exited, status=1/FAILURE)
IP: 0B in, 132B out
CPU: 442ms
Feb 12 07:34:24 afsd systemd[1]: Started Minio Object Storage.
Feb 12 07:34:25 fdsa minio[535918]: {"level":"FATAL","errKind":"","time":"2024-02-12T00:34:25.148340737Z","message":"Invalid arguments specified","error":{"message":"Invalid arguments specified","source":["cmd/prepare-storage.go:280:cmd.waitForFormatErasure()"]}}
Feb 12 07:34:25 2341 systemd[1]: minio.service: Main process exited, code=exited, status=1/FAILURE
Feb 12 07:34:25 fda systemd[1]: minio.service: Failed with result 'exit-code'.
Feb 12 07:34:25 fdsa systemd[1]: minio.service: Consumed 442ms CPU time, received 0B IP traffic, sent 132B IP traffic.
Expected behavior
Server starts
Notify maintainers
Metadata
Please run nix-shell -p nix-info --run "nix-info -m"
and paste the result.
- system: `"x86_64-linux"`
- host os: `Linux 6.1.77, NixOS, 24.05 (Uakari), 24.05.20240207.f8e2ebd`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Nix) 2.18.1`
- nixpkgs: `/nix/store/y710h26fpq694q24310cwyqw7mq56xjp-snp5f95xhkz89kdw9703kana3m6xfd0a-source`
Add a 👍 reaction to issues you find important.
sedlund, bwolf, pio2398 and davidakmfrw
Metadata
Metadata
Assignees
Labels
0.kind: bugSomething is brokenSomething is broken