truenas / charts

TrueNAS SCALE Apps Catalogs & Charts
BSD 3-Clause "New" or "Revised" License
296 stars 283 forks source link

Plex Charts bug or need help #2741

Closed Marimax01 closed 1 week ago

Marimax01 commented 3 weeks ago

Hello,

I added Plex application, but when access to first time to the Web UI, it doesn't ask me the information of server like the name, where media are saved ...

Can you help me please ?

TrueNAS Scale version : 24.04.2 Plex Chart version: 2.0.10 Plex version: 1.40.5.8854

sync-by-unito[bot] commented 3 weeks ago

➤ Stavros Kois commented:

You need to setup the claim token. I think recently Plex made that a requirement.

Marimax01 commented 3 weeks ago

Yes, I know. I generated it with this link https://www.plex.tv/claim/

stavros-k commented 3 weeks ago

Can you check the logs of the container?

Also try to go to /web path manually.

Marimax01 commented 3 weeks ago

Find my logs here:

Plex Media Server.log Plex Crash Uploader.log Plex Tuner Service.log

I have access to UI but like plex client not like plex server.

stavros-k commented 3 weeks ago

I dont see anything obvious on the logs. I do remember this happening again, and the fix was something very simple. But I can't remember right now. It wasn't even a config issue, just something with the plex itself

Can you please try stopping and starting Plex app and also try to open plex from a private window (for caching issues)

Jerjz commented 3 weeks ago

I had this problem, if you adden the claim token at install will not work. after Install of plex go to edit then add a new claim token then save, it will reboot then it should work.

Marimax01 commented 3 weeks ago

I tried both of your suggestions but it didn't work. I tried to do another instance but I got the same result.

Jerjz commented 3 weeks ago

Sorry to hear those didn’t work for you. Do you have plex pass? if you do are you using the plex pass image?

I have plex pass and using the plex pass Image when installing plex.

wish I cloud be more help but this is only my 4th day playing around with truenas

stavros-k commented 2 weeks ago

Does the plex container have any logs? (Access them from TrueNAS UI with the logs icon)

I can't seem to be able to find the thread on plex forums with a similar issue :/

Marimax01 commented 2 weeks ago

@Jerjz No I haven't got plex pass.

@stavros-k I you can see it below

2024-08-27 21:20:12.329962+02:00[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
2024-08-27 21:20:17.006576+02:00[s6-init] ensuring user provided files have correct perms...exited 0.
2024-08-27 21:20:17.007475+02:00[fix-attrs.d] applying ownership & permissions fixes...
2024-08-27 21:20:17.008098+02:00[fix-attrs.d] done.
2024-08-27 21:20:17.008664+02:00[cont-init.d] executing container initialization scripts...
2024-08-27 21:20:17.046679+02:00[cont-init.d] 40-plex-first-run: executing... 
2024-08-27 21:20:38.469905+02:00Plex Media Server first run setup complete
2024-08-27 21:20:38.470783+02:00[cont-init.d] 40-plex-first-run: exited 0.
2024-08-27 21:20:38.471929+02:00[cont-init.d] 45-plex-hw-transcode-and-connected-tuner: executing... 
2024-08-27 21:20:38.482074+02:00[cont-init.d] 45-plex-hw-transcode-and-connected-tuner: exited 0.
2024-08-27 21:20:38.483110+02:00[cont-init.d] 50-plex-update: executing... 
2024-08-27 21:20:39.480461+02:00[cont-init.d] 50-plex-update: exited 0.
2024-08-27 21:20:39.481231+02:00[cont-init.d] done.
2024-08-27 21:20:39.481992+02:00[services.d] starting services
2024-08-27 21:20:39.647483+02:00Starting Plex Media Server.
2024-08-27 21:20:39.647511+02:00[services.d] done.
2024-08-27 21:21:02.505330+02:00Critical: libusb_init failed

And log from Kubernetes event panel:

2024-08-27 21:20:42
Startup probe failed: dial tcp 172.160.1.29:32400: connect: connection refused
2024-08-27 21:20:10
Started container plex
2024-08-27 21:20:09
Created container plex
2024-08-27 21:20:01
Container image "plexinc/pms-docker:1.40.5.8854-f36c552fd" already present on machine
2024-08-27 21:20:00
Add eth0 [172.160.1.29/16] from ix-net
2024-08-27 21:19:57
Successfully assigned ix-plex/plex-6777449ff8-dqmfk to ix-truenas
2024-08-27 21:19:48
Predicate TaintToleration failed
2024-08-27 21:19:46
Predicate TaintToleration failed
2024-08-27 21:19:45
0/1 nodes are available: 1 node(s) had untolerated taint {node.kubernetes.io/not-ready: }. preemption: 0/1 nodes are available: 1 Preemption is not helpful for scheduling..
stavros-k commented 2 weeks ago

@Jerjz No I haven't got plex pass.

@stavros-k I you can see it below

2024-08-27 21:20:12.329962+02:00[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
2024-08-27 21:20:17.006576+02:00[s6-init] ensuring user provided files have correct perms...exited 0.
2024-08-27 21:20:17.007475+02:00[fix-attrs.d] applying ownership & permissions fixes...
2024-08-27 21:20:17.008098+02:00[fix-attrs.d] done.
2024-08-27 21:20:17.008664+02:00[cont-init.d] executing container initialization scripts...
2024-08-27 21:20:17.046679+02:00[cont-init.d] 40-plex-first-run: executing... 
2024-08-27 21:20:38.469905+02:00Plex Media Server first run setup complete
2024-08-27 21:20:38.470783+02:00[cont-init.d] 40-plex-first-run: exited 0.
2024-08-27 21:20:38.471929+02:00[cont-init.d] 45-plex-hw-transcode-and-connected-tuner: executing... 
2024-08-27 21:20:38.482074+02:00[cont-init.d] 45-plex-hw-transcode-and-connected-tuner: exited 0.
2024-08-27 21:20:38.483110+02:00[cont-init.d] 50-plex-update: executing... 
2024-08-27 21:20:39.480461+02:00[cont-init.d] 50-plex-update: exited 0.
2024-08-27 21:20:39.481231+02:00[cont-init.d] done.
2024-08-27 21:20:39.481992+02:00[services.d] starting services
2024-08-27 21:20:39.647483+02:00Starting Plex Media Server.
2024-08-27 21:20:39.647511+02:00[services.d] done.
2024-08-27 21:21:02.505330+02:00Critical: libusb_init failed

Everything looks good to me. Maybe you could try reaching plex's forums?

Marimax01 commented 2 weeks ago

I've found the solution. I checked host newtwork and that fix the problem and launched the plex server wizard.

image

Thank you all for your time and investigation

stavros-k commented 2 weeks ago

Ah, I see. And of course now I found where I had posted the solution https://www.truenas.com/community/threads/plex-does-not-show-setup-wizard.94886/ I'll check if we can add a field for the allowed networks.