May 23, 201214 yr Alright, I finally am throwing in the towel and asking for help. I've been trying to get plex working for me off and on for the past 4 months. With the recent RC, I decided to give it another go. System: unRaid version 5.0-rc2 Plugin: Plex v0.9.6.1.89-3c84bb7 Other Plugins: CouchPotato version 62742a6 SABnzbd 0.6.15 Sick Beard alpha (master) Subsonic 4.6 (build 2583) unMenu version 1.5 revision 241 I started from complete scratch the other day, and outside of some minor permission issues on a couple of files, I managed to pull in all my TV and Movies, scrap the data, and can stream just fine both inside and outside of the network. However, the issue arrises on new downloads. I'm using the usual download with SAB, Sick Beard organizes, and then tells Plex to update process everyone else uses. However, after I get the email saying my download is complete and try to watch it, I get an error: Error Could not read data from file This is the log I pull from Plex (shortened down): May 10, 2012 10:56:41 [0xb3660b70] DEBUG - Request: GET /library/metadata/7352?X-Plex-Token=spBgsA5HvBCKK2Bazuxm [24.52.124.254:43104] (1 live) May 10, 2012 10:56:41 [0xb3660b70] DEBUG - * X-Plex-Token => spBgsA5HvBCKK2Bazuxm May 10, 2012 10:56:41 [0xb3660b70] DEBUG - We found auth token (spBgsA5HvBCKK2Bazuxm), enabling token-based authentication. May 10, 2012 10:56:41 [0xb3660b70] DEBUG - Came in with a super-token, authorization succeeded. May 10, 2012 10:56:41 [0xb3660b70] DEBUG - It took 0.000000 sec to serialize a list with 1 elements. May 10, 2012 10:56:41 [0xb24ccb70] DEBUG - Request: GET /video/:/transcode/segmented/start.m3u8?url=http%3a%2f%2f127%2e0%2e0%2e1%3a32400%2flibrary%2fparts%2f7069%2ffile%2emkv&quality=3&session=b4571af1-1edb-4158-b42a-fd3300ee4e36&X-Plex-Token=spBgsA5HvBCKK2Bazuxm&X-Plex-Access-Key=KQMIY6GATPC63AIMC4R2&X-Plex-Access-Time=1336661801&X-Plex-Access-Code=mqeINIW12jH+fLCa5b6HiOUqslSVk9i506riOPqpaac%3D [24.52.124.254:58123] (1 live) May 10, 2012 10:56:41 [0xb24ccb70] DEBUG - * url => http://127.0.0.1:32400/library/parts/7069/file.mkv May 10, 2012 10:56:41 [0xb24ccb70] DEBUG - * quality => 3 May 10, 2012 10:56:41 [0xb24ccb70] DEBUG - * session => b4571af1-1edb-4158-b42a-fd3300ee4e36 May 10, 2012 10:56:41 [0xb24ccb70] DEBUG - * X-Plex-Token => spBgsA5HvBCKK2Bazuxm May 10, 2012 10:56:41 [0xb24ccb70] DEBUG - * X-Plex-Access-Key => KQMIY6GATPC63AIMC4R2 May 10, 2012 10:56:41 [0xb24ccb70] DEBUG - * X-Plex-Access-Time => 1336661801 May 10, 2012 10:56:41 [0xb24ccb70] DEBUG - * X-Plex-Access-Code => mqeINIW12jH+fLCa5b6HiOUqslSVk9i506riOPqpaac= May 10, 2012 10:56:41 [0xb24ccb70] DEBUG - We found auth token (spBgsA5HvBCKK2Bazuxm), enabling token-based authentication. May 10, 2012 10:56:41 [0xb24ccb70] DEBUG - Came in with a super-token, authorization succeeded. May 10, 2012 10:56:41 [0xb24ccb70] DEBUG - Cookie header in secure request: SESSION-GUID=b4571af1-1edb-4158-b42a-fd3300ee4e36 May 10, 2012 10:56:41 [0xb24ccb70] DEBUG - Checking cookie 'SESSION-GUID=b4571af1-1edb-4158-b42a-fd3300ee4e36' May 10, 2012 10:56:41 [0xb24ccb70] DEBUG - Found session GUID of b4571af1-1edb-4158-b42a-fd3300ee4e36 in session start. May 10, 2012 10:56:41 [0xb24ccb70] DEBUG - Using session GUID b4571af1-1edb-4158-b42a-fd3300ee4e36 for new transcode session. May 10, 2012 10:56:41 [0xb24ccb70] DEBUG - Cleaning directory for session b4571af1-1edb-4158-b42a-fd3300ee4e36 (/tmp/plex/plex-transcode-b4571af1-1edb-4158-b42a-fd3300ee4e36-53cdd64068a992c15a8692e3724c7b23eeb4c5c6) May 10, 2012 10:56:41 [0xb24ccb70] DEBUG - Saving session: b4571af1-1edb-4158-b42a-fd3300ee4e36 May 10, 2012 10:56:41 [0xb24ccb70] DEBUG - Adding cookie for security headers: 'SESSION-GUID=b4571af1-1edb-4158-b42a-fd3300ee4e36' May 10, 2012 10:56:41 [0xb21deb70] DEBUG - Request: GET /video/:/transcode/segmented/session/b4571af1-1edb-4158-b42a-fd3300ee4e36/3/index.m3u8 [24.52.124.254:62277] (1 live) May 10, 2012 10:56:41 [0xb21deb70] DEBUG - Request range: 0 to 0 May 10, 2012 10:56:41 [0xb21deb70] DEBUG - Starting a transcode session b4571af1-1edb-4158-b42a-fd3300ee4e36 at offset -1.0 (stopped=1) May 10, 2012 10:56:41 [0xb21deb70] DEBUG - Setting up segmented session, quality=3 May 10, 2012 10:56:41 [0xb21deb70] DEBUG - Computed display width of 7.8" May 10, 2012 10:56:41 [0xb21deb70] DEBUG - Audio Stream copy => ac: May 10, 2012 10:56:41 [0xb21deb70] DEBUG - Job running: /usr/local/plex/Resources/Plex Transcoder transcode http://127.0.0.1:32400/library/parts/7069/file.mkv /tmp/plex/plex-transcode-b4571af1-1edb-4158-b42a-fd3300ee4e36-53cdd64068a992c15a8692e3724c7b23eeb4c5c6/media 3 8 0 any nil 0 yes UTF-8 default 0.75 nil none 3355443 yes May 10, 2012 10:56:41 [0xb3c3cb70] DEBUG - [Transcoder] Starting transcoder v306 (t=8s, q=3) May 10, 2012 10:56:41 [0xb3c3cb70] DEBUG - [Transcoder] Registered components, about to parse arguments. May 10, 2012 10:56:41 [0xb3c3cb70] DEBUG - [Transcoder] Video caps: ca=0, cv=0, ac=libmp3lame, mp3=-1, aac=-1,0, ac3=-1, dts=-1, pcm=-1, vp=4d, vr=0, vl=0, mss=3355443, anam=1 May 10, 2012 10:56:41 [0xb3c3cb70] DEBUG - [Transcoder] About to apply initial settings. May 10, 2012 10:56:41 [0xb3c3cb70] DEBUG - [Transcoder] Opening the input file. May 10, 2012 10:56:41 [0xb3c3cb70] DEBUG - Request: GET /library/parts/7069/file.mkv [127.0.0.1:59538] (2 live) May 10, 2012 10:56:41 [0xb3c3cb70] DEBUG - It took 170.000000 ms to retrieve 1 items. May 10, 2012 10:56:41 [0xb3c3cb70] DEBUG - Content-Length of /mnt/user/Media/TV Shows/Parks and Recreation/Season 04/Parks and Recreation - S04E22 - Win, Lose, or Draw.mkv is 583391022. May 10, 2012 10:56:41 [0xb3c3cb70] ERROR - Error opening file '/mnt/user/Media/TV Shows/Parks and Recreation/Season 04/Parks and Recreation - S04E22 - Win, Lose, or Draw.mkv' - 13 May 10, 2012 10:56:41 [0xb1626b70] ERROR - [Transcoder] Exiting after failure. I have absolutely no idea where to go from here. I've played with chmod, chown, I can play the files in VLC just fine and my MacMinis PMS just fine, but not the unRaid PMS. If anymore logs are needed, I will gladly supply anything. I just want to move the PMS off my MacMini already. Since no one ever replied to this, and I figured if anyone else has this problem, they'd like to know the answer. I had SickBeard running as root when I first installed it, because I couldn't get it to read my TV show directory without it. (This was before I learned of chmod/chown) . After I had reinstalled all my plugins, I made sure SB, CP, and SAB were all running as nobody. Plex was still having some issues pulling in new content, so I moved all of my plugins out of /mnt/cache/.Apps/ And made a cache-only share of /mnt/user/Apps/ Deleted all the existing sections in Plex, then ran chmod -R -0777 /mnt/user/Media/ chown -R nobody:users /mnt/user/Media/ Redid the sections, and now everything is working perfectly. Plex doesn't randomly need restarted, it updates after new shows/movies, has no problems pulling in all the metadata, and I have no memory leaks. It only took weeks of learning new things about permission, but, everything is good. Your chmod line has confused me (and my unRAID). chmod 777 would give permissions to everyone (even those outside your group) if I understand correctly - not sure what -0777 is meant to do , and unRAID throws an error if I try it.
May 25, 201214 yr when they release an "official" version of 0.9.6.2, you will be able to update through the webinterface. Looking forward to it
May 26, 201214 yr I am getting a error at least once a day. does anyone know what is causing it. here is the error from the log Plex Media Serv[27438]: segfault at 0 ip 08149198 sp aeffdb64 error 4 in Plex Media Server[8048000+4ab000]
May 27, 201214 yr Hi guys, Not much to go on but I'm finding that with the latest version (v0.9.6.1.89-3c84bb7) and any version after 0.9.5.2 that PMS crashes about every 24 hours. 0.9.5.2 was perfectly stable before that. I can't see anything obvious in my sys log or the Plex log (both attached). Any pointers on where to start as I'd love to have the DLNA functionality and not have to revert back to 0.9.5.2. Running RC3 now, problem was the same on RC2 and b14 before that. Thanks - appreciate any help! Alex
May 27, 201214 yr I'm having the same issue - haven't tracked it down yet, but appears to be something to do with the Windows client accessing Plex. (If I only use the iPad client or other DLNA sources, it stays up for ages.) I'd guess it's a plex issue, but not having much luck tracking it down at this stage. I'm probably being a bit lazy though - if it happens, I just kill the plex processes and restart Plex.. haven't bothered to chase it up further.
May 29, 201214 yr As a temporary measure, I've put this in my .plg file and restarted the PMS. This was splidi's suggestion and I'm not familiar with setting up a cron job. Will this restart the PMS every morning? <!-- event handler --> <FILE Name="/etc/cron.daily/checkplex" Mode="0770"> <INLINE> <![CDATA[ #!/bin/sh /etc/rc.d/rc.plex restart logger -t plex-cron "Restart of Plex Media Server by cron (if enabled) at $(date)" ]]> </INLINE> </FILE> Thanks, Alex.
May 30, 201214 yr seeing the same thing here, but I have some many friends sharing it that I can't say exactly what might be causing it...
May 31, 201214 yr For some reason everything is working except for TV Shows. Anyone else have this problem?
June 1, 201214 yr Thought I'd add my experience. I've been experiencing Plex failures (process still appear active but fail to serve media and dont register to myplex) after a few hours of operation. I changed my data directory from /mnt/cache/.plex to /mnt/cache/plex and configured it to be a cache only share. Plex has been up and running for almost a week without restarts so far. So could it be that Plex doesn't like the dot in the directory name?
June 1, 201214 yr That is an issue that has been talked about for a while... unfortunately that doesn't seem to be my issue since I made that change some time ago. What is strange is that it is very similar behavior to what I was seeing when this ended up being the solution....
June 2, 201214 yr I changed my data directory from /mnt/cache/.plex to /mnt/cache/plex and configured it to be a cache only share. Plex has been up and running for almost a week without restarts so far. So could it be that Plex doesn't like the dot in the directory name? This could be it as originally I was running plex not in a hidden folder, and it was fine. However, I don't really want to revert back as the whole purpose of the folder being hidden is to hide it from the mover process, so it doesn't end up moving the 14 billion files that Plex holds in its Application Support folder over to the array. What a conundrum!
June 4, 201214 yr Hi guys I am wanting to add in some dnla profiles but I am not allowed to browse to the share and place a file. I managed to get one there via telnet and cp it from another location but the pemrissions on the new file don't look right and plex complained about not being able to parse it. What is the reason there is a plex user and not run as nobody like other apps and seconldy how do i get it so I can browse and upload new dnls profiles that plex then has permissions for??
June 5, 201214 yr Author no, no autoupdate, I build an slackware package (*.txz) but at the moment there's no possibility to change settings thought the webinterface. you have to do it with vi directly in the cfg file
June 5, 201214 yr Author its online: http://www.plexapp.com/linux/linux-pms-download.php this means my plugins (and others) aren't working any more (with 0.9.6.3) ..... I'm working on it ;-)
June 5, 201214 yr Author ok thanks, it not that comfortable like the plugin right now, but better than before.
June 5, 201214 yr I definitely want to upgrade to 9.6.3. One the faster database will be huge, and 2 the DLNA support in the previous version was so buggy that nothing I tried worked. It looks as though many of the issues I was running into are now fixed. So I can finally finish several of the DLNA profiles that I started. However, quick question. How long do you think it will take to get the new updated plugin working? If it will take more than a day, I'll just try to install it myself. Thanks for your effort! Your plug-in makes it really easy. Mike
Archived
This topic is now archived and is closed to further replies.