Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to launch with config.yaml #167

Open
mikevipe opened this issue Jun 27, 2024 · 2 comments
Open

Unable to launch with config.yaml #167

mikevipe opened this issue Jun 27, 2024 · 2 comments

Comments

@mikevipe
Copy link

mikevipe commented Jun 27, 2024

Hello I am unable to launch no matter what I do with the edited default config.yaml:

I get the following error:
06:43:30.720 [io-compute-22] ERROR configuration.ConfigurationUtils$ - Unable to connect to Sonarr at host.docker.internal:8989, with error java.net.ConnectException: Connection refused
java.lang.IllegalArgumentException: Unable to connect to Sonarr at host.docker.internal:8989, with error java.net.ConnectException: Connection refused

I can see in debug that the config is mounted:
2024-06-26T23:39:19.427238227-07:00 volume unmount config (container=70a9f08548668274fb142d60110261d05a522b07551daf37dfdff5a1524098da, driver=local)

I have my config in:
/var/lib/docker/volumes/config/_data/config.yaml (where the system auto creates)

docker inspect shows that is the correct directory:
"Mounts": [
{
"Type": "volume",
"Name": "config",
"Source": "/var/lib/docker/docker/volumes/config/_data",
"Destination": "/app/config",
"Driver": "local",
"Mode": "z",
"RW": true,
"Propagation": ""
}
],

I am at a loss, I have no idea at this point why it will not work.

I am starting with the command:
docker run -v config:/app/config nylonee/watchlistarr

Even starting with the direct options does not work:

docker run -e SONARR_BASE_URL=http://192.168.15.2:30027 -v config:/app/config nylonee/watchlistarr

07:08:01.190 [io-compute-10] ERROR configuration.ConfigurationUtils$ - Unable to connect to Sonarr at host.docker.internal:8989, with error java.net.ConnectException: Connection refused
java.lang.IllegalArgumentException: Unable to connect to Sonarr at host.docker.internal:8989, with error java.net.ConnectException: Connection refused

Any help is appreciated.

Thanks

@nylonee
Copy link
Owner

nylonee commented Jun 27, 2024

Hello! There's a very good chance that your config mounting is correct, but it's unable to find your Sonarr URL (and eventually your Radarr URL, assuming they're hosted the same way).

It might be worth reviewing where your Sonarr instance is hosted, and ensuring that docker can reach Sonarr.

@nylonee
Copy link
Owner

nylonee commented Jun 27, 2024

The config logs are certainly confusing. What it does is it tries your URL you provided, but if it doesn't work it'll try a bunch of other "usual" values, eventually ending and erroring with one that doesn't look like the config you put in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants