December 7, 201114 yr Well I'm at a loss for how to troubleshoot. Sounds like everything is set up as it should be. If you end up adding something to your shares again, would you please check to see if it appropriately shows up (or doesn't) in the 3 following areas? For instance, if you add a new TV show, check to make sure it shows up under /mnt/cache/TV /mnt/user/TV And doesn't show up under whatever disk share(s) is (are) associated with the TV share, like... /mnt/disk2/TV If this all comes out as it should, shares are working properly and PMS should be picking up newly added media and I have no clue what's going on. Yep, shares working as intended
December 7, 201114 yr thanks for all the help spidi it's finally working.. works through 3g too this is great!! now i can use both my ios and android devices through unraid
December 7, 201114 yr [sigh] ok so what are people using to actually play their plex streams? cause I just went through a marathon of research to find out I will not be able to play 5.1 streams without a roku 2 ( i have a roku 1) and even then I would need to use a developer version of plex celint for roku 2. WD Live? Revu?
December 7, 201114 yr @jumperalex before 5beta... you have to use hidden folders (dot folder e.g. ".plex") to prevent the mover to move the folder to your data disks. Is there a new/better way to do it with 5beta? Does it resolve the memory leak completely?
December 7, 201114 yr continuing the saga of .data and soft links and cache etc ... so the plugin did create a ".data" folder on my cache. So is that considered "hidden" and I need to use soft links? Also it seems as if the mover did copy the ".data" folder from cache to my array. I'm not home to contrast and compare the contents, but isn't eh mover just not supposed to do it at all? I'm on 5.0B14 with unmenu, simple features, and whatver the unmenu package is that adds "-" as a mover exception.
December 7, 201114 yr Author Is there a new/better way to do it with 5beta? Does it resolve the memory leak competely? You can now create a user share with the option cache only. ("Use cache disk: only") ...not completely but slower.
December 7, 201114 yr Author continuing the saga of .data and soft links and cache etc ... so the plugin did create a ".data" folder on my cache. So is that considered "hidden" and I need to use soft links? Also it seems as if the mover did copy the ".data" folder from cache to my array. I'm not home to contrast and compare the contents, but isn't eh mover just not supposed to do it at all? I'm on 5.0B14 with unmenu, simple features, and whatver the unmenu package is that adds "-" as a mover exception. if you put "/mnt/cache/.data" as your library folder the plugin creates it, if it doesn't exist. and in my experience the mover doesn't touch that type of folders.
December 7, 201114 yr continuing the saga of .data and soft links and cache etc ... so the plugin did create a ".data" folder on my cache. So is that considered "hidden" and I need to use soft links? Also it seems as if the mover did copy the ".data" folder from cache to my array. I'm not home to contrast and compare the contents, but isn't eh mover just not supposed to do it at all? I'm on 5.0B14 with unmenu, simple features, and whatver the unmenu package is that adds "-" as a mover exception. if you put "/mnt/cache/.data" as your library folder the plugin creates it, if it doesn't exist. and in my experience the mover doesn't touch that type of folders. Ahhh ok so that was default, but I can surely just change it. re: your response to dirrtyjoe ... I should make a share (call it plexdata perhaps??) , set it to "Use cache disk: only" ... but that doesn't stop memory leaks completely? Sorry to be obtuse, but just to be sure ... the memory leak issue (which I need to see if I have anyway) pretty much happens when ...? I'm not asking the why (since if we knew why we could likely solve it) but under what conditions? All? only when using hidden folders? w/ or w/o soft links?
December 7, 201114 yr Author why do you ask? do you have problems with plex with your momentary configuration? If not, don't think about problems (memory leaks) and enjoy your working PMS with watching EURIKA Holliday special.
December 7, 201114 yr hahaha but .. but ... someone somewhere on the intertubes said "memory leak" and now I must ping until my unraid, or myself, have a hard crash Seriously though, I guess part of my concern was the appearance of .data on my array, my lack of understanding of softlinks and why I would want/not want to use them, my cache never spinning down and that I just upgraded from 4.7 to 5.0b14 so I'm uber paranoid about stability oh and a concern that I just hadn't been bitten by the memory leak yet so I wanted to make sure I wasn't blindly headed towards the cliff.
December 7, 201114 yr Author if you so anxious, do this: top -p $(cat /var/run/plex/plex.pid) watch it closely, if the number under VIRT is increasing more than 100 p.hour. you may have to worry. if not, PMS should run more than 48 hours.
December 8, 201114 yr hahaha but .. but ... someone somewhere on the intertubes said "memory leak" and now I must ping until my unraid, or myself, have a hard crash Seriously though, I guess part of my concern was the appearance of .data on my array, my lack of understanding of softlinks and why I would want/not want to use them, my cache never spinning down and that I just upgraded from 4.7 to 5.0b14 so I'm uber paranoid about stability oh and a concern that I just hadn't been bitten by the memory leak yet so I wanted to make sure I wasn't blindly headed towards the cliff. If you changed your plugin config to not point to the .data directory anymore, feel free to delete that directory and it won't show up again. It was initially created when you enabled the plugin with that path. But to be on the safe side, check it first and the last date a folder within has a change on it. The only directory inside *should* be the (now unused) Library directory and perhaps the tmp dir. Also, your unRAID box won't crash, the process will just quit if the virtual memory exceeds your physical memory. Not a huge deal.
December 8, 201114 yr @SPIDI and KAIGUY Thanks for the responses. so far things look ok, and i changed the directory to an actual share set as cache only. thanks.
December 8, 201114 yr For some reason my scanner isn't working and my library never gets updated, maybe someone here can help? I read through the thread and noticed at least two people had similar problems but I haven't been able to fix my installation based on the posts I read. I upgraded to Laiko 3 days ago and everything went ok except the installation seemed to have failed but worked after a reboot. It was last night I realized my library was no longer updating so I did a fresh install of the the plugin. Now the scanner still doesn't seem work... Plex is loaded and I can get to it through the Web interface but creating a section does not get the files added. I even wonder if it actually does a scan as forcing a new scan has no effect and even the 'Last refreshed...' in the interface doesn't get updated. My configuration is like so: SERVICE="enable" PLEX_INSTALLDIR="/usr/local/plex" PLEX_LIBRARYDIR="/mnt/disk1/plex" PLEX_TMPDIR="/tmp" RUNAS="unraid-plex" PLEX_HOME="/var/run/plex/" PLEX_SET_LINK="false" Plex is setup with a Movies section pointing to '/mnt/user/Downloads' that contains a few movies I know scan well into Plex. /mnt/user/Downloads: drwxrwx--- 1 nobody users 960 Dec 8 08:41 Downloads/ permissions of files in that directory: -rw-rw---- 1 nobody users /mnt/disk/plex: drwxrwxrwx 1 unraid-plex users 88 Dec 8 11:07 plex/ and inside that directory: drwxr-xr-x 3 unraid-plex users 88 Dec 8 11:07 Application\ Support/ From what I can tell all those permissions are correct. Now for the logs, I can't find a scanner log and wonder if it isn't the plugin agents logs for each scanner I should be looking at. Here is an error that occurs in the Server log: Dec 08, 2011 13:15:20 [0xaa0d7b70] ERROR - Library updater: select() failed with errno=4 Also, the server log seems to never stop growing, continually repeating the following: Dec 08, 2011 13:23:16 [0xb17ffb70] DEBUG - * start => 1323366325 Dec 08, 2011 13:23:16 [0xb17ffb70] DEBUG - It took 0.000000 sec to serialize a list with 0 elements. Dec 08, 2011 13:23:17 [0xb17ffb70] DEBUG - Request: GET /library/sections [192.168.0.195] (5 live) Dec 08, 2011 13:23:17 [0xb17ffb70] DEBUG - It took 0.000000 sec to serialize a list with 1 elements. Dec 08, 2011 13:23:18 [0xb17ffb70] DEBUG - Request: GET /library/sections [192.168.0.195] (5 live) Dec 08, 2011 13:23:18 [0xb17ffb70] DEBUG - It took 0.000000 sec to serialize a list with 1 elements. Dec 08, 2011 13:23:19 [0xb17ffb70] DEBUG - Request: GET /library/sections [192.168.0.195] (5 live) Dec 08, 2011 13:23:19 [0xb17ffb70] DEBUG - It took 0.000000 sec to serialize a list with 1 elements. Dec 08, 2011 13:23:20 [0xb17ffb70] DEBUG - Request: GET /library/sections [192.168.0.195] (5 live) Dec 08, 2011 13:23:20 [0xb17ffb70] DEBUG - It took 0.000000 sec to serialize a list with 1 elements. Dec 08, 2011 13:23:20 [0xb17ffb70] DEBUG - Request: GET /library/sections/4/timeline?start=1323366325 [192.168.0.195] (5 live) Dec 08, 2011 13:23:20 [0xb17ffb70] DEBUG - * start => 1323366325 Dec 08, 2011 13:23:20 [0xb17ffb70] DEBUG - It took 0.000000 sec to serialize a list with 0 elements. Dec 08, 2011 13:23:21 [0xb17ffb70] DEBUG - Request: GET /library/sections [192.168.0.195] (5 live) Dec 08, 2011 13:23:21 [0xb17ffb70] DEBUG - It took 0.000000 sec to serialize a list with 1 elements. Dec 08, 2011 13:23:22 [0xb17ffb70] DEBUG - Request: GET /library/sections [192.168.0.195] (5 live) Dec 08, 2011 13:23:22 [0xb17ffb70] DEBUG - It took 0.000000 sec to serialize a list with 1 elements. Dec 08, 2011 13:23:23 [0xb17ffb70] DEBUG - Request: GET /library/sections [192.168.0.195] (5 live) Dec 08, 2011 13:23:23 [0xb17ffb70] DEBUG - It took 0.000000 sec to serialize a list with 1 elements. Dec 08, 2011 13:23:24 [0xb17ffb70] DEBUG - Request: GET /library/sections [192.168.0.195] (5 live) Dec 08, 2011 13:23:24 [0xb17ffb70] DEBUG - It took 0.000000 sec to serialize a list with 1 elements. Dec 08, 2011 13:23:24 [0xb17ffb70] DEBUG - Request: GET /library/sections/4/timeline?start=1323366325 [192.168.0.195] (5 live) Dec 08, 2011 13:23:24 [0xb17ffb70] DEBUG - * start => 1323366325 Dec 08, 2011 13:23:24 [0xb17ffb70] DEBUG - It took 0.000000 sec to serialize a list with 0 elements. All my PMS Plugin Logs seem fine, no errors and plugings started and up to date. And, when I restart plex, I get this error: /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-: No such file or directory I've tried quite a few things so far, changing scanners, section types and stuff like that. I am going to try changing to user root and possibly using softlinks even though I know they are for hidden libraries. I'm willing to try anything before rolling back to my previous version. Thanks.
December 8, 201114 yr Author go to my initial post and download the plugin with "no UTF-8". (I just put it there)
December 8, 201114 yr Thanks but seems like a new issue has arisen and I'm worried I may have caused it... Now my flash drive is being mounted as read-only, taken it out and going to perform a scandisk on a windows machine. Hopefully nothing is wrong and I can try installing the other version. Thanks again.
December 8, 201114 yr Whew, fixed my usb key, I wonder if it was a coincidence of if Plex had anything to do with it... Or me messing around with permissions... Anyway, I installed the new "no UTF-8" package but my problems aren't quite over yet it seems... Now, I don't see any scanners, metadata agents or laguages show up in the Web interface when I try and add a section and because of that the GUI won't let me select a hard drive to link to the section. From my Plex server log these are the errors: Dec 08, 2011 16:04:12 [0xafb35b70] ERROR - Error issuing curl_easy_perform(handle): 28 Dec 08, 2011 16:09:13 [0xafb35b70] ERROR - Error issuing curl_easy_perform(handle): 28 Dec 08, 2011 16:14:15 [0xafb35b70] ERROR - Error issuing curl_easy_perform(handle): 28 I also have an error about cleaning up deactivated plugins. My networking works fine and I have no idea what that curl call is for but could it have anything to do with it? My PMS plugin logs seem fine also, no errors in any of them. Rebooted and everything seems to work!!!! Man, what an ordeal but I'm happy everything works now and a huge thanks to spidi!!! I'm guessing the locale really messed something up, wierd that not everyone has this problem, might have to do with another package that was installed? Anyway, thanks again spidi!
December 11, 201114 yr Hi Spidi, any idea what this error is all about ? ERROR - Couldn't create group: Bad state seems to crash my plex for some reason ... weird thing is that the settings page says that it is running ... but there is nothing showing up in the clients or the webpage is not loading ... restarting it solves the issue for a while .... never had that when i was running on the array... running now on the cache drive with a hidden directory .custom going to move it out of the hidden dir ... to try if that solves the issue
December 12, 201114 yr I installed and enabled the Plex Server but when I click on PlexMediaServer link I have a 404 Not Found error. The link is http://tower:32400/manage/index.html Any help?
December 12, 201114 yr So I have had Plex up and running without issue for a while now. Today I stopped and started Plex and it hung my web gui. I could get to unMENU, but not to the default unRAID gui. I was able to kill the processes for Plex and the gui came back, but now whenever i start Plex, this same thing happens. I have tried restarting the server and now when i start Plex i lose access to unMENU also. I can access the server via telnet and also can browse my shares. I can even play anything from Plex and can access the media manager. Any ideas for what to try without wiping out my Plex install and starting new?
December 13, 201114 yr Your library directory should be separate from the install directory, correct? Are you installing the program to a physical drive or installing to the volatile memory? If the latter, I'd probably delete the .plg file, reboot, put the plg file back into the plugins directory, do an installplg <plugin filename>, reconfig, and see if that fixes your problem.
December 13, 201114 yr It eventually came back. I started it again anyway because there were some things I wanted to watch. And when i checked after some time, I was able to access the GUI again. Not sure why it took so long, but all appears to be well right now.
December 13, 201114 yr Okay was having the crashing problem with 0.9.5.2 in a hidden folder called .PMS on my cache drive. It would crash after approx. 12 hours. I created a Cache Only share called PMS, moved my library there, and it's been up for almost (2) days straight. Just wanted to add my experience to the thread.
December 13, 201114 yr Great work on the plugin, this is what made me finally decide to go with beta 13 and I am SUPER happy!!! I came up with an interesting issue. When rebooting my server, the plugin would install OK but my library would always be blank, as in I would not see my Movies or TV shows. when I would stop and start the Plex server, I would then see the library. After doing MUCH messing around, I decided to modify the rc.plex script to give a 60 second delay before starting the Plex server and now I can see my library after a reboot, so perhaps it is starting before the array is fully online?!?!?! Here is my setup Plex is installed on a Application drive, which is mounted in my go script. I changed the config to run Plex as root user. My library is stored on my array. I just wanted to share this in case anyone else was having this issue. Cheers! Frank
Archived
This topic is now archived and is closed to further replies.