binhex Posted October 22, 2019 Author Share Posted October 22, 2019 19 hours ago, ptr78 said: Is it OK for just delete that directory yep, thats all you have to do. Quote Link to comment
bbram Posted October 22, 2019 Share Posted October 22, 2019 hi i have 2 problem on my fresh installation of unraid and plex binhex docker ! 1: DEBG 'plexmediaserver' stderr output: Exception AttributeError: "'ZipArchive' object has no attribute '_zip'" in <bound method ZipArchive.__del__ of <Framework.components.data.ZipArchive object at 0x14dbbb752f10>> ignored 2: DEBG 'plexmediaserver' stdout output: Sqlite3: Sleeping for 200ms to retry busy DB. Sqlite3: Sleeping for 200ms to retry busy DB. Sqlite3: Sleeping for 200ms to retry busy DB. Sqlite3: Sleeping for 200ms to retry busy DB. Sqlite3: Sleeping for 200ms to retry busy DB. Sqlite3: Sleeping for 200ms to retry busy DB. whats wrong if it a new installation ? unraid Version: 6.7.2 binhex plex docker update Quote Link to comment
Bgordy2013 Posted October 23, 2019 Share Posted October 23, 2019 Created by... ___. .__ .__ \_ |__ |__| ____ | |__ ____ ___ ___ | __ \| |/ \| | \_/ __ \\ \/ / | \_\ \ | | \ Y \ ___/ > < |___ /__|___| /___| /\___ >__/\_ \ \/ \/ \/ \/ \/ https://hub.docker.com/u/binhex/ 2019-10-22 21:34:46.917975 [info] System information Linux Tower 4.19.56-Unraid #1 SMP Tue Jun 25 10:19:34 PDT 2019 x86_64 > 2019-10-22 21:34:46.974339 [info] PUID defined as '99' 2019-10-22 21:34:47.646759 [info] PGID defined as '100' 2019-10-22 21:34:48.560460 [info] UMASK defined as '000' 2019-10-22 21:34:48.631528 [info] Setting permissions recursively on volume mappings... 2019-10-22 21:34:54.822486 [info] TRANS_DIR defined as '/config/transcode' 2019-10-22 21:34:54.969235 [info] Starting Supervisor... 2019-10-22 21:34:55,378 INFO Included extra file "/etc/supervisor/conf.d/plexmediaserver.conf" during parsing 2019-10-22 21:34:55,378 INFO Set uid to user 0 succeeded 2019-10-22 21:34:55,384 INFO supervisord started with pid 6 2019-10-22 21:34:56,387 INFO spawned: 'plexmediaserver' with pid 59 2019-10-22 21:34:56,387 INFO reaped unknown pid 7 2019-10-22 21:34:56,633 DEBG fd 10 closed, stopped monitoring <POutputDispatcher at 22423317080848 for <Subprocess at 22423> 2019-10-22 21:34:56,634 DEBG fd 8 closed, stopped monitoring <POutputDispatcher at 22423317082000 for <Subprocess at 224233> 2019-10-22 21:34:56,634 INFO exited: plexmediaserver (exit status 255; not expected) 2019-10-22 21:34:56,635 DEBG received SIGCHLD indicating a child quit 2019-10-22 21:34:57,637 INFO spawned: 'plexmediaserver' with pid 64 2019-10-22 21:34:57,788 DEBG fd 10 closed, stopped monitoring <POutputDispatcher at 22423317192016 for <Subprocess at 22423> 2019-10-22 21:34:57,788 DEBG fd 8 closed, stopped monitoring <POutputDispatcher at 22423317191824 for <Subprocess at 224233> 2019-10-22 21:34:57,788 INFO exited: plexmediaserver (exit status 255; not expected) 2019-10-22 21:34:57,789 DEBG received SIGCHLD indicating a child quit 2019-10-22 21:34:59,792 INFO spawned: 'plexmediaserver' with pid 69 2019-10-22 21:34:59,933 DEBG fd 10 closed, stopped monitoring <POutputDispatcher at 22423317269648 for <Subprocess at 22423> 2019-10-22 21:34:59,933 DEBG fd 8 closed, stopped monitoring <POutputDispatcher at 22423317210640 for <Subprocess at 224233> 2019-10-22 21:34:59,934 INFO exited: plexmediaserver (exit status 255; not expected) 2019-10-22 21:34:59,934 DEBG received SIGCHLD indicating a child quit Running into an issue, was watching a show and then it all of a sudden quit. Can't get Plex to start now... Tried restarting UnRaid and still no luck. Any help would be appreciated! Unraid 6.7.2 Quote Link to comment
binhex Posted October 23, 2019 Author Share Posted October 23, 2019 10 hours ago, bbram said: Exception AttributeError: "'ZipArchive' object has no attribute '_zip'" in <bound method ZipArchive.__del__ of <Framework.components.data.ZipArchive object at 0x14dbbb752f10>> ignored that is a cosmetic issue and apparently can be ignored. 10 hours ago, bbram said: Sqlite3: Sleeping for 200ms to retry busy DB. this is slightly more worrying, what is the host path for /config for this container?, do you have a cache drive or is this writing to the array? Quote Link to comment
binhex Posted October 23, 2019 Author Share Posted October 23, 2019 13 hours ago, Bgordy2013 said: Created by... ___. .__ .__ \_ |__ |__| ____ | |__ ____ ___ ___ | __ \| |/ \| | \_/ __ \\ \/ / | \_\ \ | | \ Y \ ___/ > < |___ /__|___| /___| /\___ >__/\_ \ \/ \/ \/ \/ \/ https://hub.docker.com/u/binhex/ 2019-10-22 21:34:46.917975 [info] System information Linux Tower 4.19.56-Unraid #1 SMP Tue Jun 25 10:19:34 PDT 2019 x86_64 > 2019-10-22 21:34:46.974339 [info] PUID defined as '99' 2019-10-22 21:34:47.646759 [info] PGID defined as '100' 2019-10-22 21:34:48.560460 [info] UMASK defined as '000' 2019-10-22 21:34:48.631528 [info] Setting permissions recursively on volume mappings... 2019-10-22 21:34:54.822486 [info] TRANS_DIR defined as '/config/transcode' 2019-10-22 21:34:54.969235 [info] Starting Supervisor... 2019-10-22 21:34:55,378 INFO Included extra file "/etc/supervisor/conf.d/plexmediaserver.conf" during parsing 2019-10-22 21:34:55,378 INFO Set uid to user 0 succeeded 2019-10-22 21:34:55,384 INFO supervisord started with pid 6 2019-10-22 21:34:56,387 INFO spawned: 'plexmediaserver' with pid 59 2019-10-22 21:34:56,387 INFO reaped unknown pid 7 2019-10-22 21:34:56,633 DEBG fd 10 closed, stopped monitoring <POutputDispatcher at 22423317080848 for <Subprocess at 22423> 2019-10-22 21:34:56,634 DEBG fd 8 closed, stopped monitoring <POutputDispatcher at 22423317082000 for <Subprocess at 224233> 2019-10-22 21:34:56,634 INFO exited: plexmediaserver (exit status 255; not expected) 2019-10-22 21:34:56,635 DEBG received SIGCHLD indicating a child quit 2019-10-22 21:34:57,637 INFO spawned: 'plexmediaserver' with pid 64 2019-10-22 21:34:57,788 DEBG fd 10 closed, stopped monitoring <POutputDispatcher at 22423317192016 for <Subprocess at 22423> 2019-10-22 21:34:57,788 DEBG fd 8 closed, stopped monitoring <POutputDispatcher at 22423317191824 for <Subprocess at 224233> 2019-10-22 21:34:57,788 INFO exited: plexmediaserver (exit status 255; not expected) 2019-10-22 21:34:57,789 DEBG received SIGCHLD indicating a child quit 2019-10-22 21:34:59,792 INFO spawned: 'plexmediaserver' with pid 69 2019-10-22 21:34:59,933 DEBG fd 10 closed, stopped monitoring <POutputDispatcher at 22423317269648 for <Subprocess at 22423> 2019-10-22 21:34:59,933 DEBG fd 8 closed, stopped monitoring <POutputDispatcher at 22423317210640 for <Subprocess at 224233> 2019-10-22 21:34:59,934 INFO exited: plexmediaserver (exit status 255; not expected) 2019-10-22 21:34:59,934 DEBG received SIGCHLD indicating a child quit Running into an issue, was watching a show and then it all of a sudden quit. Can't get Plex to start now... Tried restarting UnRaid and still no luck. Any help would be appreciated! Unraid 6.7.2 check its not the sqlite issue, see link below, Q3-Q5:- https://github.com/binhex/documentation/blob/master/docker/faq/plex.md Quote Link to comment
bbram Posted October 23, 2019 Share Posted October 23, 2019 (edited) Sqlite3: Sleeping for 200ms to retry busy DB. this is slightly more worrying, what is the host path for /config for this container?, do you have a cache drive or is this writing to the array? all my seting line in plex docker ! no cache drive , so i think is write on array and if you can confirm if i do correctly for put transcode to my ram ! thnx Edited October 23, 2019 by bbram Quote Link to comment
binhex Posted October 24, 2019 Author Share Posted October 24, 2019 (edited) 14 hours ago, bbram said: Sqlite3: Sleeping for 200ms to retry busy DB. this is slightly more worrying, what is the host path for /config for this container?, do you have a cache drive or is this writing to the array? all my seting line in plex docker ! no cache drive , so i think is write on array and if you can confirm if i do correctly for put transcode to my ram ! thnx unraid config looks ok, you have a lot of redundant volume maps in there, instead of multiple /mnt/user/Films/<whatever>, you should instead create one volume mapping for /mnt/user/Films then use Plex to drill down to the folder you want, you dont need to create a separate volume mapping for each sub folder. having said that, it's fine to do it that way, its not an error just not the best way of doing it. transcode also looks fine to me. check its not the sqlite issue, see link below, Q3-Q5:- https://github.com/binhex/documentation/blob/master/docker/faq/plex.md Sent from my CLT-L09 using Tapatalk Edited October 24, 2019 by binhex Quote Link to comment
JonathanM Posted October 24, 2019 Share Posted October 24, 2019 4 hours ago, binhex said: you have a lot of redundant volume maps in there, instead of multiple /mnt/user/Films/<whatever>, you should instead create one volume mapping for /mnt/user/Films then use Plex to drill down to the folder you want, you dont need to create a separate volume mapping for each sub folder. having said that, it's fine to do it that way, its not an error just not the best way of doing it. Perhaps the user has other folders in Films that he doesn't want to expose to Plex. Quote Link to comment
binhex Posted October 24, 2019 Author Share Posted October 24, 2019 (edited) 8 minutes ago, jonathanm said: Perhaps the user has other folders in Films that he doesn't want to expose to Plex. true. but then you just dont add them to the library through plex, then it wont index the content and thus wont show up, sure somebody COULD see the files, but they would need to be an admin of plex to add them to the library and thus make them 'visible' in the library. Edited October 24, 2019 by binhex Quote Link to comment
bbram Posted October 24, 2019 Share Posted October 24, 2019 what can i do for stopping this ? all time is the same series files ! Quote Link to comment
joesstuff Posted October 30, 2019 Share Posted October 30, 2019 Hi, Plex has been working great for several months but suddenly the server is not accessible. Unraid 6.7.2, binhex-plex running most recent version available on Unraid docker I can see binhex-plex docker container in the Unraid dashboard, stop/start/edit all work fine When I try to go to WebUi, it opens a new tab http://192.168.1.234:32400/web/index.html but says the site can't be reached (note http://192.168.1.234/Main works fine for the Unraid dashboard, so it's just the 32400 port that's not working) Previously when I opened the app, it said the server was unavailable. Doing some troubleshooting, I attempted to delete the server as a device and then re-install it. Deleted it ok, but now can't re-install it as I believe that's via the WebUi which I can't access. Currently the app opens ok, I can select the user and enter the pin, but it only shows web-based Plex recommendations, none of my files (since my server is not connected to Plex) I can navigate to the media files successfully using windows explorer on a networked client computer, so the server is up and running and the media files are still there I was adjusting tags on 60k+ music files recently and had been having Plex refresh them the last time it was working, so possibly a database corruption problem? I've also tried stopping the container, deleting /mnt/user/appdata/binhex-plex/perms.txt, checking for updates (none available), restart the container and wait 30 min, no change. Any suggestions on how to re-establish the WebUi and then re-attach the server so it's available? Thanks! Quote Link to comment
binhex Posted October 30, 2019 Author Share Posted October 30, 2019 (edited) 1 hour ago, joesstuff said: Hi, Plex has been working great for several months but suddenly the server is not accessible. Unraid 6.7.2, binhex-plex running most recent version available on Unraid docker I can see binhex-plex docker container in the Unraid dashboard, stop/start/edit all work fine When I try to go to WebUi, it opens a new tab http://192.168.1.234:32400/web/index.html but says the site can't be reached (note http://192.168.1.234/Main works fine for the Unraid dashboard, so it's just the 32400 port that's not working) Previously when I opened the app, it said the server was unavailable. Doing some troubleshooting, I attempted to delete the server as a device and then re-install it. Deleted it ok, but now can't re-install it as I believe that's via the WebUi which I can't access. Currently the app opens ok, I can select the user and enter the pin, but it only shows web-based Plex recommendations, none of my files (since my server is not connected to Plex) I can navigate to the media files successfully using windows explorer on a networked client computer, so the server is up and running and the media files are still there I was adjusting tags on 60k+ music files recently and had been having Plex refresh them the last time it was working, so possibly a database corruption problem? I've also tried stopping the container, deleting /mnt/user/appdata/binhex-plex/perms.txt, checking for updates (none available), restart the container and wait 30 min, no change. Any suggestions on how to re-establish the WebUi and then re-attach the server so it's available? Thanks! check its not the sqlite issue, see link below, Q3-Q5:- https://github.com/binhex/documentation/blob/master/docker/faq/plex.md Sent from my CLT-L09 using Tapatalk Edited October 30, 2019 by binhex Quote Link to comment
ptr78 Posted October 30, 2019 Share Posted October 30, 2019 On 10/22/2019 at 7:17 PM, binhex said: yep, thats all you have to do. Thank you for the help! Installed Emby instead. Quote Link to comment
joesstuff Posted October 30, 2019 Share Posted October 30, 2019 You nailed it, it was a corrupt database. I downgraded unraid to 6.7.7 successfully, but no luck in fixing the existing corrupt database. I tried the repair steps in https://support.plex.tv/articles/201100678-repair-a-corrupt-database/ but that didn't work. So then I Deleted the folder /mnt/user/appdata/PlexMediaServer/Library/Application Support/Plex Media Server/ Uninstalled the container Re-installed it (binhex-plex via the CA) But I still can't access the web UI, and it still shows a database issue. Note, the log location changed slightly, guessing I had slightly different settings when I installed it, not sure if it's helpful/relevant: Old location: /mnt/user/appdata/PlexMediaServer/Library/Application Support/Plex Media Server/Logs/Plex Media Server.log New location: /mnt/user/appdata/binhex-plexpass/Plex Media Server/Logs/Plex Media Server.log Here's what the new log shows: Jul 11, 2019 08:14:37.216 [0x147305e69700] INFO - Processor Intel(R) Core(TM) i3-4150 CPU @ 3.50GHz Jul 11, 2019 08:14:37.216 [0x147305e69700] INFO - /usr/lib/plexmediaserver/Plex Media Server Jul 11, 2019 08:14:37.216 [0x1473063532c0] DEBUG - BPQ: [Idle] -> [Starting] Jul 11, 2019 08:14:37.234 [0x1473063532c0] DEBUG - FeatureManager: Using cached data for features list Jul 11, 2019 08:14:37.234 [0x1473063532c0] DEBUG - Opening 20 database sessions to library (com.plexapp.plugins.library), SQLi Lite 3.26.0, threadsafe=1 Jul 11, 2019 08:14:37.267 [0x1473063532c0] DEBUG - Running migrations. (EPG 0) Jul 11, 2019 08:14:37.278 [0x1473063532c0] ERROR - SQLITE3:(nil), 11, database corruption at line 65066 of [bf8c1b2b7a] Jul 11, 2019 08:14:37.278 [0x1473063532c0] ERROR - SQLITE3:(nil), 11, statement aborts at 10: [select max(max(metadata_items.c .changed_at),max(metadata_items.resources_changed_at)) from metadata_items] database disk image is malformed Jul 11, 2019 08:14:37.278 [0x1473063532c0] ERROR - Database corruption: sqlite3_statement_backend::loadOne: database disk imag age is malformed Any suggestions? Thank you! Quote Link to comment
binhex Posted October 31, 2019 Author Share Posted October 31, 2019 17 hours ago, joesstuff said: I downgraded unraid to 6.7.7 successfully did you reboot after the upgrade?, its required for the change to take effect, if it says 6.6.7 at the top right of the web ui then you should be good, if not try a reboot. can you do the following:- left click plex icon/choose edit/click on 'show more settings' and make a note of the host path location for /config, that is the path you need to clear down, delete all files and folders in that path then restart plex container. Quote Link to comment
joesstuff Posted October 31, 2019 Share Posted October 31, 2019 That did the trick, thank you so much! Previously I had deleted a different folder so must not have been the correct config folder. Any suggestions as far as upgrading, just stay on 6.6.7 until they get it resolved? Quote Link to comment
binhex Posted October 31, 2019 Author Share Posted October 31, 2019 That did the trick, thank you so much! Previously I had deleted a different folder so must not have been the correct config folder. Any suggestions as far as upgrading, just stay on 6.6.7 until they get it resolved?Yes just stay on that version until you are 100% sure that the issue has been resolvedSent from my CLT-L09 using Tapatalk Quote Link to comment
corwinjames Posted November 2, 2019 Share Posted November 2, 2019 (edited) I am new to unraid and having a terrible time trying to get Plex to work. I am currently using the binhex docker version. When I go to Add Library==>Browse For Media Folder the folders showing up do not appear to be my user shares. Not sure if this is just the folders in the docker or what is going on. I added a picture showing what happens when I pick the mnt folder. There is nothing there. I also have some shares setup. See 2nd picture. And then here are my Binhex Plex Settings in the third picture. There must be some basic step I am missing. But I can't figure out what is wrong. Thanks. Edited November 2, 2019 by corwinjames Added some pictures. Quote Link to comment
trurl Posted November 2, 2019 Share Posted November 2, 2019 6 hours ago, corwinjames said: I added a picture showing what happens when I pick the mnt folder. There is nothing there. You have mapped /mnt/user/Media_files to /media, so Plex will see those in /media. Quote Link to comment
corwinjames Posted November 2, 2019 Share Posted November 2, 2019 There is nothing in when I go to the /media folder either. Quote Link to comment
trurl Posted November 2, 2019 Share Posted November 2, 2019 6 hours ago, corwinjames said: There is nothing in when I go to the /media folder either. Post your docker run command as explained in the very first link in the Docker FAQ: https://forums.unraid.net/forums/topic/57181-real-docker-faq/ Quote Link to comment
mattcrem Posted November 6, 2019 Share Posted November 6, 2019 I keep getting an UNREACHABLE error on the webUI. I've tried deleting and reinstalling the container but it didnt solve the issue. Also removed the plex folder from appdata just in case. Any idea what could be going on? Quote Link to comment
MagentaCobra Posted November 7, 2019 Share Posted November 7, 2019 On 11/6/2019 at 6:57 AM, mattcrem said: I keep getting an UNREACHABLE error on the webUI. I've tried deleting and reinstalling the container but it didnt solve the issue. Also removed the plex folder from appdata just in case. Any idea what could be going on? I'm having the same issue! From what I can tell the docker updated and that's why. I'm about to try rolling back to an older version of the docker. Quote Link to comment
mattcrem Posted November 8, 2019 Share Posted November 8, 2019 (edited) 21 hours ago, MagentaCobra said: I'm having the same issue! From what I can tell the docker updated and that's why. I'm about to try rolling back to an older version of the docker. I'm not sure what specific action solved my issue however I did the following things and I managed to solve the "UNREACHABLE SERVER" error: Removed plex container and the image Deleted plex folder from my appdata Updated unraid to Version 6.8.0-rc5 Re-installed plex On the plex initial configuration I set it up as a new server Once loaded everything started working If I went to my account, I could see that I still had my old corrupted servers running: I went to my account > selected broken servers and there is a remove button beneath it: Now everything is back to normal! Just need to rescan my whole library which takes a while. Hope it helps! Edited November 8, 2019 by mattcrem Quote Link to comment
AntaresUK Posted November 13, 2019 Share Posted November 13, 2019 Trying to get binhex plex working. When I go to webgui I get "Plex is not reachable". The log for plex gives an error Error in command line:the argument for option "--serveruuid" should follow immediately after the equal sign What am I missing please? 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.