Page 1 of 2

Sab and/or Sickbeard auto-processing issue

Posted: Thu Jan 17, 2013 9:32 am
by rampant10
For some reason, sab and/or sickbeard will not automatically process TV shows once downloaded. However, manual processing via sickbeard works great. Any thoughts on what might be happening?

There was one questionable step during the install that may be the issue. When editing the AutoProcessTV config file, what should be used for host? I used "user.home.com:25915/sabnzbdplus". Is this right?

Re: Sab and/or Sickbeard auto-processing issue

Posted: Thu Jan 17, 2013 10:23 am
by rampant10
Just noticed that even though manual processing works for moving and renaming, it is not deleting original files form the sab's "complete" folder. "Keep original files" is unchecked. I'm going to try bypassing the sab to sickbeard script, by using the scan and process feature in sickbeard. Any advice is still welcome.

Re: Sab and/or Sickbeard auto-processing issue

Posted: Thu Jan 17, 2013 6:47 pm
by apastor
Its a permissions issue. A bug in Amahi. I could not get it fixed either. I had to run a cron job to do it for me automatically through out the day.

I ended up installing ubuntu server with out Amahi and then installed sickbeard, and now its working flawlessly.

You will have to change the owner to your first admin account (one you setup when you installed ubuntu) and group to users I think. ALso I think setting it the permission on the folder to www-data | users works as well.

Re: Sab and/or Sickbeard auto-processing issue

Posted: Thu Jan 17, 2013 6:57 pm
by bigfoot65
Can you please clarify? Has a trouble ticket been submitted?

Re: Sab and/or Sickbeard auto-processing issue

Posted: Thu Jan 17, 2013 7:16 pm
by rampant10
Yeah I saw your other thread regarding the permissions issue. I've been looking into inheritable file permissions/ownership to avoid having to use a cron job. I am relatively new to ubuntu so I'm not sure if I'm comfortable fiddling with things at that level quite yet w/o any help. Do you know how to set a directory so that all new files inherit ownership from the parent?

This post tries to explain how, but I don't exactly follow:
http://superuser.com/questions/264383/s ... ermissions

Re: Sab and/or Sickbeard auto-processing issue

Posted: Thu Jan 17, 2013 7:42 pm
by bigfoot65
Yes the syntax for Ubuntu would be:

Code: Select all

sudo chown -R firstadminuser:users /var/hda/files/sharename
If that does not solve the problem, then it may be the user that the daemon as run as for the app. If it's run at the root level, then it will replicate root permissions.

We may need to adjust that in the init script for the app.

Re: Sab and/or Sickbeard auto-processing issue

Posted: Thu Jan 17, 2013 7:57 pm
by rampant10
That returned chmod: cannot access 'adminusername:users': No such file or directory. Wrong syntax?

I used
sudo chown -R adminusername:users /var/hda/files/newsgroups
which definitely did the trick, albeit temporarily.

For a permanent fix that doesn't involve using a cron job, i turned to google. My searches turn up a few different ways to make permissions inheritable but being a newb I don't know how to use umask, ACLs, etc. Any thoughts?

Re: Sab and/or Sickbeard auto-processing issue

Posted: Thu Jan 17, 2013 8:02 pm
by bigfoot65
Sorry, mixed two commands together. Guess it's been a long day. Editing my previous post to fix it.

Re: Sab and/or Sickbeard auto-processing issue

Posted: Thu Jan 17, 2013 8:21 pm
by rampant10
no worries. going to try this cron job thingamajigger, since inheritable permissions seem to be a myth.

Re: Sab and/or Sickbeard auto-processing issue

Posted: Thu Jan 17, 2013 8:54 pm
by rampant10
sudo chown -R adminusername:users /var/hda/files/newsgroups
^this makes the "newsgroups" share unaccessable from other computers on the network. replacing "adminusername" with "www-data" has the same effect. thoughts?