rbm Posted April 1, 2018 Share Posted April 1, 2018 3 hours ago, CHBMB said: Post your docker run command. Link in my sig Please find the Run command below: 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' c46d54c36af23e16f030061a03ac3d6419fc6fe6ec4a9124c57ebac80e2aa074 The command finished successfully! Quote Link to comment
aptalca Posted April 1, 2018 Share Posted April 1, 2018 1 hour ago, rbm said: Please find the Run command below: 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' c46d54c36af23e16f030061a03ac3d6419fc6fe6ec4a9124c57ebac80e2aa074 The command finished successfully! Plex is crashing on you. Check the plex media server log in the config folder. Likely a corrupted database, in which case you can restore from a backup (plex does automatic db backups). Or it could be permissions related. Either way, the log will tell you Quote Link to comment
noties Posted April 1, 2018 Share Posted April 1, 2018 5 hours ago, noties said: Hi there, I just upgraded to 6.5.0 from 6.3.5 and right after the upgrade, Plex is no longer pulling down Movie posters or backgrounds. I'm wondering if this may be related to any changes in docker networking or configuration changes in 6.5. This was working perfectly right up until the UnRAID OS upgrade. I see some strange errors in the PlexMediaServer.log but not yielding anything in Plex forums or Google and I'm pretty sure it's related to something in UnRAID. And I see some errors in com.plexapp.agents.imdb.log INFO (__init__:1472) - Error fetching JSON from The Movie Database: http://127.0.0.1:32400/services/tmdb?uri=%2Fmovie%2Ftt0118842%3Fappend_to_response%3Dreleases%2Ccredits%26language%3Den 2018-03-31 14:45:34,766 (14934930f700) : DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/services/tmdb?uri=%2Fmovie%2Ftt0118842%3Fappend_to_response%3Dreleases%2Ccredits%26language%3D' 2018-03-31 14:45:49,798 (14934930f700) : ERROR (networking:219) - Error opening URL 'http://127.0.0.1:32400/services/tmdb?uri=%2Fmovie%2Ftt0118842%3Fappend_to_response%3Dreleases%2Ccredits%26language%3D' 2018-03-31 14:45:49,799 (14934930f700) : INFO (__init__:1472) - Error fetching JSON from The Movie Database: http://127.0.0.1:32400/services/tmdb?uri=%2Fmovie%2Ftt0118842%3Fappend_to_response%3Dreleases%2Ccredits%26language%3D 2018-03-31 14:45:49,804 (14934930f700) : DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/services/tmdb?uri=%2Fmovie%2Ftt0118842%2Fimages' 2018-03-31 14:46:04,836 (14934930f700) : ERROR (networking:219) - Error opening URL 'http://127.0.0.1:32400/services/tmdb?uri=%2Fmovie%2Ftt0118842%2Fimages' 2018-03-31 14:46:04,837 (14934930f700) : INFO (__init__:1472) - Error fetching JSON from The Movie Database: http://127.0.0.1:32400/services/tmdb?uri=%2Fmovie%2Ftt0118842%2Fimages 2018-03-31 14:46:04,837 (14934930f700) : INFO (__init__:566) - Unable to get TMDb movie data (in Plex Movie) for 0118842: argument of type 'NoneType' is not iterable 2018-03-31 14:46:04,838 (14934930f700) : DEBUG (networking:166) - Requesting 'https://meta.plex.tv/m/0118842?lang=en&ratings=1&reviews=1&extras=1' 2018-03-31 14:46:04,991 (14934930f700) : DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/services/tmdb?uri=%2Fmovie%2Ftt0118842%3Fappend_to_response%3Dreleases%2Ccredits%26language%3D' 2018-03-31 14:46:20,021 (14934930f700) : ERROR (networking:219) - Error opening URL 'http://127.0.0.1:32400/services/tmdb?uri=%2Fmovie%2Ftt0118842%3Fappend_to_response%3Dreleases%2Ccredits%26language%3D' 2018-03-31 14:46:20,021 (14934930f700) : INFO (__init__:1472) - Error fetching JSON from The Movie Database: http://127.0.0.1:32400/services/tmdb?uri=%2Fmovie%2Ftt0118842%3Fappend_to_response%3Dreleases%2Ccredits%26language%3D 2018-03-31 14:46:20,027 (14934930f700) : DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/services/tmdb?uri=%2Fmovie%2Ftt0118842%3Fappend_to_response%3Dreleases%2Ccredits%26language%3D' 2018-03-31 14:46:35,061 (14934930f700) : ERROR (networking:219) - Error opening URL 'http://127.0.0.1:32400/services/tmdb?uri=%2Fmovie%2Ftt0118842%3Fappend_to_response%3Dreleases%2Ccredits%26language%3D' 2018-03-31 14:46:35,062 (14934930f700) : INFO (__init__:1472) - Error fetching JSON from The Movie Database: http://127.0.0.1:32400/services/tmdb?uri=%2Fmovie%2Ftt0118842%3Fappend_to_response%3Dreleases%2Ccredits%26language%3D I found this link: https://forums.plex.tv/discussion/259266/401-unauthorized-when-get-metadata-from-all It appears to be related to IPv6 which I have turned on in my network, but do not want Plex docker to pull an address. docker logs show Plex definitely pulling an IPv6 address. How do I go about disabling IPv6 completely in the docker? Registering new address record for 192.168.122.1 on virbr0.IPv4. Registering new address record for fe80::42:dfff:fef8:a351 on docker0.*. Registering new address record for 172.17.0.1 on docker0.IPv4. Registering new address record for 2600:5501:c14:1fa:428d:5cff:fe08:a280 on br0.*. Registering new address record for 10.1.1.99 on br0.IPv4. Registering new address record for fe80::428d:5cff:fe07:a280 on bond0.*. Quote Link to comment
rbm Posted April 1, 2018 Share Posted April 1, 2018 1 hour ago, aptalca said: Plex is crashing on you. Check the plex media server log in the config folder. Likely a corrupted database, in which case you can restore from a backup (plex does automatic db backups). Or it could be permissions related. Either way, the log will tell you Appears to be the case: Mar 31, 2018 23:45:55.758 [0x146c44bff700] INFO - Plex Media Server v1.12.1.4885-1046ba85f - ubuntu docker x86_64 - build: linux-ubuntu-x86_64 ubuntu - GMT -04:00 Mar 31, 2018 23:45:55.759 [0x146c44bff700] INFO - Linux version: 4.14.26-unRAID (#1 SMP PREEMPT Mon Mar 12 16:21:20 PDT 2018), language: en-US Mar 31, 2018 23:45:55.759 [0x146c44bff700] INFO - Processor AMD A8-5500 APU with Radeon(tm) HD Graphics Mar 31, 2018 23:45:55.759 [0x146c44bff700] INFO - /usr/lib/plexmediaserver/Plex Media Server Mar 31, 2018 23:45:55.756 [0x146c50607800] DEBUG - BPQ: [Idle] -> [Starting] Mar 31, 2018 23:45:55.759 [0x146c50607800] DEBUG - Opening 20 database sessions to library (com.plexapp.plugins.library), SQLite 3.13.0, threadsafe=1 Mar 31, 2018 23:45:55.864 [0x146c50607800] DEBUG - Running migrations. Mar 31, 2018 23:45:55.871 [0x146c50607800] ERROR - SQLITE3:0x10, 11, database corruption at line 59739 of [fc49f556e4] Mar 31, 2018 23:45:55.871 [0x146c50607800] ERROR - SQLITE3:0x10, 11, statement aborts at 10: [select max(max(metadata_items.changed_at),max(metadata_items.resources_changed_at)) from metadata_items] database disk image is malformed Mar 31, 2018 23:45:55.871 [0x146c50607800] ERROR - Database corruption: sqlite3_statement_backend::loadOne: database disk image is malformed I can start from scratch if necessary instead of attempting a DB repair/restore. Can I just completely uninstall the Plex instance and then delete all files left over in appdata after the uninstall? That seems to me to be the most expedient solution but I don't know if I'm getting myself into more hot water if I try. Quote Link to comment
Tyler Posted April 1, 2018 Share Posted April 1, 2018 (edited) 3 hours ago, rbm said: Please find the Run command below: 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' c46d54c36af23e16f030061a03ac3d6419fc6fe6ec4a9124c57ebac80e2aa074 The command finished successfully! Try mapping the /config path to a cache or disk share, rather than the user share. Will depend on where your “appdata” is stored, e.g. /mnt/cache/appdata/plex or /mnt/disk1/appdata/plex See this post for some details why: Edited April 1, 2018 by Tyler Quote Link to comment
trurl Posted April 1, 2018 Share Posted April 1, 2018 10 hours ago, rbm said: Please find the Run command below: 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' c46d54c36af23e16f030061a03ac3d6419fc6fe6ec4a9124c57ebac80e2aa074 The command finished successfully! Doesn't look like you have a mapping for any of your media. You should have used Community Applications - Previous Apps to reinstall with the previous settings. Quote Link to comment
rbm Posted April 1, 2018 Share Posted April 1, 2018 So, what I did was: - uninstalled the Plex docker - stopped the array - move the old plex directory out of the way - restarted the array - reinstalled the plex docker and included at least one media directory, pictures. Also made sure /config was mapped to /mnt/cache/appdata/plex as suggested Opening the Webgui link resulted in sucess. Plex is back up. Thanks for the help. I am much wiser about operating Plex now. Quote Link to comment
SRB Posted April 3, 2018 Share Posted April 3, 2018 It appears that my plex container has lost its connection to the internet. After noticing I couldn't access my server through the web app, I rebooted the container through the unraid gui, where it just hangs at [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... Atempting to upgrade to: 1.12.2.4929-29f6d1796 I went into the container itself to see what was up, and found that the last command run was a wget to grab the latest release, however the command never completes. To make sure it wasn't a larger problem, I tested the same wget command outside of the container, which runs just fine. Did something change with the network settings for the container? I haven't touched them in forever (i.e., years). Right now they are Quote Link to comment
DieFalse Posted April 3, 2018 Share Posted April 3, 2018 Any chance of UDEV being added to the Plex docker anytime soon? Last I heard the bug causing it not to install was fixed? Quote Link to comment
noties Posted April 4, 2018 Share Posted April 4, 2018 19 hours ago, SRB said: It appears that my plex container has lost its connection to the internet. After noticing I couldn't access my server through the web app, I rebooted the container through the unraid gui, where it just hangs at [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... Atempting to upgrade to: 1.12.2.4929-29f6d1796 I went into the container itself to see what was up, and found that the last command run was a wget to grab the latest release, however the command never completes. To make sure it wasn't a larger problem, I tested the same wget command outside of the container, which runs just fine. Did something change with the network settings for the container? I haven't touched them in forever (i.e., years). Right now they are SRB, I had this issue - it appeared to get fixed by making sure my firewall port forwarding was correct. I had been playing with the port forwarding and had some of it incorrect. Not sure if it'll fix your issue. Sounds like you haven't messed with anything, but give it a double look. Quote Link to comment
steve1977 Posted April 5, 2018 Share Posted April 5, 2018 On 3/30/2018 at 11:16 PM, steve1977 said: I got the docker running. I think I have some issues with the update library feature. I would like to scan the new movie to the library when adding a new movie to the library folder. I have quite a few movies, so don't want to do a complete scan. Enable "run a partial scan when changed are detected" - no scan activity once new movie is added Enable both "run a partial scan when changes are detected" and "update my library automatically" - scan happens once new movie is added, but all movies are scanned again, not just the added folder Any thoughts? I have posted on Plex forums, but haven't seen any replies. Would be good to know from this group whether this is working for anyone on Unraid with usershare? It feels like a very basic, but extremely critical feature to me. Quote Link to comment
endiz Posted April 6, 2018 Share Posted April 6, 2018 I keep getting "direct connection unavailable" while trying to connect to plex remotely. I've tried setting a static DNS (google 8.8.8.8) in unraid and the router, but i still have the issue.. does anyone have any recommendations? Quote Link to comment
Squid Posted April 6, 2018 Share Posted April 6, 2018 8 minutes ago, endiz said: I keep getting "direct connection unavailable" while trying to connect to plex remotely. I've tried setting a static DNS (google 8.8.8.8) in unraid and the router, but i still have the issue.. does anyone have any recommendations? Have you forwarded the appropriate port (32400) on the router? Quote Link to comment
endiz Posted April 6, 2018 Share Posted April 6, 2018 yes i manually forwarded it since i have upnp disabled. Quote Link to comment
endiz Posted April 6, 2018 Share Posted April 6, 2018 8 hours ago, endiz said: yes i manually forwarded it since i have upnp disabled. Update: I was using the new cloudflare DNS and it seems to be causing the direct connection issues. Coincidentally, my ISP was having the same issue which is why I switched to the cloudflare DNS. I just switched to google DNS (8.8.8.8) and everything seems to be working. Quote Link to comment
Maticks Posted April 7, 2018 Share Posted April 7, 2018 i did a Plex update on my docker and the update is causing some issues with my tv stopping video stream after 30 seconds exactly of playing. Just throws me off the server, so how do i roll back the docker update? Is there an easy command to roll this thing back. Quote Link to comment
trurl Posted April 7, 2018 Share Posted April 7, 2018 4 hours ago, Maticks said: i did a Plex update on my docker and the update is causing some issues with my tv stopping video stream after 30 seconds exactly of playing. Just throws me off the server, so how do i roll back the docker update? Is there an easy command to roll this thing back. You can specify the plex version as documented in both the Docker hub and github links in the first post of this thread. Quote Link to comment
Poprin Posted April 7, 2018 Share Posted April 7, 2018 On 08/03/2018 at 2:05 PM, squirrellydw said: I want to edit a plex profile but I can find where it is. Its supposedly under Resources->Profiles but I can't find that on my server, any idea? I want to edit this out <!-- Allow Direct Play of HLS content --> <!-- <VideoProfile protocol="hls" container="mpegts" codec="h264" audioCodec="aac" /> --> @squirrellydw I to would like to edit my Chromecast profile but it does not appear where expected when I'm looking on other forum resources (not specifically for unraid docker) It is quoted as being at this location > plexmediaserver/Library/Application Support/Plex Media Server/Profiles However the profiles folder does not exist in my cache/appdata location for Plex? Can anyone advise if the docker stores these profiles elsewhere? Quote Link to comment
amb5014 Posted April 8, 2018 Share Posted April 8, 2018 I recently upgraded my unraid server to 6.5.0 and ever since then my Plex server has been crashing after playing a media file for a short amount of time. The log shows the plex server shutting down "DEBUG - Shutting down with signal 15", but nothing more that I can see. This has all been since I updated to the latest unraid version. My plex version is 1.12.2.4929. Any help would be greatly appreciated. Quote Link to comment
jtcweb Posted April 10, 2018 Share Posted April 10, 2018 Hello, I don't know if anyone uses the Brave browser but I get stuck in a sign in loop. When I open the Plex WebUI and click on settings it sends me to the Plex website to login. I login and then go back to my UnRaid/Plex WebUI just to get sent back to the Plex website with a message "There was an error signing in". However I'm logged into the Plex website on another tab. I tried it in Chrome and it works. Regards, Jerry Quote Link to comment
jtcweb Posted April 10, 2018 Share Posted April 10, 2018 Unable to Find Media Folders Hello, I'm trying to setup Plex Server and when I "Browse For Media Folder" I cannot find my media folders. The mnt directory is empty (within Plex) and I know that is where they are as I can see them when I browse the shares in the UnRaid WebUI I can see (for example) /mnt/user/TV Shows. It looks like I'm not starting at the root of the server when I'm browsing in the Plex setup web page. I don't see anything in the Docker -> Edit that allows me to set a path to the media. Thanks, Jerry Quote Link to comment
trurl Posted April 10, 2018 Share Posted April 10, 2018 1 minute ago, jtcweb said: Unable to Find Media Folders Hello, I'm trying to setup Plex Server and when I "Browse For Media Folder" I cannot find my media folders. The mnt directory is empty (within Plex) and I know that is where they are as I can see them when I browse the shares in the UnRaid WebUI I can see (for example) /mnt/user/TV Shows. It looks like I'm not starting at the root of the server when I'm browsing in the Plex setup web page. I don't see anything in the Docker -> Edit that allows me to set a path to the media. Thanks, Jerry Sounds like you don't really understand volume mapping. Have you read the Docker FAQ? Are you following any guides to set this up? Quote Link to comment
jtcweb Posted April 10, 2018 Share Posted April 10, 2018 (edited) 1 hour ago, trurl said: Sounds like you don't really understand volume mapping. Have you read the Docker FAQ? Are you following any guides to set this up? I know that this is where my problem is. However I cannot find the instructions to tell me how to do this. I did find these instructions but I cannot find how to get to the volume mappings as shown. I don't know if it is supposed to be in the config for that individual docker or someplace else. For Sabnzb there were places in the Docker edit for me to set the path for downloads. In the case of this Plex Docker there is a AppData Config Path under more settings. There is also a note near the top that states "/media Map this to your media, you can use several submappings here", but I cannot find anyplace in the Docker Edit screen that lets me set the /media path. ****************************************************** I figured it out by looking at the /config one and using the "Add another path" link. I still cannot find anyplace that describes how this should be filled out, I just played around with copying what was already there for /config. Edited April 10, 2018 by jtcweb Quote Link to comment
trurl Posted April 10, 2018 Share Posted April 10, 2018 9 minutes ago, jtcweb said: I know that this is where my problem is. However I cannot find the instructions to tell me how to do this. I did find these instructions but I cannot find how to get to the volume mappings as shown. I don't know if it is supposed to be in the config for that individual docker or someplace else. For Sabnzb there were places in the Docker edit for me to set the path for downloads. In the case of this Plex Docker there is a AppData Config Path under more settings. There is also a note near the top that states "/media Map this to your media, you can use several submappings here", but I cannot find anyplace in the Docker Edit screen that lets me set the /media path. Did you use Community Applications to get started with this? Are you actually using the linuxserverio plex docker or some other plex docker? Quote Link to comment
Harro Posted April 10, 2018 Share Posted April 10, 2018 23 minutes ago, jtcweb said: I know that this is where my problem is. However I cannot find the instructions to tell me how to do this. I did find these instructions but I cannot find how to get to the volume mappings as shown. I don't know if it is supposed to be in the config for that individual docker or someplace else. For Sabnzb there were places in the Docker edit for me to set the path for downloads. In the case of this Plex Docker there is a AppData Config Path under more settings. There is also a note near the top that states "/media Map this to your media, you can use several submappings here", but I cannot find anyplace in the Docker Edit screen that lets me set the /media path. ****************************************************** I figured it out by looking at the /config one and using the "Add another path" link. I still cannot find anyplace that describes how this should be filled out, I jut played around with copying what was already there for /config. Does this picture help you any? Quote Link to comment
Recommended Posts
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.