Created attachment 220342 [details] The attached patch creates and registers the directory with the appropriate uid/gid. www/minio does not create /var/db/minio and therefore fails to start: ``` Dec 7 09:53:44 portjail minio[12362]: ERROR Unable to initialize backend: Unable to write to the backend Dec 7 09:53:44 portjail minio[12362]: > Please ensure MinIO binary has write permissions for the backend Dec 7 09:53:44 portjail minio[12362]: HINT: Dec 7 09:53:44 portjail minio[12362]: Use 'sudo chown -R minio /var/db/minio && sudo chmod u+rxw /var/db/minio' to provide sufficient permissions. Dec 7 09:54:55 portjail minio[12408]: Exiting on signal: TERMINATED ``` The attached patch creates and registers the directory with the appropriate uid/gid.
Created attachment 220344 [details] patch to create db dir I think it's better to do it in the rc script. This look OK to you?
Not sure how this is better but sure it's your port.
A commit references this bug: Author: swills Date: Mon Dec 14 14:39:30 UTC 2020 New revision: 558093 URL: https://svnweb.freebsd.org/changeset/ports/558093 Log: www/minio: update to 2020.12.12.08.39.07 [1] While here, patch rc script to check for db dir and create it [2] PR: 251663 [2] Reported by: ehaupt [2] Changes: head/www/minio/Makefile head/www/minio/distinfo head/www/minio/files/minio.in
Committed, thanks for the report.