Created attachment 220615 [details] www/minio patch After bug #251663 MinIO doesn't work correctly in distributed mode. The problem was fixed in bug #246775, but it was a workaround. It suggested to create disks directory only in standalone mode. Also minio_config has been deprecated (https://docs.min.io/docs/minio-server-configuration-guide.html). File mode bits in start_precmd() routine has been added.
(In reply to Boris Korzun from comment #0) Ok, that makes sense. When I tested the rc script, I get: # service minio restart /usr/local/etc/rc.d/minio: 70: Syntax error: Missing '}'
Created attachment 220664 [details] www/minio patch (In reply to Steve Wills from comment #1) Sorry, there was a typo in the diff. I've fixed it.
A commit references this bug: Author: swills Date: Fri Dec 18 14:45:44 UTC 2020 New revision: 558376 URL: https://svnweb.freebsd.org/changeset/ports/558376 Log: www/minio: update to 2020.12.18.03.27.42 [1] While here, fix rc script when using distributed mode [2] PR: 251889 [2] Submitted by: Boris Korzun <drtr0jan@yandex.ru> [2] Changes: head/www/minio/Makefile head/www/minio/distinfo head/www/minio/files/minio.in