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

Is there a way to assign two cores, even specific cores, to Plex via parameters in the docker setup?

http://lime-technology.com/forum/index.php?topic=40937.msg492111#msg492111

 

Right now, I have no VMs running and just crashplan/plex dockers...

 

Would there be a real benefit to pinning cores (8 core FX-8350) to PMS?  Will it utilize what is needed?  I know that once I start adding daemons and VMs that core pinning may be advantageous to guarantee smooth playback

 

Thanks.

 

Nevermind... reading is fundamental.  Thanks for the link.

 

  • 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

I upgraded to 6.2.4 long before this started happening. I didn't observe this behavior until December, after running on 6.2.4 since a few days after it's release.

 

My guess is your docker.img is full or corrupted.  Take a look at the Docker FAQ and recreate it and see if that fixes your issue would be my suggestion.

I get the exact same thing. I have recreated the docker.img and removed all docker apps and templates - still I get the same error message as sacrecow describes. Not only on the linuxserver-repo tho, but everything.

I get the exact same thing. I have recreated the docker.img and removed all docker apps and templates - still I get the same error message as sacrecow describes. Not only on the linuxserver-repo tho, but everything.

There was another guy here who had the same problem, and setting static

DNS addresses in unRaid (8.8.8.8 / 8.8.4.4 as an example) solved their problem

Aaaaa thanks. To make things worse, I've switched ISPs and I used 1.1.1.1/24 subnet but the new modems DHCP wont make me change from 192.168.1.1/24, so forgot to change the DNS (alto thought it was set to DHCP) from 1.1.1.1, but the secondary DNS was set to 8.8.4.4 tho..

I'll give that a try. Right now it is statically set to use my router as the DNS server. The router is at to use OpenDNS as primary and secondary. I'll try to set unRAID to use OpenDNS directly.

Solved!

 

Changing the DNS servers to point directly to OpenDNS instead of the router fixed the issue.

 

That is the strangest bug, but I'm glad there is an easy fix.

Why would pointing /config to /mnt/cache/appdata/Plex cause the container not to load?

 

 

Why would pointing /config to /mnt/cache/appdata/Plex cause the container not to load?

On NEW setups, using unRaid 6.2RC4+, it doesn't matter if its pointed to /mnt/user/appdata or /mnt/cache/appdata

 

Prior to 6.2RC4, it really only worked properly if set to /mnt/cache/appdata (this is due to hardlink support)

 

On already existing appdata, then switching from /mnt/cache/appdata to /mnt/user/appdata may have strange results.

Why would pointing /config to /mnt/cache/appdata/Plex cause the container not to load?

On NEW setups, using unRaid 6.2RC4+, it doesn't matter if its pointed to /mnt/user/appdata or /mnt/cache/appdata

 

Prior to 6.2RC4, it really only worked properly if set to /mnt/cache/appdata (this is due to hardlink support)

 

On already existing appdata, then switching from /mnt/cache/appdata to /mnt/user/appdata may have strange results.

 

 

Yeah, I borked mine.  Now I Keep getting a recursive error .... with Server looking for /mnt/user/Library/Application Support

 

Best way to learn...is to break it.  :)

 

root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name="plex" --net="host" -e TZ="America/New_York" -e HOST_OS="unRAID" -e "PUID"="99" -e "PGID"="100" -e "VERSION"="latest" -v "/mnt/user/appdata/plex":"/config":rw linuxserver/plex
178a27bec089cb1e6e89f665b6072e3484b24c1f5d2cb34ad9ad479b50b60540

The command finished successfully!

 

results in:

 

d
Starting Plex Media Server.
6 3000 /config/Library/Application Support

d
Starting Plex Media Server.
6 3000 /config/Library/Application Support

d
Starting Plex Media Server.
6 3000 /config/Library/Application Support

d
Starting Plex Media Server.
6 3000 /config/Library/Application Support

d
Starting Plex Media Server.
6 3000 /config/Library/Application Support

d
Starting Plex Media Server.
6 3000 /config/Library/Application Support

d
Starting Plex Media Server.
6 3000 /config/Library/Application Support

d
Starting Plex Media Server.
6 3000 /config/Library/Application Support

 

I have deleted container, data and docker image...

 

Maybe a permissions issue?

 

 

 

Dunno...  I actually just set it up again myself from scratch with no problems

It has to be something I am doing.

 

It was working fine, then I tried to tweak it to get plexpy to work.

 

I am so new to unix, so I have little to offer by experience.  It looks like it is calling to the daemon expecting a certain file @ /config/Library/Application Support and not finding it.

Dunno...  I actually just set it up again myself from scratch with no problems

 

Are you just using a template... or going to CA, searching plex... click add and going through the process that way?

 

Dunno...  I actually just set it up again myself from scratch with no problems

 

Are you just using a template... or going to CA, searching plex... click add and going through the process that way?

Using a stock lsio template via CA with additional media paths.  Nothing special...

Ok, Thanks.

 

Stopped docker.

 

Disabled

 

Deleted Docker image

 

Stopped Arrays

 

Rebooted.

 

Will restart the array and start from scratch... when I first tried to install PMS I encountered this...do not remember how I fixed.  It just seems like the container can not find the config internally... even though paths are pointed correctly

 

 

Here is the log at start-up

 

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 10-adduser: executing...

-------------------------------------
_ _ _
| |___| (_) ___
| / __| | |/ _ \
| \__ \ | | (_) |
|_|___/ |_|\___/
|_|

Brought to you by linuxserver.io
We gratefully accept donations at:
https://www.linuxserver.io/donations/
-------------------------------------
GID/UID
-------------------------------------
User uid: 99
User gid: 100
-------------------------------------

[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 30-dbus: executing...
[cont-init.d] 30-dbus: exited 0.
[cont-init.d] 40-chown-files: executing...
[cont-init.d] 40-chown-files: exited 0.
[cont-init.d] 50-plex-update: executing...



#####################################################
# Login via the webui at http://<ip>:32400/web #
# and restart the docker, because there was no #
# preference file found, possibly first startup. #
#####################################################


[cont-init.d] 50-plex-update: exited 0.
[cont-init.d] done.
[services.d] starting services
Starting dbus-daemon
Starting Plex Media Server.
[services.d] done.
6 3000 /config/Library/Application Support

d
dbus[269]: [system] org.freedesktop.DBus.Error.AccessDenied: Failed to set fd limit to 65536: Operation not permitted

Starting Avahi daemon
Found user 'avahi' (UID 106) and group 'avahi' (GID 107).
Successfully dropped root privileges.
avahi-daemon 0.6.32-rc starting up.
No service file found in /etc/avahi/services.
*** WARNING: Detected another IPv4 mDNS stack running on this host. This makes mDNS unreliable and is thus not recommended. ***

socket() failed: Address family not supported by protocol

Failed to create IPv6 socket, proceeding in IPv4 only mode

socket() failed: Address family not supported by protocol

Joining mDNS multicast group on interface docker0.IPv4 with address 172.17.0.1.
New relevant interface docker0.IPv4 for mDNS.
Joining mDNS multicast group on interface virbr0.IPv4 with address 192.168.122.1.
New relevant interface virbr0.IPv4 for mDNS.
Joining mDNS multicast group on interface br0.IPv4 with address 10.11.12.200.
New relevant interface br0.IPv4 for mDNS.
Network interface enumeration completed.
Registering new address record for 172.17.0.1 on docker0.IPv4.
Registering new address record for 192.168.122.1 on virbr0.IPv4.
Registering new address record for 10.11.12.200 on br0.IPv4.
Server startup complete. Host name is nerdyRAID.local. Local service cookie is 1685075968.
Starting Plex Media Server.
6 3000 /config/Library/Application Support

d
Starting Plex Media Server.
6 3000 /config/Library/Application Support

d
Starting Plex Media Server.
6 3000 /config/Library/Application Support

d
Starting Plex Media Server.
6 3000 /config/Library/Application Support

d
Starting Plex Media Server.
6 3000 /config/Library/Application Support

d
Starting Plex Media Server.
6 3000 /config/Library/Application Support

d
Starting Plex Media Server.
6 3000 /config/Library/Application Support

d
Starting Plex Media Server.
6 3000 /config/Library/Application Support

d
Starting Plex Media Server.
6 3000 /config/Library/Application Support

d
Starting Plex Media Server.
6 3000 /config/Library/Application Support

d
Starting Plex Media Server.
6 3000 /config/Library/Application Support

d
Starting Plex Media Server.
6 3000 /config/Library/Application Support

d
Starting Plex Media Server.
6 3000 /config/Library/Application Support

d
Starting Plex Media Server.
6 3000 /config/Library/Application Support

d
Starting Plex Media Server.
6 3000 /config/Library/Application Support

d
Starting Plex Media Server.
6 3000 /config/Library/Application Support

d
Starting Plex Media Server.
6 3000 /config/Library/Application Support

d
Starting Plex Media Server.
6 3000 /config/Library/Application Support

d
Starting Plex Media Server.
6 3000 /config/Library/Application Support

d
Starting Plex Media Server.
6 3000 /config/Library/Application Support

d
Starting Plex Media Server.
6 3000 /config/Library/Application Support

d
Starting Plex Media Server.
6 3000 /config/Library/Application Support

d
Starting Plex Media Server.
6 3000 /config/Library/Application Support

d
Starting Plex Media Server.
6 3000 /config/Library/Application Support

d
Got SIGTERM, quitting.
Leaving mDNS multicast group on interface docker0.IPv4 with address 172.17.0.1.
Leaving mDNS multicast group on interface virbr0.IPv4 with address 192.168.122.1.
Leaving mDNS multicast group on interface br0.IPv4 with address 10.11.12.200.
avahi-daemon 0.6.32-rc exiting.
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] syncing disks.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting. 

Ok, Thanks.

 

Stopped docker.

 

Disabled

 

Deleted Docker image

 

Stopped Arrays

 

Rebooted.

 

Will restart the array and start from scratch... when I first tried to install PMS I encountered this...do not remember how I fixed.  It just seems like the container can not find the config internally... even though paths are pointed correctly

 

 

Here is the log at start-up

 

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 10-adduser: executing...

-------------------------------------
_ _ _
| |___| (_) ___
| / __| | |/ _ \
| \__ \ | | (_) |
|_|___/ |_|\___/
|_|

Brought to you by linuxserver.io
We gratefully accept donations at:
https://www.linuxserver.io/donations/
-------------------------------------
GID/UID
-------------------------------------
User uid: 99
User gid: 100
-------------------------------------

[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 30-dbus: executing...
[cont-init.d] 30-dbus: exited 0.
[cont-init.d] 40-chown-files: executing...
[cont-init.d] 40-chown-files: exited 0.
[cont-init.d] 50-plex-update: executing...



#####################################################
# Login via the webui at http://<ip>:32400/web #
# and restart the docker, because there was no #
# preference file found, possibly first startup. #
#####################################################


[cont-init.d] 50-plex-update: exited 0.
[cont-init.d] done.
[services.d] starting services
Starting dbus-daemon
Starting Plex Media Server.
[services.d] done.
6 3000 /config/Library/Application Support

d
dbus[269]: [system] org.freedesktop.DBus.Error.AccessDenied: Failed to set fd limit to 65536: Operation not permitted

Starting Avahi daemon
Found user 'avahi' (UID 106) and group 'avahi' (GID 107).
Successfully dropped root privileges.
avahi-daemon 0.6.32-rc starting up.
No service file found in /etc/avahi/services.
*** WARNING: Detected another IPv4 mDNS stack running on this host. This makes mDNS unreliable and is thus not recommended. ***

socket() failed: Address family not supported by protocol

Failed to create IPv6 socket, proceeding in IPv4 only mode

socket() failed: Address family not supported by protocol

Joining mDNS multicast group on interface docker0.IPv4 with address 172.17.0.1.
New relevant interface docker0.IPv4 for mDNS.
Joining mDNS multicast group on interface virbr0.IPv4 with address 192.168.122.1.
New relevant interface virbr0.IPv4 for mDNS.
Joining mDNS multicast group on interface br0.IPv4 with address 10.11.12.200.
New relevant interface br0.IPv4 for mDNS.
Network interface enumeration completed.
Registering new address record for 172.17.0.1 on docker0.IPv4.
Registering new address record for 192.168.122.1 on virbr0.IPv4.
Registering new address record for 10.11.12.200 on br0.IPv4.
Server startup complete. Host name is nerdyRAID.local. Local service cookie is 1685075968.
Starting Plex Media Server.
6 3000 /config/Library/Application Support

d
Starting Plex Media Server.
6 3000 /config/Library/Application Support

d
Starting Plex Media Server.
6 3000 /config/Library/Application Support

d
Starting Plex Media Server.
6 3000 /config/Library/Application Support

d
Starting Plex Media Server.
6 3000 /config/Library/Application Support

d
Starting Plex Media Server.
6 3000 /config/Library/Application Support

d
Starting Plex Media Server.
6 3000 /config/Library/Application Support

d
Starting Plex Media Server.
6 3000 /config/Library/Application Support

d
Starting Plex Media Server.
6 3000 /config/Library/Application Support

d
Starting Plex Media Server.
6 3000 /config/Library/Application Support

d
Starting Plex Media Server.
6 3000 /config/Library/Application Support

d
Starting Plex Media Server.
6 3000 /config/Library/Application Support

d
Starting Plex Media Server.
6 3000 /config/Library/Application Support

d
Starting Plex Media Server.
6 3000 /config/Library/Application Support

d
Starting Plex Media Server.
6 3000 /config/Library/Application Support

d
Starting Plex Media Server.
6 3000 /config/Library/Application Support

d
Starting Plex Media Server.
6 3000 /config/Library/Application Support

d
Starting Plex Media Server.
6 3000 /config/Library/Application Support

d
Starting Plex Media Server.
6 3000 /config/Library/Application Support

d
Starting Plex Media Server.
6 3000 /config/Library/Application Support

d
Starting Plex Media Server.
6 3000 /config/Library/Application Support

d
Starting Plex Media Server.
6 3000 /config/Library/Application Support

d
Starting Plex Media Server.
6 3000 /config/Library/Application Support

d
Starting Plex Media Server.
6 3000 /config/Library/Application Support

d
Got SIGTERM, quitting.
Leaving mDNS multicast group on interface docker0.IPv4 with address 172.17.0.1.
Leaving mDNS multicast group on interface virbr0.IPv4 with address 192.168.122.1.
Leaving mDNS multicast group on interface br0.IPv4 with address 10.11.12.200.
avahi-daemon 0.6.32-rc exiting.
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] syncing disks.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting. 

 

What does your docker run command look like?

root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name="plex" --net="host" -e TZ="America/New_York" -e HOST_OS="unRAID" -e "PUID"="99" -e "PGID"="100" -e "VERSION"="latest" -v "/mnt/user/MOVIES/":"/media/Movies":rw -v "/mnt/user/TV/":"/media/TV":rw -v "/mnt/user/PHOTOS/":"/media/Photos":rw -v "/mnt/user/MUSIC/":"/media/Music":rw -v "/mnt/user/appdata/containers/plex":"/config":rw linuxserver/plex
808df8dfa62c9755dd4b42e7b508fc306863ccceba985b5969dc2b7bacc2a076

 

if I use the shell inside of the container...

 

/config/Library/~

 

matches

 

/mnt/user/appdata/containers/Plex/Library/~

 

This SQLite error is in the PMS logs

Jan 07, 2017 20:23:56.513 [0x2b4a40801700] INFO - Plex Media Server v1.3.3.3148-b38628e - ubuntu PC x86_64 - build: linux-ubuntu-x86_64 ubuntu - GMT -05:00
Jan 07, 2017 20:23:56.513 [0x2b4a40801700] INFO - Linux version: 4.4.30-unRAID (#2 SMP PREEMPT Sat Nov 5 12:09:05 PDT 2016), language: C
Jan 07, 2017 20:23:56.513 [0x2b4a40801700] INFO - Processor AMD FX(tm)-8350 Eight-Core Processor           
Jan 07, 2017 20:23:56.513 [0x2b4a40801700] INFO - ./Plex Media Server
Jan 07, 2017 20:23:56.511 [0x2b4a3507e7c0] DEBUG - BPQ: [idle] -> [starting]
Jan 07, 2017 20:23:56.512 [0x2b4a3507e7c0] DEBUG - Opening 20 database sessions to library (com.plexapp.plugins.library), SQLite 3.13.0, threadsafe=1
Jan 07, 2017 20:23:56.513 [0x2b4a3507e7c0] ERROR - SQLITE3:0x10, 5386, os_unix.c:33579: (19) mmap(/config/Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.db-shm) - No such device
Jan 07, 2017 20:23:56.513 [0x2b4a3507e7c0] ERROR - SQLITE3:0x10, 5386, disk I/O error

 

and this:

 

Jan 07, 2017 20:23:50.204 [0x2aee05001700] INFO - Plex Media Server v1.3.3.3148-b38628e - ubuntu PC x86_64 - build: linux-ubuntu-x86_64 ubuntu - GMT -05:00

Jan 07, 2017 20:23:50.204 [0x2aee05001700] INFO - Linux version: 4.4.30-unRAID (#2 SMP PREEMPT Sat Nov 5 12:09:05 PDT 2016), language: C

Jan 07, 2017 20:23:50.204 [0x2aee05001700] INFO - Processor AMD FX-8350 Eight-Core Processor         

Jan 07, 2017 20:23:50.204 [0x2aee05001700] INFO - ./Plex Media Server

Jan 07, 2017 20:23:50.201 [0x2aedf98c67c0] DEBUG - BPQ: [idle] -> [starting]

Jan 07, 2017 20:23:50.202 [0x2aedf98c67c0] DEBUG - Opening 20 database sessions to library (com.plexapp.plugins.library), SQLite 3.13.0, threadsafe=1

Jan 07, 2017 20:23:50.204 [0x2aedf98c67c0] ERROR - SQLITE3:0x10, 5386, os_unix.c:33579: (19) mmap(/config/Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.db-shm) - No such device

Jan 07, 2017 20:23:50.204 [0x2aedf98c67c0] ERROR - SQLITE3:0x10, 5386, disk I/O error

Jan 07, 2017 20:23:50.204 [0x2aedf98c67c0] ERROR - Database corruption: sqlite3_statement_backend::prepare: disk I/O error for SQL: PRAGMA cache_size=2000

Jan 07, 2017 20:23:50.205 [0x2aedf98c67c0] ERROR - Error: Unable to set up server: sqlite3_statement_backend::prepare: disk I/O error for SQL: PRAGMA cache_size=2000 (N4soci10soci_errorE)

 

 

CHBMB got me sorted

 

/mnt/user needed to be /mnt/cache

 

Yeah, you need graphics drivers inside Unraid afaik.

 

Sent from my LG-H815 using Tapatalk

 

 

Can unRAID pass through NVIDIA drivers to a container? 

An alternative would be to setup Plex in a VM. Huge overkill, but if transcoding improvements are as big as expected/reported it might be worth it for systems that cannot transcode otherwise.

Hello,

 

I'm starting to use PLEX and all is setup fine.

I'm having an issue with some MKV files - "There was a problem playing this item"

All files are made with MakeMKV and play with every other software I've tried.

Problem occurs on all apps and web player, I have attached a partial part of the Plex log.

The only errors shown in the logs are along the lines of the following:

Jan 08, 2017 18:44:20.418 [0x7f3c42477700] ERROR - [Transcoder] [mp4 @ 0x45b2000] Application provided duration: -1 / timestamp: 2298847 is out of range for mov/mp4 format

 

Any help or guidance is appreciated :)

 

 

Plex.txt

Hello,

 

I'm starting to use PLEX and all is setup fine.

I'm having an issue with some MKV files - "There was a problem playing this item"

All files are made with MakeMKV and play with every other software I've tried.

Problem occurs on all apps and web player, I have attached a partial part of the Plex log.

The only errors shown in the logs are along the lines of the following:

Jan 08, 2017 18:44:20.418 [0x7f3c42477700] ERROR - [Transcoder] [mp4 @ 0x45b2000] Application provided duration: -1 / timestamp: 2298847 is out of range for mov/mp4 format

 

Any help or guidance is appreciated :)

Sounds like a question for the plex forum. Have you tried there?

Sounds like a question for the plex forum. Have you tried there?

 

Yes, no help there as usual. Managed to narrow the issue down to the audio track, I extracted the AC3 track from the TrueHD and added it as a separate additional track in the MKV and Plex managed to handle it after that. A bug somewhere in Plex players.

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.