SOLVED emby (TrueNAS): Chart version 2.0.5 breaks GIDLIST 44,107 for transcoding

voodoo5_6k

Dabbler
Joined
Jan 20, 2017
Messages
17
With the newest chart version of 2.0.5 the GIDLIST environment variable (value: 44,107) leads to an error:

"error FAILED
[EFAULT] Failed to update App: Error: UPGRADE FAILED: template: emby/templates/common.yaml:6:38: executing "emby/templates/common.yaml" at : error calling include: template: emby/templates/_emby.tpl:31:23: executing "emby.workload" at <.Values.embyGPU>: can't evaluate field Values in type []interface {} "

^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/schema/processor.py", line 177, in nf
return await func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/plugins/chart_releases_linux/chart_release.py", line 559, in do_update
await self.middleware.call('chart.release.helm_action', chart_release, chart_path, config, 'update')
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1399, in call
return await self._call(
^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1353, in _call
return await self.run_in_executor(prepared_call.executor, methodobj, *prepared_call.args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1251, in run_in_executor
return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/plugins/chart_releases_linux/helm.py", line 49, in helm_action
raise CallError(f'Failed to {tn_action} App: {errmsg}')
middlewared.service_exception.CallError: [EFAULT] Failed to update App: Error: UPGRADE FAILED: template: emby/templates/common.yaml:6:38: executing "emby/templates/common.yaml" at <include "emby.workload" $>: error calling include: template: emby/templates/_emby.tpl:31:23: executing "emby.workload" at <.Values.embyGPU>: can't evaluate field Values in type []interface {}

This is on TrueNAS SCALE 23.10.2. All worked fine with 2.0.4. This is required to hand over the GPU for transcoding. Now, it doesn't work anymore.

I had to rollback to 4.8.1.0_2.0.3 as for some reason 4.8.3.0_2.0.4 couldn't be found.

While we're at it. Could we make this like automatic, when selecting a GPU (i.e., in the background, without user intervention, adding the required GIDLIST 44,107 to make the GPU work)? I mean, it doesn't work without it, at all. Why not remove this failure mode for users?

Thanks!
 
Last edited:

voodoo5_6k

Dabbler
Joined
Jan 20, 2017
Messages
17
This morning, I found the 4.8.3.0_2.0.6 update being available. It not only fixes the issue but also automates the GIDLIST entry based on GPU selection as per my suggestion above.

Wow, that was fast, and thank you all very much :)
 
Top