Hi!
I am experimenting with Freenas and minio. It is nice that it is included, but I cannot get it running.
(I have gotten it running on ONE system, but all others have failed.)
I do not know the difference.
I installed Freenas
Added a dataset
Configured a CA
Configured a certificate
Added S3 settings
Started S3
Result: S3 service failed to start.
Last item in /var/log/messages:
Jan 8 10:49:20 freenas root: /usr/local/etc/rc.d/minio: WARNING: failed precmd routine for minio
(It repeats itself when I try to start s3)
root@freenas[/usr/local/etc/minio]# ls -al
total 6
drwxrwxr-x 3 minio minio 64 Jan 8 10:22 .
drwxr-xr-x 37 root wheel 6016 Jan 8 10:51 ..
dr-xr-xr-x 3 root minio 192 Jan 8 10:22 certs
(I have found a topic on wrong ACLs but this seems to be OK.)
What could be the cause?
(In other topics it is suggested that it is a bug which is solved in the latest RELEASE (which I am using of course.)
I tried 4 installs, of which only 1 succeeded. When reinstalling on the same hardware, I could not get it to work.
Edit:
I think it is related to the formerly mentioned file permissions bugs.
I solved it by creating a file in /usr/local/etc/minio (config.json) with the right owner (minio and minio) and copying the contents of the working system into it, then chmod 600. Not sure if those changes (which I made using the web terminal) will stick after rebooting. Did not try rebooting after that change because I am now testing backing up to it.
Still, it bugs my why I cannot get it to work with a clean install.
Even a clean install with a BACKUP of the settings (.tar) imported did NOT start S3!
There surely IS a bug, which I think is in the creation of the config.json.
I tried the latest MASTER from yesterday (11.3 etc.) and it started Minio without a problem.
Anybody know which of the 11.3 versions would be safe to use in a testing environment which will develop into production?
I am experimenting with Freenas and minio. It is nice that it is included, but I cannot get it running.
(I have gotten it running on ONE system, but all others have failed.)
I do not know the difference.
I installed Freenas
Added a dataset
Configured a CA
Configured a certificate
Added S3 settings
Started S3
Result: S3 service failed to start.
Last item in /var/log/messages:
Jan 8 10:49:20 freenas root: /usr/local/etc/rc.d/minio: WARNING: failed precmd routine for minio
(It repeats itself when I try to start s3)
root@freenas[/usr/local/etc/minio]# ls -al
total 6
drwxrwxr-x 3 minio minio 64 Jan 8 10:22 .
drwxr-xr-x 37 root wheel 6016 Jan 8 10:51 ..
dr-xr-xr-x 3 root minio 192 Jan 8 10:22 certs
(I have found a topic on wrong ACLs but this seems to be OK.)
What could be the cause?
(In other topics it is suggested that it is a bug which is solved in the latest RELEASE (which I am using of course.)
I tried 4 installs, of which only 1 succeeded. When reinstalling on the same hardware, I could not get it to work.
Edit:
I think it is related to the formerly mentioned file permissions bugs.
I solved it by creating a file in /usr/local/etc/minio (config.json) with the right owner (minio and minio) and copying the contents of the working system into it, then chmod 600. Not sure if those changes (which I made using the web terminal) will stick after rebooting. Did not try rebooting after that change because I am now testing backing up to it.
Still, it bugs my why I cannot get it to work with a clean install.
Even a clean install with a BACKUP of the settings (.tar) imported did NOT start S3!
There surely IS a bug, which I think is in the creation of the config.json.
I tried the latest MASTER from yesterday (11.3 etc.) and it started Minio without a problem.
Anybody know which of the 11.3 versions would be safe to use in a testing environment which will develop into production?
Last edited: