Sonarr fails to update. Process seems to complete without a problem, but version remains the same at the end of the process. Logs have message "Authorization header missing."

Sonarr version (exact version): 4.0.9.2244
Mono version (if Sonarr is not running on Windows): no longer supported starting in Sonarr version 4.0
.NET version: 6.0.13
OS: macOS 14.5
Debug logs: https://privatebin.net/?f3129be9401d43cb#7FjwR2aMegKn3A9fLkoq6bQjRFbRzVfXwRh9Ntp7gDZU
Description of issue:

This has actually been a problem for me for several months, if not more than a year.

I go to System > Updates, click on “Install Latest” button. In the lower left hand corner, I can see Sonarr going through the motions (downloading, extracting, etc.), and after I see the “Restarting Sonarr to apply updates”, I wait a few seconds, refresh the page, and find that the current version is the same version (4.0.9.2244) I was on before I clicked the “Install Latest” button.

After I set logging to trace, I deleted all logs, then clicked the “Install Latest” button and copy/pasted the log here: https://privatebin.net/?f3129be9401d43cb#7FjwR2aMegKn3A9fLkoq6bQjRFbRzVfXwRh9Ntp7gDZU

The last line of the log is:

2024-10-27 10:11:45.2|Info|Sonarr.Http.Authentication.BasicAuthenticationHandler|Basic was not authenticated. Failure message: Authorization header missing.

In ~/.config/Sonarr/UpdateLogs/ the most recent log is from May 2023.

Edit: in Settings > General > Updates, Branch = main, Automatic is unchecked, and Mechanism is Built-in.

I’ve done some web searches, but didn’t find anything particularly useful (my google-fu might be weak). I have the same problem in Radarr (it won’t update via the “Install Latest” button, and the log features the “Authorization header missing.” message.)

In the meantime, I’ve simply been manually downloading and installing the updates.

I think you can’t auto-update v4 anymore in MacOS, see here: System / Updates

Look into using Docker with “Watchtower” to get around this issue. Watchtower is a docker container that will automatically update other docker containers so instead of relying on Sonarr and Radarrs own self update, you can manage it using a docker auto update method.

Well, as I said today, Radarr does update flawlessly. Tbh, I have no idea if the stack is exactly the same, but it does work here.

Neither Sonarr nor Radarr are signed, not sure how Radarr would work given that.

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