[Support] Linuxserver.io - Plex Media Server


5049 posts in this topic Last Reply

Recommended Posts

Quote

 

ErrorWarningSystemArrayLogin


[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...
No update required
[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.
dbus[281]: [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 eth0.IPv4 with address 192.168.1.199.
New relevant interface eth0.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.1.199 on eth0.IPv4.
Server startup complete. Host name is Whoshouse.local. Local service cookie is 928197164.

 

 

Link to post
  • Replies 5k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

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

Application Name: Plex Media Server Application Site: https://plex.tv/ Docker Hub: https://hub.docker.com/r/linuxserver/plex/ Github: https://github.com/linuxserver/docker-plex  

Posted Images

6 hours ago, trurl said:

No that is not at all what I am asking for. Try this link

https://lime-technology.com/forums/topic/57181-real-docker-faq/?tab=comments#comment-564345

 

What I want looks like this:

Untitled.png

 

It should be a single command line (wrapped), the docker run command.

ok i understand sorry. heres what i get when i try to add television

Stopping container: plex

Successfully stopped container 'plex'

Removing container: plex

Successfully removed container 'plex'

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

/usr/bin/docker: Error response from daemon: Duplicate mount point '/media'.
See '/usr/bin/docker run --help'.

The command failed.

 

Link to post

As wgstarks said.

 

Do you have any other working dockers? You really need to understand volume mapping or you will continue to have these problems setting up dockers.

 

Browse the other posts in that Docker FAQ thread I linked earlier.

Link to post
1 hour ago, wgstarks said:

I believe this is your problem. You need to use something like /media/movies and /media/tvshows.

i think you are correct thanks. I just assumed it worked for movies and tv would be media also so figured it would work. thanks!

 

1 hour ago, trurl said:

As wgstarks said.

 

Do you have any other working dockers? You really need to understand volume mapping or you will continue to have these problems setting up dockers.

 

Browse the other posts in that Docker FAQ thread I linked earlier.

I do not have any other dockers. not sure i need any others that i know of? but you are correct i really do need to understand the volume mapping. thanks again!

Link to post

Hello,

 

I need some help with my Plex docker everything was working fine and I made a stupid mistake, I changed network type to static IP and to make matter worse I add a port number to it 192.168.1.11:32400 and now docker is missing. I switched to advance view and it shows the orphan image. Can someone please help me.

 

I also have a backup of APPDATA folder but it also contains other dockers which are working fine, not sure how to restore just Plex docker.

Edited by unraidnewbie
Link to post
1 hour ago, unraidnewbie said:

Hello,

 

I need some help with my Plex docker everything was working fine and I made a stupid mistake, I changed network type to static IP and to make matter worse I add a port number to it 192.168.1.11:32400 and now docker is missing. I switched to advance view and it shows the orphan image. Can someone please help me.

 

I also have a backup of APPDATA folder but it also contains other dockers which are working fine, not sure how to restore just Plex docker.

Delete the orphaned image.  Reinstall Plex via the Apps Tab, Previous Apps, and then undo the changes you made.

Link to post
Perfect thank you so much. BTW how do I assign static IP? I inputted 192.168.1.11 but plex server did not load?
Personally, I've never understood why you ever need to assign any container a specific IP but you would need to surf the 6.4 thread on how you do this
Link to post
12 minutes ago, Squid said:
29 minutes ago, unraidnewbie said:
Perfect thank you so much. BTW how do I assign static IP? I inputted 192.168.1.11 but plex server did not load?

Personally, I've never understood why you ever need to assign any container a specific IP but you would need to surf the 6.4 thread on how you do this

Ok thx

Link to post

i rebooted my unraid server and now i cant stream. If i try to stream through the browser I get "shaka1001" network error if i try from apple tv it says cannot create a playback session. from the roku it says "not enough bandwith for any playback..."

Quote

 

ErrorWarningSystemArrayLogin


[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...
No update required
[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.
dbus[278]: [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 eth0.IPv4 with address 192.168.1.199.
New relevant interface eth0.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.1.199 on eth0.IPv4.
Server startup complete. Host name is Whoshouse.local. Local service cookie is 3852812910.
__code__:703: FutureWarning: The behavior of this method will change in future versions. Use specific 'len(elem)' or 'elem is not None' test instead.
Got SIGTERM, quitting.
Leaving mDNS multicast group on interface docker0.IPv4 with address 172.17.0.1.
Leaving mDNS multicast group on interface eth0.IPv4 with address 192.168.1.199.
avahi-daemon 0.6.32-rc exiting.
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] syncing disks.
Critical: libusb_init failed
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
[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...
usermod: no changes

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


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...
No update required
[cont-init.d] 50-plex-update: exited 0.
[cont-init.d] done.
[services.d] starting services
Starting Plex Media Server.
Starting dbus-daemon
[services.d] done.
dbus[272]: [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 eth0.IPv4 with address 192.168.1.199.
New relevant interface eth0.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.1.199 on eth0.IPv4.
Server startup complete. Host name is Whoshouse.local. Local service cookie is 1531104062.
Got SIGTERM, quitting.
Leaving mDNS multicast group on interface docker0.IPv4 with address 172.17.0.1.
Leaving mDNS multicast group on interface eth0.IPv4 with address 192.168.1.199.
avahi-daemon 0.6.32-rc exiting.
[cont-finish.d] executing container finish scripts...
Critical: libusb_init failed
[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.
[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...
usermod: no changes

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


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...
No update required
[cont-init.d] 50-plex-update: exited 0.
[cont-init.d] done.
[services.d] starting services
Starting Plex Media Server.
Starting dbus-daemon
[services.d] done.
dbus[280]: [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 eth0.IPv4 with address 192.168.1.199.
New relevant interface eth0.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.1.199 on eth0.IPv4.
Server startup complete. Host name is Whoshouse.local. Local service cookie is 1510079016.
Connection to 184.105.148.104 closed by remote host.

 

 

Link to post
6 hours ago, deuxcolors said:

I'm having the exact same issue as Carlos28355.

I tried rebuilding the docker, but the issue persists.

I think this might be a Plex issue, and not LS.IO issue, but I'm at work and can't troubleshoot (and I have a wife and two kids bugging me about it...)

ok was just weird it happened right after i rebooted the server

Link to post

I'm having the same issue as carlos and a few others just with the last update or two.  large files fail to play, not sure what to do.  i hadn't messed with any settings.  btw, these same files worked just fine before..

 

Update: I've narrowed down my issue to only be affected by files with EAC3 audio.. everything else such as DTS plays just fine.  Can someone else replicate this issue?  Any solution?

 

Final Update:

 

https://forums.plex.tv/discussion/288630/any-video-with-eac3-audio-fails-to-play

 

This was the solution for me. ¬¬

 

Quote

Delete codecs folder:

\plex\Library\Application Support\Plex Media Server\Codecs

Restart the docker image and it fixes the issue

 

Edited by pro9c3
Link to post
23 hours ago, pro9c3 said:

I'm having the same issue as carlos and a few others just with the last update or two.  large files fail to play, not sure what to do.  i hadn't messed with any settings.  btw, these same files worked just fine before..

 

Update: I've narrowed down my issue to only be affected by files with EAC3 audio.. everything else such as DTS plays just fine.  Can someone else replicate this issue?  Any solution?

 

Final Update:

 

https://forums.plex.tv/discussion/288630/any-video-with-eac3-audio-fails-to-play

 

This was the solution for me. ¬¬

 

 

damn this didnt work for me :$

 

16 hours ago, deuxcolors said:

I went back to the old method of adding /transcode path to /tmp
And added /tmp to /tmp

Issue resolved it seems

this is over my head. can you provide more detail please? thank you!

Link to post
On 1/28/2018 at 9:06 PM, carlos28355 said:

 

On 1/28/2018 at 4:21 AM, deuxcolors said:

I went back to the old method of adding /transcode path to /tmp
And added /tmp to /tmp

Issue resolved it seems

this is over my head. can you provide more detail please? thank you!

 

deuxcolors is referring to mapping a container path to a host path for transcoding purposes and then specifying the container path in the Plex server transcoder settings.

 

/tmp is RAM on the unRAID server.

 

He mapped /tmp to /tmp.  In my case I have /transcode mapped to /tmp but the concept is the same.

 

Edit Plex docker settings and do the following:

 

1 - Edit the appropriate host path variable (or add a new one) for your transcode mapping.

 

2 - Enter the desired container path name (I used /transcode, deuxcolors used /tmp) and enter a host path of /tmp if you want to transcode to RAM.

 

image.thumb.png.1bbe34139faffa17e68cb061f963aa7a.png

 

3 - Click Save button in Edit Configuration.

 

4 - Click Apply button in Docker Edit screen.

 

5. Open Plex docker WebUI

 

6. Click on Settings

 

7. Select Server Settings

 

8. Select Transcoder

 

image.thumb.png.7dd62e75b127f679ba6ad539262838b3.png

 

9. Enter the name of the container path you specified in step two as the Transcoder temporary directory. deuxcolors mapped /tmp to /tmp so his entry here is /tmp

 

This tells Plex to transcode videos to the /tmp directory on the host which is in RAM.  This could also be done to a directory on your cache drive by specifying the Host Path as something like /mnt/user/cache/plex/transcode in step two.  The important thing is that in Plex transcode settings you specify the name of the Container path variable as the Transcoder location.

 

10. Click Save Changes button

Edited by Hoopster
Link to post

Sorry for the late reply.
Quick correction. 

I did both:
-I already had /transcode set to the cache drive, and I remapped it to unRAID's /tmp

-Then I added a /tmp path and mapped it to unRAID's /tmp since I read that the encoder was using /tmp within plex so I gave it access to RAM.

So far no issues.

Link to post

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.