Christopher Posted May 7, 2019 Share Posted May 7, 2019 2 hours ago, trurl said: Did you instead mean you copied files back to cache? Yes! Thanks for the correction. I updated my original post. Quote Link to comment
isrdude Posted May 7, 2019 Share Posted May 7, 2019 Has anyone notice with latest plex build (Version 1.15.4.993) that Plex will stop when uploading files or adding new library? Never seen it do that before. Simple fix, just go to dashboard and restart but........ Quote Link to comment
coblck Posted May 7, 2019 Share Posted May 7, 2019 Yep same here very annoying, how do you roll back version before without losing anything? Quote Link to comment
isrdude Posted May 8, 2019 Share Posted May 8, 2019 No idea. Was searching for that myself both here and on Plex. Supposedly, it can be done but it appears to me, it wouldn't delete your files or alter them, but you'd have to go through the entire process of loading the docker image and creating paths, containers, etc....which means all your data will need to back through Metadata search and tagging. Quote Link to comment
sittingmongoose Posted May 9, 2019 Share Posted May 9, 2019 Having an issue with my Plex docker...happens on linuxIO build, binhex and PMS. IDK what happened but woke up this morning to Plex not running. The log just keeps repeating "starting plex media server" forever. I tried rebooting my server and obviously deleting the container and image. I didnt try deleting the plex appdata folder though because I would prefer not to have to rebuild my library and such. That took all day yesterday. Here is what the log says. [s6-init] making user provided files available at /var/run/s6/etc...exited 0. [s6-init] ensuring user provided files have correct perms...exited 0. [fix-attrs.d] applying ownership & permissions fixes... [fix-attrs.d] done. [cont-init.d] executing container initialization scripts... [cont-init.d] 10-adduser: executing... usermod: no changes ------------------------------------- _ () | | ___ _ __ | | / __| | | / \ | | \__ \ | | | () | |_| |___/ |_| \__/ Brought to you by linuxserver.io We gratefully accept donations at:https://www.linuxserver.io/donate/ ------------------------------------- GID/UID ------------------------------------- User uid: 99 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] 50-gid-video: executing... [cont-init.d] 50-gid-video: exited 0. [cont-init.d] 60-plex-update: executing... No update required [cont-init.d] 60-plex-update: exited 0. [cont-init.d] 99-custom-scripts: executing... [custom-init] no custom scripts 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. No update required [cont-init.d] 60-plex-update: exited 0. [cont-init.d] 99-custom-scripts: executing... [custom-init] no custom scripts 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. Starting Plex Media Server. Starting Plex Media Server. Starting Plex Media Server. Starting Plex Media Server. Starting Plex Media Server. Starting Plex Media Server. Starting Plex Media Server. Starting Plex Media Server. Starting Plex Media Server. Starting Plex Media Server. Starting Plex Media Server. Starting Plex Media Server. Starting Plex Media Server. Starting Plex Media Server. Starting Plex Media Server. Starting Plex Media Server. Starting Plex Media Server. Starting Plex Media Server. Starting Plex Media Server. Starting Plex Media Server. Quote Link to comment
aptalca Posted May 9, 2019 Share Posted May 9, 2019 32 minutes ago, sittingmongoose said: Having an issue with my Plex docker...happens on linuxIO build, binhex and PMS. IDK what happened but woke up this morning to Plex not running. The log just keeps repeating "starting plex media server" forever. I tried rebooting my server and obviously deleting the container and image. I didnt try deleting the plex appdata folder though because I would prefer not to have to rebuild my library and such. That took all day yesterday. Here is what the log says. [s6-init] making user provided files available at /var/run/s6/etc...exited 0. [s6-init] ensuring user provided files have correct perms...exited 0. [fix-attrs.d] applying ownership & permissions fixes... [fix-attrs.d] done. [cont-init.d] executing container initialization scripts... [cont-init.d] 10-adduser: executing... usermod: no changes ------------------------------------- _ () | | ___ _ __ | | / __| | | / \ | | \__ \ | | | () | |_| |___/ |_| \__/ Brought to you by linuxserver.io We gratefully accept donations at:https://www.linuxserver.io/donate/ ------------------------------------- GID/UID ------------------------------------- User uid: 99 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] 50-gid-video: executing... [cont-init.d] 50-gid-video: exited 0. [cont-init.d] 60-plex-update: executing... No update required [cont-init.d] 60-plex-update: exited 0. [cont-init.d] 99-custom-scripts: executing... [custom-init] no custom scripts 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. No update required [cont-init.d] 60-plex-update: exited 0. [cont-init.d] 99-custom-scripts: executing... [custom-init] no custom scripts 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. Starting Plex Media Server. Starting Plex Media Server. Starting Plex Media Server. Starting Plex Media Server. Starting Plex Media Server. Starting Plex Media Server. Starting Plex Media Server. Starting Plex Media Server. Starting Plex Media Server. Starting Plex Media Server. Starting Plex Media Server. Starting Plex Media Server. Starting Plex Media Server. Starting Plex Media Server. Starting Plex Media Server. Starting Plex Media Server. Starting Plex Media Server. Starting Plex Media Server. Starting Plex Media Server. Starting Plex Media Server. Check your Plex server log. Likely corrupt database Quote Link to comment
sittingmongoose Posted May 9, 2019 Share Posted May 9, 2019 1 hour ago, aptalca said: Check your Plex server log. Likely corrupt database May 09, 2019 10:56:41.632 [0x1525ab617700] INFO - Plex Media Server v1.15.5.994-4610c6e8d - Docker Docker Container x86_64 - build: linux-x86_64 debian - GMT -04:00 May 09, 2019 10:56:41.632 [0x1525ab617700] INFO - Linux version: 4.19.37-Unraid, language: C May 09, 2019 10:56:41.632 [0x1525ab617700] INFO - Processor Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz May 09, 2019 10:56:41.632 [0x1525ab617700] INFO - /usr/lib/plexmediaserver/Plex Media Server May 09, 2019 10:56:41.631 [0x1525b7c9f740] DEBUG - BPQ: [Idle] -> [Starting] May 09, 2019 10:56:41.632 [0x1525b7c9f740] DEBUG - FeatureManager: Using cached data for features list May 09, 2019 10:56:41.632 [0x1525b7c9f740] DEBUG - Opening 20 database sessions to library (com.plexapp.plugins.library), SQLite 3.26.0, threadsafe=1 May 09, 2019 10:56:41.650 [0x1525b7c9f740] DEBUG - Running migrations. (EPG 0) May 09, 2019 10:56:41.658 [0x1525b7c9f740] ERROR - SQLITE3:(nil), 11, database corruption at line 65066 of [bf8c1b2b7a] May 09, 2019 10:56:41.658 [0x1525b7c9f740] ERROR - SQLITE3:(nil), 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 May 09, 2019 10:56:41.659 [0x1525b7c9f740] ERROR - Database corruption: sqlite3_statement_backend::loadOne: database disk image is malformed Thats in the server logs. Any way to fix this? I do kinda have a backup but its not pretty. Quote Link to comment
aptalca Posted May 10, 2019 Share Posted May 10, 2019 6 hours ago, sittingmongoose said: May 09, 2019 10:56:41.632 [0x1525ab617700] INFO - Plex Media Server v1.15.5.994-4610c6e8d - Docker Docker Container x86_64 - build: linux-x86_64 debian - GMT -04:00 May 09, 2019 10:56:41.632 [0x1525ab617700] INFO - Linux version: 4.19.37-Unraid, language: C May 09, 2019 10:56:41.632 [0x1525ab617700] INFO - Processor Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz May 09, 2019 10:56:41.632 [0x1525ab617700] INFO - /usr/lib/plexmediaserver/Plex Media Server May 09, 2019 10:56:41.631 [0x1525b7c9f740] DEBUG - BPQ: [Idle] -> [Starting] May 09, 2019 10:56:41.632 [0x1525b7c9f740] DEBUG - FeatureManager: Using cached data for features list May 09, 2019 10:56:41.632 [0x1525b7c9f740] DEBUG - Opening 20 database sessions to library (com.plexapp.plugins.library), SQLite 3.26.0, threadsafe=1 May 09, 2019 10:56:41.650 [0x1525b7c9f740] DEBUG - Running migrations. (EPG 0) May 09, 2019 10:56:41.658 [0x1525b7c9f740] ERROR - SQLITE3:(nil), 11, database corruption at line 65066 of [bf8c1b2b7a] May 09, 2019 10:56:41.658 [0x1525b7c9f740] ERROR - SQLITE3:(nil), 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 May 09, 2019 10:56:41.659 [0x1525b7c9f740] ERROR - Database corruption: sqlite3_statement_backend::loadOne: database disk image is malformed Thats in the server logs. Any way to fix this? I do kinda have a backup but its not pretty. Plex does automatic backups of its database every three days. Their website/forum has instructions on how to restore Quote Link to comment
Illini2000 Posted May 13, 2019 Share Posted May 13, 2019 I just moved my plex server to unraid and am having issues streaming 4k material to a Nvidia Shield now. The movie will start but it pauses multiple times. Usually it just freezes for a few seconds and then starts again. Occasionally I'll get a message saying "the server isn't fast enough". This problem did not exist when I was running the plex server on a Windows 10 PC. Both the Shield and the unraid sever are wired into a gigabit switch. The shield shows that it is using direct play so it isn't a transcoding speed issue. The unraid server specs are: Gigabyte GA-7PESH2 E5-2650 V2 x 2 128GB ram 1TB SSD cache drive 10TB Western Digital parity drive 10 TB Western Digital data drive x 2 Both nic's on the motherboard are plugged into the swtich and set to bonded active / failover. I can post this in a gernarl plex forum but since everthing worked great when I had plex server running on a Windows 10 PC and the issue only started when I moved it to an unraid docker I thought I would start here. I've looked at the logs and haven't found anything useful but I may not be looking in the right place so if logs would help, please let me know which one to post. Quote Link to comment
trurl Posted May 13, 2019 Share Posted May 13, 2019 38 minutes ago, Illini2000 said: Both nic's on the motherboard are plugged into the swtich and set to bonded active / failover. Are you sure your server networking is working correctly? Maybe try simplifying by using only one nic/port and checking to see if it is actually getting a GBe connection. Quote Link to comment
Illini2000 Posted May 13, 2019 Share Posted May 13, 2019 I'll try taking it down to one nic and see what happens. I am getting 120MB transfer speeds when pushing files to the server or pulling them off from my Windows PC so I thought I should be good there. Sometimes I'll go an hour without an issue, sometimes it happens every couple minutes. Quote Link to comment
Glassed Silver Posted May 14, 2019 Share Posted May 14, 2019 I feel like a child relearning computing all over again... There's just 2 dockers that worked frictionless so far... That being said, this might not be a Docker issue... Basically what happened is this: I have a PMS already set up on my Mac, now I want to move its settings, play counts, media to my new unRAID server and use Plex in a docker, this docker. I followed this tutorial: https://forums.plex.tv/t/migrate-from-osx-to-ubuntu/168608/13 And after restoring my profile folder to the correct location and putting my media in the share that is mapped to the container path /media I cannot access my server anymore whatsoever. It's certainly started and remains started, but when I click on it and go to WebUI all I get is a nasty "Cannot connect" page. Before restoring my old profile the server WAS accessible using the same address, port, browser constellation... Quote Link to comment
trurl Posted May 14, 2019 Share Posted May 14, 2019 4 minutes ago, Glassed Silver said: Basically what happened is this See if you can setup this plex docker from scratch, without trying to migrate anything. If that works, you can compare the plex appdata of that new install with the plex library you are trying to migrate and maybe get a better idea what needs to be done for the migration. Quote Link to comment
Glassed Silver Posted May 14, 2019 Share Posted May 14, 2019 (edited) 1 hour ago, trurl said: See if you can setup this plex docker from scratch, without trying to migrate anything. If that works, you can compare the plex appdata of that new install with the plex library you are trying to migrate and maybe get a better idea what needs to be done for the migration. I still have my old docker appdata folder for Plex, I could compare the two folders. Any file in particular I should take a more intensive look at? Like a file the configs the internal webserver or something? Before the migration I could access the WebUI just fine... Edit: I think I meant too well for my Plex config... I carried over ALL entries of the plist to the XML. The conversion itself was alright, because I did it manually one by one, but I should have only replaced the entries' values that the default Preferences.xml file had. After that fix permissions (unRAID > Tools > New Permissions | select all disks and feel free to only fix the appdata share). Fire up Plex, boom! Works! The rest of the guide I linked works perfectly fine. Importantly, take care of the location of your media content as outlined there. Keep old places in the settings, let it all scan and then I think you're free to remove the old locations. Now my weekend project shall be to migrate my iTunes library to Plex. *gulp* Going cross-plat, cross-device, cross-application, cross-anything. That's gonna be a wild ride. Edited May 14, 2019 by Glassed Silver solved it! Quote Link to comment
Illini2000 Posted May 14, 2019 Share Posted May 14, 2019 23 hours ago, trurl said: Are you sure your server networking is working correctly? Maybe try simplifying by using only one nic/port and checking to see if it is actually getting a GBe connection. Went down to one nic and the problem continued. I setup Kodi on the Shield to directly access the file shares on the Unraid server and that seems to work without any isssues. Looks like something in Plex. I try to troubleshoot more this weekend. Quote Link to comment
luigi408 Posted May 15, 2019 Share Posted May 15, 2019 15 hours ago, Illini2000 said: Went down to one nic and the problem continued. I setup Kodi on the Shield to directly access the file shares on the Unraid server and that seems to work without any isssues. Looks like something in Plex. I try to troubleshoot more this weekend. I’m having the same issue as you. My 4K files are stuttering, freezing, and pausing. It was working perfectly fine before the latest Unraid update. No one in my family can watch any 4K movie since the update. Quote Link to comment
warwon Posted May 16, 2019 Share Posted May 16, 2019 Having similar issues with any playback in Unraid 6.7 now through Plex. Just freezes and broken all the time. Quote Link to comment
dbinott Posted May 17, 2019 Share Posted May 17, 2019 (edited) @warwon@luigi408 @Illini2000 Is it direct play only? I can't direct play anymore. I have to transcode everything otherwise it will just stop/freeze. Edited May 17, 2019 by dbinott Quote Link to comment
saarg Posted May 17, 2019 Share Posted May 17, 2019 Are you using Realtek network cards? Quote Link to comment
warwon Posted May 17, 2019 Share Posted May 17, 2019 Rolled back to the previous Unraid version, and everything went back to working. Quote Link to comment
zenmak Posted May 17, 2019 Share Posted May 17, 2019 Hi. After the 6.7 update, my plex docker kept saying "no route to host". I have it configured to use it's own IP address. Reverted back to previous version and it is fine. Quote Link to comment
pether Posted May 19, 2019 Share Posted May 19, 2019 I'm having some serious problems with running plex in the Unraid environment, I've tried both this linuxserver, and the plexinc images, both always end up with a corrupt database. How are you supposed to run this to be able to use your PMS? I've run it for many many years on my server but found Unraid recently and thought I'd give it a go, but it seems pretty useless if this is going to be happen all the time (not to mention that it goes to 103% cpu usage all the time making everything unusable...) Quote Link to comment
trurl Posted May 19, 2019 Share Posted May 19, 2019 1 hour ago, pether said: I'm having some serious problems with running plex in the Unraid environment, I've tried both this linuxserver, and the plexinc images, both always end up with a corrupt database. How are you supposed to run this to be able to use your PMS? I've run it for many many years on my server but found Unraid recently and thought I'd give it a go, but it seems pretty useless if this is going to be happen all the time (not to mention that it goes to 103% cpu usage all the time making everything unusable...) Since many people are using this without these complaints, perhaps it is something with your setup. Go to Tools - Diagnostics and attach the complete diagnostics zip file to your next post. Also, your docker run command as explained here: https://forums.unraid.net/topic/57181-real-docker-faq/#comment-564345 Quote Link to comment
pether Posted May 19, 2019 Share Posted May 19, 2019 16 minutes ago, trurl said: Since many people are using this without these complaints, perhaps it is something with your setup. Go to Tools - Diagnostics and attach the complete diagnostics zip file to your next post. Also, your docker run command as explained here: https://forums.unraid.net/topic/57181-real-docker-faq/#comment-564345 I've got a Primergy TX100 s3, 10tb parity disk and a 10tb data disk, and last night i added a 500gb cache disk. I've done no special config for the dockers, only linked them to a media share, else everything default. First corruption was sometime during the night after first run on linuxserver image, second one was also on same image, but i turned off automatic update when adding media, still corrupted database image. Third time i moved to plexinc image and it was online for almost 2 days, but resulting in corruption a few hours ago. Trying to fix the corruption by tips given by plexinc doesn't solve anything, and causes the docker not to be able to run at all. After first corruption i saved plex logs via tautulli and they are filled with lines such as this, other corruptions have had other statements and lines: Quote May 17, 2019 05:39:39.144 [0x153c097eb700] ERROR - SQLITE3:(nil), 11, database corruption at line 79051 of [bf8c1b2b7a] May 17, 2019 05:39:39.144 [0x153c097eb700] ERROR - SQLITE3:(nil), 11, statement aborts at 9: [select statistics_bandwidth.id as 'statistics_bandwidth_id', statistics_bandwidth.account_id as 'statistics_bandwidth_account_id', statistics_bandwidth.device_id as 'statistics_bandwidt May 17, 2019 05:39:39.144 [0x153c097eb700] ERROR - Thread: Uncaught exception running async task which was spawned by thread 0x153c6293d700: sqlite3_statement_backend::loadOne: database disk image is malformed May 17, 2019 05:39:39.144 [0x153bde7f3700] ERROR - SQLITE3:(nil), 11, database corruption at line 79051 of [bf8c1b2b7a] May 17, 2019 05:39:39.144 [0x153bde7f3700] ERROR - SQLITE3:(nil), 11, statement aborts at 9: [select statistics_bandwidth.id as 'statistics_bandwidth_id', statistics_bandwidth.account_id as 'statistics_bandwidth_account_id', statistics_bandwidth.device_id as 'statistics_bandwidt May 17, 2019 05:39:39.144 [0x153bde7f3700] ERROR - Thread: Uncaught exception running async task which was spawned by thread 0x153c6273c700: sqlite3_statement_backend::loadOne: database disk image is malformed tower-diagnostics-20190519-1139.zip Quote Link to comment
trurl Posted May 19, 2019 Share Posted May 19, 2019 1 hour ago, trurl said: your docker run command as explained here: https://forums.unraid.net/topic/57181-real-docker-faq/#comment-564345 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.