truecharts / public

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

Plex - http probe 401 #8150

Closed lukas-kuhl closed 1 year ago

lukas-kuhl commented 1 year ago

App Name

Plex

SCALE Version

22.12.2

App Version

1.31.1.673_13.0.8

Application Events

Application Events
2023-04-25 7:59:16
Startup probe failed: HTTP probe failed with statuscode: 401
2023-04-25 7:59:02
Created container plex-2
2023-04-25 7:59:02
Started container plex-2
2023-04-25 7:59:01
Successfully assigned ix-plex-2/plex-2-79cd767cc7-tsrbr to ix-truenas
2023-04-25 7:59:01
Add eth0 [172.14.1.99/16] from ix-net
2023-04-25 7:59:01
Container image "tccr.io/truecharts/plex:1.31.1.6733@sha256:42dd9f5ec75e8ef482dbdde02f2f8703454cf26ae0c888231165d4b7439ead22" already present on machine
2023-04-25 7:58:59
0/1 nodes are available: 1 pod has unbound immediate PersistentVolumeClaims. preemption: 0/1 nodes are available: 1 Preemption is not helpful for scheduling.
2023-04-25 7:58:59
Successfully provisioned volume pvc-97290db4-16fd-4275-93f7-fdf4066f3ce4
2023-04-25 7:58:59
Updated LoadBalancer with new IPs: [] -> [192.168.178.111]
2023-04-25 7:58:56
Job completed
2023-04-25 7:58:56
Ensuring load balancer
2023-04-25 7:58:56
waiting for a volume to be created, either by external provisioner "zfs.csi.openebs.io" or manually created by system administrator
2023-04-25 7:58:56
External provisioner is provisioning volume for claim "ix-plex-2/plex-2-config"
2023-04-25 7:58:56
Scaled up replica set plex-2-79cd767cc7 to 1
2023-04-25 7:58:56
Applied LoadBalancer DaemonSet kube-system/svclb-plex-2-3ccf7646
2023-04-25 7:58:56
0/1 nodes are available: 1 pod has unbound immediate PersistentVolumeClaims. preemption: 0/1 nodes are available: 1 Preemption is not helpful for scheduling.
2023-04-25 7:58:56
Created pod: plex-2-79cd767cc7-tsrbr
2023-04-25 7:58:43
Add eth0 [172.14.1.97/16] from ix-net
2023-04-25 7:58:43
Container image "tccr.io/truecharts/kubectl:v1.26.0@sha256:6bef58bf5b7850021884cf6ea2f32333cbfcd99be79d1fff0d6e5ced1ac044b4" already present on machine
2023-04-25 7:58:43
Created container plex-2-manifests
2023-04-25 7:58:43
Started container plex-2-manifests
2023-04-25 7:58:42
Created pod: plex-2-manifests-jdbsx
2023-04-25 7:58:42
Successfully assigned ix-plex-2/plex-2-manifests-jdbsx to ix-truenas

Application Logs

2023-04-25 06:03:34.517961+00:00Plex Media Server preferences updated
2023-04-25 06:03:47.023848+00:00Critical: libusb_init failed

Application Configuration

I tried messing with the allowed_network settings and the server-ip. I also tried load-balancer and Cluster-IP. But nothing worked. So now I have it on the default Settings, exept the Plex-Claim Token. But I also already tried just the default settings, without changing anything.

image

image

image

image

Describe the bug

Im trying to get the new plex version to work with my TrueNAS Scale system. So I deleted my current plex app and re-installed the latest version from TrueCharts. I can't get it running, im always getting a http-probe 401 error. And it's stuck on deploying. The old Version of Plex is working before I deleted it. I also tried the exact same settings.

If you need more Information, please let me know.

To Reproduce

  1. Install the latest Plex app with default settings
  2. its stuck on deploying and 401 http_probe

Expected Behavior

  1. Plex should deploy and the http probe should work.

Screenshots

image

Additional Context

I got the old Version of Plex installed but stopped (1.31.1.673_12.0.15). I also deleted it for testing but I still get the same error.

I've read and agree with the following

PrivatePuffin commented 1 year ago

Your bug is not related to the libusb warning.

lukas-kuhl commented 1 year ago

Update: I can run the TrueNAS Chart Version of Plex fine.

I tried the TrueCharts Version again, after the update. It still shows 401 Unauthorized for the probe and is stuck on "deploying". When I open a shell on the container, I can see the logs of Plex and it seems to start up just fine. I can also get the Starting page, when I run curl http://127.0.0.1:32400/web/index.html . But outside of the Container its not working.

These are the logs from Plex I get, when I access it through the container shell:

Apr 26, 2023 09:16:31.935 [0x7ff58b93caa0] DEBUG - BPQ: [Idle] -> [Starting]
Apr 26, 2023 09:16:31.935 [0x7ff58b93caa0] DEBUG - FeatureManager: Using cached data for features list
Apr 26, 2023 09:16:31.947 [0x7ff58b93caa0] DEBUG - [CERT] Subject name is /CN=*.65e2d15f3d1d4ac5a226b202eb67e637.plex.direct
Apr 26, 2023 09:16:31.947 [0x7ff58b93caa0] DEBUG - [CERT] Installed certificate with fingerprint 22:01:c8:03:ec:cf:b1:be:e3:fa:60:65:e2:89:e3:ee:27:9b:a3:3c.
Apr 26, 2023 09:16:31.947 [0x7ff58b93caa0] DEBUG - [CERT/OCSP] Stapling requests will be made to 'http://r3.o.lencr.org/'.
Apr 26, 2023 09:16:31.947 [0x7ff58b93caa0] INFO - [CERT/OCSP] Successfully retrieved response from cache.
Apr 26, 2023 09:16:31.947 [0x7ff58b93caa0] DEBUG - HttpServer: Listening on IPv6 as well as IPv4.
Apr 26, 2023 09:16:31.947 [0x7ff58b93caa0] DEBUG - HttpServer: Listening on port 32400.
Apr 26, 2023 09:16:31.947 [0x7ff58b93caa0] DEBUG - HttpServer: Listening on port 32401.
Apr 26, 2023 09:16:31.947 [0x7ff58b93caa0] DEBUG - Running server...
... 

but after it started there are only these lines in the log:

Apr 26, 2023 09:17:06.300 [0x7ff58b064b38] DEBUG - Completed: [172.14.0.1:34438] 401 GET / (2 live) #22 0ms 371 bytes
Apr 26, 2023 09:17:11.301 [0x7ff58b267b38] DEBUG - Request: [172.14.0.1:48950 (Subnet)] GET / (2 live) #24 Signed-in
Apr 26, 2023 09:17:11.301 [0x7ff58b267b38] DEBUG - Completed: [172.14.0.1:48950] 401 GET / (2 live) #24 0ms 371 bytes
Apr 26, 2023 09:17:16.301 [0x7ff58b064b38] DEBUG - Request: [172.14.0.1:48962 (Subnet)] GET / (2 live) #26 Signed-in
Apr 26, 2023 09:17:16.301 [0x7ff58b064b38] DEBUG - Completed: [172.14.0.1:48962] 401 GET / (2 live) #26 0ms 371 bytes
Apr 26, 2023 09:17:21.300 [0x7ff58b064b38] DEBUG - Request: [172.14.0.1:36858 (Subnet)] GET / (2 live) #28 Signed-in
Apr 26, 2023 09:17:21.300 [0x7ff58b064b38] DEBUG - Completed: [172.14.0.1:36858] 401 GET / (2 live) #28 0ms 371 bytes
Apr 26, 2023 09:17:26.301 [0x7ff58b267b38] DEBUG - Request: [172.14.0.1:36866 (Subnet)] GET / (2 live) #2a Signed-in
Apr 26, 2023 09:17:26.301 [0x7ff58b267b38] DEBUG - Completed: [172.14.0.1:36866] 401 GET / (2 live) #2a 0ms 371 bytes
Apr 26, 2023 09:17:31.300 [0x7ff58b267b38] DEBUG - Request: [172.14.0.1:34338 (Subnet)] GET / (2 live) #2c Signed-in
Apr 26, 2023 09:17:31.301 [0x7ff58b267b38] DEBUG - Completed: [172.14.0.1:34338] 401 GET / (2 live) #2c 0ms 371 bytes
Apr 26, 2023 09:17:36.300 [0x7ff58b064b38] DEBUG - Request: [172.14.0.1:34340 (Subnet)] GET / (2 live) #2e Signed-in
Apr 26, 2023 09:17:36.300 [0x7ff58b064b38] DEBUG - Completed: [172.14.0.1:34340] 401 GET / (2 live) #2e 0ms 371 bytes
Apr 26, 2023 09:17:41.300 [0x7ff58b064b38] DEBUG - Request: [172.14.0.1:58610 (Subnet)] GET / (2 live) #30 Signed-in
Apr 26, 2023 09:17:41.300 [0x7ff58b064b38] DEBUG - Completed: [172.14.0.1:58610] 401 GET / (2 live) #30 0ms 371 bytes
Apr 26, 2023 09:17:46.300 [0x7ff58b064b38] DEBUG - Request: [172.14.0.1:58618 (Subnet)] GET / (2 live) #32 Signed-in
Apr 26, 2023 09:17:46.300 [0x7ff58b064b38] DEBUG - Completed: [172.14.0.1:58618] 401 GET / (2 live) #32 0ms 371 bytes
Apr 26, 2023 09:17:51.300 [0x7ff58b064b38] DEBUG - Request: [172.14.0.1:60596 (Subnet)] GET / (2 live) #34 Signed-in
Apr 26, 2023 09:17:51.300 [0x7ff58b064b38] DEBUG - Completed: [172.14.0.1:60596] 401 GET / (2 live) #34 0ms 371 bytes
Apr 26, 2023 09:17:56.300 [0x7ff58b064b38] DEBUG - Request: [172.14.0.1:60606 (Subnet)] GET / (2 live) #36 Signed-in
Apr 26, 2023 09:17:56.300 [0x7ff58b064b38] DEBUG - Completed: [172.14.0.1:60606] 401 GET / (2 live) #36 0ms 371 bytes
Apr 26, 2023 09:18:01.300 [0x7ff58b064b38] DEBUG - Request: [172.14.0.1:44578 (Subnet)] GET / (2 live) #38 Signed-in
Apr 26, 2023 09:18:01.300 [0x7ff58b064b38] DEBUG - Completed: [172.14.0.1:44578] 401 GET / (2 live) #38 0ms 371 bytes
Apr 26, 2023 09:18:06.300 [0x7ff58b064b38] DEBUG - Request: [172.14.0.1:44594 (Subnet)] GET / (2 live) #3a Signed-in
Apr 26, 2023 09:18:06.300 [0x7ff58b064b38] DEBUG - Completed: [172.14.0.1:44594] 401 GET / (2 live) #3a 0ms 371 bytes
Apr 26, 2023 09:18:11.300 [0x7ff58b064b38] DEBUG - Request: [172.14.0.1:56716 (Subnet)] GET / (2 live) #3c Signed-in
Apr 26, 2023 09:18:11.300 [0x7ff58b064b38] DEBUG - Completed: [172.14.0.1:56716] 401 GET / (2 live) #3c 0ms 371 bytes
Apr 26, 2023 09:18:16.300 [0x7ff58b064b38] DEBUG - Request: [172.14.0.1:56720 (Subnet)] GET / (2 live) #3e Signed-in
Apr 26, 2023 09:18:16.301 [0x7ff58b064b38] DEBUG - Completed: [172.14.0.1:56720] 401 GET / (2 live) #3e 0ms 371 bytes
Apr 26, 2023 09:18:21.300 [0x7ff58b064b38] DEBUG - Request: [172.14.0.1:36552 (Subnet)] GET / (2 live) #40 Signed-in
Apr 26, 2023 09:18:21.300 [0x7ff58b064b38] DEBUG - Completed: [172.14.0.1:36552] 401 GET / (2 live) #40 0ms 371 bytes
Apr 26, 2023 09:18:26.301 [0x7ff58b267b38] DEBUG - Request: [172.14.0.1:36554 (Subnet)] GET / (2 live) #42 Signed-in
Apr 26, 2023 09:18:26.301 [0x7ff58b267b38] DEBUG - Completed: [172.14.0.1:36554] 401 GET / (2 live) #42 0ms 371 bytes
PrivatePuffin commented 1 year ago

@apfelcake We've no interest in feedback on/about the official charts. As we've totally different design choices and often also use completely different containers.

It's of no use of us. You also don't have to flood us with info unless requested for simple bugreports like this one.

My expectation is that you've altered some setting in plex itself tbh. Because the defaults do seem to work for other people.

pfremm commented 1 year ago

I have the same issue. The workaround is modifying the probes to a resource that will return a 200 like /web/index.html.

truecharts-admin commented 1 year ago

This issue is locked to prevent necro-posting on closed issues. Please create a new issue or contact staff on discord of the problem persists