Page 1 of 1

Moved to new computer, settings aren't loaded from AppData?

Posted: March 23rd, 2012, 5:46 pm
by Transient77
I moved SABnzbd from my Windows 7 machine over to my new Windows Home Server 2011 machine. I followed all available directions and copied over C:\Program Files (x86)\SABnzbd as well as C:\Users\username\AppData\Local\sabnzbd. I verified permissions on the folders and ensured the paths are completely the same.

After starting SABnzbd up, I was greeted by the setup wizard. I thought perhaps I missed something, so I chose the Exit SABnzbd option and once again verified everything had been copied correctly. Again, starting SABnzbd I was presented with the setup wizard.

So once again, I shut down SABnzbd and this time I started SABnzbd-console.exe. Well, this time the problem was obvious as I see the following console message:
2012-03-23 15:32:14,788::INFO::[sabnzbd:1235] Read INI file C:\Program Files (x86)\SABnzbd\sabnzbd.ini
But why is SABnzbd reading the .ini in the program folder? Is this something to do with it now being on a server OS?

Edit: I added --config-file C:\Users\username\AppData\Local\sabnzbd\sabnzbd.ini to the startup shortcut and it's working fine now. I'm still not sure why I had to do that though.

Re: Moved to new computer, settings aren't loaded from AppDa

Posted: March 24th, 2012, 2:12 am
by shypike
Are you running it in daemon mode (with -d)?
In that case you must use the -f or --config-file parameter.