JustinChase Posted November 4, 2011 Share Posted November 4, 2011 I have both programs setup, and they seem to be 'working' fine, but I can't get SAB to recognize/display/offer/use the script in the autoProcessTV folder. I've tried pointing to it in SAB with the following... /mnt/disk1/plugins/sickbeard/autoProcessTV /mnt/disk1/plugins/sickbeard/autoProcessTV/ /mnt/user/plugins/sickbeard/autoProcessTV /mnt/user/plugins/sickbeard/autoProcessTV/ 2 days ago, the addtosickbeard.py (can't remember the name now) script DID show up, but after a restart, nothing brings it back. I've verified it's still in the same location (/mnt/disk1/plugins/sickbeard/autoProcessTV). I have the autoProcessTV.cfg set to login using the SAB credentials. I tried with the SB credentials also. I think I've tried without any credentials also. I have all plugins installed to the default location /usr/local/{each one has a folder here} and the data installed to /mnt/disk1/plugins/{each one has a folder here} I tried to change permissions, but I'm a Linux newb, so I probably did it wrong. I've run the fix permissions script a few times, still no love. finally, is this script better than the SAB post-processing? I assume it is, but I'm new to all this, so I'm still very ignorant I'm about ready to give up and just figure out the SAB post-processing. unRAID is beating me down Quote Link to comment
mtmb Posted November 4, 2011 Share Posted November 4, 2011 I'm a complete newbie to all of this and am in the process of setting it all up myself but have you tried setting the 'Post Processing Scripts folder' in SABnzbd to /mnt/disk1/plugins/sickbeard/autoProcessTV (In the 4 examples you mentioned you've already tried you didn't have the folder autoProcessTV at the end.) Quote Link to comment
spidi Posted November 4, 2011 Share Posted November 4, 2011 did you copy the autoProcessTV.cfg.sample to autoProcessTV.cfg and did the corresponding changes to your needs? (if you changed the port) Quote Link to comment
JustinChase Posted November 4, 2011 Author Share Posted November 4, 2011 I'm a complete newbie to all of this and am in the process of setting it all up myself but have you tried setting the 'Post Processing Scripts folder' in SABnzbd to /mnt/disk1/plugins/sickbeard/autoProcessTV (In the 4 examples you mentioned you've already tried you didn't have the folder autoProcessTV at the end.) sorry, I'm posting from work, but yes, I did have the autoProcessTV at the end, I will update the original post to be more correct, sorry, and thanks for the feedback did you copy the autoProcessTV.cfg.sample to autoProcessTV.cfg and did the corresponding changes to your needs? (if you changed the port) yep, I did that, and changed it to reflect the login info for SAB, and for SB and with no login credentials, none currently work. As I said, it did work once, a couple days ago, but since rebooting, I cannot get it working. I've got all kinds of network access issues/latency/inability to connect issues also, so maybe it's all related. I just figured someone could help me verify I have it correct, so that if it still doesn't work, I can stop trying to "fix" this, and find out why it's not working at overall. Thanks again for the help. Quote Link to comment
spidi Posted November 4, 2011 Share Posted November 4, 2011 looks good at the moment. is sabToSickBeard.py executable and has the user which run sabnzbd has the ownership of this file(s). if you run SAB as nobody it has to look like this: ls -al * -rw-r--r-- 1 nobody users 72 2011-08-23 22:05 autoProcessTV.cfg -rw-r--r-- 1 nobody users 71 2011-08-23 12:26 autoProcessTV.cfg.sample -rw-r--r-- 1 nobody users 2745 2011-08-23 12:26 autoProcessTV.py -rw------- 1 nobody users 2615 2011-08-25 04:40 autoProcessTV.pyc -rwxr-xr-x 1 nobody users 979 2011-08-23 12:26 hellaToSickBeard.py* -rwxr-xr-x 1 nobody users 1048 2011-08-23 12:26 sabToSickBeard.py* Quote Link to comment
JustinChase Posted November 5, 2011 Author Share Posted November 5, 2011 is sabToSickBeard.py executable and has the user which run sabnzbd has the ownership of this file(s). if you run SAB as nobody it has to look like this: Nope, I get this... root@media:/mnt/disk1/plugins/sickbeard/autoProcessTV# ls -al * -rw-rw---- 1 nobody users 71 2011-10-31 03:50 autoProcessTV.cfg -rw-rw---- 1 nobody users 87 2011-11-03 02:14 autoProcessTV.cfg.sample -rw-rw---- 1 nobody users 2745 2011-09-27 21:52 autoProcessTV.py -rw-rw---- 1 nobody users 979 2011-09-27 21:52 hellaToSickBeard.py -rw-rw---- 1 nobody users 1048 2011-09-27 21:52 sabToSickBeard.py and I'm not yet smart enough to know how to make it look like yours. I need to a good Linux tutorial someday. Quote Link to comment
JustinChase Posted November 5, 2011 Author Share Posted November 5, 2011 I just checked and /couchpotato and /sabnzbd both show every file with the same permissions as /sickbeard above. Is that normal for these other 2 plugins, or is this an indication of a deeper issue? root@media:/mnt/disk1/plugins/couchpotato# ls -al * -rw-rw---- 1 nobody users 3059 2011-11-03 22:36 config.ini -rw-rw---- 1 nobody users 10866 2011-10-22 23:16 couchpotato-0.4a-i468-1bw.plg -rw-rw---- 1 nobody users 58368 2011-11-03 22:37 data.db cache: total 5 drwxrwx--- 5 nobody users 120 2011-10-31 13:55 ./ drwxrwx--- 4 nobody users 200 2011-11-03 22:37 ../ drwxrwx--- 2 nobody users 4368 2011-11-02 00:35 images/ drwxrwx--- 3 nobody users 184 2011-10-31 01:53 updates/ drwxrwx--- 2 nobody users 1088 2011-11-02 00:35 xml/ logs: total 1890 drwxrwx--- 2 nobody users 200 2011-11-01 23:59 ./ drwxrwx--- 4 nobody users 200 2011-11-03 22:37 ../ -rw-rw---- 1 nobody users 427644 2011-11-03 22:55 CouchPotato.log -rw-rw---- 1 nobody users 499390 2011-11-01 23:59 CouchPotato.log.1 -rw-rw---- 1 nobody users 499710 2011-11-01 20:20 CouchPotato.log.2 -rw-rw---- 1 nobody users 499811 2011-11-01 16:16 CouchPotato.log.3 root@media:/mnt/disk1/plugins/couchpotato# cd /mnt/disk1/plugins/sabnzbd root@media:/mnt/disk1/plugins/sabnzbd# ls -al * -rw-rw---- 1 nobody users 13355 2011-10-29 22:58 sabnzbd-0.4c-i468-bw.plg -rw-rw---- 1 nobody users 2881 2011-11-03 22:36 sabnzbd.ini -rw-rw---- 1 nobody users 2881 2011-11-03 02:50 sabnzbd.ini.bak Downloads: total 5 drwxrwx--- 3 nobody users 80 2011-10-30 01:56 ./ drwxrwx--- 5 nobody users 232 2011-11-03 22:36 ../ drwxrwx--- 72 nobody users 4592 2011-11-03 22:10 incomplete/ admin: total 92 drwxrwx--- 3 nobody users 360 2011-11-03 22:56 ./ drwxrwx--- 5 nobody users 232 2011-11-03 22:36 ../ -rw-rw---- 1 nobody users 6 2011-11-03 22:57 bookmarks.sab drwxrwx--- 2 nobody users 48 2011-11-03 19:51 future/ -rw-rw---- 1 nobody users 55296 2011-11-03 22:56 history1.db -rw-rw---- 1 nobody users 11 2011-11-03 22:57 postproc1.sab -rw-rw---- 1 nobody users 4833 2011-11-03 22:57 queue9.sab -rw-rw---- 1 nobody users 6 2011-11-03 22:57 rss_data.sab -rw-rw---- 1 nobody users 631 2011-10-30 01:52 server.cert -rw-rw---- 1 nobody users 891 2011-10-30 01:52 server.key -rw-rw---- 1 nobody users 187 2011-11-03 22:57 totals9.sab -rw-rw---- 1 nobody users 37 2011-11-03 22:57 watched_data.sab logs: total 6394 drwxrwx--- 2 nobody users 152 2011-11-02 00:22 ./ drwxrwx--- 5 nobody users 232 2011-11-03 22:36 ../ -rw-rw---- 1 nobody users 0 2011-10-30 01:21 sabnzbd.error.log -rw-rw---- 1 nobody users 1295354 2011-11-03 22:57 sabnzbd.log -rw-rw---- 1 nobody users 5242794 2011-11-02 00:22 sabnzbd.log.1 I just checked the sabnabd.log, and it looks like it worked 2 days ago. Before I last restarted. 2011-11-02 00:22:39,343::INFO::[postproc:255] Starting PostProcessing on The.Big.Bang.Theory.S01E03.PROPER.720p.HDTV.x264-YesTV => Repair:True, Unpack:True, Delete:True, Script:sabToSickBeard.py, Cat:tv but yesterday, it's not there... 2011-11-03 22:09:33,153::INFO::[postproc:255] Starting PostProcessing on big_bang_theory_s01e03 => Repair:True, Unpack:True, Delete:True, Script:None, Cat:* Quote Link to comment
Benni-chan Posted November 5, 2011 Share Posted November 5, 2011 2011-11-02 00:22:39,343::INFO::[postproc:255] Starting PostProcessing on The.Big.Bang.Theory.S01E03.PROPER.720p.HDTV.x264-YesTV => Repair:True, Unpack:True, Delete:True, Script:sabToSickBeard.py, Cat:tv but yesterday, it's not there... 2011-11-03 22:09:33,153::INFO::[postproc:255] Starting PostProcessing on big_bang_theory_s01e03 => Repair:True, Unpack:True, Delete:True, Script:None, Cat:* it seems your second download didn't have a category. see the Cat:tv at the first line. that download was in the category tv and got processed. the second line has Cat:*, which means, it was in the "default" category. (sabtosickbeard.py is probably only configured as the postprocessing script for the tv category, which is correct of course) just make sure, if you add an episode manually, to change the category accordingly. Quote Link to comment
JustinChase Posted November 5, 2011 Author Share Posted November 5, 2011 your second download didn't have a category. see the Cat:tv at the first line. that download was in the category tv and got processed. the second line has Cat:*, which means, it was in the "default" category. (sabtosickbeard.py is probably only configured as the postprocessing script for the tv category, which is correct of course) Yes, because the second time is when I can't get sabtosickbeard.py to register as a postprocessing script now. I could 2 days ago, today I can't. I don't know why. I suspect it's because of this, but haven't had the time to seriously search and find the command to correctly convert mine... -rw-rw---- 1 nobody users 1048 2011-09-27 21:52 sabToSickBeard.py to match theirs... -rwxr-xr-x 1 nobody users 1048 2011-08-23 12:26 sabToSickBeard.py* Nor do I know why the * is there. So much to learn I dis some searching, and just did chmod -R 755 on the plugins directory, then instantly knew that was dumb. So...I copied the contents of plugins to a new pluginsold directory, wiped the plugins directory, and will restart, let it re-create it all, figure out what permissions should be for everything, and re-setup everything, or fix permissions on the proper files in the pluginsold directory. not enough sleep or experience to be doing this right now Quote Link to comment
spidi Posted November 5, 2011 Share Posted November 5, 2011 just do: chmod +x sabToSickBeard.py Quote Link to comment
JustinChase Posted November 5, 2011 Author Share Posted November 5, 2011 too late, I thought I knew more than I did. I...just did chmod -R 755 on the plugins directory, then instantly knew that was dumb. So...I copied the contents of plugins to a new pluginsold directory, wiped the plugins directory, and will restart, let it re-create it all, figure out what permissions should be for everything, and re-setup everything, or fix permissions on the proper files in the pluginsold directory. Sadly, I've got a very screwed up network right now, so I'm putting this on the back burner. I have SAB and CP both recreated already, but don't need the extra variables in the network troubleshooting, so they are staying off until I get that fixed. Thanks for the help. Although being impulsive can be bad, it does force one to learn. Quote Link to comment
JustinChase Posted November 6, 2011 Author Share Posted November 6, 2011 Okay, I'm back to working on this. I just reinstalled everything from scratch. I installed 5b13, hoping the updated Samba drivers/system would help, and so far most everything is fine. However, I cannot get anything to populate in the /mnt/disk1/plugins/sickbeard/autoProcessTV folder It's empty. I tried just deleting it, and the also empty cache folder, and restarted sickbeard thinking it would replace them, and it did, but the autoProcessTV folder is empty. the cache folder now has contents, weird. I searched, but couldn't find anyplace to get these files from, so I'm not sure how to get them without uninstalling the whole plugin and starting over, which seems extreme. current permissions of the folder are... root@media:/mnt/disk1/plugins# ls -al * sabnzbd: total 0 drwxr-xr-x 4 nobody users 96 2011-11-06 14:09 ./ drwxr-xr-x 4 nobody users 104 2011-11-04 23:29 ../ drwxr-xr-x 2 nobody users 240 2011-11-05 00:04 admin/ drwxr-xr-x 2 nobody users 120 2011-11-04 23:19 logs/ sickbeard: total 140 drwxr--r-- 4 nobody users 192 2011-11-06 14:57 ./ drwxr-xr-x 4 nobody users 104 2011-11-04 23:29 ../ drwxr-xr-x 2 nobody users 80 2011-11-04 23:29 Logs/ drwx------ 2 nobody users 48 2011-11-06 14:57 autoProcessTV/ -rw-r--r-- 1 nobody users 84992 2011-11-06 14:51 cache.db -rw-r--r-- 1 nobody users 44032 2011-11-06 15:00 sickbeard.db -rw-r--r-- 1 nobody users 9216 2011-11-04 23:29 sickbeard.db.v0 root@media:/mnt/disk1/plugins# is there an easy way to get the contents I'm missing, my backup seems to have gone awol Quote Link to comment
ccruzen Posted November 7, 2011 Share Posted November 7, 2011 just do: chmod +x sabToSickBeard.py Thank you so much, I was having problems getting the script to call up and this fixed it. FWIW, just navigated to /mnt/cache/.sickbeard/autoProcessTV and ran the line above in putty, works like a charm now. Quote Link to comment
JustinChase Posted November 7, 2011 Author Share Posted November 7, 2011 I ended up downloading the windows installer, unzipped it and grabbed the files from there. I had to run chmod on the file, but then it worked. I now have 5b13 running all 3 plugins and the scripting works great. Soon I'll look into customizing it some more, but for now, I'm running good. thanks for making this possible :) Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.