[Support] Linuxserver.io - Plex Media Server


Recommended Posts

Hey, could someone help me out here for a minute? I can't seem to access the WebUI and none of my devices can see the server locally anymore. Somehow, Plex.tv/web sees my server but won't play anything. Any help would be appreciated. Below is the LOG. Sorry but I am SUPER noob at this so I don't really know what it is I am looking for. All I did was reboot the server for changing some ISOLCPU values as I am tinkering with optimizing my server recently. Any help is GREATLY appreciated!

 

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[276]: [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. ***

*** WARNING: Detected another IPv6 mDNS stack running on this host. This makes mDNS unreliable and is thus not recommended. ***

Joining mDNS multicast group on interface veth4fab562.IPv6 with address fe80::60bc:65ff:fea1:e428.
New relevant interface veth4fab562.IPv6 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 docker0.IPv6 with address fe80::42:11ff:fecd:bfac.
New relevant interface docker0.IPv6 for mDNS.
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 br0.IPv6 with address fe80::3496:c3ff:feeb:c41b.
New relevant interface br0.IPv6 for mDNS.
Joining mDNS multicast group on interface br0.IPv4 with address 10.10.10.99.
New relevant interface br0.IPv4 for mDNS.
Joining mDNS multicast group on interface bond0.IPv6 with address fe80::4216:7eff:fe29:a8e.
New relevant interface bond0.IPv6 for mDNS.
Network interface enumeration completed.
Registering new address record for fe80::60bc:65ff:fea1:e428 on veth4fab562.*.
Registering new address record for 192.168.122.1 on virbr0.IPv4.
Registering new address record for fe80::42:11ff:fecd:bfac on docker0.*.
Registering new address record for 172.17.0.1 on docker0.IPv4.
Registering new address record for fe80::3496:c3ff:feeb:c41b on br0.*.
Registering new address record for 10.10.10.99 on br0.IPv4.
Registering new address record for fe80::4216:7eff:fe29:a8e on bond0.*.
Server startup complete. Host name is ConnollyServer.local. Local service cookie is 3155243906.

 

Link to comment

I know this post is better suited for the Plex forums and I have done so (https://forums.plex.tv/t/remote-access-not-working/288849). However, I find this very Unraid forum and its community much more helpful, so giving it a try here as well.

 

My issue is that remote access shows as "Fully accessible outside your network", while not being accessible from any place outside the home network. I suspect it is some port issue, but not sure where to start trouble-shooting as PMS actually shows "fully accessible". Any thoughts how to trouble-shoot before going into forwarding ports in my router. Thanks!

Link to comment
On 6/18/2018 at 10:20 PM, saarg said:

 

You need to be more specific. /transcode doesn't tell me much. Post your docker run command when it's not working. 

 

Thanks again for your help. Finally getting to this again. I am no longer sure whether PMS transcoding actually happens via ram or HD now. Below is the docker run, which works. Any thoughts whether this allows transcoding via ram or HD?

 

root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='plex' --net='host' -e TZ="Asia/Shanghai" -e HOST_OS="unRAID" -e 'PUID'='99' -e 'PGID'='100' -e 'VERSION'='latest' -v '/mnt/':'/data':'rw' -v '/mnt/cache/Docker/PlexMediaServer/':'/config':'rw' 'linuxserver/plex' 

[API removed]

Link to comment
1 hour ago, steve1977 said:

 

Thanks again for your help. Finally getting to this again. I am no longer sure whether PMS transcoding actually happens via ram or HD now. Below is the docker run, which works. Any thoughts whether this allows transcoding via ram or HD?

 

root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='plex' --net='host' -e TZ="Asia/Shanghai" -e HOST_OS="unRAID" -e 'PUID'='99' -e 'PGID'='100' -e 'VERSION'='latest' -v '/mnt/':'/data':'rw' -v '/mnt/cache/Docker/PlexMediaServer/':'/config':'rw' 'linuxserver/plex' 

[API removed]

 

It's not transcoding to ram. 

Link to comment

Here we go with what I tried now:

 

root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='plex' --net='host' -e TZ="Asia/Shanghai" -e HOST_OS="unRAID" -e 'PUID'='99' -e 'PGID'='100' -e 'VERSION'='latest' -v '/mnt/':'/data':'rw' -v '/tmp':'/transcode':'rw' -v '/mnt/cache/Docker/PlexMediaServer/':'/config':'rw' 'linuxserver/plex' 

 

It seems now to be working. Is this using ram now?

Link to comment
17 minutes ago, steve1977 said:

Here we go with what I tried now:

 

root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='plex' --net='host' -e TZ="Asia/Shanghai" -e HOST_OS="unRAID" -e 'PUID'='99' -e 'PGID'='100' -e 'VERSION'='latest' -v '/mnt/':'/data':'rw' -v '/tmp':'/transcode':'rw' -v '/mnt/cache/Docker/PlexMediaServer/':'/config':'rw' 'linuxserver/plex' 

 

It seems now to be working. Is this using ram now?

 

/tmp is RAM, so if you have plex set to use /transcode then that should do it.

  • Like 1
Link to comment
On 1/8/2017 at 7:30 AM, J.Nerdy said:

CHBMB got me sorted

 

/mnt/user needed to be /mnt/cache

 

My docker has been working flawlessly for years but then after an update to 6.5.3 I got the DB corruption error in my plex logs as per the post above and the docker wouldnt work.

 

After trying new plex dockers from others, and rebuilding my docker image finally found this and changed the appdata link from /mnt/user/appdata to /mnt/cache/appdata and presto Im back in business. Frustrating 24hours though fixing it.

Link to comment
On 8/3/2018 at 7:58 AM, steve1977 said:

Has anyone with an Unraid setup succeeded to import M3U playlists into Plex? This is one of only two key features that I am desperately missing. with Plex.

 

It seems to be possible to import M3U playlists, while not through the GUI. I tried, but getting an "500 error". Anyone succeeded?

 

https://forums.plex.tv/t/can-plexamp-read-and-use-m3u-playlists/234179/17

 

I tried with curl instead, but getting an error message. I am new to PMS, so hope someone can make some sense out of the error message. I really hope to find some way to import my existing playlists, which were done at great efforts and I don't want to lose...

 

curl -X POST http://192.168.11.xxx:32400/playlists/upload?sectionID=6&path=Downloads/Test.m3u&X-Plex-Token=removed
[1] 93875
[2] 93876
-bash: X-Plex-Token=removed: command not found
[2]+  Done                    path=Downloads/Test.m3u
Computer:~ user$ <html><head><title>Unauthorized</title></head><body><h1>401 Unauthorized</h1></body></html>

Link to comment

Hi All, switched over from Needo's fork a couple weeks ago and after having the new LIO docker image rescan my library I thought I was in the clear. However, I've noticed some strange behavior since switching over.. None of my new shows/movies show up without me manually refreshing the library. And finally today after pulling and installing the latest update, my server just completely crapped out. It's unreachable even from my local network. 

 

Any guidance would be extremely appreciated! Obligatory run command below for starters. Thanks ahead!

 

root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name="plex" --net="host" -e TZ="America/Los_Angeles" -e HOST_OS="unRAID" -e "PUID"="99" -e "PGID"="100" -e "VERSION"="latest" -v "/mnt/user/Media/":"/media":rw -v "/mnt/user/appdata/plex/Library/Application Support/Plex Media Server/Plug-ins/":"/plugins":rw -v "/mnt/user/appdata/plex":"/config":rw linuxserver/plex

 

Link to comment

Hey there!

I have a very strange Issue...

I use a Sony TV and the buildin "appshop" with the corresponding Plex App (it is build on Opera).

After a few minutes of Streaming the Stream will hang up and CRASH the server... How can I produce some logs and provide more details so you might be able to help?

Thanks!

Link to comment
5 hours ago, Jaster said:

CRASH the server

 

5 hours ago, Jaster said:

How can I produce some logs

If your server is actually crashing, installing Fix Common Problems and tossing it into troubleshooting mode (and following the directions) might help.

Link to comment

Keep getting Connection time out 

 

after updating to the latest plex update 

 

please help ive tried almost everything 

here are logs

 

 

 

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 Plex Media Server.
Starting dbus-daemon
[services.d] done.
dbus[275]: [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. ***
*** WARNING: Detected another IPv6 mDNS stack running on this host. This makes mDNS unreliable and is thus not recommended. ***
Joining mDNS multicast group on interface veth0afd1be.IPv6 with address fe80::f6:5ff:febd:cca9.
New relevant interface veth0afd1be.IPv6 for mDNS.
Joining mDNS multicast group on interface vethd14ef46.IPv6 with address fe80::c41e:64ff:fe4e:b6e7.
New relevant interface vethd14ef46.IPv6 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 vethfc6124b.IPv6 with address fe80::85c:4ff:fe34:8997.
New relevant interface vethfc6124b.IPv6 for mDNS.
Joining mDNS multicast group on interface veth52c8337.IPv6 with address fe80::4848:17ff:fe7d:ccfc.
New relevant interface veth52c8337.IPv6 for mDNS.
Joining mDNS multicast group on interface veth6eefde4.IPv6 with address fe80::1c25:97ff:fedf:570a.
New relevant interface veth6eefde4.IPv6 for mDNS.
Joining mDNS multicast group on interface docker0.IPv6 with address fe80::42:72ff:fe19:3bc0.
New relevant interface docker0.IPv6 for mDNS.
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 br0.IPv6 with address fe80::943b:aff:fe84:c869.
New relevant interface br0.IPv6 for mDNS.
Joining mDNS multicast group on interface br0.IPv4 with address 192.168.1.65.
New relevant interface br0.IPv4 for mDNS.
Joining mDNS multicast group on interface bond0.IPv6 with address fe80::1e87:2cff:fe76:1e1a.
New relevant interface bond0.IPv6 for mDNS.
Network interface enumeration completed.
Registering new address record for fe80::f6:5ff:febd:cca9 on veth0afd1be.*.
Registering new address record for fe80::c41e:64ff:fe4e:b6e7 on vethd14ef46.*.
Registering new address record for 192.168.122.1 on virbr0.IPv4.
Registering new address record for fe80::85c:4ff:fe34:8997 on vethfc6124b.*.
Registering new address record for fe80::4848:17ff:fe7d:ccfc on veth52c8337.*.
Registering new address record for fe80::1c25:97ff:fedf:570a on veth6eefde4.*.
Registering new address record for fe80::42:72ff:fe19:3bc0 on docker0.*.
Registering new address record for 172.17.0.1 on docker0.IPv4.
Registering new address record for fe80::943b:aff:fe84:c869 on br0.*.
Registering new address record for 192.168.1.65 on br0.IPv4.
Registering new address record for fe80::1e87:2cff:fe76:1e1a on bond0.*.
Server startup complete. Host name is AMD-Tower.local. Local service cookie is 18989884.
connect: Connection timed out
connect: Connection timed out
connect: Connection timed out
connect: Connection timed out
connect: Connection timed out
connect: Connection timed out
connect: Connection timed out

Edited by potato
more log
Link to comment
On 8/5/2018 at 3:31 PM, Squid said:

 

If your server is actually crashing, installing Fix Common Problems and tossing it into troubleshooting mode (and following the directions) might help.

 

The Plex Server, not UnRaid itself nor the Docker engine are crashing.

Link to comment
57 minutes ago, Squid said:

Then the logs from Plex might help.  Docker Page, click the log button 

Can't see much there... just ran it to make it crash... Here is the log...

 

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: 76
User gid: 45
-------------------------------------

[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.
dbus[273]: [system] org.freedesktop.DBus.Error.AccessDenied: Failed to set fd limit to 65536: Operation not permitted
[services.d] done.
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.
Joining mDNS multicast group on interface eth0.IPv4 with address 192.168.178.2.
New relevant interface eth0.IPv4 for mDNS.
Network interface enumeration completed.
Registering new address record for 192.168.178.2 on eth0.IPv4.
Server startup complete. Host name is 62f57cb44b5e.local. Local service cookie is 3298204832.

Link to comment

I had the linuxserver Plex running fine on my unRAID server and then I decided to swap out my cache drive for a larger one.  I lost Plex in the process because the appdata folder was on the old cache drive.  It tried reinstalling Plex, but I mistakenly installed the limetech PlexMediaServer version.  I tried adding libraries using the web GUI with no luck.  When I browsed for folders it displayed what you see in the attached image.  I can't see any of the media files on my server.  How do I get to the shares on my server?

 

image.thumb.png.95cf3a17c6d6a6cca9bbe525a130d9f8.png

Link to comment
1 hour ago, captain_video said:

I had the linuxserver Plex running fine on my unRAID server and then I decided to swap out my cache drive for a larger one.  I lost Plex in the process because the appdata folder was on the old cache drive.  It tried reinstalling Plex, but I mistakenly installed the limetech PlexMediaServer version.  I tried adding libraries using the web GUI with no luck.  When I browsed for folders it displayed what you see in the attached image.  I can't see any of the media files on my server.  How do I get to the shares on my server?

 

You should have used Community Applications Previous Apps feature to reinstall your docker as it was originally. You will have to figure out what you did before. Most likely you don't have any volumes mapped to your media.

Link to comment
1 hour ago, trurl said:

 

You should have used Community Applications Previous Apps feature to reinstall your docker as it was originally. You will have to figure out what you did before. Most likely you don't have any volumes mapped to your media.

I checked the Previously Installed Apps and it says No Matching Content Found.  How would I map volumes to my media?  I haven't changed anything in my setup that I'm aware of since I first installed Plex.  I don't recall having any problems setting Plex up before.

 

I installed the latest linuxserver Plex and disabled the limetech PlexMediaServer so they're both installed, but only the linuxserver Plex is running.  I have the same issues with both versions of Plex.

Edited by captain_video
Link to comment
2 minutes ago, trurl said:

 

If you don't know that you don't know how to use dockers.

 

Here is the FAQ:

 

https://lime-technology.com/forums/topic/57181-real-docker-faq/

 

It's been quite some time since I set it up so I've forgotten a lot of things since then.  After looking at the FAQ it jogged my memory about some of the things I did before to get it working.  Thanks for pushing me in the right direction.

Link to comment
13 hours ago, captain_video said:

I checked the Previously Installed Apps and it says No Matching Content Found

Unless you also set up a new flash drive at the same time as the cache drive, this is unlikely.  Unless your flash drive is removed or dropped offline.  Maybe at your convenience go back to Previous Apps, and then post your diagnostics.

Link to comment

I reinstalled the linuxserver Plex docker and finally got the volumes mapped correctly.  The Plex webGUI couldn't find the shares in unRAID because I was entering the wrong paths in the entry fields.  It's currently in the process of rebuilding the libraries.  The flash drive is the same one that's been plugged into my server going on about ten years now.  I don't know why it didn't show up under the previously installed apps, but there was nothing there.  Plex is the only docker I have installed.

 

I try to keep unRAID up to date.  I'm wondering if files get purged after a certain amount of time or if they get deleted when updating the OS.  FWIW, I had uninstalled the limetech Plex docker and that is now showing up in the previous apps as you would expect.

Edited by captain_video
Link to comment

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.