Dataset Preset (Apps) receive Validation Error

Prior to Installing Immich.

Under Dataset APPS_STORAGE

  1. Created dataset name - IMMICH; Dataset Preset = Generic (created OK)
  2. Under dataset IMMICH created dataset name - data; Dataset Preset = Apps (error)

Receive the following error:

Validation Error

[EINVAL] pool_dataset_create.share_type: Filesystem permissions on path /mnt/”MY_POOL”/APPS_STORAGE prevent access for group “builtin_users” to the path /mnt/”MY_POOL”/APPS_STORAGE/IMMICH/data. This may be fixed by granting the aforementioned group execute permissions on the path: /mnt/”MY_POOL”/APPS_STORAGE.

View Details

Error Name:

EINVAL

Error Code:

22

Reason:

[EINVAL] pool_dataset_create.share_type: Filesystem permissions on path /mnt/”MY_POOL”/APPS_STORAGE prevent access for group “builtin_users” to the path /mnt/”MY_POOL”/APPS_STORAGE/IMMICH/data. This may be fixed by granting the aforementioned group execute permissions on the path: /mnt/”MY_POOL”/APPS_STORAGE.

Error Class:

ValidationErrors

Extra:

[

[

“pool_dataset_create.share_type”,

“Filesystem permissions on path /mnt/”MY_POOL”/APPS_STORAGE prevent access for group \“builtin_users\” to the path /mnt/”MY_POOL”/APPS_STORAGE/IMMICH/data. This may be fixed by granting the aforementioned group execute permissions on the path: /mnt/”MY_POOL”/APPS_STORAGE.”,

22

]

]

Trace:

Hide

Traceback (most recent call last):

File “/usr/lib/python3/dist-packages/middlewared/api/base/server/ws_handler/rpc.py”, line 361, in process_method_call

result = await method.call(app, id_, params)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File “/usr/lib/python3/dist-packages/middlewared/api/base/server/method.py”, line 57, in call

result = await self.middleware.call_with_audit(self.name, self.serviceobj, methodobj, params, app,

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 956, in call_with_audit

result = await self._call(method, serviceobj, methodobj, params, app=app,

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 773, in _call

return await methodobj(*prepared_call.args)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File “/usr/lib/python3/dist-packages/middlewared/service/crud_service.py”, line 176, in create

return await self.middleware._call(

^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 773, in _call

return await methodobj(*prepared_call.args)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File “/usr/lib/python3/dist-packages/middlewared/service/crud_service.py”, line 214, in nf

rv = await func(*args, **kwargs)

^^^^^^^^^^^^^^^^^^^^^^^^^^^

File “/usr/lib/python3/dist-packages/middlewared/api/base/decorator.py”, line 108, in wrapped

result = await func(*args)

^^^^^^^^^^^^^^^^^

File “/usr/lib/python3/dist-packages/middlewared/plugins/pool_/dataset.py”, line 589, in do_create

verrors.check()

File “/usr/lib/python3/dist-packages/middlewared/service_exception.py”, line 71, in check

raise self

middlewared.service_exception.ValidationErrors: [EINVAL] pool_dataset_create.share_type: Filesystem permissions on path /mnt/”MY_POOL”/APPS_STORAGE prevent access for group “builtin_users” to the path /mnt/”MY_POOL”/APPS_STORAGE/IMMICH/data. This may be fixed by granting the aforementioned group execute permissions on the path: /mnt/”MY_POOL”/APPS_STORAGE.

*********

TrueNAS Scale 25.10.3 - Goldeye

HP ProLiant MicroServer Gen8

Intel Xeon CPU E3-1230 V2 @ 3.30GHz

Crucial 16GB (8 x 2 DDR3 -1600 EUDIMM) RAM

32GB (4 x 8GB) HD Western Digital Blue

Samsung 1TB 990 EVO Plus NVMe SSD Pool

Boot: Samsung Internal 256GB SD

1 x RAIDZ1 4 wide 7.28 TiB

HPE Dynamic Smart Array B120i Controller

HPE Ethernet 1Gb 2-port 332i Adapter

Thank you.

Most apps use the built in apps group, not root. Dunno about immich (as I don’t use it). Maybe try giving apps read/write access

Thanks NugentS, but that does not seem to work.

Well perhaps it did resolve the issue with some additional configs

Created 3 additional ACL permissions to APPS_STORAGE dataset

  1. User - apps: Allow | Traverse
  2. Group - builtin_users: Allow | Traverse
  3. Group - builtin_adminstrators: Allow | Traverse

Not sure which one or all of the above resolved the problem. No more validation errors.

Immich is up and running fine.

Thanks again NugentS and everyone who was looking into this.