Changed credentials does not work for login
Package version: email@example.com
/app/code/minio-credentials set admin secret
/app/code/minio-credentials get Access Key: admin Secret Key: secret
The Access Key Id you provided does not exist in our records.
Now I have found a second place where I can change the login data.
Web terminal -> env file
export MINIO_ROOT_USER=minioadmin export MINIO_ROOT_PASSWORD=minioadmin
If you change these values, they will be accepted in the web browser.
It sounds like a documentation issue to me.
Next topic for documentation:
API server domain.
I lost an hour of my life because I learned in previous versions of minio that location = the URL in each app setting. Now it's not like that anymore.
You have to select the API server domain in the app settings to connect to your minio instance.
The error messages in the browser console tell you about CORS errors. CORS could become a new hobby topic
@luckow yes, correct, with latest minio, the UI and the API are in different locations. Also see, https://forum.cloudron.io/topic/5395/possibly-breaking-changes-in-next-package and https://forum.cloudron.io/topic/2495/minio-package-updates/79
I will look into the
minio-credentialsscript, it was for the legacy minio. I probaby should remove it.
timconsidine last edited by timconsidine
@girish small polite reminder that setup instructions don't seem to be updated.
Just having the same issue this evening as reported by @luckow
I will try his 'fix'
EDIT : I tried to edit env.sh in /app/code. But it is readonly.
So I tried in /app/data. It works there.
But isn't /app/data potentially reachable from internet?
If so, putting access keys there seems bad idea.
Maybe I'm not understanding access rights of /app/data
@timconsidine Forgot about this one, thanks for the reminder. I have fixed the instructions.
Something like below in
/app/data/env.shis the way to go:
export MINIO_ROOT_USER=superadmin export MINIO_ROOT_PASSWORD=CorrectHorseBatteryStaple