[Support] binhex - Plex


Recommended Posts

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 ? 

pePdBGu.jpg

 

unraid Version: 6.7.2  

binhex plex docker update 

 

Link to comment
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

Link to comment
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?

Link to comment
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

Link to comment

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?

 

XTP4wk5.jpg

 

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 by bbram
Link to comment
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?
 
XTP4wk5.jpg&key=4ad5d359b57c0e9d54cbd825fb5761c3a8d859a0f3fbdf68a58167be4d3aed19
 
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 by binhex
Link to comment
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.

Link to comment
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 by binhex
Link to comment

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!

 

plexsettings.jpg

Link to comment
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!
 
plexsettings.jpg.f6a387990b98e4c26b6a4c79ea2b417b.jpg

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 by binhex
Link to comment

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:

  1. Old location: /mnt/user/appdata/PlexMediaServer/Library/Application Support/Plex Media Server/Logs/Plex Media Server.log
  2. 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!

Link to comment
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.

Link to comment
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 resolved

Sent from my CLT-L09 using Tapatalk

Link to comment

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.

Add Folder Picture.PNG

User Shares Pictures.PNG

Binhex Plex Settings.PNG

Edited by corwinjames
Added some pictures.
Link to comment
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.

Link to comment
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:

 

  1. Removed plex container and the image
  2. Deleted plex folder from my appdata
  3. Updated unraid to Version 6.8.0-rc5
  4. Re-installed plex
  5. On the plex initial configuration I set it up as a new server
  6. Once loaded everything started working
  7. If I went to my account, I could see that I still had my old corrupted servers running:
    1. image.png.0593d38ea4f6d42b95cfec47f5517708.png
  8. I went to my account > selected broken servers and there is a remove button beneath it: 
    1. image.png.6973d14518d680acf4403b243f729215.png
  9. Now everything is back to normal! Just need to rescan my whole library which takes a while. Hope it helps!
Edited by mattcrem
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.