Addarr
Addarr copied to clipboard
Oops, failed to add the movie/series. Maybe give it another try.
Hi,
We're getting the error that Addarr fails to add a movie or series. Looking up series and listing all movies/series goes fine, but as soon as we choose "Yes, add this", we get the error.
config.yaml
sonarr:
server:
addr: localhost
port : 8989
path: /
ssl: false
auth:
apikey: xxx
username: #
password: #
search: true
seasonFolder: true
qualityProfileId: 1
languageProfileId: 1
excludedRootFolders:
- #
radarr:
server:
addr: localhost
port : 7878
path: /
ssl: false
auth:
apikey: xxx
username: #
password: #
search: true
qualityProfileId: 1
minimumAvailability: released
excludedRootFolders:
- #
telegram:
token: xxx
password: xxx
transmission:
enable: false
onlyAdmin: true
host: localhost
authentication: true
username: #
password: #
sabnzbd:
enable: false
onlyAdmin: true
server:
addr: localhost
port: 8090
path: /
ssl: false
auth:
apikey: #
username: #
password: #
language: en-us
entrypointAuth: auth
entrypointHelp: help
entrypointAdd: start
entrypointAllSeries: allSeries
entrypointAllMovies: allMovies
entrypointTransmission: transmission
entrypointSabnzbd: sabnzbd
enableAdmin: true
logToConsole: true
debugLogging: true
Logs
2022-01-03 20:47:49,132 - addarr.radarr - DEBUG - Found Radarr paths: [{'path': '/movies', 'accessible': True, 'freeSpace': xxx, 'unmappedFolders': [{list of movie folders}]
2022-01-03 20:47:49,133 - addarr - DEBUG - Excluded root folders: [None]
2022-01-03 20:47:49,133 - addarr - DEBUG - Only found 1 path, so proceeding with that one...
2022-01-03 20:47:50,996 - addarr - DEBUG - Removing choice, title, position, paths, and output from context.user_data...
Any idea where it goes wrong? We're using Traefik reverse proxy, but the ports for Sonarr/Radarr are exposed and accessible for the Addarr container.
Thank you.
As seen from the logs it looks like the connection with Radarr/Sonarr is made without problem, because Addarr is getting results.
Could you take a look in the events from Sonarr/Radarr after you've executed an Add command? You can get there by surfing to Sonarr/Radarr and going to Systems/Events
. Normally you will find there some more information about the error.
Hi, I've checked with logging set to debug but nothing is generated in either Sonarr or Radarr about any issues.
That's strange. You sure it has nothing to do with Traefik. I have no knowledge of Traefik and configuring a reverse proxy with it, so I have no idea if it could have something to do with it.
You do get the result tho when you execute a search command? You can select to go to the next result?
Traefik shouldn't interfere as we're calling Sonarr/Radarr via localhost and their exposed port, not by their DNS name. I'll check the logging again to see if I see anything specific.
The only thing I can still think of is if you're using V3 of Sonarr/Radarr? I've recently updated the API-query to use V3.
Same issue for me
Radarr (adding movies not working)
About
Version
4.0.0.5745
.NET
Yes (6.0.0)
Just saw that this for Radarr, I guess this is the problem. I.e Addarr does not support v4
4.0.0.5745
—
03 Jan 2022
develop
Currently Installed
Sonarr (adding series is working)
About
Version
3.0.6.1342
.net Version
4.8.0
I just did some research about Radarr V4 (Tbh didn't know that it was already released in beta) and discoverd that V4 doesn't support the legacy API anymore, only V3 of the API.
If you're on the latest version of Addarr, it should work because one of the latest commits was about upgrading the API query to V3. I suggest to pull the repo again or download the latest Docker container.
I am using the lastest version but it still is not working. I have been debugging a bit and it seems like I am getting an error
2022-01-06 23:15:38,433 - addarr.radarr - DEBUG - from radarr {"qualityProfileId": 6, "minimumAvailability": "announced", "rootFolderPath": "N:\\xxx\\Movies", "addOptions": {"searchForMovie": true}, "tmdbId": 874960, "year": 2021, "title": "Kimetsu Orchestra Concert", "titleSlug": "874960", "images": [{"coverType": "poster", "url": "https://image.tmdb.org/t/p/original/9QGk4EjyQIyJOeKVl6oWT2eGY4a.jpg"}]}
2022-01-06 23:15:38,434 - addarr.radarr - DEBUG - from radarr <Response [415]>
when looking at the trace logs in radarr it confirms it.
2022-01-07 00:24:20.5|Trace|Http|Res: 2065 [POST] /api/v3/movie?apikey=(removed) 415.UnsupportedMediaType (1 ms)
2022-01-07 00:24:20.5|Debug|Api|[POST] /api/v3/movie?apikey=(removed) 415.UnsupportedMediaType (1 ms)
Found the error and mage a pull request. issue seems to be because with V4 they are enforcing stricter naming and the API call is requred to have
headers={'Content-Type': 'application/json'}
Thank you for the pull request and the time you've put in finding the bug! I've merged your commit, so hopefully it will now work again for everybody.
merged #97
@Joery same issue. RCA was nginx as a reverse proxy. You can check that by setting radarr/sonarr loglevel to trace and later serach for POST keyword. In my case in was a redirection 2022-01-11 12:51:38.4|Trace|Http|Res: 17680 [POST] /api/v3/movie?apikey=(removed) 303.SeeOther (0 ms) It was wrong path in config.yaml
I believe I'm having the same issue, searching for anything is not giving results, started about a week ago, I assume it's something to do with Radar update v4, Is there anything we can do to get it to work ?
Going to close this issue after a long time of inactivity.