truenas / charts

TrueNAS SCALE Apps Catalogs & Charts
BSD 3-Clause "New" or "Revised" License
306 stars 293 forks source link

minio hardcoded to use nonexistant UID 473 (minio) instead of UID 568 (apps) which makes it incomptible with host path #2944

Open sync-by-unito[bot] opened 3 hours ago

sync-by-unito[bot] commented 3 hours ago

The application metadata for minio is set to

UID: 473
GID: 473
Username: minio
Groupname: minio
Description:
Minio runs as any non-root user.

but it does not create such a user, nor should it.

all my other apps are set to run as UID and GID 568 which is the default apps username and group.

minio currently simply does not work until I manually created a specific user and group for it with the id 473 and gave them permissions over the dataset in which I house it.

Note that minio does run if you let it autocreate its own ixVolume. It is only when you try to set it to use a host path that you must create a user with the UID 473.

Solution:

change the application metadata’s Run As Context to use the apps UID/GID of 568

┆Attachments: ddns-updater.png | jellyfin.png | minio.png

sync-by-unito[bot] commented 3 hours ago

➤ Tal Tamir commented:

Alternative solution 2:

automatically create user / group 473 as part of the install process of minio

Alternative solution 3:

modify the install menu for minio to allow the user to configure which UID/GID to use with minio