Problem with backing up config.ini

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
Ceriwaen
Newbie
Newbie
Posts: 1
Joined: January 25th, 2012, 8:42 pm

Problem with backing up config.ini

Post by Ceriwaen »

Hello,

I am running 0.6.14 on Win7 and at a seemingly random interval (days to weeks in between) I will lose both my config.ini and its backup file and am left only with config.ini.tmp. Often this will result in me coming home to the startup wizard and my settings being lost. I've found the following errors in the logs:

Code: Select all

2012-01-25 16:46:41,882::ERROR::[config:762] Cannot create backup file for C:\Users\Ceriwaen\AppData\Local\sabnzbd\sabnzbd.ini
2012-01-25 16:46:41,882::INFO::[config:763] Traceback: 
Traceback (most recent call last):
  File "sabnzbd\config.pyo", line 757, in save_config
WindowsError: [Error 32] The process cannot access the file because it is being used by another process
2012-01-25 16:46:41,882::ERROR::[config:762] Cannot create backup file for C:\Users\Ceriwaen\AppData\Local\sabnzbd\sabnzbd.ini
2012-01-25 16:46:41,884::INFO::[config:763] Traceback: 
Traceback (most recent call last):
  File "sabnzbd\config.pyo", line 754, in save_config
WindowsError: [Error 2] The system cannot find the file specified
I've found a workaround in having an additional backup of my config.ini file and simply putting it back in place when the warning shows up. Any ideas what could be causing this?
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: Problem with backing up config.ini

Post by sander »

I would find out which process is using the file. See http://serverfault.com/questions/1966/h ... in-windows how to do that.
Post Reply