Switched subnets, Sonarr listening on old IP

Hi,

I have Sonarr installed on my RaspberryPi and recently changed its IP adres. However sonarr is still listening on its old IP adres.

Info:

Ifoncifg:

inet addr:192.168.1.250 Bcast:192.168.1.255 Mask:255.255.255.0

During Sonarr startup:

[Info] OwinHostController: Listening on the following URLs:
[Info] OwinHostController: http://192.168.0.14:8989/
[Info] OwinHostController: https://192.168.0.14:9898/
[Info] OwinHostController: http://localhost:8989/
[Info] OwinHostController: https://localhost:9898/

The IP of my PI is 192.168.1.250.

In the /.config/NzbDrone/config.xml its bound to *.

I’m completely lost. Any suggestions would be greatly appreciated.

Edit: I had automatic backup enabled, however i cant find where it stored the .zip files. If someone could tell me this, i’d just reinstall Sonarr.

Sonarr only listens to a specific IP when its told to, otherwise it listens to *. Are you looking at the config for the user running Sonarr? ((Backup)) files are in that same folder (in a folder of their own).

It has an * but still listens on that ip… And in the /.config/NzbDrone/ directory isnt a map named ‘Backup’ or anything that implies it contains a backup.

Are you 100% sure thats where the configuration is stored? Its usually stored in ~/.config/NzbDrone where ~ is the home folder for the user running Sonarr. Backups are taken automatically every week, if you haven’t been running that long it would explain the lack of a backup folder, but you can also take a manual backup.

Yes, there is only 1 user so it has to be there. And as far as i can remember the automatic backup function was enabled. The problem with a manual backup is that somewhere, it bounds to the wrong IP. When i create a backup, wont this configuration be included in the backup? That way, when i restore it, i have the exact same situation.

It can’t be disabled, so it is enabled.

Are you looking in the home directory or are you looking somewhere else? Because / and ~ aren’t the same location.

If the config file shows * for the BindAddress then it can’t be the same config file thats running, because that config is bound to a specific IP and localhost is always bound in that scenario.

The startup logs log the location of nzbdrone.db when its running the migrations, that is where the config file (and backups) are stored.

1 Like

Forgot the default ‘Root’ user, logged is as ‘Root’ and navigated to the ~/.config/ directory. There was the config.xml file with indeed the static ip.

Apparently it also made directories under my normal profile.

Problem is solved now, thank you very much :slight_smile:

1 Like

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