Unable to start Emby install on TrueNas Scale

Hi all. I am brand new to home servers, TrueNas and everything that goes with it, though I am managing to feel my way through most of it.

I’m currently having an issue with Emby. When I try to install from the TrueNas Scale apps library, I immediately get an error and I have no idea how to fix it. The coppied response message is pasted below with the error in the last couple of lines (I pasted the whole thing just in case it proves useful):

Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 208, in call_method
result = await self.middleware.call_with_audit(message[‘method’], serviceobj, methodobj, params, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 1526, in call_with_audit
result = await self._call(method, serviceobj, methodobj, params, app=app,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 1468, 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 1361, 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/schema/processor.py”, line 183, in nf
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/schema/processor.py”, line 55, in nf
res = f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/plugins/catalog/app_version.py”, line 72, in get_app_details
app_details = get_app_details(app_location, train_data[options[‘train’]][app_name], questions_context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/plugins/catalog/apps_util.py”, line 106, in get_app_details
‘values’: get_app_default_values(version_data),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/plugins/catalog/apps_util.py”, line 22, in get_app_default_values
return construct_schema(version_details, {}, False)[‘new_values’]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/plugins/apps/schema_utils.py”, line 49, in construct_schema
verrors.add_child(‘values’, validate_schema(
^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/validators.py”, line 339, in validate_schema
schema.clean(data)
File “/usr/lib/python3/dist-packages/middlewared/schema/dict_schema.py”, line 107, in clean
data.update(self.get_defaults(data, self.get_attrs_to_skip(data), verrors))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/schema/dict_schema.py”, line 71, in get_attrs_to_skip
check_data = self.get_defaults(data, {}, ValidationErrors(), False) if not self.update else data
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/schema/dict_schema.py”, line 119, in get_defaults
data[attr.name] = self._clean_attr(attr, NOT_PROVIDED, verrors)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/schema/dict_schema.py”, line 124, in _clean_attr
return attr.clean(value)
^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/schema/dict_schema.py”, line 107, in clean
data.update(self.get_defaults(data, self.get_attrs_to_skip(data), verrors))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/schema/dict_schema.py”, line 71, in get_attrs_to_skip
check_data = self.get_defaults(data, {}, ValidationErrors(), False) if not self.update else data
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/schema/dict_schema.py”, line 119, in get_defaults
data[attr.name] = self._clean_attr(attr, NOT_PROVIDED, verrors)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/schema/dict_schema.py”, line 124, in _clean_attr
return attr.clean(value)
^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/schema/dict_schema.py”, line 107, in clean
data.update(self.get_defaults(data, self.get_attrs_to_skip(data), verrors))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/schema/dict_schema.py”, line 72, in get_attrs_to_skip
for attr, attr_data in filter(
File “/usr/lib/python3/dist-packages/middlewared/schema/dict_schema.py”, line 73, in
lambda k: not filter_list([check_data], k[1][‘filters’]), self.conditional_defaults.items()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/utils/init.py”, line 572, in filter_list
self.validate_filters(filters, value_maps=maps)
File “/usr/lib/python3/dist-packages/middlewared/utils/init.py”, line 283, in validate_filters
raise ValueError(‘Invalid operation: {}’.format(f[1]))
ValueError: Invalid operation: ==

Does anybody have any idea how to fix this so that I can complete the install?

Thanks,

Matt

Hi, looks like i got the same error. running truenas 24.10.1, have tried roolback to 24.10.0.2 with no sucsess.
this trying to update emby. deleted the app and with same issue. tried so deleting all assets/dataset with no luck.
other apps updates/install fine.

Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 211, in call_method
result = await self.middleware.call_with_audit(message[‘method’], serviceobj, methodobj, params, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 1529, in call_with_audit
result = await self._call(method, serviceobj, methodobj, params, app=app,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 1471, 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 1364, 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/schema/processor.py”, line 183, in nf
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/schema/processor.py”, line 55, in nf
res = f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/plugins/catalog/app_version.py”, line 72, in get_app_details
app_details = get_app_details(app_location, train_data[options[‘train’]][app_name], questions_context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/plugins/catalog/apps_util.py”, line 106, in get_app_details
‘values’: get_app_default_values(version_data),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/plugins/catalog/apps_util.py”, line 22, in get_app_default_values
return construct_schema(version_details, {}, False)[‘new_values’]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/plugins/apps/schema_utils.py”, line 49, in construct_schema
verrors.add_child(‘values’, validate_schema(
^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/validators.py”, line 339, in validate_schema
schema.clean(data)
File “/usr/lib/python3/dist-packages/middlewared/schema/dict_schema.py”, line 107, in clean
data.update(self.get_defaults(data, self.get_attrs_to_skip(data), verrors))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/schema/dict_schema.py”, line 71, in get_attrs_to_skip
check_data = self.get_defaults(data, {}, ValidationErrors(), False) if not self.update else data
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/schema/dict_schema.py”, line 119, in get_defaults
data[attr.name] = self._clean_attr(attr, NOT_PROVIDED, verrors)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/schema/dict_schema.py”, line 124, in _clean_attr
return attr.clean(value)
^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/schema/dict_schema.py”, line 107, in clean
data.update(self.get_defaults(data, self.get_attrs_to_skip(data), verrors))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/schema/dict_schema.py”, line 71, in get_attrs_to_skip
check_data = self.get_defaults(data, {}, ValidationErrors(), False) if not self.update else data
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/schema/dict_schema.py”, line 119, in get_defaults
data[attr.name] = self._clean_attr(attr, NOT_PROVIDED, verrors)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/schema/dict_schema.py”, line 124, in _clean_attr
return attr.clean(value)
^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/schema/dict_schema.py”, line 107, in clean
data.update(self.get_defaults(data, self.get_attrs_to_skip(data), verrors))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/schema/dict_schema.py”, line 72, in get_attrs_to_skip
for attr, attr_data in filter(
File “/usr/lib/python3/dist-packages/middlewared/schema/dict_schema.py”, line 73, in
lambda k: not filter_list([check_data], k[1][‘filters’]), self.conditional_defaults.items()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/utils/init.py”, line 572, in filter_list
self.validate_filters(filters, value_maps=maps)
File “/usr/lib/python3/dist-packages/middlewared/utils/init.py”, line 283, in validate_filters
raise ValueError(‘Invalid operation: {}’.format(f[1]))
ValueError: Invalid operation: ==

Same here, just finished my Christmas server build, i guess ill have read up on how to use Portainer

Hi, Emby works now, updated the app catalog and it now works again.
seems there has been a update today

1 Like