Updates wipe settings

Report & discuss bugs found in 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
toekneebullard
Newbie
Newbie
Posts: 8
Joined: July 29th, 2011, 9:28 pm

Updates wipe settings

Post by toekneebullard »

OK, I've got two issues:
1) When Windows updates, all my Sabnzbd settings get wiped. The setup wizard comes up, and I have to start from scratch. It got so annoying I set up a batch script to backup the sabnzbd.ini file so I could replace it when that happened.
2) when updating to .6.15, I lost all my settings again. Well, most. The port settings were still intact, but my history was gone, all my categories wiped, the download directories changed...

I tired using my backup file, but it's not working. Or perhaps it backed up the fucked up file, I'm not sure.

Anyway, is there any reason why the settings for Sabnzbd should be so volatile? Is there something I can do to ensure updating won't wipe my settings?

Thanks for any help,
Tony

EDIT: I just found this in my warnings tab:
2012-05-07 00:46:51,561 ERROR: Cannot create backup file for C:\Program Files\SABnzbd\sabnzbd.ini
2012-05-07 00:46:18,430 ERROR: Cannot create backup file for C:\Program Files\SABnzbd\sabnzbd.ini
2012-05-07 00:45:45,295 ERROR: Cannot create backup file for C:\Program Files\SABnzbd\sabnzbd.ini
2012-05-07 00:45:35,046 ERROR: Cannot create backup file for C:\Program Files\SABnzbd\sabnzbd.ini
2012-05-07 00:45:29,710 ERROR: Cannot create backup file for C:\Program Files\SABnzbd\sabnzbd.ini
2012-05-07 00:36:52,075 ERROR: Cannot create backup file for C:\Program Files\SABnzbd\sabnzbd.ini
Last edited by toekneebullard on May 9th, 2012, 8:15 am, edited 2 times in total.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Updates wipe settings

Post by shypike »

Where are you storing your INI file, in SABnzbd's program folder?
It should be in the user profile.
Remove sabnzbd.ini from "C:\Program Files\SABnzbd".
toekneebullard
Newbie
Newbie
Posts: 8
Joined: July 29th, 2011, 9:28 pm

Re: Updates wipe settings

Post by toekneebullard »

Yes, it was in "C:\Program Files\SABnzbd." It looks like by deleting it, and resetting everything again, It's now placed it in "C:\Users\admin\AppData\Local\sabnzbd\sabnzbd.ini". Not sure why it put itself in the Program Files folder in the first place...

Well, thanks!
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Updates wipe settings

Post by shypike »

It won't put itself in the program folder, unless you specifically told SABnzbd to do that once.
Once the file is there, old (backward-compatible) behaviour is triggered.
toekneebullard
Newbie
Newbie
Posts: 8
Joined: July 29th, 2011, 9:28 pm

Re: Updates wipe settings

Post by toekneebullard »

OK, it appears to be in the right place now, but this morning I noticed this error:

2012-05-09 03:39:37,690 ERROR: Cannot create backup file for C:\Users\admin\AppData\Local\sabnzbd\sabnzbd.ini


Any idea why it would fail to make a backup? It was doing this with the old file location also.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Updates wipe settings

Post by shypike »

This usually has to do with permissions.
Stop SABnzbd, remove the backup file once, start SABnzbd.
toekneebullard
Newbie
Newbie
Posts: 8
Joined: July 29th, 2011, 9:28 pm

Re: Updates wipe settings

Post by toekneebullard »

I shut down Sabnzbd, I opened up C:\Users\admin\AppData\Local\sabnzbd\ and all that was in there was two folder and "sabnzbd.ini.tmp"

UGH! I restarted, and all my settings are gone again.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Updates wipe settings

Post by shypike »

How do you start up SABnzbd?
toekneebullard
Newbie
Newbie
Posts: 8
Joined: July 29th, 2011, 9:28 pm

Re: Updates wipe settings

Post by toekneebullard »

In this case, after shutting it down through the interface, I just double-clicked the shortcut that was placed on the Desktop.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Updates wipe settings

Post by shypike »

Check the properties of the shortcut.
I suspect that it has odd parameters.
toekneebullard
Newbie
Newbie
Posts: 8
Joined: July 29th, 2011, 9:28 pm

Re: Updates wipe settings

Post by toekneebullard »

I fear I'm just annoying you at this point...

The shortcut is nothing but to SABnzbd.exe. No additional parameters.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Updates wipe settings

Post by shypike »

There is something weird going on with access rights.
Try this work around.
Create a folder on a drive with ample space, so e.g. d:\usenet
Modify the shortcut so that the "target" ends with
-f d:\usenet
This will make all settings and default folders go to d:\usenet.
If you want you can move individual folders to other locations in Config->Folders.
Tagden
Newbie
Newbie
Posts: 6
Joined: December 25th, 2009, 9:24 am

Re: Updates wipe settings

Post by Tagden »

Have exactely the same problem today.. all settings lost after server had run Windows updates..
My ini files are default placed at C:\Users\Administrator\AppData\Local\sabnzbd and both ini and bak file are missing my settings.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Updates wipe settings

Post by shypike »

Did you un-install the previous version first?
By default the un-installer will remove all settings.
Post Reply