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] Plex Media Server - Official

Featured Replies

  • Author
2 hours ago, Shadowwrath5 said:

If anyone has any advice

Check the logs?! And of course you should start with a server which has a claim key.

 

 

  • 1 month later...
  • Replies 143
  • Views 46.3k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • I'm currently testing the last update available for PMS-Docker, the version 1.29.1.6316, waited 5 minutes for database migration : all seems to be OK even the 4k tonemapping while hw transcoding, cpu

  • You can ignore Critical: libusb_init failed.   For the decoder error, try deleting your CODECS folder in the Plex Appdata.  When you start up Plex, it will go out and download a fresh copy.

Posted Images

Hi All,
 

I need help adding a 2nd share (solely a 4k share) to my plex server. I have set up 2 new instances of radarr and sonarr just for 4k as per TRaSH guides (they need to have separate root locations for hardlinks to work) and now I need to link the new share to plex. The issue I am having is when I add a 2nd path to the plex docker settings, it doesn't work (the docker image becomes orphaned).
 

My main media share consists of every from 1080p and below while the other share is solely 4k. Any ideas how to do this?
 

My shares are "data" and "data4k" in unraid (data4k > media4k is the one I want to add) and the structures are below:

data
├── torrents
└── media
     ├── movies
     └── tv
data4k
 ├── torrents4k
 └── media4k
     ├── movies4k
     └── tv4k

Hey everyone,

Last week upgraded everything but my hard drives.  

 

Now all of a sudden many of my movies stutter like crazy. Entirely unwatchable. 
The sound is fine but the video is constant stutter.

This is either remotely or on the same network.

I've tested several and all have the same or similar issues.

 


Several MP4s BluRay-1080p x265 continuous stutter.     
Only one the the MP4 BluRay-1080p x265's worked. However this one wouldn't load in Jellyfin.   
Pretty much any MKV BluRay-1080p x265 works fine.  

 


For the ones that don't work correctly, if I play them and manually select a quality... the only qualities that work are either automatically convert or anything 480p or below.

 

Another thing is if I play via the web app on my laptop, this is where I can most definitely recreate the issue.  
However, playing on my TCL Roku TV has no issues no matter what mix of quality and direct play I select.


 

The main movie I am using as a test... if I select any quality from original to any of the 720p options, it shows Direct play and stutters.  
If I select 480p or below, it shows that it's transcoding and works fine.  
If I select convert automatically, it works fine.

 

I'm more or less having the same issues in Jellyfin as well, although instead of stuttering, they just don't start.

 

I'm killing myself trying to figure out why I have all upgraded hardware and getting far worse performance.  
Everything was running perfectly on my much older tower.  

Please see my specs below and thank you for any advice!!


---


Using the official Plex container on Unraid.

Here's what I now have: https://pcpartpicker.com/b/JsfPxr

 

Old CPU is an i7-8700 with Intel® UHD Graphics 630  
and the new one is i5-12500 with Intel® UHD Graphics 770. (this one has the dual codec engine)

 

In my Plex container settings, I have /dev/dri set as device and I have also tried  /dev/dri/card0 and /dev/dri/renderD128.

 

I have uninstalled and reinstalled Intel GPU TOP plugin as well as the GPU Statistics plugin for Unraid.

Edited by DevanteWeary

  • Author
4 hours ago, DevanteWeary said:

In my Plex container settings, I have /dev/dri set as device and I have also tried  /dev/dri/card0 and /dev/dri/renderD128.

And did you check if hardware transcoding is working?

11 hours ago, mgutt said:

And did you check if hardware transcoding is working?

 

Yes it's working.

 

However I think I have it figured out and all that typing was for nothing ha.

Pretty sure it's because it was Chrome mainly being used to test.

 

Everything else worked fine; apps, phone apps, Firefox (probably because it's forced transcoding), and anything that basically wasn't Chrome.

 

tldr; Chrome sucks for Direct Play of HEVC 10. Transcoding still worked fine in Chrome though.

Edited by DevanteWeary

  • 3 months later...

I have the latest version of the Docker installed (Version 4.125.1.8395) on the latest version of unRaid (v6.12.9).  Server has been running for years with no issues.  Recently I went to watch and old favorite (The Hunt for Red October).  When I did, plex only showed the 'Plex TV' version of the show which is paid access.  Disabled the online media sources and still not finding Red October.  That got me to looking for other missing titles.  I've found a number of titles that are missing.  Then I looked at the Plex Database in the Appdata folder and its been 6 months since the database was modified.  Not sure what else to check at this point.  Corrupted database?

 

Thanks in advance!

On 4/27/2024 at 6:42 PM, jeffreywhunter said:

I have the latest version of the Docker installed (Version 4.125.1.8395) on the latest version of unRaid (v6.12.9).  Server has been running for years with no issues.  Recently I went to watch and old favorite (The Hunt for Red October).  When I did, plex only showed the 'Plex TV' version of the show which is paid access.  Disabled the online media sources and still not finding Red October.  That got me to looking for other missing titles.  I've found a number of titles that are missing.  Then I looked at the Plex Database in the Appdata folder and its been 6 months since the database was modified.  Not sure what else to check at this point.  Corrupted database?

 

Thanks in advance!

Any thoughts on this issue?

Plex won't allow me to access the Web UI. All of my Plex apps say that can't access the server. This started today, when I checked the Web UI it said something like there wasn't a secure connection. I stopped that app, updated and restarted it. After the update, the Web UI wouldn't open. The logs for Plex show

 

kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
Stopping Plex Media Server.
Starting Plex Media Server.
Error: Unable to set up server: sqlite3_statement_backend::prepare: file is not a database for SQL: PRAGMA cache_size=512 (N4soci10soci_errorE)

 

The last 3 lines are repeated several times. Any help would be appreciated. Also, no other changed have been made except for adding media to the server.

  • Author
10 hours ago, rustyshackleford140rainey said:
file is not a database for SQL:

Your database file is corrupt. Repair it or restore a backup. 

Hello mgutt,

Thanks for the reply. I have restored the database file from a backup. The problem I have now is I'm missing some media (TV Shows, Movies, etc.). I have scanned the library and also refreshed all metadata but it's not adding the missing media. Before the database was corrupted, the media was in Plex. How can I get the missing media into Plex?

  • Author

Open the movie library view and use the not assigned filter. Are they maybe found, but not assigned?

 

Or try to rename one of the movie folders to ".movie name" and back to "movie name". Does Plex then find the movie?

I couldn't find the first option you mentioned.

 

I just noticed that when I try to play something in plex web server (from the web UI on unraid server) it is saying playback error Please check that the file exists and the necessary drive is mounted. All I did what delete com.plexapp.plugins.library.db and com.plexapp.plugins.library.biobs.db and replace them from a backup. 

 

Do you have any suggestions?

On 4/27/2024 at 6:42 PM, jeffreywhunter said:

I have the latest version of the Docker installed (Version 4.125.1.8395) on the latest version of unRaid (v6.12.9).  Server has been running for years with no issues.  Recently I went to watch and old favorite (The Hunt for Red October).  When I did, plex only showed the 'Plex TV' version of the show which is paid access.  Disabled the online media sources and still not finding Red October.  That got me to looking for other missing titles.  I've found a number of titles that are missing.  Then I looked at the Plex Database in the Appdata folder and its been 6 months since the database was modified.  Not sure what else to check at this point.  Corrupted database?

 

Thanks in advance!

Has anyone ever experienced this issue?  Lost with what to do next except perhaps to check for DB corruption, then reinstall?  Or switch to something else?

  • Author
On 5/4/2024 at 11:37 PM, rustyshackleford140rainey said:

I couldn't find the first option you mentioned

Screenshot_20240506-180724.thumb.png.365d1454fa3fb6940f692cb5485e29ec.png

 

On 5/4/2024 at 11:37 PM, rustyshackleford140rainey said:

I just noticed that when I try to play something in plex web server (from the web UI on unraid server) it is saying playback error Please check that the file exists and the necessary drive is mounted

Open the command line of Plex and compare the paths of a movie media info:

Screenshot_20240506-181258.png.5303a752614a9199dc9adc142a39fba1.png

 

Screenshot_20240506-181219.png.ef18923cd511f4bf89e58d2db3f304cc.png

 

to the one you see inside the container. Example:

 

Screenshot_20240506-181027.thumb.png.de3199cce187e081388bf8b57e684c7a.png

 

Try with ls -l or

stat "/path/to/movie.mkv"

To obtain file details:

Screenshot_20240506-181557.thumb.png.4b63762f805fa9ce382b7c9de0048bb7.png

 

So you can be sure the movie file is accessible through the container.

 

 

  • 2 weeks later...

How do I stop the media server from running in the docker container?

I'd like to run database repair and I am assuming I need to run that in the docker console that is running the plexmediaserver.

 

*edit* never mind I figured it out

Edited by xokia

  • 1 month later...

Hi all,

Recently i have started experiencing a lot of buffering on my plex server when trying to stream 4k content. either to a device outside my network or a device within it. One of the reasons I had in the past was i had no direct connection to my internet router so recently updated my network card to a 10gb nic which now connected to a 10b switch which is connected with CAT6A Ethernet. The server itself has a 13600k CPU with 64gb 6200mts ddr5 ram. Therefore it should be more than capable of transcoding   and now with the inclusion with a 10gb direct connection i was hoping it would run faster but that doesn't seem to be the case. Granted my router only supports up to 2.5gb but even at bandwidth it should be more than enough to stream 4K.I tend usually to stream to a firestick connected to my tv or my phone . I tended to find previously that if i was viewing a stream at home on my phone within the network the video tended to play pretty much immediately now it either buffers for ages or fails to run at all. The only time it doesn't have an issue is if the video has been compressed down  using x265. I just wanted to ask are there any specific optimisations i need to do on the server to get it to run optimally . Happy to post any screenshots or logs if you can advise on what you require.

Naming convention for multiple episodes

---------

 

Hi Unraid famiy,

 

I'm using the Official Plex media server in Unraid, and I seem to be having issues with Plex NOT picking up multiple episodes of a tv-show in a single file.

 

For example:   "Stargate.Atlantis.S01E01E02.Rising.mkv", Plex identifies this as Episode 02.

 

Following the official naming from Plex (https://support.plex.tv/articles/naming-and-organizing-your-tv-show-files/).

I updated the file name to "Stargate.Atlantis.S01E01-E02.Rising.mkv" - still it only identifies as Episode 02.

 

Here are the combinations I have tried:

 

"Stargate.Atlantis.S01E01.Rising.mkv" = Episode 01

"Stargate.Atlantis.S01E01E02.Rising.mkv" = Episode 02

"Stargate.Atlantis.S01E01-E02.Rising.mkv" = Episode 02

"Stargate.Atlantis.S01E01-S01E02.Rising.mkv" = Episode 02

 

Would like to confirm if this is a bug in the offical Plex or am I simply missing a configuration in my Settings ?

Are there any other recommendations I can try without having to split the file manually ? 

 

Thanks in advance!

Regards,

Jason

  • Author
26 minutes ago, jasonleung.au said:

Stargate.Atlantis.S01E01E02.Rising.mkv

Usually this works for me, but finally I prefer splitting.

 

You can obtain a black frame with avidemux:

https://superuser.com/a/1508481

 

And then use the timestamp (reduced by a millisecond, as MKVToolNix finds the next black frame AFTER the timestamp) with MKVToolNix to split it into two mkv files.

  • 1 month later...

Migrating a Library from Windows to Unraid

 

I’m using the official Plex docker and I’m attempting to bring over my library from windows to unraid. 

 

I’ve paid for plex pass so my old server shows up in my account. There’s no media attached as I’m currently transferring everything over to my server. 

 

So my question is should I just have it repopulate the metadata on the new server or would it be easier to extract the metadata from my windows install and bring it into the Unraid container. I dont really care about my playlists or watch history. 

  • Author
1 hour ago, Vampiresoup said:

should I just have it repopulate the metadata on the new server or would it be easier to extract the metadata from my windows

I don't think its "easier" but it would save a little bit time. Especially if you enabled thumbnail creation. But: Is there a guide to move from windows installation to docker? I mean if it is easy to transfer, why not, but if it costs hours I would rebuild everything.

 

 

  • 3 months later...

Hello All! Apologies if I missed something to fix this easily. Recently installed a Quadro P4000 in my Unraid server. Got the NVidia-Driver plugin from ich777 installed. It sees the card and as far as I can tell not seeing an issue. Plex has been running on my server for a few months with no issues. Tried getting the P4000 setup in Plex for hardware transcoding. At first it wasn't showing up in the dropdown for Hardware Transcoding Device. It took some doing and much searching, but was able to resolve that and it let me assign the P4000 as the transcoding device.

 

Issue is whenever I try to transcode anything, playback freezes like it's buffering, but nothing happens. The Plex dashboard shows the stream still there, not transcoding, the timer is going but the preview image never changes.

 

I've let it sit for a minute or so seeing if it'll show an error, but as far as I've seen it never does. Not sure what information you may need but I've included a couple screenshots of the docker variables and the transcode settings in Plex.

 

*Note* most of the configs I've seen do not have the "Nvidia Driver Capabilities" variable. I set this while troubleshooting, it was doing the same thing before and after setting that variable.

 

Any assistance or guidance would be greatly appreciated.

Screenshot 2024-12-24 071904.png

Screenshot 2024-12-24 072259.png

Wanted to give a quick update on my previous issue. HW Transcoding is still not working. I was able to get both Jellyfin and Frigate working using the P4000 card, so it does not appear to be an issue with the card as far as I can tell. Also double checked that software transcoding works fine.

 

I installed Plex again using a different repo (linuxserver's) as a test, same issue. I also uninstalled, deleted and reinstalled Plex using the official repo which is what I'm currently running on.

 

I also pulled a log bundle from plex while it was buffering after trying to get it to do HW transcoding and it was just sitting there buffering. I'll admit I'm not 100% sure what I'm looking for but I wasn't able to see any specific errors or anything of note.

 

Any assistance or even links to known good guides would be greatly appreciated.

 

30DEC2024 update - It's now working and I have no clue why. Removed all of the settings and such to get the video added, restarted the container, readded the same settings, restarted container again, and it's working. I'm marking it down to either A- It's haunted. B- It hates me or C- It's haunted and hates me.

 

I'll stop necroing the thread now. Thanks all!

Edited by SerpentMage
update that it's working.

  • 2 weeks later...

I have the same issue, Unraid 7.0.0 RC2, transcoding not working on Plex offical build, Plex sees my GPU as below.

 

image.png.b11ca3ceddc66ad08118d8bcbeb65ad5.png

 

Nvidia driver 470.256.02 (have tried other drivers too, same result) Ich777

 

GPU is just chilling.....

 

Going to try SerpentMage method at the weekend, remove everything, even though its been triple checked in the Plex Docker and re-add unless someone has a better idea ?

 

 

PlexDocker.png

  • 2 weeks later...

  

I upgraded from 6.12.14 to 7.0.0, faced issues with cache/appdata, then downgraded back to 6.12.14. This was solved in the following thread

 

 

Anyway after the solutions provided by JorgeB and lovaan I proceeded to reinstall dockers as all docker containers were deleted. Every docker container works as expected except Plex. The browser cannot connect to the Plex server. (This Docker is the official release by Plex)

 

Screenshotfrom2025-01-1514-49-34.thumb.png.9d99a6f3c0e87d9269abe3c1b63af168.png

 

Here are the logs: could someone kindly look into these and advise any solutions?

 

Plex Media Server.log: Lines 11-15 seem to indicate some sort of crash, but I cannot figure it out.

 

1 Jan 15, 2025 14:18:46.144 [22899985468216] INFO - Plex Media Server v1.41.3.9314-a0bfb8370 - Docker Docker Container x86_64 - build: linux-x86_64 debian - GMT -06:00
2 Jan 15, 2025 14:18:46.144 [22899985468216] INFO - Linux version: 6.1.118-Unraid, language: en-US
3 Jan 15, 2025 14:18:46.145 [22899985468216] INFO - Processor: 12-core AMD Ryzen 5 5600 6-Core Processor
4 Jan 15, 2025 14:18:46.145 [22899985468216] INFO - Compiler is - Clang 11.0.1 (https://plex.tv 9b997da8e5b47bdb4a9425b3a3b290be393b4b1f)
5 Jan 15, 2025 14:18:46.145 [22899985468216] INFO - /usr/lib/plexmediaserver/Plex Media Server
6 Jan 15, 2025 14:18:46.140 [22900072004240] DEBUG - BPQ: [Idle] -> [Starting]
7 Jan 15, 2025 14:18:46.144 [22900072004240] DEBUG - FeatureManager: Using cached data for features list
8 Jan 15, 2025 14:18:46.149 [22900072004240] DEBUG - MyPlex: mapping state set to 'Unknown'.
9 Jan 15, 2025 14:18:46.151 [22900072004240] DEBUG - Relay: read 22 cached entries from hosts file
10 Jan 15, 2025 14:18:46.152 [22900072004240] DEBUG - Opening 20 database sessions to library (com.plexapp.plugins.library), SQLite 3.39.4, threadsafe=1
11 Jan 15, 2025 14:18:46.157 [22900072004240] ERROR - SQLITE3:0x80000001, 11, database corruption at line 69165 of [a29f994989]
12 Jan 15, 2025 14:18:46.157 [22900072004240] ERROR - SQLITE3:0x80000001, 11, statement aborts at 10: [] database disk image is malformed
13 Jan 15, 2025 14:18:46.158 [22900072004240] ERROR - SQLITE3:0x80000001, 11, database disk image is malformed in "PRAGMA cache_size=5120"
14 Jan 15, 2025 14:18:46.159 [22900072004240] ERROR - Promise destroyed without handling exception: Promise fell out of scope without resolving or rejecting
15 Jan 15, 2025 14:18:46.398 [22900072004240] DEBUG - [JobRunner] Job running: /usr/lib/plexmediaserver/CrashUploader "--directory=/config/Library/Application Support/Plex Media Server/Crash Reports/1.41.3.9314-a0bfb8370" --version=1.41.3.9314-a0bfb8370 --platform=Linux --platformVersion=6.1.118-Unraid --serverUuid=03db01f0d1507fbcf4a73b28eccac5b7e53541dd [email protected] --sentryUrl=https://o17675.ingest.sentry.io/api/1233455/ --sentryKey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx --vendor=Docker --model=x86_64 "--device=Docker Container" --sessionStatus=crashed --sessionStart=1736972326 --sessionDuration=0

 

 

Plex Crash Uploader.log below

 

Plex Crash Uploader.log

 

1 Jan 15, 2025 14:36:00.990 [22766165048120] INFO - Crash Uploader - Session Health - Status: crashed StartTime: 1736973360 Duration: 0 UserId: [email protected] Version: 1.41.3.9314-a0bfb8370
2 Jan 15, 2025 14:36:00.990 [22766165048120] INFO - Crash Uploader - Platform: Linux ServerUUID: 03db01f0d1507fbcf4a73b28eccac5b7e53541dd UserId: [email protected] Version: 1.41.3.9314-a0bfb8370
3 Jan 15, 2025 14:36:00.990 [22766165048120] INFO - Pre-processed minidump directory: /config/Library/Application Support/Plex Media Server/Crash Reports/1.41.3.9314-a0bfb8370
4 Jan 15, 2025 14:36:00.990 [22766165048120] INFO - Post-processed minidump directory: /tmp
5 Jan 15, 2025 14:36:00.985 [22766171367432] DEBUG - [HCl#1] HTTP requesting POST https://o17675.ingest.sentry.io/api/1233455/envelope/?sentry_key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
6 Jan 15, 2025 14:36:01.066 [22766164810552] DEBUG - [HttpClient/HCl#1] HTTP/2.0 (0.1s) 200 response from POST https://o17675.ingest.sentry.io/api/1233455/envelope/?sentry_key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
7 Jan 15, 2025 14:36:01.066 [22766171367432] INFO - Successfully reported session health
8 Jan 15, 2025 14:36:01.070 [22766171367432] INFO - Crashdump 5f2c0509-f2d2-44e1-1d4947a4-a7f005b7 not uploaded due to local rate limiting.
9 Jan 15, 2025 14:36:01.072 [22766171367432] DEBUG - Moved file "/config/Library/Application Support/Plex Media Server/Crash Reports/1.41.3.9314-a0bfb8370/PLEX MEDIA SERVER/5f2c0509-f2d2-44e1-1d4947a4-a7f005b7.dmp" to "/tmp/5f2c0509-f2d2-44e1-1d4947a4-a7f005b7.dmp".
10 Jan 15, 2025 14:36:01.074 [22766171367432] DEBUG - Moved file "/config/Library/Application Support/Plex Media Server/Crash Reports/1.41.3.9314-a0bfb8370/PLEX MEDIA SERVER/5f2c0509-f2d2-44e1-1d4947a4-a7f005b7.log" to "/tmp/5f2c0509-f2d2-44e1-1d4947a4-a7f005b7.log".
11 Jan 15, 2025 14:36:01.077 [22766171367432] INFO - Crash Uploader - Processing Complete.

 

  • Author
1 hour ago, frostimunki said:
ERROR - SQLITE3:0x80000001, 11, database disk image is malformed in "PRAGMA cache_size=

This error usually indicates a corrupt Plex database file. You need to repair the database or restore a backup.

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.