truecharts / public

Community Helm Chart Repository
https://truecharts.org
GNU Affero General Public License v3.0
1.13k stars 617 forks source link

Upgrading Jellyfin fails with `values.scaleGPU: Not a lis` #7956

Closed Matix-Media closed 1 year ago

Matix-Media commented 1 year ago

App Name

jellyfin

SCALE Version

22.12.1

App Version

10.8.9_13.0.12

Application Events

2023-04-12 20:18:56
Started container jellyfin
2023-04-12 20:18:55
Created container jellyfin
2023-04-12 20:18:54
Add eth0 [172.16.17.132/16] from ix-net
2023-04-12 20:18:54
Container image "tccr.io/truecharts/jellyfin:10.8.9@sha256:32efce54017dcefcd437dc179baabb0ed79ad44298b9d0850388bd69f8e9eac5" already present on machine
2023-04-12 20:18:53
Scaled up replica set jellyfin-745cc8c7d9 to 1
2023-04-12 20:18:53
Created pod: jellyfin-745cc8c7d9-n9smp
2023-04-12 20:18:53
Successfully assigned ix-jellyfin/jellyfin-745cc8c7d9-n9smp to ix-truenas
2023-04-12 20:18:49
Job completed
2023-04-12 20:18:49
Scaled down replica set jellyfin-7464db5b89 to 0 from 1
2023-04-12 20:18:49
Deleted pod: jellyfin-7464db5b89-7tqvb
2023-04-12 20:18:49
Stopping container jellyfin

https://i.imgur.com/yhIH9xM.png

Application Logs

2023-04-12 18:19:02.250446+00:00[20:19:02] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available hwaccel types: ["cuda", "vaapi", "qsv", "drm", "opencl", "vulkan"]
2023-04-12 18:19:02.361588+00:00[20:19:02] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: FFmpeg: /usr/lib/jellyfin-ffmpeg/ffmpeg
2023-04-12 18:19:02.362259+00:00[20:19:02] [INF] [1] Emby.Server.Implementations.ApplicationHost: ServerId: 8fcf53ba770a43bd9e5d0a6f502684cc
2023-04-12 18:19:02.526611+00:00[20:19:02] [INF] [1] Emby.Server.Implementations.ApplicationHost: Executed all pre-startup entry points in 0:00:00.1572731
2023-04-12 18:19:02.526657+00:00[20:19:02] [INF] [1] Emby.Server.Implementations.ApplicationHost: Core startup complete
2023-04-12 18:19:02.563618+00:00[20:19:02] [INF] [1] ConfusedPolarBear.Plugin.IntroSkipper.Entrypoint: Running startup enqueue
2023-04-12 18:19:03.100775+00:00[20:19:03] [INF] [1] ConfusedPolarBear.Plugin.IntroSkipper.QueueManager: Running enqueue of items in library Serien (43cfe12fe7d9d8d21251e0964e0232e2)
2023-04-12 18:19:03.179251+00:00[20:19:03] [INF] [8] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory /mnt/mediacatalog/Music
2023-04-12 18:19:03.179874+00:00[20:19:03] [INF] [10] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory /mnt/mediacatalog/Movies
2023-04-12 18:19:03.190438+00:00[20:19:03] [INF] [1] Emby.Server.Implementations.ApplicationHost: Executed all post-startup entry points in 0:00:00.6637063
2023-04-12 18:19:03.190476+00:00[20:19:03] [INF] [1] Main: Startup complete 0:00:06.5028852
2023-04-12 18:19:03.192979+00:00[20:19:03] [INF] [11] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory /mnt/mediacatalog/Shows
2023-04-12 18:19:05.067770+00:00[20:19:05] [INF] [10] Emby.Server.Implementations.ScheduledTasks.TaskManager: StartupTrigger fired for task: Aktualisiere Plugins
2023-04-12 18:19:05.068400+00:00[20:19:05] [INF] [10] Emby.Server.Implementations.ScheduledTasks.TaskManager: Queuing task PluginUpdateTask
2023-04-12 18:19:05.070598+00:00[20:19:05] [INF] [11] Emby.Server.Implementations.ScheduledTasks.TaskManager: Executing Aktualisiere Plugins
2023-04-12 18:19:06.792510+00:00[20:19:06] [ERR] [8] Emby.Server.Implementations.Plugins.PluginManager: Failed to download image to path /config/plugins/Subtitle Extract_2.0.0.0/jellyfin-plugin-subtitleextract.png on disk.
2023-04-12 18:19:06.792576+00:00System.Net.Http.HttpRequestException: Response status code does not indicate success: 404 (Not Found).
2023-04-12 18:19:06.792592+00:00at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
2023-04-12 18:19:06.792631+00:00at System.Net.Http.HttpClient.GetStreamAsyncCore(HttpRequestMessage request, CancellationToken cancellationToken)
2023-04-12 18:19:06.792647+00:00at Emby.Server.Implementations.Plugins.PluginManager.GenerateManifest(PackageInfo packageInfo, Version version, String path, PluginStatus status)
2023-04-12 18:19:07.206876+00:00[20:19:07] [INF] [20] Emby.Server.Implementations.ScheduledTasks.TaskManager: Aktualisiere Plugins Completed after 0 minute(s) and 2 seconds
2023-04-12 18:19:07.224902+00:00[20:19:07] [INF] [20] Emby.Server.Implementations.ScheduledTasks.TaskManager: ExecuteQueuedTasks

Application Configuration

chrome_HmEz1meLFs

Describe the bug

The upgrade fails with [EINVAL] values.scaleGPU: Not a list
More info:

 Error: Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/middlewared/job.py", line 426, in run
    await self.future
  File "/usr/lib/python3/dist-packages/middlewared/job.py", line 461, in __run_body
    rv = await self.method(*([self] + args))
  File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1318, in nf
    return await func(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1186, in nf
    res = await f(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/middlewared/plugins/chart_releases_linux/upgrade.py", line 115, in upgrade
    await self.upgrade_chart_release(job, release, options)
  File "/usr/lib/python3/dist-packages/middlewared/plugins/chart_releases_linux/upgrade.py", line 265, in upgrade_chart_release
    config, context = await self.middleware.call(
  File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1386, in call
    return await self._call(
  File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1335, in _call
    return await methodobj(*prepared_call.args)
  File "/usr/lib/python3/dist-packages/middlewared/plugins/chart_releases_linux/chart_release.py", line 338, in normalise_and_validate_values
    dict_obj = await self.middleware.call(
  File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1386, in call
    return await self._call(
  File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1335, in _call
    return await methodobj(*prepared_call.args)
  File "/usr/lib/python3/dist-packages/middlewared/plugins/chart_releases_linux/validation.py", line 53, in validate_values
    verrors.check()
  File "/usr/lib/python3/dist-packages/middlewared/service_exception.py", line 70, in check
    raise self
middlewared.service_exception.ValidationErrors: [EINVAL] values.scaleGPU: Not a list

To Reproduce

  1. Download and install jellyfin app version 10.8.9_13.0.12
  2. Select GPU
  3. Upgrade to latest jellyfin app version (10.8.9_14.0.1)

Expected Behavior

A clear upgrade with no errors

Screenshots

error

Additional Context

I've tried setting the GPU to Allocate 0 gpu.intel.com/i915 GPU but after trying to upgrade that resulted in the same error.

I've read and agree with the following

shadofall commented 1 year ago

breaking changes requires a reinstall

Sawtaytoes commented 1 year ago

This is a TrueCharts breaking change. I tried to reinstall mine but lost my PVC config. I don't know a good way of doing this where you can retain your app's config/ dir, but it'd be really nice if you could.

I don't even have a GPU in my NAS and still ran into this issue.

PrivatePuffin commented 1 year ago

You could, guide is on the website