GMAsterAU Posted December 25, 2019 Share Posted December 25, 2019 Hi all, I seem to have stumbled across a peculiar problem. When I recently try to transcode/optimize a 4K video file (mp4, HEVC), the progress status indicates a negative percentage value. I remember it to have worked fine in the past. Other encodes appear to be working fine @1080p. Has anyone seen this before, and is it an issue with the GPU I am trying to use (GTX1050Ti)? What information can I provide that could help shed some light on this mystery? Thanks in advance! Setup: Unraid 6.8.0 (Nvidia) Plex 4.12.3 (linuxserver) GPU: GTX1050Ti Quote Link to comment
saarg Posted December 26, 2019 Share Posted December 26, 2019 Probably best to post this over at the Plex forum. Quote Link to comment
guyonphone Posted December 30, 2019 Share Posted December 30, 2019 (edited) Hello, I am interested in using the following script with this docker container: Plex Autoscan I am concerned that if I go through the install and configuration, that it will just be overwritten the next time the docker is updated. Is there a way for me to do this? Thanks Edited December 30, 2019 by guyonphone Quote Link to comment
aptalca Posted December 30, 2019 Share Posted December 30, 2019 10 hours ago, guyonphone said: Hello, I am interested in using the following script with this docker container: Plex Autoscan I am concerned that if I go through the install and configuration, that it will just be overwritten the next time the docker is updated. Is there a way for me to do this? Thanks According to the readme, you're supposed to run it on your host, not inside the plex container Quote Link to comment
jaybee Posted December 30, 2019 Share Posted December 30, 2019 Hi all, Recently installed plex LSIO and nvidia unraid both on latest versions. I've been reading up the best I can on all the info and was wondering if someone can confirm that I'm correct on the below right now at time of writing: 1: The official plex apps/dockers did not support Nvidia Hardware decode specifically (hardware encode was enabled and had been working for some time) up until it was recently officially added around June 2019. 2: Before the above happened, there was a workaround which mainly involved a "hack" or wrapper script of some kind which altered ffmpeg included with plex to flag that it can do Nvidia hardware decoding. (I'm yet to find this separate thread where this is supposedly discussed and often referred to in this very thread so have only been able to take snippets from various places). 3: Soon after (1) occurred above, the docker plex images were updated (including this one) to also include the ability to Nvidia hardware decode as well as encode. 4: Therefore simply installing the latest version of LSIO plex does indeed work out of the box with Nvidia Hardware decoding and encoding, so long as it is bundled with nvidia unraid to allow pass through of nvidia gpu to the plex container. (I'm assuming the bolded part is required and it would not work with official unraid). 5: Nvidia hardware decode and encode has worked for ages on windows and hence people have previously worked around the linux issues with using windows VMs. 6: Updating to the latest official unraid new releases could break nvidia hardware decoding since nvidia unraid could break underneath, so best to wait for this to also be updated first. Sorry if I got any of the above wrong. Quote Link to comment
jaybee Posted December 30, 2019 Share Posted December 30, 2019 (edited) I assume Nvidia hardware decoding/encoding are both working for me based on below images? Edited December 30, 2019 by jaybee Quote Link to comment
aptalca Posted December 31, 2019 Share Posted December 31, 2019 4 hours ago, jaybee said: Hi all, Recently installed plex LSIO and nvidia unraid both on latest versions. I've been reading up the best I can on all the info and was wondering if someone can confirm that I'm correct on the below right now at time of writing: 1: The official plex apps/dockers did not support Nvidia Hardware decode specifically (hardware encode was enabled and had been working for some time) up until it was recently officially added around June 2019. 2: Before the above happened, there was a workaround which mainly involved a "hack" or wrapper script of some kind which altered ffmpeg included with plex to flag that it can do Nvidia hardware decoding. (I'm yet to find this separate thread where this is supposedly discussed and often referred to in this very thread so have only been able to take snippets from various places). 3: Soon after (1) occurred above, the docker plex images were updated (including this one) to also include the ability to Nvidia hardware decode as well as encode. 4: Therefore simply installing the latest version of LSIO plex does indeed work out of the box with Nvidia Hardware decoding and encoding, so long as it is bundled with nvidia unraid to allow pass through of nvidia gpu to the plex container. (I'm assuming the bolded part is required and it would not work with official unraid). 5: Nvidia hardware decode and encode has worked for ages on windows and hence people have previously worked around the linux issues with using windows VMs. 6: Updating to the latest official unraid new releases could break nvidia hardware decoding since nvidia unraid could break underneath, so best to wait for this to also be updated first. Sorry if I got any of the above wrong. Correct. Stock unraid does not have the necessary nvidia drivers or the nvidia runtime required. The nvidia plugin allows you to install custom builds of unraid that include the necessary drivers and docker runtime. Only install the unraid builds via the nvidia plugin to make sure that your Plex container continues to use nvidia hw transcode. And yes, until recently, Plex only supported hw encode. Now it supports both. No need for other scripts or wrappers. Just the custom unraid build and the linuxserver container make it work. Quote Link to comment
drpete Posted January 1, 2020 Share Posted January 1, 2020 Hi Guys, I installed a quadro P2200 with unraid 6.8 stable and have a crazy memory leak going on. Not sure if I should post this in the Nvidia plug in thread or not but I will start here. Here is the diagnostic file and I would love some suggesstions as you will see this thing crashes like crazy. There were errors with the sata drive but I moved it to another sata connector on the motherboard and no errors since (with that) Anyway thanks again for any help unraid-diagnostics-20200101-0804.zip Quote Link to comment
drpete Posted January 1, 2020 Share Posted January 1, 2020 3 hours ago, BRiT said: Answered in your other thread, the memory leak in Plex is a plex issue so you need to stop cross posting in LSIO threads and post in Plex forum. Will do. Thanks for the help. I cross posted as I figured plex would say nvidia plugin and nvidia plugin would say plex. I guess I was completely wrong because this isnt even LSIO Plex, but needs to be in the main plex forum. Will try there, hopefully they dont say check here or with nvidia plugin. Will try there and if it gets figured out I will mention it here in case anyone has the same problem. Thanks again Quote Link to comment
saarg Posted January 1, 2020 Share Posted January 1, 2020 34 minutes ago, drpete said: Will do. Thanks for the help. I cross posted as I figured plex would say nvidia plugin and nvidia plugin would say plex. I guess I was completely wrong because this isnt even LSIO Plex, but needs to be in the main plex forum. Will try there, hopefully they dont say check here or with nvidia plugin. Will try there and if it gets figured out I will mention it here in case anyone has the same problem. Thanks again Plex usually knows what is a problem in their software or in the container. So shouldn't be a problem going to the official forum. Quote Link to comment
drpete Posted January 1, 2020 Share Posted January 1, 2020 Thank you...I will try there... Quote Link to comment
DZMM Posted January 2, 2020 Share Posted January 2, 2020 I'm struggling to block some undesired users because of PlexRelay kicking in if I block the IP address. Is there a way to disable Plex relay in the docker? These posts have some methods, but I'm tying to find a more elegant/permanent solution using this docker. Thanks Quote Link to comment
aptalca Posted January 3, 2020 Share Posted January 3, 2020 1 hour ago, DZMM said: I'm struggling to block some undesired users because of PlexRelay kicking in if I block the IP address. Is there a way to disable Plex relay in the docker? These posts have some methods, but I'm tying to find a more elegant/permanent solution using this docker. Thanks See the article on our blog titled "customizing our containers" and you can create an init script that deletes it on container start 1 Quote Link to comment
DZMM Posted January 3, 2020 Share Posted January 3, 2020 19 minutes ago, aptalca said: See the article on our blog titled "customizing our containers" and you can create an init script that deletes it on container start Thanks - I'll have a play over the weekend Quote Link to comment
anongum Posted January 3, 2020 Share Posted January 3, 2020 Hi, I'm quite new to unraid so this might sound like a real noob question. I installed the docker image, and when trying to add my first library I found out that I can't navigate to the files and folder contained in my main share. How can I solve this? Do I need to give plex access to the share in some way which is unknown to me? Any help is really appreciated, thanks. I'm Quote Link to comment
wgstarks Posted January 3, 2020 Share Posted January 3, 2020 2 minutes ago, anongum said: How can I solve this? Probably means you haven’t configured your container paths correctly. You should include your docker run command in your next post. https://forums.unraid.net/topic/57181-docker-faq/ Quote Link to comment
DZMM Posted January 3, 2020 Share Posted January 3, 2020 16 hours ago, aptalca said: See the article on our blog titled "customizing our containers" and you can create an init script that deletes it on container start I've read, but I'd rather use the user_scripts plugin so I can remember I did this. Would this modify the docker if I run hourly? #!/bin/bash docker exec -it plex /bin/bash rm -f PlexRelay exit exit Quote Link to comment
saarg Posted January 3, 2020 Share Posted January 3, 2020 1 minute ago, DZMM said: I've read, but I'd rather use the user_scripts plugin so I can remember I did this. Would this modify the docker if I run hourly? #!/bin/bash docker exec -it plex /bin/bash rm -f PlexRelay exit exit It will not, as you don't have the correct name or path to plex relay by looking at the reddit link. Quote Link to comment
DZMM Posted January 3, 2020 Share Posted January 3, 2020 27 minutes ago, saarg said: It will not, as you don't have the correct name or path to plex relay by looking at the reddit link. Thanks - I'm researching how to browse a docker to find the correct location Quote Link to comment
saarg Posted January 3, 2020 Share Posted January 3, 2020 (edited) 2 hours ago, DZMM said: Thanks - I'm researching how to browse a docker to find the correct location It says where in the reddit thread: Linux: /usr/lib/plexmediaserver/Plex Relay Edited January 3, 2020 by saarg Quote Link to comment
cypres0099 Posted January 3, 2020 Share Posted January 3, 2020 (edited) PLEX SERVER UNREACHABLE AFTER RYZEN 9 UPGRADE Today I upgraded from an old AMD processor to a Ryzen 9 3900x and a ASrock x370 Professional Gaming Motherboard. I got everything up and running, but Plex is acting strangely, Selecting the webui shows the server as unreachable. Sometimes I can access the plex server from my phone or Nvidia shield on the local network momentarily and then it drops again. Any idea what could be going on? UPDATE: Now clicking on Webui from the docker no longer takes me to plex admin. It's just showing "site can't be reached" Edited January 4, 2020 by cypres0099 Quote Link to comment
cypres0099 Posted January 4, 2020 Share Posted January 4, 2020 (edited) Edited January 4, 2020 by cypres0099 Quote Link to comment
krh1009 Posted January 4, 2020 Share Posted January 4, 2020 I get an "attempting to upgrade" message when I restart the docker and a long pause before it completes, is this new? Should it happen every time I restart plex? ------------------------------------- _ () | | ___ _ __ | | / __| | | / \ | | \__ \ | | | () | |_| |___/ |_| \__/ Brought to you by linuxserver.io We gratefully accept donations at: https://www.linuxserver.io/donate/ ------------------------------------- GID/UID ------------------------------------- User uid: 999 User gid: 100 ------------------------------------- [cont-init.d] 10-adduser: exited 0. [cont-init.d] 40-chown-files: executing... [cont-init.d] 40-chown-files: exited 0. [cont-init.d] 45-plex-claim: executing... [cont-init.d] 45-plex-claim: exited 0. [cont-init.d] 50-gid-video: executing... [cont-init.d] 50-gid-video: exited 0. [cont-init.d] 60-plex-update: executing... Atempting to upgrade to: 1.18.4.2171-ac2afe5f8 2020-01-03 21:58:43 URL:https://downloads.plex.tv/plex-media-server-new/1.18.4.2171-ac2afe5f8/debian/plexmediaserver_1.18.4.2171-ac2afe5f8_amd64.deb [86833802/86833802] -> "/tmp/plexmediaserver_1.18.4.2171-ac2afe5f8_amd64.deb" [1] (Reading database ... 10445 files and directories currently installed.) Preparing to unpack .../plexmediaserver_1.18.4.2171-ac2afe5f8_amd64.deb ... Unpacking plexmediaserver (1.18.4.2171-ac2afe5f8) over (1.18.3.2156-349e9837e) ... Setting up plexmediaserver (1.18.4.2171-ac2afe5f8) ... Processing triggers for libc-bin (2.27-3ubuntu1) ... [cont-init.d] 60-plex-update: exited 0. [cont-init.d] 99-custom-scripts: executing... [custom-init] no custom files found exiting... [cont-init.d] 99-custom-scripts: exited 0. [cont-init.d] done. [services.d] starting services Starting Plex Media Server. [services.d] done. Quote Link to comment
cypres0099 Posted January 4, 2020 Share Posted January 4, 2020 4 hours ago, cypres0099 said: PLEX SERVER UNREACHABLE AFTER RYZEN 9 UPGRADE Today I upgraded from an old AMD processor to a Ryzen 9 3900x and a ASrock x370 Professional Gaming Motherboard. I got everything up and running, but Plex is acting strangely, Selecting the webui shows the server as unreachable. Sometimes I can access the plex server from my phone or Nvidia shield on the local network momentarily and then it drops again. Any idea what could be going on? UPDATE: Now clicking on Webui from the docker no longer takes me to plex admin. It's just showing "site can't be reached" Quick update... It turns out that I was apparently not running the linuxserver docker of plex, but rather the Plexinc version. That's a tidbit I found out after removing the docker to try reinstalling. So anyway, I attempted to reinstall with the linuxserver version, but I was getting an error saying my certification has expired and it wouldn't pull the docker. Poked around on google and unraid forms and found out that error can come from an incorrect date/time setting. Upon checking, my date and time setting had been set to the date on which the updated bios had been released (Aug 3, 2019). So I manually corrected the date/time and the docker pulled and installed correctly. My guess is that my problems with the original plex install were likely related to this too, but it's too late since I deleted it. All the appdata is showing up correctly, but I had to re-add the libraries before it would play any of the content correctly becuase the linuxserver distro uses path mapping. So that was fun! Quote Link to comment
saarg Posted January 4, 2020 Share Posted January 4, 2020 5 hours ago, krh1009 said: I get an "attempting to upgrade" message when I restart the docker and a long pause before it completes, is this new? Should it happen every time I restart plex? ------------------------------------- _ () | | ___ _ __ | | / __| | | / \ | | \__ \ | | | () | |_| |___/ |_| \__/ Brought to you by linuxserver.io We gratefully accept donations at: https://www.linuxserver.io/donate/ ------------------------------------- GID/UID ------------------------------------- User uid: 999 User gid: 100 ------------------------------------- [cont-init.d] 10-adduser: exited 0. [cont-init.d] 40-chown-files: executing... [cont-init.d] 40-chown-files: exited 0. [cont-init.d] 45-plex-claim: executing... [cont-init.d] 45-plex-claim: exited 0. [cont-init.d] 50-gid-video: executing... [cont-init.d] 50-gid-video: exited 0. [cont-init.d] 60-plex-update: executing... Atempting to upgrade to: 1.18.4.2171-ac2afe5f8 2020-01-03 21:58:43 URL:https://downloads.plex.tv/plex-media-server-new/1.18.4.2171-ac2afe5f8/debian/plexmediaserver_1.18.4.2171-ac2afe5f8_amd64.deb [86833802/86833802] -> "/tmp/plexmediaserver_1.18.4.2171-ac2afe5f8_amd64.deb" [1] (Reading database ... 10445 files and directories currently installed.) Preparing to unpack .../plexmediaserver_1.18.4.2171-ac2afe5f8_amd64.deb ... Unpacking plexmediaserver (1.18.4.2171-ac2afe5f8) over (1.18.3.2156-349e9837e) ... Setting up plexmediaserver (1.18.4.2171-ac2afe5f8) ... Processing triggers for libc-bin (2.27-3ubuntu1) ... [cont-init.d] 60-plex-update: exited 0. [cont-init.d] 99-custom-scripts: executing... [custom-init] no custom files found exiting... [cont-init.d] 99-custom-scripts: exited 0. [cont-init.d] done. [services.d] starting services Starting Plex Media Server. [services.d] done. That is normal if you set the version variable to latest. But why did you set your PUID to 999? If you use unraid that should be 99. 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.