Sonarr doesn't accept password, nothing works to remove authentication

Sonarr version (exact version): 2.0.0.5228
Mono version (if Sonarr is not running on Windows): version 4.6.2 (Debian 4.6.2.7+dfsg-1)
OS: Debian 9.5

Description of issue:
So I set up my authentication as login page, but I couldn’t log in (no, I didn’t forget instantly my user/pass, I input it correctly). So I followed the instructions here.

I looked for the file:

root@brix:/# find / -name ".config.xml"
/home/sonarr/.config/NzbDrone/.config.xml
/home/tonyrulez/.config/NzbDrone/.config.xml

Surprisingly the config file in tonyrulez folder had already contained <AuthenticationMethod>None</AuthenticationMethod>, and the one in sonarr folder was empty. So I uninstalled sonarr and removed the config folders.

root@brix:/opt/NzbDrone/UI# apt remove nzbdrone
root@brix:/home/sonarr/.config# rm -r NzbDrone/
root@brix:/home/tonyrulez/.config# rm -r NzbDrone/
root@brix:/home/tonyrulez/.config# sudo apt install nzbdrone

I double checked before even starting sonarr, and the .config.xml file still contained <AuthenticationMethod>None</AuthenticationMethod>. When I open the Sonarr WebUI, I’m greated with the login page. Tried opening another page, like /settings or /activity from the history, but no luck, still asking for authentication.

What the hell is going on? How can I remove the authentication?

Which user is Sonarr actually running as? (check the running process)
Once you have the user the config file should be under that user’s home directory, unless it’s redirected to another folder in the startup script.

The config file isn’t a dotfile, so find / -name "config.xml" would be more accurate.

Ok, I found 2 other config files:

root@brix:/# find / -name "config.xml"
/home/sonarr/.config/NzbDrone/config.xml
/root/.config/NzbDrone/config.xml
/etc/mono/mconfig/config.xml

Modified the first one as needed, other one already said None for authentication.
Aaand it works after a restart, thanks!

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.