Jellyfin Forum
Error install Jellyfin server 10.10.1 on truenas scale 24.10 - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: General Questions (https://forum.jellyfin.org/f-general-questions)
+--- Thread: Error install Jellyfin server 10.10.1 on truenas scale 24.10 (/t-error-install-jellyfin-server-10-10-1-on-truenas-scale-24-10)



Error install Jellyfin server 10.10.1 on truenas scale 24.10 - HooMinGuen - 2024-11-07

I thought my settings were wrong so I deleted the app and installed a new one but now I can’t install it and truenas cannot install jellyfin version 10.10.0 or older
Code:
[EFAULT] Failed to render compose templates: Traceback (most recent call last): File "/usr/bin/apps_render_app", line 33, in sys.exit(load_entry_point('apps-validation==0.1', 'console_scripts', 'apps_render_app')()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/catalog_templating/scripts/render_compose.py", line 47, in main render_templates_from_path(args.path, args.values) File "/usr/lib/python3/dist-packages/catalog_templating/scripts/render_compose.py", line 19, in render_templates_from_path rendered_data = render_templates( ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/catalog_templating/render.py", line 36, in render_templates ).render({'ix_lib': template_libs, 'values': test_values}) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1301, in render self.environment.handle_exception() File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 936, in handle_exception raise rewrite_traceback_stack(source=source) File "/mnt/.ix-apps/app_configs/jellyfin/versions/1.1.0/templates/docker-compose.yaml", line 26, in top-level template code {% do c1.add_storage("/config/transcodes", dict(values.storage.transcodes, **{"tmpfs_config": {"mode": "0777"}})) %} ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/mnt/.ix-apps/app_configs/jellyfin/versions/1.1.0/templates/library/base_v2_0_11/container.py", line 180, in add_storage self._storage.add(mount_path, config) File "/mnt/.ix-apps/app_configs/jellyfin/versions/1.1.0/templates/library/base_v2_0_11/storage.py", line 89, in add volume_mount = VolumeMount(self._render_instance, mount_path, config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/mnt/.ix-apps/app_configs/jellyfin/versions/1.1.0/templates/library/base_v2_0_11/volume_mount.py", line 73, in __init__ raise RenderError("Expected [volume_config] to be set for [volume] type.") base_v2_0_11.error.RenderError: Expected [volume_config] to be set for [volume] type.

Code:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/middlewared/job.py", line 488, in run
    await self.future
  File "/usr/lib/python3/dist-packages/middlewared/job.py", line 535, in __run_body
    rv = await self.middleware.run_in_thread(self.method, *args)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1364, in run_in_thread
    return await self.run_in_executor(io_thread_pool_executor, method, *args, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  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/service/crud_service.py", line 268, in nf
    rv = 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/schema/processor.py", line 183, in nf
    return func(*args, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/plugins/apps/crud.py", line 203, in do_create
    return self.create_internal(job, app_name, version, data['values'], complete_app_details)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/plugins/apps/crud.py", line 248, in create_internal
    raise e from None
  File "/usr/lib/python3/dist-packages/middlewared/plugins/apps/crud.py", line 233, in create_internal
    update_app_config(app_name, version, new_values)
  File "/usr/lib/python3/dist-packages/middlewared/plugins/apps/ix_apps/lifecycle.py", line 59, in update_app_config
    render_compose_templates(
  File "/usr/lib/python3/dist-packages/middlewared/plugins/apps/ix_apps/lifecycle.py", line 50, in render_compose_templates
    raise CallError(f'Failed to render compose templates: {cp.stderr}')
middlewared.service_exception.CallError: [EFAULT] Failed to render compose templates: Traceback (most recent call last):
  File "/usr/bin/apps_render_app", line 33, in <module>
    sys.exit(load_entry_point('apps-validation==0.1', 'console_scripts', 'apps_render_app')())
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/catalog_templating/scripts/render_compose.py", line 47, in main
    render_templates_from_path(args.path, args.values)
  File "/usr/lib/python3/dist-packages/catalog_templating/scripts/render_compose.py", line 19, in render_templates_from_path
    rendered_data = render_templates(
                    ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/catalog_templating/render.py", line 36, in render_templates
    ).render({'ix_lib': template_libs, 'values': test_values})
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1301, in render
    self.environment.handle_exception()
  File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 936, in handle_exception
    raise rewrite_traceback_stack(source=source)
  File "/mnt/.ix-apps/app_configs/jellyfin/versions/1.1.0/templates/docker-compose.yaml", line 26, in top-level template code
    {% do c1.add_storage("/config/transcodes", dict(values.storage.transcodes, **{"tmpfs_config": {"mode": "0777"}})) %}
    ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/mnt/.ix-apps/app_configs/jellyfin/versions/1.1.0/templates/library/base_v2_0_11/container.py", line 180, in add_storage
    self._storage.add(mount_path, config)
  File "/mnt/.ix-apps/app_configs/jellyfin/versions/1.1.0/templates/library/base_v2_0_11/storage.py", line 89, in add
    volume_mount = VolumeMount(self._render_instance, mount_path, config)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/mnt/.ix-apps/app_configs/jellyfin/versions/1.1.0/templates/library/base_v2_0_11/volume_mount.py", line 73, in __init__
    raise RenderError("Expected [volume_config] to be set for [volume] type.")
base_v2_0_11.error.RenderError: Expected [volume_config] to be set for [volume] type.



RE: Error install Jellyfin server 10.10.1 on truenas scale 24.10 - TheDreadPirate - 2024-11-07

How are you installing Jellyfin? With Docker or from TrueNAS's app store?


RE: Error install Jellyfin server 10.10.1 on truenas scale 24.10 - HooMinGuen - 2024-11-07

(2024-11-07, 02:02 PM)TheDreadPirate Wrote: How are you installing Jellyfin?  With Docker or from TrueNAS's app store?

i install form TrueNAS's app store in the Discover Apps section


RE: Error install Jellyfin server 10.10.1 on truenas scale 24.10 - TheDreadPirate - 2024-11-07

Honestly, this is a question best asked on the TrueNAS forum. We don't maintain the "app" in their store.


RE: Error install Jellyfin server 10.10.1 on truenas scale 24.10 - HooMinGuen - 2024-11-07

(2024-11-07, 02:27 PM)TheDreadPirate Wrote: Honestly, this is a question best asked on the TrueNAS forum.  We don't maintain the "app" in their store.

So I posted in the wrong place, sorry and thank you for your help