Blank SABnzbd.ini file (Backup blank too)

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
DragonMamaZ
Newbie
Newbie
Posts: 2
Joined: September 21st, 2016, 9:22 am

Blank SABnzbd.ini file (Backup blank too)

Post by DragonMamaZ »

When I launch the program I receive this error:
SABnzbd.exe 0.7.19

SABnzbd detected a fatal error:
"C:\Users\Rina\AppData\Local\sabnzbd\sabnzbd.ini" is not a valid configuration file
Error message: Invalid line at line "1".

Specify a correct file or delete this file.

Program did not start!
When I look at the sabnzbd.ini file, it's blank and the backup file is blank too.

So then I uninstalled it.
Renamed the file to sabnzbd.ini.bak2.
Installed 1.1.0 successfully
Observed that a new Sabnzbd.ini was not generated.
Launched SABnzbd
A new ini was generated (also blank)
Microsoft Edge launched and the error (same as above) appears within a tab.
I changed the default browser to Chrome to see if that helps, but the same error appears.

Anyone know how I can fix this?
User avatar
safihre
Administrator
Administrator
Posts: 5678
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Blank SABnzbd.ini file (Backup blank too)

Post by safihre »

I think there's a permissions problem, Sabnzbd is unable to write to the location where sabnzbd.ini is stored.
Did you possibly recently upgraded Windows 10?
It messes with permissions.

I think you should best make a backup of your sabnzbd config directory (including the admin folder etc), remove the whole folder and start Sabnzbd.
Now Sab will try to create a whole new folder to which it has the correct permissions.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
DragonMamaZ
Newbie
Newbie
Posts: 2
Joined: September 21st, 2016, 9:22 am

Re: Blank SABnzbd.ini file (Backup blank too)

Post by DragonMamaZ »

Yes, I did recently upgrade to Windows 10 & your suggestion worked! Thanks Safihre!
Mightyeagle
Newbie
Newbie
Posts: 1
Joined: August 20th, 2018, 10:57 pm

Re: Blank SABnzbd.ini file (Backup blank too)

Post by Mightyeagle »

Sorry to bump this post, but I am having the exact same issue.

Re-installing does not work. The sabznbd.ini stays empty, I am running as admin, same as before. Any solutions?

Update: This fixed it for me:
KopVanZuid wrote: September 29th, 2016, 8:38 am I had the same problem, even after re-installations of SABnzbd ???

Solved:
OLD: C:\Users\"MyName"\AppData\Local\ :-\

New: C:\Users\"MyName"\AppData\Local\SABnzbd; and then installed SABNzbd again. (I didn't remove the previous installation) ;)

sub-dir SABnzbd is a new entry, handmade.


For me, it is working. ::)
User avatar
safihre
Administrator
Administrator
Posts: 5678
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Blank SABnzbd.ini file (Backup blank too)

Post by safihre »

Good to know!
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Post Reply