Page 1 of 1

Oeps! Did it again, reconfigured SABnzbd, while downloading

Posted: December 6th, 2008, 7:54 am
by Macamba
Hi,

This morning I had the brilliant idea to instruct SABnzbd to change the directories it logs to, stores its cache, and what folder to Backup to. Sad to say, I did this while it was downloading  ::). After I hit save, SABnzbd stopped downloading. And it does not start again. I paused it, and even instructed it to shut down. But each time I start it, it looks like it is waiting for input. And all the while, it has .nzb files ready in the designated folder (that I did not change).

The only thing I found in the log files was:
sabnzbd.log:
2008-12-06 10:45:11,421::ERROR::Failed to start web-interface
No error since

cherrypy.log:
06/Dec/2008:13:43:59 CONFIG INFO Server parameters:
06/Dec/2008:13:43:59 CONFIG INFO  server.environment: production
06/Dec/2008:13:43:59 CONFIG INFO  server.log_to_screen: False
06/Dec/2008:13:43:59 CONFIG INFO  server.log_file: M:\NZB\logs\cherrypy.log
06/Dec/2008:13:43:59 CONFIG INFO  server.log_tracebacks: True
06/Dec/2008:13:43:59 CONFIG INFO  server.log_request_headers: False
06/Dec/2008:13:43:59 CONFIG INFO  server.protocol_version: HTTP/1.0
06/Dec/2008:13:43:59 CONFIG INFO  server.socket_host: localhost
06/Dec/2008:13:43:59 CONFIG INFO  server.socket_port: 8080
06/Dec/2008:13:43:59 CONFIG INFO  server.socket_file:
06/Dec/2008:13:43:59 CONFIG INFO  server.reverse_dns: False
06/Dec/2008:13:43:59 CONFIG INFO  server.socket_queue_size: 5
06/Dec/2008:13:43:59 CONFIG INFO  server.thread_pool: 10
06/Dec/2008:13:44:01 HTTP INFO Serving HTTP on http://localhost:8080/

This is the last time I started SABnzbd again.

Can anyone tell me where I have to kick  :P, to start it again?

Macamba

Re: Oeps! Did it again, reconfigured SABnzbd, while downloading

Posted: December 6th, 2008, 9:26 am
by shypike
I suspect that the cache got corrupted.
The current implementation of the Config->General settings is not very good.

You should be able to start using the command line parameter --clean
You will use active downloads and the history.

Re: Oeps! Did it again, reconfigured SABnzbd, while downloading

Posted: December 6th, 2008, 9:39 am
by Macamba
shypike wrote: I suspect that the cache got corrupted.
SNIP

You should be able to start using the command line parameter --clean
You will use active downloads and the history.
I got it working again, by reverting to the old directories. But if I understand what you are saying I need to execute the following steps:
  • Stop downloading;
  • Change the directories to the ones I want;
  • Quit SABnzbd;
  • Start SABnzbd using --clean from C:\Program Files\SABnzbd
That does not seem to be so hart.

Thanks for the feedback.

Macamba

Re: Oeps! Did it again, reconfigured SABnzbd, while downloading

Posted: December 6th, 2008, 9:42 am
by shypike
Almost.

The --clean parameter should not be needed.
That's only when you already have a corruption.

Preferably, the queue should be empty.
The content of active downloads will not be moved.