-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
minio: Module broken for existing users due to legacy fs
backend no longer being supported
#199318
Comments
The bump causing the breakage was reverted in #199279. |
I will try to take a look at this on the weekend. I also need to check if the the test under |
--config-dir
being no longer supportedfs
backend no longer being supported
The problem is not It seems there is a different issue, but it only affects users with existing data. That's why the test didn't catch it. From the documentation
It seems there is no easy way except for the user to manually do the migration. Any ideas? |
It seems the only option is to manually migrate the data from the old instance to the new via One way to tackle this is to keep the current minio version around as
This way people have the chance to migrate their data. First I tought we should do this before 22.11 to avoid issues with new installations, but I don't think this is the case as minio seems to create the new backend already with the current version if non exists: https://min.io/docs/minio/linux/operations/install-deploy-manage/deploy-minio-single-node-single-drive.html#pre-existing-data |
The steps listed by @bachp worked for me aswell, but they only copy the data and not the configuration from minio such as users, policies, access keys and buckets. For that there are a few more steps listed in the minio migration guide This is what I did, leaving it documented here in case anyone comes along and has to do it on nixos: The following assumes minio is listening on localhost and you have
3a. Export configuration
3b. Fix configuration. With a text-editor remove all occurances of
Hope it helps someone, took me a bit to get it working. |
@pinpox Thanks for the detailed guide. Would you mind adding this to the release notes? I think there it might be the most helpful. |
You sure that isn't to specific? This issue is linked in the release notes anyway here |
You are right, I think the information in the release notes with a link to the issue and the upstream documentation is enough. |
Describe the bug
The minio module is currently broken and fails to start with this error:
The problem seems to be
--config-dir
which is no longer supported, there might be other changes apart from it, there seem to have been some changes in the CLI upstream.Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
Minio is running
Notify maintainers
@bachp @superherointj
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.The text was updated successfully, but these errors were encountered: