Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Support] Linuxserver.io - Plex Media Server

Featured Replies

  • Replies 6k
  • Views 1.3m
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Dear Plex User, We have recently experienced a security incident that may potentially involve your Plex account information. We believe the actual impact of this incident is limited; however, action i

  • Go to the appdata share and look in Plex\Library\Application Support\Plex Media Server\Crash Reports You will find folders for your previous versions named as the release version.

  • Yep, seems like the problem.   Not to be outdone... google.  And what do I find.... Hoopster's post from over a year ago. I see your post here regarding the iGPU not being enabled corr

Posted Images

New Test Build: 1.41.1.9065-2a572c0eb

 

Features included in addition to previous features:

 

- Colorspace fixes on mac and potentially others

 

- Fixed the dovi playback issue on android (FYI, we do not have the license to transcode dovi so it is stripped from all transcodes)

 

- Added settings for DVR transcodes to allow for more control over size/quality

Edited by MowMdown

UnRaid 6.12.13, Plex Version 4.136.1 (Latest version of Linuxserver.io - Plex Media Server? I've searched for updates and there are none from the developer).  Server Logs Attached.

 

I've been having problems where Plex will not recognize new movies or music being added (i.e. Scan after adding anew movie, does not update), and the search function does not return anything despite the fact there are 3000+ movies out there.  There are movies and music that display and i can play, but not recognizing new content and search does not find anything. 

 

So I stopped plex, then renamed the db and blobs.db files as in the screenshot (#1)  Essentially backing up the old databases and copying the oldest backups I have to see if they would work (#2, #3).  I restarted Plex, but now plex won't load.  This displays in the browser.  I've tried HTTP and HTTPS. I'm concerned that perhaps its a file permissions problem, but they appear to be the same (in spite of the different color in the MC display).

 

This site can’t be reached
192.168.4.100 refused to connect.
Try:

Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_REFUSED

 

So I restored the original files back and Plex starts as normal (still have the same issues).

 

After restoring and restarting Plex, I ran sqlite3 on the com.plexapp.plugins.library.db database, then ran PRAGMA integrity_check; but got the sqlite> PRAGMA integrity_check; Parse error: no such collation sequence: icu_root.  It appears The error "no such collation sequence: icu_root" is related to the collation settings used by the Plex Media Server's SQLite database. As I understand it, Plex uses a custom collation sequence for sorting text, and it appears that this collation sequence (icu_root) isn't available in my SQLite environment. I've run out of skillset to install an ICU-enabled version of SQLite. 

 

So I stopped plex, then tried to use the built-in Plex database repair tool, deleted the db-shm and db-wal files in the databases folder.  When I restarted Plex, it recreated these files, but search still does not work.

 

So I've passed my skillset in resolving this issue.  Cover expert ideas of what do to next!  ;)

 

Thanks in advance...

 

MobaXterm_2024-10-05_21-48-07.png

hunternas-diagnostics-20241005-2222.zip

Edited by jeffreywhunter

I think my plex container is crashing my whole unraid server when the scheduled tasks start. It'll run from anywhere from 1-10 days without crashing. My whole server locks up and needs a hard reboot.

 

I've posted my unraid logs and been told it doesn't point to any issues. I tried looking up my logs for plex and theres a shit ton so I don't really know where to look.

  • 1 month later...

Hi team,

Whenever I try to open the webUI for Plex from my list of dockers, I get this error (attached picture)

image.thumb.png.99988f9477c2254f655c3f4337acdfd9.png

 

I am still able to access my Plex library by going to plex.tv and signing in, but it takes a few extra steps and is more convenient this way.
Can you advise possible issues that could cause this webUI error to occur?
Happy to provide any info needed regarding setup.

 

Thanks!

1 hour ago, Marshall U said:

possible issues that could cause this webUI error

Post docker run 

Here's the docker run:

 

root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='plex' --net='host' -e TZ="America/Chicago" -e HOST_OS="Unraid" -e 'VERSION'='docker' -e 'NVIDIA_VISIBLE_DEVICES'='all' -e 'TCP_PORT_32400'='32400' -e 'TCP_PORT_3005'='3005' -e 'TCP_PORT_8324'='8324' -e 'TCP_PORT_32469'='32469' -e 'UDP_PORT_1900'='1900' -e 'UDP_PORT_32410'='32410' -e 'UDP_PORT_32412'='32412' -e 'UDP_PORT_32413'='32413' -e 'UDP_PORT_32414'='32414' -e 'PUID'='99' -e 'PGID'='100' -v '/mnt/user/MyMedia/':'/movies':'rw' -v '/mnt/user/MyMedia/':'/tv':'rw' -v '/mnt/user/MyMedia/':'/music':'rw' -v '':'/transcode':'rw' -v '/mnt/user/appdata/plex':'/config':'rw' 'linuxserver/plex'
378259b1ac2510fe6e1ff6402b4ae1f6c05f63ba0b3bbeaf91d88884ef01d3c5

 

image.png.efc6dc885af1901ca6f562236836c280.png

Hy guys. So i need a bit of help. I changed my gear a bit and afterwards i installed Plex binhex edition. Got everything to work, except my Haupage 4 dvb card. I tried everything, adding a new device, an old answer in this thread of adding --device=/dev/dvb/ in extra parrameters, i could not get it working. I installed the dvb driver, went with the libereelec version, i can see my dvb tuners in the dvb drivers page. I even ran, in plex(binhex) terminal the ls /dev/dvb, and my tunners appeared, but they would not load in the plex server settings, under dvr and livetv. So, after reading a bunch of post, from the plex section, from the dvb driver section, i uninstalled plex binhex, installed plex linuxservers. Now, by doing this, adding extras parameters for nvidia and vor dvb tunners, it works. My only grief is that the transcoding works on some movies, not on all - with an erros that says that something went wrong. I even waited for my media to load with everything - also read i can get errors while the libraries are updated. With the Binhex edition, transcoding worked perfectly, not a glitch, after some settings for transcoding. I even got my plex(binhex) installed on a ssd, so the media would load faster(pictures, trailers, etc.). My question is: Has anyone found a setting, or something so that i can make my plex(binhex) to see the dvb card in the plex tab/app/ip settings, or what settings/workaround is the for that the plex(linuxserver edition) to stop giving me errors when i try transcoding? If you guys say i should post this in a different part of the forum i will and i ask for your help because after5 years of linux/unraid i think these forums are filled with people with great knowledge. Thanks in advance, and sorry for taking up your time. If there is need for more information, I will give it. Thanks!

  • 1 month later...

I am at a loss. Not sure what to do and where to look.
I had my old server running quicksync from a iGpu and that thing never let me down.

But with more users and I wanted AV1 support I got myself a A380 and swapped the whole MB and CPU for more Juice in general. Now I am on a AM4 platform so to get HW transcoding back A380 has to work.
Which it did for a time. But last week I started having some Issues with the plex database. So I looked into it and made the appdata share exclusive. Now it seems happy when fetching meta data and reacts quicker in general. But for some reason the HW transcoding stopped working.
I did not change anything in the general settings. 
Running Unraid 7.0.0 rc1 for the intel arc driver.

My plex sees the GPU but won't use it.

Is there any other way to bind it?
image.png.591d7b3df8346c17af80cfe8a2f8391a.pngimage.png.453b49851ebf666dc03921aa332f206b.pngimage.thumb.png.5149d68792dbe0f60a39907617be7c6c.png

  • 2 weeks later...

Can anyone share the steps to install Tailscale directly into the LS Plex container and configure it such that it can be used to replace remote access sharing for family? I know this is possible for Jellyfin and Emby because Spaceinvaderone on Youtube has videos showing how this is done. But when I try to replicate in the Plex container (using Unraid 7 RC2) I can't get anything working. My understanding is that I can 'share' the plex 'machine' via Tailscale and that provides direct access for the email I sent the sharing link to. But how does that relate to then sending an invite from within Plex itself so they have a sharing account? The whole flow is just not clear on making this work. I'd prefer this path than opening firewall ports for Plex sharing. Anyone have this working and can share the steps to setting it up?

in beta 7 rc2 this has been implement in the unraid docker template

image.png.eadef45504867a7416e7d4bd5a598c46.png
 

image.png.5c2dfd3845f55fcc77e2616ffd307c27.png

fill out the data and install the plugin and conect you account then add the information to the tempalte.
on another machine use tailscale to connect and go to the ip of the plex docker.

before this implementation you would need to 
use the plugin and share the enitre subnet and connect through the tunnel to the plex docker.

tailscale up --accept-routes --accept-dns=true --advertise-routes=192.168.1.0/24

user script at first array start...

or install plex in a vm/lxc to install tailsacle alongside it.
Since this is a docker my recomendation is to install the lattest beta and use the unraid tempalte option to make a single ip connection for security.

12 hours ago, bmartino1 said:

in beta 7 rc2 this has been implement in the unraid docker template

image.png.eadef45504867a7416e7d4bd5a598c46.png
 

image.png.5c2dfd3845f55fcc77e2616ffd307c27.png

fill out the data and install the plugin and conect you account then add the information to the tempalte.
on another machine use tailscale to connect and go to the ip of the plex docker.
 

Thanks. But I’ve done all this already, I.e. filled out the template. The question is how to set this up so someone I want to share my Plex library with (using the internal Plex sharing feature that sends an email to the invited person) can access my library without using the Remote Access port feature of Plex. I don’t want other family to have to install Tailscale, nor do I think it possible if they are going to use a Plex app installed on an LG TV to access my server. So I’m just wondering if this is possible and what the steps are for me and for the invited person. I have things setup now where I can access Plex remotely just using TS on my Unraid host. But I’m trying to restrict access to other family so they can connect just to my Plex container. For example, do I leave Networking set to HOST, or switch to BRIDGE? When I switch to bridge I can’t access my Plex container from either the WebUI or the Tailscale WebUI of the Plex container. Do I first ‘share’ the Plex ‘machine’ with my family member? What does this do if they are on a LG TV? And do I still use the Plex invite system for them so they have an account on my Plex library? The workflow on this is unclear but I see security advantages of not doing port opening and forwarding as I have been doing. But it needs to all work from a TV with the Plex app installed. And my family is non-technical. Any further suggestions/steps?

Driving me Nuts! Been waiting forever for ARC support without Beta unraid, So now with RC I was excited. But nope cant get it to work WTF!

Running Unraid 7 rc2

Installed Intel GPU Top

Installed GPU statistics

The card is now visible on dashboard "Intel GPU DG2 Arc a380"

Added the device in the plex config as found on other instructions, IE: config type= device, Value =/dev/dri/

Yet there is no "GPU" section in the Plex dashboard (there is Bandwidth, CPU, Ram)

Also don't see the device in the "Hardware transcoding device" drop down only has "auto" in the transcoder section of plex options.

I do have plex pass, Purchased just for this. Adding to my frustration. Stayed up till 4am trying to fix this and its driving me nuts.

the other issue I'm having is when I click "webui" in the docker it opens up some XML crap I need to add /manage to the url to get plex to open up. I added /manage to the end of the webui option in the config as well but it doesnt change anything. http://[IP]:[PORT:32400]/manage.. Why why why does this not work either. Driving me nuts.

using binhexplex.

8 minutes ago, UrHandler said:

using binhexplex.

and may i ask why you dont post in the proper Thread from your used docker ...

 

here you wont get any help for that docker ... this is linuxserver, you use binhex ...

 

btw. full ARC support will come with Kernel 6.8++ ... currently its more "experimental" ....

and also Plex doesnt support it officially as you may figured in your long night researching ...

3 hours ago, misterwiggles said:

Thanks. But I’ve done all this already, I.e. filled out the template. The question is how to set this up so someone I want to share my Plex library with (using the internal Plex sharing feature that sends an email to the invited person) can access my library without using the Remote Access port feature of Plex. I don’t want other family to have to install Tailscale, nor do I think it possible if they are going to use a Plex app installed on an LG TV to access my server. So I’m just wondering if this is possible and what the steps are for me and for the invited person. I have things setup now where I can access Plex remotely just using TS on my Unraid host. But I’m trying to restrict access to other family so they can connect just to my Plex container. For example, do I leave Networking set to HOST, or switch to BRIDGE? When I switch to bridge I can’t access my Plex container from either the WebUI or the Tailscale WebUI of the Plex container. Do I first ‘share’ the Plex ‘machine’ with my family member? What does this do if they are on a LG TV? And do I still use the Plex invite system for them so they have an account on my Plex library? The workflow on this is unclear but I see security advantages of not doing port opening and forwarding as I have been doing. But it needs to all work from a TV with the Plex app installed. And my family is non-technical. Any further suggestions/steps?


I don't understand why you would use tailscale then...

that done via the plex api and manage libray accesss:
image.thumb.png.bdd2c1677a00309a9e02b284588e7aae.png

 

you wouild need to make sure plex is aple to talk to plex:
image.thumb.png.eeefc1c4eb86dabc6ec24e15e352a1ea.png

reveiw the docs.
https://support.plex.tv/articles/201105738-creating-and-managing-server-shares/

otehrwise the family mebers would need a gateway devce taht conect to the tail scale interface at teh router level to act as if they are on the local network. 

Each family menber should have there own plex account setup to a email.
you then share your plex libray to them via there email and grant them access to your content.
 

this goes over the front facing web via port 3400
unless your using a pc to tailscale and conect to the TV your not goin g to get the result your looking for. you esentail recreated the wheel, as plex api will handle that over public faceing port froward 3400

are you cgnat or don't have a public IP?

@bmartino1 Thanks. I’m well aware of how plex handles sharing of libraries. I’ve been using it for years. However, it requires opening firewall ports and forwarding them. My Ubiquiti router has been telling me for a long time that I’m getting numerous inbound attempts to gain access to my network via this open port. Tailscale - per the recent Uncast video - shows Ed setting up Jellyfin access for ‘remote users’ using Tailscale instead of port forwarding. I’m simply trying to replicate this method using Plex in an attempt to give family members access to my library while also NOT opening ports to do so. The Uncast video shows that by installing TS inside the container you can share the machine (container) while not giving general access to my LAN. I realize that Plex requires I also use its library sharing to provide user account access so in theory I’d send an invite to a family member to provide library access while also using TS sharing for them getting access to my plex container instance. But perhaps this just can’t work with Plex as it appears to with Jellyfin and Emby. So I was hoping someone had got this working and could share configuring the container properly. Simply replicating the Uncast video’s Jellyfin TS variables doesn’t seem to work with Plex. Not sure why but if sharing the ‘plex machine’ via TS sharing requires the other person to have TS installed on the access device then that’s a non-starter for a non-technical family member wanting to access via a TV using the Plex app. So was looking for verification of how this might be done, and if it can even be done. All so I can lock up my router with no ports exposed to the internet preferably. Still hoping for a solid answer here.

My best recommendation to you would then to be used unifies site magic. 

 

Your family members would need to have a unifi device as their router.

 

You would have to be the admin owner of the account for that device. That means that your registered the device first and whoever is on site wherever your family members live have semi admin access.

 

This way under unifi.ui.com you can set up a uniFi wireguard teleport connection and have them all as if they're on your lan.

 

That would be my recommendation instead of trying to deal with third party VPN clients connecting to a tale scale connection.

 

 

54 minutes ago, bmartino1 said:

 

 

Your family members would need to have a unifi device as their router.

 

Yeah, that’s a non-starter right there. I guess I’ll reach out to @SpaceInvaderOne directly to see if he can do a video on replicating the Jellyfin setup with Plex without requiring family to jump through hoops. For now I’ll go back to opening my firewall and doing port forwarding.

as your missing the tailscale client to connect to your vpn network...

 

My other side example that you could do ... This you would need raspberry pies.
run debain raspberain...

the RPie would be a generic linux that connects to the lan and using its wifi card be a WiFi dhcp server.
you setup the rpie with the tailscale client to connect... the TV conects to the pie 

plex tv access to your plex over tail scale...

regardless that is a vpn networking thing and not plex related nor jellyfin related...

your parents will need some form of the tailscale cleint runnng... if you want that on a smart TV you either need a PC device that can run the cleint adn open plex in a browser or have some form of networking equipment to 3rd party vpn connect to your tailscale...

see redit post:

 

On 7/22/2021 at 11:17 AM, darknavi said:

I updated the `VERSION` variable from "latest" to "1.23.3.4707-ebb5fe9f3" (I just looked through their tags which have Plex server versions, this is from ~2 weeks ago) and every thing seems better.  Error spew in the docker/Unraid logs went away.

 

Not sure what's up with latest PMS, but at least this works for now.



Is this plex or sql you are talking about "1.23.3.4707-ebb5fe9f3"

  • 1 month later...

Can someone explain Plex dont offload all the work to the GPU. Transcoding only kicks in on people who open a plex session in a web page.. I thought the GPU was there to offload all the work from being dumped on the CPU. I have an older gen9 DL380, with a P2000 and the idea was to put the work load on the P2000. Will the P2000 do HEVC ? is it even worth trying that ? I feel like this is by design because like I said, some sessions do transcode and I can see work being done for plex on the P200, just not all sessions. 

16 minutes ago, Dooz Owings said:

Can someone explain Plex dont offload all the work to the GPU. Transcoding only kicks in on people who open a plex session in a web page.. I thought the GPU was there to offload all the work from being dumped on the CPU. I have an older gen9 DL380, with a P2000 and the idea was to put the work load on the P2000. Will the P2000 do HEVC ? is it even worth trying that ? I feel like this is by design because like I said, some sessions do transcode and I can see work being done for plex on the P200, just not all sessions. 

 

Transcoding should kick in if:
- client can't play back the source file format (older phone without HEVC)
- client wants a lower quality (quality preferences on client, remote connection at lower speed, manual quality override, etc.)
- tone-mapping required (if enabled in settings) for playing HDR content on an SDR client

So if a user with web browser has Hardware Acceleration in the browser disabled, or is trying to play back HDR (web only supports SDR if I recall correctly), then transcoding will kick in.



As for your P2000, you can check here: https://developer.nvidia.com/video-encode-and-decode-gpu-support-matrix-new

It looks like the P2000 does support Decoding H.265 (4:2:0) but not H.264 (4:4:4) and not AV1.  Most HEVC content will likely be just 4:2:0 so your P2000 should work for that.  It should be a pretty decent card for the majority of content.  But if you have really high quality HEVC (4:4:4) or AV1 stuff, it won't do any decoding.  It still might get used for the encoding portion though (I'm honestly not sure if Plex GPU transcoding required both decode and encode to be supported on the GPU or if it can do CPU decode and GPU encode)

 

 

Also keep in mind certain Nvidia drivers will have "session limits" on how many simultaneous encode/decodes can happen at once before it just won't to more.  This used to be limited to 2 streams per engine I think on the regular driver and there was an unofficial unlock script, but I think recent drivers or maybe just newer generations have dropped that, I'm not 100% on that either as I have switched to Intel Arc for a while now.

 

 

 

 

Plex also has certain tasks it can't offload to the GPU.  I think they are the following:
- Anything Audio related

- Certain Sub-titles processing or burn-in

- Video Chapter Thumbnail Generation

 

 

 

 

I would recommend installing Tautalli alongside Plec as it provides much better history of sessions and transcode details for clients.

Hi all,

after a power outage, Plex refuse to start, all other apps runs ok after reboot of the Plex Server

Webpage error:

This site can’t be reached

192.168.1.106 refused to connect.

Try:

Checking the connection

Checking the proxy and the firewall

ERR_CONNECTION_REFUSED

 

from log:

Failed to load preferences at /config/Library/Application Support/Plex Media Server/Preferences.xml
Failed to load preferences at /config/Library/Application Support/Plex Media Server/Preferences.xml
Failed to load preferences at /config/Library/Application Support/Plex Media Server/Preferences.xml
Failed to load preferences at /config/Library/Application Support/Plex Media Server/Preferences.xml
Failed to load preferences at /config/Library/Application Support/Plex Media Server/Preferences.xml
Failed to load preferences at /config/Library/Application Support/Plex Media Server/Preferences.xml

User UID:    99
User GID:    100
───────────────────────────────────────
Linuxserver.io version: 1.41.4.9463-630c9f557-ls257
Build-date: 2025-03-03T09:26:53+00:00
───────────────────────────────────────
    
**** Server is unclaimed, but no claim token has been set ****
**** permissions for /dev/dri/card0 are good ****
**** permissions for /dev/dri/renderD128 are good ****
Docker is used for versioning skip update check
[custom-init] No custom files found, skipping...
Starting Plex Media Server. . . (you can ignore the libusb_init error)
[migrations] started
[migrations] no migrations found
usermod: no changes

==========================

 

Any help would be appreciated! Thanks! 

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.