August 29, 201114 yr I installed these last night. I seem to have a strange setup. I told the install to set the data directory on my cache drive. That seems fine for sabnzbd and sickbeard except that some of the files directories that I expected on the data drive are in the install drive. i.e., autoProcessTV is in /usr/local/sickbeard/autoProcessTV and not /mnt/cache/sickbeard. If I am right, this will cause me issues after every reboot because it needs the cfg file renamed and edited. Or am I barking up the wrong tree ?
August 31, 201114 yr I have installed your SABnzbd plugin, and have a bit of a problem with the post processing from the incomplete folder to the complete folder in SABnzbd, hoping you can guide me wit ha solution 2011-08-31 13:56:57,006 ERROR: Post Processing Failed for X Men First Class 2011 BDRip XVID AC3 HQ Hive CM8 (Cannot create final folder /mnt/cache/.apps/sabnzbd/Downloads/complete/movies/X Men First Class (2011)/X Men First Class 2011 BDRip XVID AC3 HQ Hive CM8) 2011-08-31 13:56:57,005 ERROR: Failed making (/mnt/cache/.apps/sabnzbd/Downloads/complete/movies/X Men First Class (2011)/X Men First Class 2011 BDRip XVID AC3 HQ Hive CM8)
August 31, 201114 yr I'm having trouble getting autroProcessTV.py running. The permissions are fine. It doesn't seem to run the script. here's the output. Loading config from /mnt/cache/.apps/sickbeard/autoProcessTV/autoProcessTV.cfg Opening URL: http://localhost:8081/home/postprocess/processEpisode?nzbName=some_legal_video.nzb&quiet=1&dir=%2Fmnt%2Fcache%2F.apps%2Fsabnzbd%2FDownloads%2Fcomplete%2Ftv%2FSome_Legal_Video+S01E01+HDTV+XviD-LOL <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta> <title>404 Not Found</title> <style type="text/css"> #powered_by { margin-top: 20px; border-top: 2px solid black; font-style: italic; } #traceback { color: red; } </style> </head> <body> <h2>404 Not Found</h2> <p>The path '/home/postprocess/processEpisode' was not found.</p> <pre id="traceback">Traceback (most recent call last): File "/usr/local/sabnzbd/cherrypy/_cprequest.py", line 618, in respond cherrypy.response.body = self.handler() File "/usr/local/sabnzbd/cherrypy/_cperror.py", line 233, in __call__ raise self NotFound: (404, "The path '/home/postprocess/processEpisode' was not found.") </pre> <div id="powered_by"> <span>Powered by <a href="http://www.cherrypy.org">CherryPy 3.2.0</a></span> </div> </body> </html>
August 31, 201114 yr Author I installed these last night. I seem to have a strange setup. I told the install to set the data directory on my cache drive. That seems fine for sabnzbd and sickbeard except that some of the files directories that I expected on the data drive are in the install drive. i.e., autoProcessTV is in /usr/local/sickbeard/autoProcessTV and not /mnt/cache/sickbeard. If I am right, this will cause me issues after every reboot because it needs the cfg file renamed and edited. Or am I barking up the wrong tree ? you are right. but normally you wouldn't change the files in the autoProcessTV folder, i believe. but i'll add a way to copy the autoProcessTV folder to the data dir. I have installed your SABnzbd plugin, and have a bit of a problem with the post processing from the incomplete folder to the complete folder in SABnzbd, hoping you can guide me wit ha solution 2011-08-31 13:56:57,006 ERROR: Post Processing Failed for X Men First Class 2011 BDRip XVID AC3 HQ Hive CM8 (Cannot create final folder /mnt/cache/.apps/sabnzbd/Downloads/complete/movies/X Men First Class (2011)/X Men First Class 2011 BDRip XVID AC3 HQ Hive CM8) 2011-08-31 13:56:57,005 ERROR: Failed making (/mnt/cache/.apps/sabnzbd/Downloads/complete/movies/X Men First Class (2011)/X Men First Class 2011 BDRip XVID AC3 HQ Hive CM8) what user is running sabnzbd? please run "ls -la /mnt/cache/.apps/sabnzbd/Downloads/complete/" and tell me the result (owning user/group and user rights) I'm having trouble getting autroProcessTV.py running. The permissions are fine. It doesn't seem to run the script. here's the output. i've seen that problem, too. but only in a few cases. next time the script worked fine again. currently i have very little time, but i'll research the reason for this behavior. i believe it's a problem of sickbeard.
August 31, 201114 yr I have installed your SABnzbd plugin, and have a bit of a problem with the post processing from the incomplete folder to the complete folder in SABnzbd, hoping you can guide me with a solution what user is running sabnzbd? please run "ls -la /mnt/cache/.apps/sabnzbd/Downloads/complete/" and tell me the result (owning user/group and user rights) I'm running sabnzbd under user nobody. Results of command total 0 drwx------ 4 nobody users 96 2011-08-30 23:42 ./ drwx------ 4 nobody users 104 2011-08-30 23:40 ../ drwxr-xr-x 2 root root 48 2011-08-30 23:42 movies/ drwxr-xr-x 2 root root 48 2011-08-30 23:42 tv/
August 31, 201114 yr Author ok, that is strange. the folders should be owned by the user nobody. i'll check why their ownership isn't changed. run this command to fix it on your server: chown -R nobody:users /mnt/cache/.apps/sabnzbd/Downloads
August 31, 201114 yr ok, that is strange. the folders should be owned by the user nobody. i'll check why their ownership isn't changed. run this command to fix it on your server: chown -R nobody:users /mnt/cache/.apps/sabnzbd/Downloads Many thanks that worked a charm, I suspect I created the folders from the command line while logged in as root.
September 2, 201114 yr If I already have an instalation of sick beard and sabnzb installed via old method (unmenu packages) including dependencies how do I switch over to the new plugin and keep the existing install and config??
September 2, 201114 yr Author just select the existing installation dir of sabnzbd. if the plugin can find the sabnzbd.py file in that folder, no file will be overwritten to make sure that nothing can go wrong, you can make a backup of your sabnzbd folder before installing the new plugin
September 2, 201114 yr I have all three plugins (SABnzbd+,SickBeard,CouchPotato) installed, when rebooting all three applications start no problem. SABnzbd+ though reported the following error When Type Warning 2011-08-31 18:28:33,530 ERROR: Cannot create directory /usr/local/sickbeard/autoProcessTV Under the config/folder section of SABnzbd the "Post-Processing Scripts Folder" was blank, and needed to be set again to "/usr/local/sickbeard/autoProcessTV" I have not tried to reboot again to see if it happens again, was just wondering if anyone else had this problem?
September 2, 201114 yr I had existing installations of all 3, but decided to temporarily disable them to try the plugins. I followed directions and started up all 3 plugins, but am having a world of trouble with any of the plugins actually saving my settings through the webgui interface. For example I change an app directory and hit apply and it automatically checks the data dir box and defaults to the /usr/local/<whatever> directory. I can't turn it off and get the setting to stick. I see no logs or anything to see what's happening.... Any ideas on how I can fix this?
September 2, 201114 yr Author the settings only get saved when enabling the app. so you have to enter your settings, then select enable:yes and then press "apply" i'll try to remember to add saving even when disabled.
September 10, 201114 yr First thanks for taking the time to make these plugins. I'm having quite a bit of trouble stopping and starting sickbeard from the GUI. I chose no under enable and hit apply and the page just keeps loading. It always indicates sickbeard is running at the bottom of the page but I can't load it in the browser. Trying /etc/rc.d/rc.sickbeard disable or /etc/rc.d/rc.sickbeard stop hangs the telnet session. I had it running OK as root but when it moved the files the permissions were wrong so I tried to switch the user to nobody but it does not seem to want to start. User nobody does not show up in the unraid GUI but when I try to add it it tells me the user already exists. I also loose both sabnzbd and sickbeard configuration occasionally after reboot. Both are installed to /mnt/cache/.apps/ with data directory unchecked. Any idea what I'm doing wrong? Thanks
September 10, 201114 yr Just one quick suggestion. Both sickbeard and couchpotato have auto-update mechanisms built in if they are ran from within a cloned github repo. So instead of running wget and downloading the latest tarball, why not install the git package first, and then do a git clone. Using this approach, you could also store the latest version obtained during boot in permanent storage, and then on subsequent boot simply call git pull before installing to /usr/local. That way, in the worst possible scenario in which github is down during startup, you could still update the app from within its own web gui. This is how I currently have sickbeard/couchpotato set up. For sabnzbd it doesn't matter since it can only be updated by downloading the new package from sourceforge.
September 11, 201114 yr First thanks for taking the time to make these plugins. I'm having quite a bit of trouble stopping and starting sickbeard from the GUI. I chose no under enable and hit apply and the page just keeps loading. It always indicates sickbeard is running at the bottom of the page but I can't load it in the browser. Trying /etc/rc.d/rc.sickbeard disable or /etc/rc.d/rc.sickbeard stop hangs the telnet session. I had it running OK as root but when it moved the files the permissions were wrong so I tried to switch the user to nobody but it does not seem to want to start. User nobody does not show up in the unraid GUI but when I try to add it it tells me the user already exists. I also loose both sabnzbd and sickbeard configuration occasionally after reboot. Both are installed to /mnt/cache/.apps/ with data directory unchecked. Any idea what I'm doing wrong? Thanks I think I've worked out most of it. The install directories and files were all owned by root/root which I think was causing the hangs when I tried to run the applications as nobody. I changed then to nobody user and changed all the permissions to 766 and things seem to be running much smoother.
September 14, 201114 yr I'm having some odd behaviour myself with permissions. in my incomplete folder some of the folders are drwxrwxrwx while others are drwxrwx---, when I go into the folders themselves they are simply -rw------- and owned by root/root, which seems to be the reason I can't access them by user share. is this something that is changeable so the incomplete directories and it's contents can be accessed by the shares? There are times when manual post processing is needed for a file and there are extra hoops to go through to get at them currently. **Edit - Added a question ** Is the install using multi-core par2 as multicore by default or do I need to set -t+ under the extra parameters? **re-edit** found my own answer, ran par2 manuallyl to see what it had to say and saw that -t+ is the default parameter so no need to manually enter it it seems.
September 14, 201114 yr I'm having some odd behaviour myself with permissions. in my incomplete folder some of the folders are drwxrwxrwx while others are drwxrwx---, when I go into the folders themselves they are simply -rw------- and owned by root/root, which seems to be the reason I can't access them by user share. is this something that is changeable so the incomplete directories and it's contents can be accessed by the shares? There are times when manual post processing is needed for a file and there are extra hoops to go through to get at them currently. I can't answer this directly, but if the files you are downloading are owned by root then your application might be/probably is running as root. Check via the command prompt using a ps -ef and see who the owner is on the SABnzb, SickBeard, and CouchPotato processes. You can also set the permissions on downloaded files from within SABnzb... and maybe SickBeard. I have mine set to 770 within the SABnzb interface. **Edit - Added a question ** Is the install using multi-core par2 as multicore by default or do I need to set -t+ under the extra parameters? **re-edit** found my own answer, ran par2 manuallyl to see what it had to say and saw that -t+ is the default parameter so no need to manually enter it it seems. You already figured this answer out but Benni-chan is using the multi-core par2 package I created for unRAID. The original code is not mine, I merely packaged it so I could use it in my SABnzbd unMenu package.
September 14, 201114 yr I can't answer this directly, but if the files you are downloading are owned by root then your application might be/probably is running as root. Check via the command prompt using a ps -ef and see who the owner is on the SABnzb, SickBeard, and CouchPotato processes. You can also set the permissions on downloaded files from within SABnzb... and maybe SickBeard. I have mine set to 770 within the SABnzb interface. That seting only seems to affect the completed downloads, was hoping to get other folders automatically set right, I'll look into it and if I find a solution I'll mention it here as well. Thanks though, didn't even notice that setting the first time around.
September 14, 201114 yr I can't answer this directly, but if the files you are downloading are owned by root then your application might be/probably is running as root. Check via the command prompt using a ps -ef and see who the owner is on the SABnzb, SickBeard, and CouchPotato processes. You can also set the permissions on downloaded files from within SABnzb... and maybe SickBeard. I have mine set to 770 within the SABnzb interface. That seting only seems to affect the completed downloads, was hoping to get other folders automatically set right, I'll look into it and if I find a solution I'll mention it here as well. Thanks though, didn't even notice that setting the first time around. to fix your current ones you will need to run something like: chown -R nobody:users YOUR_DOWNLOADS_FOLDER chmod -R 770 YOUR_DOWNLOADS_FOLDER on the place your downloaded files are.
September 16, 201114 yr tried today to instal SABnzbd,couchpotato,sickbeard. sickbeard installed but the other 2 not...any clue?
September 20, 201114 yr Author i have been away for some time (some annoying exams...). now that i'm back, i'll try to do some optimizations to the plugins. also still have some todo items to work on @naxiand: check if your data and installdir were created and if they are writeable. try to copy the command you see, when starting sabnzbd, into your terminal and start it manually. do you see any errors?
September 20, 201114 yr worked out,but had then problem with transmission on reboot so i went back to 4.7 (all work there) for the time been .........
September 21, 201114 yr I'm new to Linux and unraid, so please be gentle but I noticed your script is running sickbeard with -d arg. Every time I've ran sickbeard, and all the tuts I've seen it has had the arg --daemon. Maybe this is the source of the hang on startup?
September 21, 201114 yr Author the -d and the --daemon arg are exactly the same. -d is just a bit shorter... but sickbeard runs the exact same code, whether you use -d or you use --daemon
September 21, 201114 yr K thanks for being nice about my stupidity Now for me to get headphones working as a plugin. I managed to change your sickbeard plugin into headphones plugin (for personal use) but for some reason it will only let me use default install dir.. Probly just a typo, I will keep messing with it. thanks for these plugins, it's giving me a better understanding on how this all works
Archived
This topic is now archived and is closed to further replies.