Page 1 of 2

Can't add NZB via upload form

Posted: March 28th, 2012, 3:54 am
by simonszu
Hi,

yesterday i noticed a problem with adding a NZB via the upload form. I select a NZB and a category, and after i submit the form, the page reloads and the NZB is not added to the download queue. The status of sabnzbd is still idle, and it does not download anything.
This happens with every NZB i tried.
The download of the same NZBs via my desktop usenet reader works great.

What can i do to fix this?

Re: Can't add NZB via upload form

Posted: March 28th, 2012, 4:09 am
by sander
Which OS, which SAB version

And it used to work? If so, what has changed?

Things to try:

- clear your browser's cache
- use a different browser
- use a different SABnzbd skin
- do not select a category

... hopefully this will give other results so that you can pinpoint what the root cause is.

Re: Can't add NZB via upload form

Posted: March 28th, 2012, 4:18 am
by simonszu
OS: Debian Squeeze on PowerPC
Browser: Apple Safari for Mac OS.

I have noticed that the NZBs are uploaded, but they are directly transfered to the orphanaged section (under Warnings). When i try to resume them from there, they are in fact transfered to the download queue, but i get an error that says that the download failed. Probably my NZB is too old.

But i downloaded it freshly from newzbin and newzbin claims it is 80 minutes old....

Re: Can't add NZB via upload form

Posted: March 28th, 2012, 4:31 am
by shypike
Do you see any warnings listed?
Otherwise check the log file (Status page) immediately after loading the NZB file.
It could be that there is some problem in the NZB that will confuse SABnzbd somehow.
Is this with each NZB or specific ones?

Re: Can't add NZB via upload form

Posted: March 28th, 2012, 4:37 am
by simonszu
Nope, no warnings, the status page is empty, and the downloaded logfile has also no entries for this topic. This happens with every NZB.

The last working download was 2 weeks ago. Since then i did nothing specific on the server which hosts the sabnzbd daemon, except a kernel update.

Re: Can't add NZB via upload form

Posted: March 28th, 2012, 4:39 am
by shypike
Can you list the content of the __admin__ folder of one of these jobs?
Each job is in the "temporary download folder".

Re: Can't add NZB via upload form

Posted: March 28th, 2012, 4:42 am
by simonszu
The __admin__ folder of each job is completely empty.

I have opened the NZBs in a text editor, and it seems to be valid XML.

Re: Can't add NZB via upload form

Posted: March 28th, 2012, 4:48 am
by shypike
Can you do a little experiment?
Start SABnzbd from the console, so not as daemon.
Add -l2 as a command line parameter.
Now load the NZB as usual and check what happens on the console.
Possibly the SABnzbd NZB handler crashes and this should make it visible.

Re: Can't add NZB via upload form

Posted: March 28th, 2012, 6:23 am
by simonszu
The output of the logfile is as following:
2012-03-28 13:21:45,951::INFO::[__init__:560] Adding The Adventures of Tintin (2011).nzb
2012-03-28 13:21:45,973::INFO::[misc:725] Creating directories: /home/tatonka/downloads/incomplete/The Adventures of Tintin (2011)
Needless to say the NZB is still marked as orphanaged.

Re: Can't add NZB via upload form

Posted: March 28th, 2012, 10:52 am
by shypike
I miss "debug" lines.
What does the log level say on the Status page?

Re: Can't add NZB via upload form

Posted: March 28th, 2012, 11:46 am
by simonszu
It says "+Fehlersuche". I don't know how to properly translate it to english. Probably to "+Error Search"...it's the third entry in the drop down menu.

It seems strange that i can't do any operations on this page, because i need to log in again, and sabnzbd does not like my normal credentials there.

There are indeed DEBUG lines. Check this:
2012-03-28 18:42:23,298::INFO::[sabnzbdplus:1459] Starting sabnzbdplus-0.6.15
2012-03-28 18:42:23,298::DEBUG::[__init__:300] Starting postprocessor
2012-03-28 18:42:23,299::DEBUG::[__init__:303] Starting assembler
2012-03-28 18:42:23,300::DEBUG::[__init__:306] Starting downloader
2012-03-28 18:42:23,301::DEBUG::[scheduler:172] Starting scheduler
2012-03-28 18:42:23,314::DEBUG::[__init__:311] Starting dirscanner
2012-03-28 18:42:23,315::INFO::[dirscanner:263] Dirscanner starting up
2012-03-28 18:42:23,316::DEBUG::[__init__:316] Starting urlgrabber
2012-03-28 18:42:23,317::INFO::[urlgrabber:75] URLGrabber starting up
2012-03-28 18:42:38,062::INFO::[rss:484] Starting scheduled RSS read-out
2012-03-28 18:42:38,063::DEBUG::[rss:321] Running feedparser on http://nzbmatrix.com/rss-bookmarks.php? ... 6dd9bd54ee
2012-03-28 18:42:39,407::DEBUG::[rss:323] Done parsing http://nzbmatrix.com/rss-bookmarks.php? ... 6dd9bd54ee
2012-03-28 18:42:39,408::DEBUG::[rss:389] Trying title The Fast and the Furious Tokyo Drift 2006 German 720p BluRay x264 iNT ERNAL MWS
2012-03-28 18:42:39,409::DEBUG::[rss:412] Filter matched on rule 0
2012-03-28 18:42:39,413::INFO::[rss:444] Ignoring duplicate job The Fast and the Furious Tokyo Drift 2006 German 720p BluRay x264 iNT ERNAL MWS
2012-03-28 18:42:54,429::INFO::[__init__:846] Saving data for rss_data.sab in /home/tatonka/.sabnzbd/admin/rss_data.sab
2012-03-28 18:42:54,430::INFO::[rss:498] Finished scheduled RSS read-out
2012-03-28 18:43:02,966::INFO::[__init__:560] Adding Deichkind Bitte Ziehen Sie Durch.nzb
2012-03-28 18:43:02,970::INFO::[misc:725] Creating directories: /home/tatonka/downloads/incomplete/Deichkind Bitte Ziehen Sie Durch.1

Re: Can't add NZB via upload form

Posted: March 28th, 2012, 12:57 pm
by shypike
Nothing after the last log line?
Fehlersuch is the right one for debug log.
I wonder if that's a correct German translation of "Debug" :)
In your log the NZB seems to enter through RSS, what happens if you manually upload an NZB?

You could try to clean up SABnzbd's admin by starting it once with the --clean parameter.
Be aware that this will erase the queue and makes SABnzbd forget which
NZB were downloaded through RSS.

Re: Can't add NZB via upload form

Posted: March 28th, 2012, 1:58 pm
by simonszu
Yes, i think "Debug" is the proper translation for "Fehlersuche" ;)
There is nothing after the last log line. SABnzbd tries to get the Tokyo Drift NZB via RSS from nzbmatrix, but i added the Deichkind album manually. There is nothing more after the last log line.

I started SABnzbd with the --clean parameter. Still the same behaviour.
Just for the record: How should the contents of the __ADMIN__ folder look like when everything works correctly?

Re: Can't add NZB via upload form

Posted: March 28th, 2012, 2:24 pm
by Eejit
I suggest you change your NZBmatrix API key as you've just published it for everyone to see (and use if they so desire)

Re: Can't add NZB via upload form

Posted: March 28th, 2012, 2:29 pm
by simonszu
Oh..
Yeah, thank you.