October 13, 201114 yr Author try changing the owner of that directory to nobody (as prostuff1 said, that could be the problem, although nobody has read permissions...) run this command: "chown -R nobody:users /mnt/cache/.apps/sabnzbd"
October 13, 201114 yr Same error. root@Shaggy:/mnt/cache/.apps/sabnzbd# "grep -w api_key /mnt/cache/.apps/sabnzbd/sabnzbd.ini | cut -d " " -f3" -bash: grep -w api_key /mnt/cache/.apps/sabnzbd/sabnzbd.ini | cut -d : No such file or directory root@Shaggy:/mnt/cache/.apps/sabnzbd# ls -la total 602 drwxrwxrwx 14 nobody users 840 2011-10-13 06:56 ./ drwxrwxrwx 9 root root 248 2011-10-13 08:28 ../ -rwxrwxrwx 1 nobody users 2270 2011-09-14 17:32 ABOUT.txt* -rwxrwxrwx 1 nobody users 48546 2011-09-14 17:32 CHANGELOG.txt* -rwxrwxrwx 1 nobody users 1092 2011-09-14 17:32 COPYRIGHT.txt* -rwxrwxrwx 1 nobody users 17990 2011-09-14 17:32 GPL2.txt* -rwxrwxrwx 1 nobody users 35147 2011-09-14 17:32 GPL3.txt* -rwxrwxrwx 1 nobody users 5335 2011-09-14 17:32 INSTALL.txt* -rwxrwxrwx 1 nobody users 3702 2011-09-14 17:32 ISSUES.txt* -rwxrwxrwx 1 nobody users 309 2011-09-14 17:32 PKG-INFO* -rwxrwxrwx 1 nobody users 1155 2011-09-14 17:32 README.txt* -rwxrwxrwx 1 nobody users 5316 2011-09-14 17:32 SABHelper.py* -rwxrwxrwx 1 nobody users 60254 2011-09-14 17:32 SABnzbd.py* -rwxrwxrwx 1 nobody users 421 2011-09-14 17:32 Sample-PostProc.cmd* -rwxrwxrwx 1 nobody users 433 2011-09-14 17:32 Sample-PostProc.sh* drwxrwxrwx 3 nobody users 328 2011-10-13 00:06 admin/ drwxrwxrwx 2 nobody users 1672 2011-09-14 17:42 cache/ drwxrwxrwx 5 nobody users 1168 2011-09-14 17:32 cherrypy/ drwxrwxrwx 2 nobody users 560 2011-09-14 17:32 email/ drwxrwxrwx 7 nobody users 168 2011-09-14 17:32 interfaces/ drwxrwxrwx 2 nobody users 528 2011-09-14 17:32 licenses/ drwxrwxrwx 9 nobody users 216 2011-09-14 17:32 locale/ drwxrwxrwx 2 nobody users 120 2011-09-23 10:34 logs/ -rwxrwxrwx 1 nobody users 96689 2011-09-14 17:32 nzb.ico* drwxrwxrwx 5 nobody users 120 2011-09-14 17:32 po/ drwxrwxrwx 3 nobody users 2192 2011-09-14 17:32 sabnzbd/ -rwxrwxrwx 1 nobody users 287934 2011-09-14 17:32 sabnzbd.ico* -rwxrwxrwx 1 nobody users 4481 2011-10-12 10:07 sabnzbd.ini* drwxrwxrwx 2 nobody users 112 2011-09-14 17:32 tools/ drwxrwxrwx 2 nobody users 144 2011-09-14 17:32 util/ root@Shaggy:/mnt/cache/.apps/sabnzbd#
October 13, 201114 yr Author ah, sorry, you have to run the cmd without the "" just grep -w api_key /mnt/cache/.apps/sabnzbd/sabnzbd.ini | cut -d " " -f3 if that works, it should work within the script...
October 13, 201114 yr Good news! I was able to install both sabnzbd and sickbeard. I had to start over from scratch since every time I point to an old data directory, sabnzbd and sickbeard does not work properly or even be able to access the GUI. Even fixing permissions on the old data directories of my previous sabnzbd and sickbeard installs did not work. Will try and get couchpotato running at a later time since I don't really use it. Thanks!
October 13, 201114 yr I got everything installed, Sickbeard and Couch Potato run as nobody, but the only way Sabnzbd runs is as root. I have no idea why. Frustration has set in.
October 13, 201114 yr Author I got everything installed, Sickbeard and Couch Potato run as nobody, but the only way Sabnzbd runs is as root. I have no idea why. Frustration has set in. I need more info than that. What is your configuration for sabnzbd in the webinterface? do you use an old datadir from a previous install? do you get any error message?
October 14, 201114 yr I got everything installed, Sickbeard and Couch Potato run as nobody, but the only way Sabnzbd runs is as root. I have no idea why. Frustration has set in. I need more info than that. What is your configuration for sabnzbd in the webinterface? do you use an old datadir from a previous install? do you get any error message? I pulled my hair out, but after running as root, twice, I decided to try as nobody again, and it is running. I don't get it, I don't understand it, but hey I am going with it. I did not get any error messages, it would just hang at starting. Anyway, thanks for the followup, and thank you for writing the plugins!
October 14, 201114 yr ah, sorry, you have to run the cmd without the "" just grep -w api_key /mnt/cache/.apps/sabnzbd/sabnzbd.ini | cut -d " " -f3 if that works, it should work within the script... That command works but the rc.sabnzbd stop is still sending the "wrong api key" error. It is pulling the variable for DATADIR$ from the plugin config file correct? I double checked it too to make sure it had the right path.
October 14, 201114 yr Author @burr: if the DATADIR and the sabnzb.ini file isn't found, the script will use a simple kill command to close sabnzbd. please try this updated version. if sabnzbd gives an error message while trying to shutdown, it will now simply use a kill cmd. http://unraid.benjaminwaller.de/sabnzbd/sabnzbd-0.4b-i468-bw.plg it's only a workaround at this time, until I know, why this bug exists... @camprman: glad you got it running. I'll run some tests when I get some free time, to see, what could have caused your problems.
October 15, 201114 yr @burr: if the DATADIR and the sabnzb.ini file isn't found, the script will use a simple kill command to close sabnzbd. please try this updated version. if sabnzbd gives an error message while trying to shutdown, it will now simply use a kill cmd. http://unraid.benjaminwaller.de/sabnzbd/sabnzbd-0.4b-i468-bw.plg it's only a workaround at this time, until I know, why this bug exists... Working like a charm now. Also i don't know if it's because of the kill command, but it is no longer showing the invalid api key errors in sabnzbd logs.
October 15, 201114 yr Author it uses the same files for the dependencies, so it should be as stable as the unmenu package. some people have some troubles, which i believe mostly exists when using old config files with wrong user permissions. but for most it runs smoothly. as of now i haven't heard of stability problems after installing these plugins. but keep in mind, that unraid v5 is beta and so is the whole plugin system.
October 15, 201114 yr Managed to get it to work, great plugin port! I think you should move the autoProcessTV-folder from the volatile filesystem to the DATADIR though, otherwise the settings in autoProcessTV.cfg are gone after every reboot. One could manually copy it, but maybe you could implement it in the future.
October 21, 201114 yr Author did anybody already try to install 0.6.10 via the included updater? just did the update (and as expected, it works just fine) btw. all the updater does, is to extract the new version to the installdir. only files within the package will be overwritten. so even if you don't use an extra datadir, your configs will be kept. update: small correction. there seems to be a small bug. even after the update, the webgui says there is an update. i'll look into it update 2: and fixed. (i guess, that's the what you get for being lazy. I could (or should) have done that like this from the start...) new version 0.4c (dl: http://unraid.benjaminwaller.de/sabnzbd/sabnzbd-0.4c-i468-bw.plg ) before the script would read only version number 0.6.1 (instead of 0.6.10) now the version number is read correctly (even if they use some stupid numbers like 0.6.10.1.4.2....)
October 22, 201114 yr New to unRaid, and am having trouble getting any plugins to work. I don't have a cache disk so tried installing it to both the default location and /mnt/disk1/SABnzbd and no luck. What is best practive for location of install and data directory for those without a cache disk? Here is the message I get. Starting sabnzbd: sudo -u nobody python /mnt/disk1/SABnzbd/SABnzbd.py -d -s 0.0.0.0:8080 --config-file /mnt/disk1/SABnzbd --pid /var/run/sabnzbd > /dev/null 2>&1 Any ideas? I imagine its something simples, but I couldn't find a solution in this thread.
October 22, 201114 yr I use a separate disk for plugins (no cache drive either), you can mount and share it via the S.N.A.P. plugin.
October 23, 201114 yr I've successfully installed all three plugins. And everything works until i reboot my server. After a reboot I have to configure all three plugins all over. Any ideas why my configuration is not getting saved on reboot? I'm running the latest beta of Unraid
October 23, 201114 yr what is your datadir, the cache disk? if you didn't select one, then probably the config is in the volatile filesystem.
October 23, 201114 yr Just started using unraid (free version 4.7 currently, with 2 data and 1 parity disk but planning to expand with a cache and more datadisks, probably the PLUS version). My main goal will be downloading with SABNZB an streaming videos to my Dune Base 3.0 over SMB or NFS. Right now I have both SMB and NFS set-up and working. Can all this fancy stuff like the configuration screens with those nice icons in the opening post be done in version 4.7?
October 23, 201114 yr what is your datadir, the cache disk? if you didn't select one, then probably the config is in the volatile filesystem. Yes, it was. Changed the data and install directory, and everything seems to be working great. Thanks!
October 23, 201114 yr Just started using unraid (free version 4.7 currently, with 2 data and 1 parity disk but planning to expand with a cache and more datadisks, probably the PLUS version). My main goal will be downloading with SABNZB an streaming videos to my Dune Base 3.0 over SMB or NFS. Right now I have both SMB and NFS set-up and working. Can all this fancy stuff like the configuration screens with those nice icons in the opening post be done in version 4.7? Nope, but you can try the unmenu packages which work great. what is your datadir, the cache disk? if you didn't select one, then probably the config is in the volatile filesystem. Yes, it was. Changed the data and install directory, and everything seems to be working great. Thanks! It's fine to use the volatile fs for the install dir, but the datadir should be stored permanently. Glad it works now.
October 26, 201114 yr I'm confused. I just tried to use this and it's not working right or i'm doing something wrong. Trying to get SickBeard working first: Install directory: /usr/local/sickbeard Data directory: /nmt/Usenet/Sickbeard SickBeard claims it's running and clicking on it gives me the UI... but where is the program installed? I have no idea where /usr/local/sickbeard is. I'm confused what these directories are...
October 26, 201114 yr I'm confused. I just tried to use this and it's not working right or i'm doing something wrong. Trying to get SickBeard working first: Install directory: /usr/local/sickbeard Data directory: /nmt/Usenet/Sickbeard SickBeard claims it's running and clicking on it gives me the UI... but where is the program installed? I have no idea where /usr/local/sickbeard is. I'm confused what these directories are... Um... this: /nmt/Usenet/Sickbeard does not exist notice the /nmt/ part /usr/local/sickbeard is in RAM
October 26, 201114 yr I'm confused. I just tried to use this and it's not working right or i'm doing something wrong. Trying to get SickBeard working first: Install directory: /usr/local/sickbeard Data directory: /nmt/Usenet/Sickbeard SickBeard claims it's running and clicking on it gives me the UI... but where is the program installed? I have no idea where /usr/local/sickbeard is. I'm confused what these directories are... Um... this: /nmt/Usenet/Sickbeard does not exist notice the /nmt/ part /usr/local/sickbeard is in RAM I meant mnt. How am I suppose to enable post processing in SickBeard? I need to edit a file and the programs are no where to be found. Setting them to be outside of RAM they still aren't there, and it wont pick up any existing installations. I don't get this at all. What directories am I suppose to be put for Install/Data? My programs are at tower\usenet\SABnzbd and tower\usenet\SickBeard
Archived
This topic is now archived and is closed to further replies.