Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Minio Unable to initialize server switching into safe-mode: Unable to initialize config system: Invalid credentials

Tags:

minio

I have minio with version minio version RELEASE.2020-04-15T19-42-18Z

Certificates store in /etc/minio/certs:

ls /etc/minio/certs
CAs  private.key  public.crt

When run minio

MINIO_ACCESS_KEY=4t4twr3r3rw3 MINIO_SECRET_KEY=ert4t4t43rwtw /usr/bin/minio server --certs-dir=/etc/minio/certs --address 0.0.0.0:9000 --certs-dir=/etc/minio/certs/ /var/lib/minio/

Get error:

ERROR Unable to initialize server switching into safe-mode: Unable to initialize config system: Invalid credentials

How will fix? Create issue on github minio? may be not corret my run command?

like image 441
Anton Patsev Avatar asked Nov 18 '25 05:11

Anton Patsev


1 Answers

If you can, try deleting the .minio.sys subdirectory in your data directory. That worked for me when I ran into this issue.

like image 133
Alex Klibisz Avatar answered Nov 21 '25 08:11

Alex Klibisz



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!