binhex Posted November 14, 2022 Author Share Posted November 14, 2022 On 11/10/2022 at 1:53 AM, BrianB said: I lost power yesterday and now none of my plex clients can connect to the server. When I launch the WEBUI from inside the Docker tab in Unraid, I get "This site can't be reached" Is there something that needs to be reset? The link it is trying to load is my server address:32400/web/index.html Thanks, Brian see Q4:- https://github.com/binhex/documentation/blob/master/docker/faq/plex.md Quote Link to comment
BrianB Posted November 16, 2022 Share Posted November 16, 2022 On 11/14/2022 at 1:26 AM, binhex said: see Q4:- https://github.com/binhex/documentation/blob/master/docker/faq/plex.md I renamed the database files (2 of them) as is stated in the instructions to two days before the power failure, but nothing is different. When I launch the WebUI I get the same message. B. Quote Link to comment
binhex Posted November 16, 2022 Author Share Posted November 16, 2022 1 hour ago, BrianB said: I renamed the database files (2 of them) as is stated in the instructions to two days before the power failure, but nothing is different. When I launch the WebUI I get the same message. B. im assuming then that because you followed the instructions in Q5 that you are indeed seeing the message in your plex log regards corruption, right?. if you are still seeing corruption in the log even when rolling back then you will have to try an earlier backup, try the repair procedure (linked in Q5) or go from fresh. Quote Link to comment
BrianB Posted November 17, 2022 Share Posted November 17, 2022 18 hours ago, binhex said: im assuming then that because you followed the instructions in Q5 that you are indeed seeing the message in your plex log regards corruption, right?. if you are still seeing corruption in the log even when rolling back then you will have to try an earlier backup, try the repair procedure (linked in Q5) or go from fresh. Ok. I just deleted everything and reinstalled and I'm up and running. Hope there won't be a next time. Thanks, Brian Quote Link to comment
binhex Posted November 17, 2022 Author Share Posted November 17, 2022 12 hours ago, BrianB said: Hope there won't be a next time. install plugin 'Appdata Backup/Restore v2' and configure it and there won't be 🙂 Quote Link to comment
BrianB Posted November 27, 2022 Share Posted November 27, 2022 On 11/17/2022 at 8:50 AM, binhex said: install plugin 'Appdata Backup/Restore v2' and configure it and there won't be 🙂 I have it. I just don't know how to use it. Quote Link to comment
BAZOOKAPANDA Posted December 31, 2022 Share Posted December 31, 2022 Hey not sure if this is the right place for this but hey. I am having trouble connecting to plex reliably. Every now and again (every few days or so) I am just no longer able to connect to plex form other devices or through the web UI, it just says problem loading page. It is set to host and my understanding is that in this configuration it is normal for there to not be a port (in docker allocations there is "???", this is what I saw on a thread). I have tried setting to bridge and than a web UI tab won't even open and using either one of my network adapters (one is DHCP one is static) it will just say config failed and I have to install from previous versions. This usually happens after my server is turned off (in my country we have something called load shedding so everything in my house getting turned off is unavoidable). The only fix for this is a complete reinstall of plex which means I have to reconnect all my libraies and rebuild all of my playlists. In the logs all I get is "Failed to load preferences at /config/Plex Media Server/Preferences.xml". I have searched this multiple times and I am decent at getting the results that are useful but nothing has helped me. My other containers seem to work including Emby witch I would honestly swap to if I liked the UI as much as Plex's but I don't. Does anyone have any ideas as to what I can do? Thank you Quote Link to comment
BBergle Posted December 31, 2022 Share Posted December 31, 2022 (edited) Hello! I am having a weird issue with hardware acceleration. Whenever I convert a high bitrate 1080p stream to an 8mbps 1080 stream Plex does not use my GPU for transcoding, only the CPU. When I convert the 1080p stream to 720p the GPU instantly kicks in and starts to transcode. Is there any way to make the 1080p streams transcode on the GPU? Here are some screen shots showing that the 1080p transcode is not hardware accelerated but the 1080 to 720 is. Thanks! EDIT: I checked the plex console and saw these errors when only converting from 1080 to 1080 Edited December 31, 2022 by BBergle Quote Link to comment
ConnerVT Posted December 31, 2022 Share Posted December 31, 2022 (edited) Try it without the SRT subtitles, and see what happens. Edited December 31, 2022 by ConnerVT Quote Link to comment
1q8448q1 Posted January 3 Share Posted January 3 My plex server does not recognize newly added music media anymore. Manually starting a scan does not help. Log says: 2023-01-03 14:19:24,401 DEBG 'plexmediaserver' stderr output: Unable to open: No such file or directory (2) Are there more extensive logs to be found somewhere? Can anyone hint to me what the issue could be? Thank you! Quote Link to comment
mt3 Posted January 3 Share Posted January 3 I have had hardware transcoding working for over a year and a few weeks ago it stopped working, I just did a restart and it started working again. Yesterday it stopped working again and I have tried everything to get it up and running. My unraid server has a Nvidia GPU and Intel Quick Sync and I think for some reason Plex is trying to use the NVIDIA GPU even through I have it sert up for quick sync I do have the extra parameters and new device path set to Quick Sync but my Plex logs have this error in it when I try to transcode [Req#560d/Transcode] [FFMPEG] - Cannot load libcuda.so.1 [Req#560d/Transcode] [FFMPEG] - Could not dynamically load CUDA [Req#560d/Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Operation not permitted [Req#560d/Transcode] Could not create hardware context for h264_nvenc [Req#560d/Transcode] MDE: Cannot direct stream video stream due to profile or setting limitations [Req#560d/Transcode] Codecs: testing hevc (decoder) with hwdevice vaapi [Req#560d/Transcode] Codecs: hardware transcoding: testing API vaapi [Req#560d/Transcode] [FFMPEG] - Failed to initialise VAAPI connection: -1 (unknown libva error). [Req#560d/Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: I/O error [Req#560d/Transcode] Could not create hardware context for hevc [Req#560d/Transcode] Codecs: testing hevc (decoder) with hwdevice nvdec [Req#560d/Transcode] Codecs: hardware transcoding: testing API nvdec any ideas? I am at a loss Quote Link to comment
1q8448q1 Posted January 4 Share Posted January 4 21 hours ago, 1q8448q1 said: My plex server does not recognize newly added music media anymore. Manually starting a scan does not help. Log says: 2023-01-03 14:19:24,401 DEBG 'plexmediaserver' stderr output: Unable to open: No such file or directory (2) Are there more extensive logs to be found somewhere? Can anyone hint to me what the issue could be? Thank you! I found the logs. Looks like the scanner tries to skip new folders. Music files inside these folders are not in the databse yet, yet the scanner seems to try to skip them. Says "can't skip", but still the music does not show up in the database. What could be the issue? Any help appreciated! Jan 04, 2023 11:28:19.129 [0x1470f3878b38] DEBUG - Scanner: Processing directory /media/Musik/Ville Valo & Natalia Avelon (parent: yes) Jan 04, 2023 11:28:19.131 [0x1470f3878b38] DEBUG - Skipping over directory 'Ville Valo & Natalia Avelon', as nothing has changed; removing 0 media items from map. Jan 04, 2023 11:28:19.131 [0x1470f3878b38] DEBUG - Scanner: Processing directory /media/Musik/Ville Valo & Natalia Avelon/Summer Wine (parent: yes) Jan 04, 2023 11:28:19.135 [0x1470f3878b38] DEBUG - Directory had 3 files, database had 0 files, can't skip. Jan 04, 2023 11:28:19.137 [0x1470f3878b38] DEBUG - Activity: updated activity 252f6758-5421-4e10-a191-38860052a019 - completed 0.1% - Scanning Musik Jan 04, 2023 11:28:19.137 [0x1470f3878b38] DEBUG - Scanner: Processing directory /media/Musik/Amber Mark - Three Dimensions Deep (2022) - WEB FLAC (parent: yes) Jan 04, 2023 11:28:19.165 [0x1470f3878b38] DEBUG - Directory had 17 files, database had 0 files, can't skip. Jan 04, 2023 11:28:19.185 [0x1470f3675b38] DEBUG - [JobRunner] Job running: FFMPEG_EXTERNAL_LIBS='/config/Plex\ Media\ Server/Codecs/583b3e4-4434-linux-x86_64/' X_PLEX_TOKEN=xxxxxxxxxxxxxxxxxxxx "/usr/lib/plexmediaserver/Plex Media Scanner" --match --type 8 --log-file-suffix " Matcher" --match-tag-mode=all Jan 04, 2023 11:28:19.186 [0x1470f3675b38] DEBUG - [JobRunner] Jobs: Starting child process with pid 1765 Jan 04, 2023 11:28:19.419 [0x14711c9f9b38] DEBUG - Jobs: '/usr/lib/plexmediaserver/Plex Media Scanner' exit code for process 1765 is 0 (success) Jan 04, 2023 11:28:19.419 [0x1470f3675b38] ERROR - Error parsing content. Jan 04, 2023 11:28:19.419 [0x1470f3675b38] ERROR - Error parsing XML: Error parsing file. Jan 04, 2023 11:28:19.419 [0x1470f3675b38] DEBUG - Native Scanner: Executed Match stage in 0.28 sec. Jan 04, 2023 11:28:19.419 [0x1470f3472b38] DEBUG - Native Scanner: Executed Add to Database stage in 0.00 sec. Jan 04, 2023 11:28:19.419 [0x1470f3472b38] DEBUG - Native Scanner: Executed Media Analysis stage in 0.00 sec. Jan 04, 2023 11:28:19.420 [0x1470f3878b38] DEBUG - Activity: updated activity 252f6758-5421-4e10-a191-38860052a019 - completed 0.2% - Scanning Musik Quote Link to comment
iEusKid Posted February 5 Share Posted February 5 i don't really know what is happening here, my usb drive was corrupted and i took a backup and replace it with new one then restored all my containers as "reinstall with previous template" , all containers worked well except binhex_plexpass which gives this log 2023-02-05 22:16:32.171034 [info] Host is running unRAID 2023-02-05 22:16:32.188511 [info] System information Linux Tower 5.19.9-Unraid #1 SMP PREEMPT_DYNAMIC Fri Sep 23 07:24:37 PDT 2022 x86_64 GNU/Linux 2023-02-05 22:16:32.220319 [info] OS_ARCH defined as 'x86-64' 2023-02-05 22:16:32.256263 [info] PUID defined as '99' 2023-02-05 22:16:32.317224 [info] PGID defined as '100' 2023-02-05 22:16:33.064625 [info] UMASK defined as '000' 2023-02-05 22:16:33.094696 [info] Permissions already set for '/config' 2023-02-05 22:16:33.193803 [info] Deleting files in /tmp (non recursive)... 2023-02-05 22:16:33.231642 [warn] TRANS_DIR not defined,(via -e TRANS_DIR), defaulting to '/config/tmp' tried using /config/transcod /config/tmp but with no avail, attached my current template with i thing is same as before Quote Link to comment
iEusKid Posted February 5 Share Posted February 5 6 minutes ago, iEusKid said: i don't really know what is happening here, my usb drive was corrupted and i took a backup and replace it with new one then restored all my containers as "reinstall with previous template" , all containers worked well except binhex_plexpass which gives this log 2023-02-05 22:16:32.171034 [info] Host is running unRAID 2023-02-05 22:16:32.188511 [info] System information Linux Tower 5.19.9-Unraid #1 SMP PREEMPT_DYNAMIC Fri Sep 23 07:24:37 PDT 2022 x86_64 GNU/Linux 2023-02-05 22:16:32.220319 [info] OS_ARCH defined as 'x86-64' 2023-02-05 22:16:32.256263 [info] PUID defined as '99' 2023-02-05 22:16:32.317224 [info] PGID defined as '100' 2023-02-05 22:16:33.064625 [info] UMASK defined as '000' 2023-02-05 22:16:33.094696 [info] Permissions already set for '/config' 2023-02-05 22:16:33.193803 [info] Deleting files in /tmp (non recursive)... 2023-02-05 22:16:33.231642 [warn] TRANS_DIR not defined,(via -e TRANS_DIR), defaulting to '/config/tmp' tried using /config/transcod /config/tmp but with no avail, attached my current template with i thing is same as before Solved! just followed this binhex note: "This also helps people easily sort out any permissions issues by simply deleting the /config/perms.txt file to force a re-apply of the correct permissions for the container." i will leave it for others having the same problem Quote Link to comment
Lou Posted February 6 Share Posted February 6 Hello not sure if this is the right place I have myself in a bit of a jam. I tried to follow the forum instruction to upgrade my cache drive all went good until and restarted my docker my plex would not start up so I decided to delete it and reinstall. finally I got it to install but only with the movie share when I add my music share i got this error in the log docker run -d --name='plex' --net='host' --privileged=true -e TZ="America/New_York" -e HOST_OS="Unraid" -e HOST_HOSTNAME="Unraid" -e HOST_CONTAINERNAME="plex" -e 'VERSION'='docker' -e 'PLEX_CLAIM'='' -e 'PUID'='99' -e 'PGID'='100' -e 'UMASK'='022' -l net.unraid.docker.managed=dockerman -l net.unraid.docker.webui='http://[IP]:[PORT:32400]/web/index.html' -l net.unraid.docker.icon='https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/plex-logo.png' -v '/mnt/user/Media/TV/':'/tv':'rw' -v '/mnt/user/Media/Movies/':'/movies':'rw' -v '':'music':'rw' -v '/mnt/user/music/':'music':'rw' -v '/mnt/user/appdata/plex':'/config':'rw' 'lscr.io/linuxserver/plex:latest' docker: Error response from daemon: invalid volume specification: '/mnt/user/music/:music:rw': invalid mount config for type "bind": invalid mount path: 'music' mount path must be absolute. See 'docker run --help'. The command failed. this goes the same for my picture shares if I just do the movie share all is fine. Any InSite on what I'm doing wrong Lou Quote Link to comment
binhex Posted February 6 Author Share Posted February 6 30 minutes ago, Lou said: -v '/mnt/user/music/':'music':'rw' you are missing a forward slash on the container side, it should be defined as:- -v '/mnt/user/music/':'/music':'rw' Quote Link to comment
Lou Posted February 6 Share Posted February 6 Thank you where would I go to edit this is this in the setup of plex? lou Quote Link to comment
binhex Posted February 6 Author Share Posted February 6 2 minutes ago, Lou said: Thank you where would I go to edit this is this in the setup of plex? lou assuming you are an unraid user, left click plex icon select edit, then scroll down to the host path for music and click edit, then change the container path to have a forward slash at the beginning. Quote Link to comment
Lou Posted February 6 Share Posted February 6 3 minutes ago, binhex said: assuming you are an unraid user, left click plex icon select edit, then scroll down to the host path for music and click edit, then change the container path to have a forward slash at the beginning. Ah got it thank you for the help on this I'll give it a try. Quote Link to comment
LumpyCustard Posted February 9 Share Posted February 9 (edited) edit: Upon further investigation it seems like if i'm transcoding a 1080P movie, Plex leans on the CPU, but when I transcode a 4K movie, Plex uses the GPU. This is reproducible with any movie i try. Is this expected behaviour in Plex? ----------------- I'm having difficulty getting Plex hardware transcoding to work despite the GPU being detected and used by Plex. I migrated my Plex %appdata% folder from a Windows VM to Binhex Plexpass and everything worked fine after pointing it to the new media locations and syncing. - I've installed the 'nvidia driver' plugin and downloaded the latest driver. - The driver has a HWID. - I have copied the ID from 'nvidia driver' and pasted it into Binhex Plexpass container settings. - I have set --runtime=nvidia in 'extra parameters' - I have set 'nvidia_visible_devices' to 'all' - I have enabled hardware acceleration under Transcoder settings. - I have confirmed transcoder temporary directory is working (i can see transcoding files in the directory i have mapped on my cache) - When i launch Plex the the GPU Statistics plugin shows that my GPU is being utilised by Plex. - When i launch terminal and type "watch nvidia-smi" i can see the GPU is being used by Plex. However with all that working properly and looking good, when I watch a movie and set Plex to transcode (rather than direct file stream), my CPU gets slammed and Plex does not show "transcode (hw)" in the now playing section. Instead it just shows "transcode", which means that it's not HW transcoding. Anyone have an idea? Has this been caused by transferring my Windows based %appdata% folder into Docker? To be clear i took the 'Plex Media Server' folder from Windows in %appdata%, deleted all of the folders in Binhex Plex in /appdata/, and copied it in. Thanks. Edited February 9 by LumpyCustard Quote Link to comment
orlando500 Posted February 15 Share Posted February 15 (edited) I used the list here to fix it. i updated to the latest image and got "Error: Unable to set up server: sqlite3_statement_backend::loadOne: database disk image is malformed (N4soci10soci_errorE)" as error in the log file of plex. Was working fine before update. any clues? Edited February 16 by orlando500 Quote Link to comment
binhex Posted February 16 Author Share Posted February 16 9 hours ago, orlando500 said: Error: Unable to set up server: sqlite3_statement_backend::loadOne: database disk image is malformed (N4soci10soci_errorE)" see Q5:- https://github.com/binhex/documentation/blob/master/docker/faq/plex.md Quote Link to comment
WellThen Posted March 9 Share Posted March 9 I'm having issues with Plex that I haven't been able to figure out. I have tried to delete the docker image and restore via CA Backup, but the same error occurs. The log says: 2023-03-09 12:08:01.163222 [info] Host is running unRAID 2023-03-09 12:08:01.182556 [info] System information Linux HAL 5.10.28-Unraid #1 SMP Wed Apr 7 08:23:18 PDT 2021 x86_64 GNU/Linux 2023-03-09 12:08:01.205559 [info] OS_ARCH defined as 'x86-64' 2023-03-09 12:08:01.227308 [info] PUID defined as '99' 2023-03-09 12:08:01.253773 [info] PGID defined as '100' 2023-03-09 12:08:01.290781 [info] UMASK defined as '000' 2023-03-09 12:08:01.311204 [info] Permissions already set for '/config' 2023-03-09 12:08:01.336987 [info] Deleting files in /tmp (non recursive)... 2023-03-09 12:08:01.361230 [info] TRANS_DIR defined as '/config/transcode' 2023-03-09 12:08:01.385715 [info] Starting Supervisor... 2023-03-09 12:08:01,726 INFO Included extra file "/etc/supervisor/conf.d/plexmediaserver.conf" during parsing 2023-03-09 12:08:01,726 INFO Set uid to user 0 succeeded 2023-03-09 12:08:01,728 INFO supervisord started with pid 8 2023-03-09 12:08:02,730 INFO spawned: 'plexmediaserver' with pid 65 2023-03-09 12:08:02,731 INFO reaped unknown pid 9 (exit status 0) 2023-03-09 12:08:03,732 INFO success: plexmediaserver entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2023-03-09 12:08:18,157 DEBG 'plexmediaserver' stdout output: Critical: libusb_init failed I tried googling the critical error, but it just said something about USB tuners which I'm not quite sure what is. Plex is showing everything, but all the thumbnails are black and when I'm trying to play anything it just says playback error. Any ideas? Quote Link to comment
Samy Posted March 24 Share Posted March 24 (edited) Hello, After using Binhex plex for many years now, I've upgraded the setup to offload transcoding to a GPU (NVIDIA P1000), I've followed space invader tutorial on it but even though my GPU seems to be doing the transcoding, my CPU still works at the same rate as before and I'm still not able to transcode to 4k smoothly as my GPU should. Do you guys know why my CPU is still working this hard even though it should be the GPU doing it ? Here's some pictures for more info (Was playing two movies transcoded in the time so you can have a better idea) Can you please help ? Thank you very much ! EDIT: I have the exact same issue as LumpyCustard above apparently, I've seen the same behavior between binhex-plex and binhex-plexpass, and it's not a migration issue as I have this setup since day 1 and there was no transfer no anything. I even tried with a brand new docker install and I had the same behavior ... Please help if you have an idea Edited March 24 by Samy Quote Link to comment
Samy Posted March 24 Share Posted March 24 (edited) On 2/9/2023 at 5:02 AM, LumpyCustard said: edit: Upon further investigation it seems like if i'm transcoding a 1080P movie, Plex leans on the CPU, but when I transcode a 4K movie, Plex uses the GPU. This is reproducible with any movie i try. Is this expected behaviour in Plex? ----------------- I'm having difficulty getting Plex hardware transcoding to work despite the GPU being detected and used by Plex. I migrated my Plex %appdata% folder from a Windows VM to Binhex Plexpass and everything worked fine after pointing it to the new media locations and syncing. - I've installed the 'nvidia driver' plugin and downloaded the latest driver. - The driver has a HWID. - I have copied the ID from 'nvidia driver' and pasted it into Binhex Plexpass container settings. - I have set --runtime=nvidia in 'extra parameters' - I have set 'nvidia_visible_devices' to 'all' - I have enabled hardware acceleration under Transcoder settings. - I have confirmed transcoder temporary directory is working (i can see transcoding files in the directory i have mapped on my cache) - When i launch Plex the the GPU Statistics plugin shows that my GPU is being utilised by Plex. - When i launch terminal and type "watch nvidia-smi" i can see the GPU is being used by Plex. However with all that working properly and looking good, when I watch a movie and set Plex to transcode (rather than direct file stream), my CPU gets slammed and Plex does not show "transcode (hw)" in the now playing section. Instead it just shows "transcode", which means that it's not HW transcoding. Anyone have an idea? Has this been caused by transferring my Windows based %appdata% folder into Docker? To be clear i took the 'Plex Media Server' folder from Windows in %appdata%, deleted all of the folders in Binhex Plex in /appdata/, and copied it in. Thanks. You have the same issue as me above, I've found out that disabling subtitles solves the issue, now we need to understand how to get how to watch with subtitles and have everything go through the GPU as well...... EDIT: Putting SRT subtitles also work... Don't ask me why, I don't know. Hopefully someone will help us diagnose the issue, probably a docker issue ? Edited March 24 by Samy 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.