February 21, 201412 yr OK guys, give that a shot. I just put v0.5 up there with a number of changes (think I've got most everything needed done except mono3.x usage/installation due to glibc incompatibility). Tried using LD_PRELOAD for glibc usage without overriding the main glibc installation, but that didn't go to well so I'm going back to the drawing board.
February 21, 201412 yr Of course, I make a quick fix after releasing v0.5. For the ONE person that grabbed it before I stuck out v0.6, go pull the new one down if you have issues. The only change is that it now forces the right permissions for the running user for a config directory existing outside the install directory (specifically after it is auto-moved from the config directory being inside the install directory).
February 21, 201412 yr Of course, I make a quick fix after releasing v0.5. For the ONE person that grabbed it before I stuck out v0.6, go pull the new one down if you have issues. The only change is that it now forces the right permissions for the running user for a config directory existing outside the install directory (specifically after it is auto-moved from the config directory being inside the install directory). LOLZ, at least i never installed it. Muahhahaa I have the only known copy of .5 to ever exist in the wild.
February 21, 201412 yr Of course, I make a quick fix after releasing v0.5. For the ONE person that grabbed it before I stuck out v0.6, go pull the new one down if you have issues. The only change is that it now forces the right permissions for the running user for a config directory existing outside the install directory (specifically after it is auto-moved from the config directory being inside the install directory). LOLZ, at least i never installed it. Muahhahaa I have the only known copy of .5 to ever exist in the wild. Cherish it forever, it's one of a kind. Or, you know, throw it away. Whichever.
February 21, 201412 yr what is the upgrade command to get the latest? /etc/rc.d/rc.nzbdrone update will update nzbdrone from console from any version of the plugin. As for getting the plugin, he only posts the lastest, so you just copy over the old plg. No info is stored in the plg.
February 21, 201412 yr Cool just had to share, the easiest update ever root@LahomaMediaCenter:~# /etc/rc.d/rc.nzbdrone update cat: /var/run/nzbdrone/nzbdrone.lock: No such file or directory NzbDrone not running. Installing latest version of nzbdrone from http://update.nzbdrone.com/repos/apt/debian... Latest nzbdrone version is 2.0.0.1141, downloading deb from http://update.nzbdrone.com/repos/apt/debian/pool/main/n/nzbdrone/nzbdrone_2.0.0.1141_all.deb with MD5 of d49249035155b2ab30fca896493d2870 --2014-02-21 08:21:21-- http://update.nzbdrone.com/repos/apt/debian/pool/main/n/nzbdrone/nzbdrone_2.0.0.1141_all.deb Resolving update.nzbdrone.com (update.nzbdrone.com)... 192.73.239.101 Connecting to update.nzbdrone.com (update.nzbdrone.com)|192.73.239.101|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 3775758 (3.6M) [application/octet-stream] Saving to: `/tmp/nzbdrone.deb' 100%[======================================>] 3,775,758 1.14M/s in 3.3s 2014-02-21 08:21:24 (1.10 MB/s) - `/tmp/nzbdrone.deb' saved [3775758/3775758] MD5 of http://update.nzbdrone.com/repos/apt/debian/pool/main/n/nzbdrone/nzbdrone_2.0.0.1141_all.deb is valid, extracting relevant files /mnt/user/appdata/nzbdrone ... OK cat: /var/run/nzbdrone/nzbdrone.lock: No such file or directory Removing stale lock file from previous execution. Starting NzbDrone: sudo -u nobody mono-service /mnt/user/appdata/nzbdrone/NzbDrone.exe -d:/mnt/user/appdata/nzbdrone -l:/var/run/nzbdrone/nzbdrone.lock 1... OK root@LahomaMediaCenter:~#
February 22, 201412 yr Cool just had to share, the easiest update ever root@LahomaMediaCenter:~# /etc/rc.d/rc.nzbdrone update cat: /var/run/nzbdrone/nzbdrone.lock: No such file or directory NzbDrone not running. Installing latest version of nzbdrone from http://update.nzbdrone.com/repos/apt/debian... Latest nzbdrone version is 2.0.0.1141, downloading deb from http://update.nzbdrone.com/repos/apt/debian/pool/main/n/nzbdrone/nzbdrone_2.0.0.1141_all.deb with MD5 of d49249035155b2ab30fca896493d2870 --2014-02-21 08:21:21-- http://update.nzbdrone.com/repos/apt/debian/pool/main/n/nzbdrone/nzbdrone_2.0.0.1141_all.deb Resolving update.nzbdrone.com (update.nzbdrone.com)... 192.73.239.101 Connecting to update.nzbdrone.com (update.nzbdrone.com)|192.73.239.101|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 3775758 (3.6M) [application/octet-stream] Saving to: `/tmp/nzbdrone.deb' 100%[======================================>] 3,775,758 1.14M/s in 3.3s 2014-02-21 08:21:24 (1.10 MB/s) - `/tmp/nzbdrone.deb' saved [3775758/3775758] MD5 of http://update.nzbdrone.com/repos/apt/debian/pool/main/n/nzbdrone/nzbdrone_2.0.0.1141_all.deb is valid, extracting relevant files /mnt/user/appdata/nzbdrone ... OK cat: /var/run/nzbdrone/nzbdrone.lock: No such file or directory Removing stale lock file from previous execution. Starting NzbDrone: sudo -u nobody mono-service /mnt/user/appdata/nzbdrone/NzbDrone.exe -d:/mnt/user/appdata/nzbdrone -l:/var/run/nzbdrone/nzbdrone.lock 1... OK root@LahomaMediaCenter:~# Awesome, like to hear the appreciation! Also, there's now a button in the latest version (on the web UI) that actually calls that command from PHP to make it easier. Now you don't even need to telnet/SSH in, even though I generally am anyway. Also note, once you copy the new plg file over the old one, the web UI for NZBDrone configuration should show version 0.6 as the plugin version. If it doesn't that means the new plugin version isn't installed. Make sure you run "installplg nzbdrone.plg" on the plugin after putting it into the /boot/config/plugins directory. Alternatively, you can always drop the plg file into that directory and reboot unraid, it will auto-install/update on unraid reboot as with any plugin.
February 23, 201412 yr New version up (v0.7) which fixes mediainfo usage. Apparently wasn't grabbing libmediainfo and libzen before, this version adds those as dependencies. Running "mediainfo" from the commandline shouldn't bomb out anymore, and nzbdrone should be able to use mediainfo as well.
February 26, 201412 yr Dragonfyre13, i posted a question on nzbdrones forum and markus answered it but it was a little cryptic for me. this the convo http://tinyurl.com/mvw53xf can you tell me how you address this or this is a new weird thing. thanks
February 27, 201412 yr Dragonfyre13, i posted a question on nzbdrones forum and markus answered it but it was a little cryptic for me. this the convo http://tinyurl.com/mvw53xf can you tell me how you address this or this is a new weird thing. thanks That link doesn't seem to work for me. Just goes to "hp%20p400%20array%20controller". If you want to post the whole link here, I can take a look though.
February 27, 201412 yr http://forums.nzbdrone.com/discussion/699/ability-to-be-used-as-an-unraid-plugin-preferably-importing-existing-sickbeard-settings#Item_12 That is the link I meant to post. Sent from my iPhone using Tapatalk
February 28, 201412 yr http://forums.nzbdrone.com/discussion/699/ability-to-be-used-as-an-unraid-plugin-preferably-importing-existing-sickbeard-settings#Item_12 That is the link I meant to post. Sent from my iPhone using Tapatalk Did my best, let me know if there's any more question about it. Might be better to discuss this one on this forum, since it's specifically to do with how unraid handles recognizing the root level mount point. My answer is here for reference (question was around an error in the logs regarding not being able to retrieve currently free space for the / partition): The issue described is actually pretty simple when understanding how unraid works. / has no defined free space because unlike general purpose linux distros, it's not mounted per-say. It's running out of RAM by default (after bios loads GRUB, GRUB loads the linux image into RAM and since / is never mounted...), which also means anything stored there is blown away if the machine reboots. /boot is mounted to your flash drive (which it unpacks the OS from before loading it into RAM), /mnt has sub-directories under it for each of the disks, and a few "virtual" directories that combine all the contents of all the disks (/mnt/user and /mnt/user0, /mnt/user0 is whatever disks combined minus the cache drive IIRC). This is why the installation path and config path have to be set in the unraid plugin, since they need to be somewhere within either /boot (bad idea, lots of hits to your flash drive drastically reduces longevity) or /mnt/something. Personally, I have it on my cache drive, you can also choose to have it on a different drive if you don't have a cache drive. Of course, the option is always there to have the config on one of your drives, but the installation held in memory (stick it somewhere other than /mnt/something or /boot) since unraid re-installs any plugins needed on each boot up, which is why plugin logic needs to account for this. So for example, this is the drive configuration on one of my unraid boxes (I have two, it's an addiction, and before you say it I know I need to clean up my drives on this one a LOT): # df -h Filesystem Size Used Avail Use% Mounted on /dev/sdd1 31G 532M 30G 2% /boot /dev/sdc1 120G 45G 75G 38% /mnt/cache /dev/md1 932G 853G 80G 92% /mnt/disk1 /dev/md2 932G 797G 136G 86% /mnt/disk2 /dev/md4 1.9T 1.7T 207G 89% /mnt/disk4 /dev/md5 932G 841G 91G 91% /mnt/disk5 /dev/md3 1.9T 1.7T 137G 93% /mnt/disk3 shfs 6.4T 5.8T 649G 91% /mnt/user0 shfs 6.4T 5.8T 649G 91% /mnt/user Here's the mount locations: # mount proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) /dev/sdd1 on /boot type vfat (rw,noatime,nodiratime,umask=0,shortname=mixed) /dev/sdc1 on /mnt/cache type reiserfs (rw,noatime,nodiratime,user_xattr,acl) /dev/md1 on /mnt/disk1 type reiserfs (rw,noatime,nodiratime,user_xattr,acl) /dev/md2 on /mnt/disk2 type reiserfs (rw,noatime,nodiratime,user_xattr,acl) /dev/md4 on /mnt/disk4 type reiserfs (rw,noatime,nodiratime,user_xattr,acl) /dev/md5 on /mnt/disk5 type reiserfs (rw,noatime,nodiratime,user_xattr,acl) /dev/md3 on /mnt/disk3 type reiserfs (rw,noatime,nodiratime,user_xattr,acl) shfs on /mnt/user0 type fuse.shfs (rw,nosuid,nodev,noatime,allow_other,default_permissions) shfs on /mnt/user type fuse.shfs (rw,nosuid,nodev,noatime,allow_other,default_permissions) nfsd on /proc/fs/nfs type nfsd (rw) Notice, there's no mount location for "/" included there, and nothing returned in df. That's why specifying / when calling df (to get "disk free" for root level directory) returns what it does: # df / Filesystem 1K-blocks Used Available Use% Mounted on - 0 0 0 - / So the reason nzbdrone can't see free space on / is because... such a thing doesn't exist as far as the OS is concerned. It's an oddity, but one I've been ignoring in my logs until now wherever it appears. Nice that it doesn't log an error anymore, and good to handle a circumstance where this happens (there's other scenarios in the linux world you might not be able to get free space for a given mount location), but not critical since if the unraid plugin has been configured properly you'll never be doing anything with / anyway, just mount locations underneath that.
February 28, 201412 yr Great thanks for the great reply. So I will just ignore them. Maybe Markus can address that. Sent from my iPhone using Tapatalk
March 12, 201412 yr any news on the crashing/stopping issues every few days/weeks? I'm also seeing frequent crashes. I assume mono is to blame...? Is there a better version of mono to run on 5.0.5?
March 12, 201412 yr Markus developer of nzbs robe suggest using monk 3.0 bit I'm not sure how well it would run on 5.0.5 Sent from my iPhone using Tapatalk
March 12, 201412 yr I've just tried this plugin out, and it worked really well except the webUI did not install after boot. I had to run the install manually and start it after.
March 12, 201412 yr NVM, i found that the uplugged page creation was commented out in this plugin. I'm going to speak with the dev regarding a 48 pixel logo to be updated onto github since that's the normal size unraid uses in the settings page. I know some of the unplugged icons aren't following that standard either so it makes for a wonky looking settings page with nothing lining up.
March 12, 201412 yr Is there any specific reason why this plugin is checking where the install directory is located? Usually on Unraid, appdata directory needs to be persistent so config files and databases are saved, but the install dir is supposed to be on the ram disk (not persistent), unless there is some aspect of nzbdrone i don't know about that gets dropped after a non persistent reboot?
March 12, 201412 yr Is there any specific reason why this plugin is checking where the install directory is located? Usually on Unraid, appdata directory needs to be persistent so config files and databases are saved, but the install dir is supposed to be on the ram disk (not persistent), unless there is some aspect of nzbdrone i don't know about that gets dropped after a non persistent reboot? Not really. Main reason is just that I had it in there for previous plugins (checking the install directory) and because it made sense when the appdata directory HAD to be underneath install. Suppose I could remove the check, but I'm not sure what issues that could/couldn't cause if the install directory isn't in place. I'm not sure if there's volitile data stored there, though would assume not given associated information and the form I'm unpacking it from.
March 14, 201412 yr I notice that after i installed the latest update it crashed more often like it could go week and crash but it was like hours with the new version.
March 15, 201412 yr Is there any specific reason why this plugin is checking where the install directory is located? Usually on Unraid, appdata directory needs to be persistent so config files and databases are saved, but the install dir is supposed to be on the ram disk (not persistent), unless there is some aspect of nzbdrone i don't know about that gets dropped after a non persistent reboot? Not really. Main reason is just that I had it in there for previous plugins (checking the install directory) and because it made sense when the appdata directory HAD to be underneath install. Suppose I could remove the check, but I'm not sure what issues that could/couldn't cause if the install directory isn't in place. I'm not sure if there's volitile data stored there, though would assume not given associated information and the form I'm unpacking it from. OK. I went in and removed it. In going to see if there is any other place to clean up the plugin code. For example I sometimes stop the plugin and it's not actually killing the application. I'll add in the ability to set the webroot from the plugin page also. I've noticed this application is quite unstable when loading in a bunch of shows that exist already in disk. The refresh and scan option annually crashes on the server. I actually have unraid in a VM so i can test and muck around, installed slackware mono 3.2.3 with glibc 2.15 and now the application has stopped crashing for me, and I haven't noticed any problems with Unraid OS breaking with the new glibc files. I'll let it run a few days however to test at least until someone compiles the latest mono 3.2.8 with glibc 2.11 (if possible).
March 16, 201412 yr Yeah I had this problem my suslog was littered with errors from glic mismatch. I wipe and stared new so if someone could compile I can get back to nzbdrone Sent from my iPhone using Tapatalk
March 18, 201412 yr I spent about 5 hours trying to compile mono 3.2.8 (git) on my unraid server but i'm just having too many problems. Specifically with an error while running make about "atomic.h undefined reference to __Sync_and_fetch_8. I've tried about everything I can think of. The latest update to NZBDrone now gives you a warning in your settings that you should run mono 3.2.x for stability but I guess this will have to move to unraid 6 and visualizing to get this working properly.
Archived
This topic is now archived and is closed to further replies.