Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
Softcox
Jul 13, 2004

But I will not hesitate.
Not for a second.
I decided to use Apache as it already comes with OS X server to proxy my sab/SB installs with SSL and basic auth. Very easy to get working using the config on the sab wiki but I ran into one issue. By default apache will ask for authentication for all requests, and most sabnzbd clients (MyNZB and Tanis on iOS & nzbs.org integration for example) don't expect authentication to /api/ requests. I figured out how to add an exception to /api/, here's the relevant crap from my apache.conf

code:
<Location /sabnzbd>
	ProxyPass [url]http://localhost:8888/sabnzbd[/url]
	ProxyPassReverse [url]http://localhost:8888/sabnzbd[/url]
	SetEnvIf Request_URI /api noauth=1

	AuthName "SABNZBd"
	AuthType Basic
	AuthUserFile /path/to/.htpasswd

	Order Deny,Allow
	Satisfy any
	Deny from all
	Require valid-user
	Allow from env=noauth
</Location>

<Location /sickbeard>
	ProxyPass [url]http://localhost:8081/sickbeard/[/url]
	ProxyPassReverse [url]http://localhost:8081/sickbeard/[/url]
	SetEnvIf Request_URI /api noauth=1

	AuthName "SickBeard"
	AuthType Basic
	AuthUserFile /path/to/.htpasswd

	Order Deny,Allow
	Satisfy any
	Deny from all
	Require valid-user
	Allow from env=noauth	
</Location>
Also requires "web_root = /sickbeard" set in sickbeard.conf

Softcox fucked around with this message at 07:21 on Jul 31, 2013

Adbot
ADBOT LOVES YOU

Feenix
Mar 14, 2003
Sorry, guy.
Hey chaps. Been a while!

I just noticed in my (otherwise totally working fine) Sickbeard Config, the Search Providers tab brings up this:



code:
500 Internal Server Error

The server encountered an unexpected condition which prevented it from fulfilling the request.

Traceback (most recent call last):
  File "/Applications/Sickbeard/cherrypy/_cprequest.py", line 660, in respond
    response.body = self.handler()
  File "/Applications/Sickbeard/cherrypy/lib/encoding.py", line 193, in __call__
    self.body = self.oldhandler(*args, **kwargs)
  File "/Applications/Sickbeard/cherrypy/_cpdispatch.py", line 25, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/Applications/Sickbeard/sickbeard/webserve.py", line 971, in index
    return _munge(t)
  File "/Applications/Sickbeard/sickbeard/webserve.py", line 123, in _munge
    return unicode(string).encode('utf-8', 'xmlcharrefreplace')
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cheetah/Template.py", line 1010, in __unicode__
    return getattr(self, mainMethName)()
  File "_Applications_Sickbeard_data_interfaces_default_config_providers_tmpl.py", line 258, in respond
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cheetah/NameMapper.py", line 245, in valueFromSearchList
    executeCallables=executeCallables)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cheetah/NameMapper.py", line 226, in _valueForName
    _raiseNotFoundException(key, obj)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cheetah/NameMapper.py", line 167, in _raiseNotFoundException
    raise NotFound(excString)
NotFound: cannot find 'providerType'
Any ideas what gives? Very strange...

EconOutlines
Jul 3, 2004

Nope. Anyone been having trouble with Tweaknews lately?

EconOutlines fucked around with this message at 16:23 on Aug 1, 2013

Syano
Jul 13, 2005

EconOutlines posted:

DOGnzb is open today, so get in while you can. :)

Well that was sure over and done pretty fast

EconOutlines
Jul 3, 2004

Syano posted:

Well that was sure over and done pretty fast

Its still going on. Limited number of slots though. :)

EconOutlines fucked around with this message at 17:00 on Aug 1, 2013

Diamonds On MY Fish
Dec 10, 2008

I WAS BORN THIS WAY
*edit* DOGnzb registration is closed now. Woof!

Diamonds On MY Fish fucked around with this message at 16:10 on Aug 2, 2013

skipdogg
Nov 29, 2004
Resident SRT-4 Expert

Syano posted:

Well that was sure over and done pretty fast

I just signed up 30 seconds ago.

Syano
Jul 13, 2005

skipdogg posted:

I just signed up 30 seconds ago.

I eventually got it... for some reason the link was dead earlier.

Rooted Vegetable
Jun 1, 2002
Just worked fine for me. Thanks for the tip.

Shane-O-Mac
May 24, 2006

Hypnopompic bees are extra scary. They turn into guns.

Diamonds On MY Fish posted:

It's definitely still open, /join #DOGnzb on irc.synirc.net!

"You need a registered nick to join that channel." Well shucks.

Edit: Never mind, figured it out without using IRC.

Shane-O-Mac fucked around with this message at 21:53 on Aug 1, 2013

gary oldmans diary
Sep 26, 2005
Now these are some errors:

quote:

When Type Warning
2013-08-01 17:51:55,779 ERROR: Removing C:\Windows\servicing\TrustedInstaller.exe failed
2013-08-01 17:51:53,161 ERROR: Removing C:\Windows\regedit.exe failed
2013-08-01 17:51:52,772 ERROR: Removing C:\Windows\notepad.exe failed
2013-08-01 17:51:52,766 ERROR: Removing C:\Windows\Microsoft.NET\Framework64\v4.0.30319\WsatConfig.exe failed
2013-08-01 17:51:52,736 ERROR: Removing C:\Windows\Microsoft.NET\Framework64\v4.0.30319\vbc.exe failed
2013-08-01 17:51:52,651 ERROR: Removing C:\Windows\Microsoft.NET\Framework64\v4.0.30319\SMSvcHost.exe failed
2013-08-01 17:51:52,648 ERROR: Removing C:\Windows\Microsoft.NET\Framework64\v4.0.30319\ServiceModelReg.exe failed
2013-08-01 17:51:52,642 ERROR: Removing C:\Windows\Microsoft.NET\Framework64\v4.0.30319\RegSvcs.exe failed
2013-08-01 17:51:52,640 ERROR: Removing C:\Windows\Microsoft.NET\Framework64\v4.0.30319\RegAsm.exe failed
2013-08-01 17:51:52,631 ERROR: Removing C:\Windows\Microsoft.NET\Framework64\v4.0.30319\ngentask.exe failed
2013-08-01 17:51:52,630 ERROR: Removing C:\Windows\Microsoft.NET\Framework64\v4.0.30319\ngen.exe failed
2013-08-01 17:51:52,611 ERROR: Removing C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorsvw.exe failed
2013-08-01 17:51:52,559 ERROR: Removing C:\Windows\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe failed
2013-08-01 17:51:52,542 ERROR: Removing C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Microsoft.Workflow.Compiler.exe failed
2013-08-01 17:51:52,512 ERROR: Removing C:\Windows\Microsoft.NET\Framework64\v4.0.30319\jsc.exe failed
2013-08-01 17:51:52,506 ERROR: Removing C:\Windows\Microsoft.NET\Framework64\v4.0.30319\InstallUtil.exe failed
2013-08-01 17:51:52,500 ERROR: Removing C:\Windows\Microsoft.NET\Framework64\v4.0.30319\ilasm.exe failed
2013-08-01 17:51:52,490 ERROR: Removing C:\Windows\Microsoft.NET\Framework64\v4.0.30319\EdmGen.exe failed
2013-08-01 17:51:52,480 ERROR: Removing C:\Windows\Microsoft.NET\Framework64\v4.0.30319\dfsvc.exe failed
2013-08-01 17:51:52,476 ERROR: Removing C:\Windows\Microsoft.NET\Framework64\v4.0.30319\DataSvcUtil.exe failed
Time to check out that SABnzbd log. :stare:

inpheaux
Jul 12, 2001

Hogburto posted:

Now these are some errors:
Time to check out that SABnzbd log. :stare:
Holy crap I've never seen SABnzbd freak out that terribly.

Shypike would probably greatly appreciate it if you tried to grab whatever forensic info you can about what SABnzbd was doing when it tried to delete your windows directory. Probably post a whole thread about it on the sabnzbd forums.

gary oldmans diary
Sep 26, 2005
It tried to take out all filetypes matching cfg.cleanup_list (.exe, .nfo, .nzb, .sfv, .srr, .srs, .txt, .url) on C: (the working and complete directories for downloads are both on H: while SABnzbd reports processing status: "Moving: ...". I don't run sabnzbd with admin persmissions, but I notice it got C:\python27\python.exe. :shrug:

I flattened and formatted (from Win 8.1b to Win 8) days ago and there's nothing installed to affect SABnzbd, which is running from its Windows executable.
The logs reveal nothing other than that line 676 in postproc.py is where the action happens. It's easily reproducible and multiple tests are the same with any combination of category or post-processing. Removing the filetype Cleanup List prevents the problem.

The only thing unusual about the .nzbs I've noticed cause SABnzbd to act this way is that they only have segments for a single .avi (not a file in segments to be joined in post-proc; a single file as assembled by SABnzbd downloading code) instead of a .rar set or any other files. The download directory for instance looks like H:\_temp\_usenet\linux.avi\ containing a linux.avi and the __ADMIN__ directory upon downloading finish (before moving or post-processing of any kind).

SABnzbd 0.7.14 postproc.py's cleanup_list function seems to either receive a bad wdir or is unable to properly set path under these conditions (I don't know Python).

TL;DR: Maybe just don't download .nzb files that only point to a single unpacked .avi for now. .nzbs without these characteristics don't seem to produce this behavior.

gary oldmans diary fucked around with this message at 04:50 on Aug 2, 2013

Incessant Excess
Aug 15, 2005

Cause of glitch:
Pretentiousness
Nzb 360 is half off currently, is it still the Nzb app to get or have things changed since I wishlisted it a year ago?

Fcdts26
Mar 18, 2009

Biggest human being Ever posted:

Nzb 360 is half off currently, is it still the Nzb app to get or have things changed since I wishlisted it a year ago?

It's better now I think. Highly recommend it!

FCKGW
May 21, 2006

NewgroupDirect Happy Hour going on for the next ~18 hours.

2tb block (plus 200gb headers=2.2TB total) for only $65.

tlc
Jan 6, 2005

dont send help
Been on holiday for two weeks, nzbs.org has vanished, did I miss the memo or am I having another blonde moment?

edit: tweaknews also seems throttled to hell, loving British Telecom probably.

tlc fucked around with this message at 12:06 on Aug 4, 2013

uhhhhahhhhohahhh
Oct 9, 2012
Still getting 6.5MB/s to Tweaknews on BT Infinity. Are you ADSL? I don't think they cap Infinity anymore.

Oben
Aug 7, 2004

Oh, the lights changed

tlc posted:

Been on holiday for two weeks, nzbs.org has vanished, did I miss the memo or am I having another blonde moment?
It's working, you've just been logged out. Go to http://nzbs.org/login or any page except the front one.

tlc
Jan 6, 2005

dont send help

Oben posted:

It's working, you've just been logged out. Go to http://nzbs.org/login or any page except the front one.

Thank you!

Incidentally, just tried Power NZB on my GS2, works a treat. Finds, downloads, unrars, pars, everything. First phone app I've ever paid money for.

Jesse Iceberg
Jan 7, 2012

For the people who've been doing it successfully, I've been having a bit of trouble reverse-proxying SickBeard under an SSL nginx web-server.

I'd been following the SAB wiki example & reverse proxying SAB works perfectly, with my self-signed SSL.

But when I try to reach SickBeard, it first prompts for the SickBeard basic-auth I've set (so it gets that far fine), then it 404s & redirects me to the server root page. Something's obviously wrong somewhere, but I don't know where. Does anyone have any ideas how I could change my config?

EDIT - Never mind, turns out SickBeard has a web_root parameter in its config.ini that turns out to quite important for reverse proxying.

Jesse Iceberg fucked around with this message at 23:56 on Aug 5, 2013

Feenix
Mar 14, 2003
Sorry, guy.
Guys it's been over a year since I set up SAB and Sickbeard... So my memory is a bit hazy. I just got a friend to finally dive in and we got it set up well except I can't remember how to have the shows go into their own directories.

It's renaming. It's placing them in the right master folder, it's just not putting it into show/season sub folders and I cannot recall where to handle that.
Help me be a bigger help to him?

The Gunslinger
Jul 24, 2004

Do not forget the face of your father.
Fun Shoe

Feenix posted:

Guys it's been over a year since I set up SAB and Sickbeard... So my memory is a bit hazy. I just got a friend to finally dive in and we got it set up well except I can't remember how to have the shows go into their own directories.

It's renaming. It's placing them in the right master folder, it's just not putting it into show/season sub folders and I cannot recall where to handle that.
Help me be a bigger help to him?

Did you setup Post Processing? Do that first and make sure your name pattern is something like "Season %S/%SN - %Sx%0E - %EN".

Feenix
Mar 14, 2003
Sorry, guy.

The Gunslinger posted:

Did you setup Post Processing? Do that first and make sure your name pattern is something like "Season %S/%SN - %Sx%0E - %EN".

I swear we did that but I will double check with him.

[edit] Yep, that was done. That doesn't seem to be the problem.

Feenix fucked around with this message at 18:20 on Aug 6, 2013

Waffle Conspiracy
May 21, 2002

Jane Goodall watches me pee!

Feenix posted:

Guys it's been over a year since I set up SAB and Sickbeard... So my memory is a bit hazy. I just got a friend to finally dive in and we got it set up well except I can't remember how to have the shows go into their own directories.

It's renaming. It's placing them in the right master folder, it's just not putting it into show/season sub folders and I cannot recall where to handle that.
Help me be a bigger help to him?

do you have 'flatten files' checked in the show's settings?

Morkai
May 2, 2004

aaag babbys

Waffle Conspiracy posted:

do you have 'flatten files' checked in the show's settings?

that just eliminates season folders inside show folders. are we talking about that or "every episode of every show in one folder" being the issue?

LT.CrownRoast
Mar 20, 2009

by XyloJW

Jesse Iceberg posted:

For the people who've been doing it successfully, I've been having a bit of trouble reverse-proxying SickBeard under an SSL nginx web-server.

I'd been following the SAB wiki example & reverse proxying SAB works perfectly, with my self-signed SSL.

But when I try to reach SickBeard, it first prompts for the SickBeard basic-auth I've set (so it gets that far fine), then it 404s & redirects me to the server root page. Something's obviously wrong somewhere, but I don't know where. Does anyone have any ideas how I could change my config?

EDIT - Never mind, turns out SickBeard has a web_root parameter in its config.ini that turns out to quite important for reverse proxying.

Ah yeah sorry dude, baseurl is key and how nginx matches those reverse proxy blocks. All of those apps have a config option for it. Glad you got it figured out.

The Gunslinger
Jul 24, 2004

Do not forget the face of your father.
Fun Shoe

Feenix posted:

I swear we did that but I will double check with him.

[edit] Yep, that was done. That doesn't seem to be the problem.

Post the script log from post processing.

OppyDoppyDopp
Feb 17, 2012
Is there a way to use SAB to remotely put a computer to sleep (aside from setting the option in the menu to sleep after downloading and then downloading a file)? As its standby function works and is reliable, it'd be handier to use SAB than finding something specifically for OpenElec that does the job.

Feenix
Mar 14, 2003
Sorry, guy.

Morkai posted:

that just eliminates season folders inside show folders. are we talking about that or "every episode of every show in one folder" being the issue?

Yes I believe so.

[Edit] - he ran a manual post process and it put a bunch of stuff in their proper formats/folders. Should I still provide logs? Or does that help identify better where the breakdown is?

Feenix fucked around with this message at 02:43 on Aug 7, 2013

Morkai
May 2, 2004

aaag babbys

Feenix posted:

Yes I believe so.

[Edit] - he ran a manual post process and it put a bunch of stuff in their proper formats/folders. Should I still provide logs? Or does that help identify better where the breakdown is?

SAB should be downloading to its own set of folders, and I do recommend using folders per category. If you're using sabToSickbeard.py make sure it's config is set up including web_root. Have Sickbeard organize things in a separate folder from where SAB puts them. If all of this is correct and true then post logs.

Jesse Iceberg
Jan 7, 2012

LT.CrownRoast posted:

Ah yeah sorry dude, baseurl is key and how nginx matches those reverse proxy blocks. All of those apps have a config option for it. Glad you got it figured out.

No worries, your config definitely pointed me in the right direction, thanks a lot! I had no idea reverse proxying could be so useful. Now if I can figure out how to do it with my SubSonic music server too, it'll be perfect

Nemesis Of Moles
Jul 25, 2007

Anyone else been having problems with Astraweb recently? I tried grabbing a couple things the other day and got just piles of incompletes and broken files. What's the current Good Usenet Provider?

YouTuber
Jul 31, 2004

by FactsAreUseless

Nemesis Of Moles posted:

Anyone else been having problems with Astraweb recently? I tried grabbing a couple things the other day and got just piles of incompletes and broken files. What's the current Good Usenet Provider?

There is no better provider, get a block plan with a separate backbone and use that to fill the gaps. They all suffer from this problem.

Rooted Vegetable
Jun 1, 2002
That said, I have found news demon better than super news recently.

whsa
Apr 24, 2008

YouTuber posted:

There is no better provider, get a block plan with a separate backbone and use that to fill the gaps. They all suffer from this problem.

Annoyingly, sick/sab won't deal with this automatically for me, I get that thing where the download goes really fast and no data is downloaded then fails. It would be much better if this state triggered a change to a different server....have I set something up incorrectly?

I don't understand why my linux isos are getting DCMA requests in the first place.

Crackbone
May 23, 2003

Vlaada is my co-pilot.

I'm using Supernews with a Blocknews fill provider but still having a LOT of problems with specific content lately. Would anybody have a suggestions on different block account, or even primary if SN has somehow gotten crappy while I wasn't checking?

Shy
Mar 20, 2010

Crackbone posted:

I'm using Supernews with a Blocknews fill provider but still having a LOT of problems with specific content lately. Would anybody have a suggestions on different block account, or even primary if SN has somehow gotten crappy while I wasn't checking?

You can add Astraweb block and see how that works. But depending on what you're downloading, it may be either spam or something that gets DMCA'd everywhere. I.e. I don't think a lot of problems on one major provider will be gone on another.

frogbs
May 5, 2004
Well well well

Shy posted:

You can add Astraweb block and see how that works. But depending on what you're downloading, it may be either spam or something that gets DMCA'd everywhere. I.e. I don't think a lot of problems on one major provider will be gone on another.

I'm getting a 'not enough repair blocks' error on pretty much every file i've tried in the last month. I'm using blocknews. Is this an instance of needing a second, supplemental provider or is something else probably wrong?

Also, this often happens on very recently posted files, less than an hour old. I never used to run into this with Supernews...

frogbs fucked around with this message at 04:26 on Aug 12, 2013

Adbot
ADBOT LOVES YOU

Amphion
Jun 10, 2012

All we know is... he's called The Stig.

frogbs posted:

I'm getting a 'not enough repair blocks' error on pretty much every file i've tried in the last month. I'm using blocknews. Is this an instance of needing a second, supplemental provider or is something else probably wrong?

Also, this often happens on very recently posted files, less than an hour old. I never used to run into this with Supernews...

It's happening to me also with Blocknews. Same error on everything.

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply