MasterTacoChief
Explorer
- Joined
- Feb 20, 2017
- Messages
- 67
I had configured S3 (minio) and it was running with no issues. I then created a self-signed certificate and assigned it to minio in the GUI. After this change, minio won't start anymore. I checked /var/log/minio.log and see this:
time="2018-02-18T17:28:52-06:00" level=fatal msg="Unable to initialize minio config for the first time." cause="open /usr/local/etc/minio/$tmpfile.config.json.726342174: permission denied" source="[common-main.go:61:initConfig()]"
I opened a console and browsed to this location, to find that there weren't any write permissions set for this directory:
root@nas2:/usr/local/etc # ls -al | grep minio
dr-xr-xr-x 3 minio minio 64 Feb 18 11:14 minio
So I instated write permissions for the user and group:
root@nas2:/usr/local/etc # chmod 775 minio
Then minio started up again. No clue how permissions got changed, could be a bug.
time="2018-02-18T17:28:52-06:00" level=fatal msg="Unable to initialize minio config for the first time." cause="open /usr/local/etc/minio/$tmpfile.config.json.726342174: permission denied" source="[common-main.go:61:initConfig()]"
I opened a console and browsed to this location, to find that there weren't any write permissions set for this directory:
root@nas2:/usr/local/etc # ls -al | grep minio
dr-xr-xr-x 3 minio minio 64 Feb 18 11:14 minio
So I instated write permissions for the user and group:
root@nas2:/usr/local/etc # chmod 775 minio
Then minio started up again. No clue how permissions got changed, could be a bug.