System / Updates

Sonarr version (exact version): 4.0.8.1874
Mono version (if Sonarr is not running on Windows): 6.0.13
OS: MacOs 14.6.1 (23G93)
Debug logs:
2024-08-26 19:30:39.7|Info|InstallUpdateService|Downloading update 4.0.9.2244
2024-08-26 19:30:50.8|Info|InstallUpdateService|Verifying update package
2024-08-26 19:30:50.9|Info|InstallUpdateService|Update package verified successfully
2024-08-26 19:30:50.9|Info|InstallUpdateService|Extracting Update package
2024-08-26 19:30:52.6|Info|InstallUpdateService|Update package extracted successfully
2024-08-26 19:30:52.6|Info|BackupService|Starting Backup
2024-08-26 19:31:19.8|Info|InstallUpdateService|Preparing client
2024-08-26 19:31:20.2|Info|InstallUpdateService|Starting update client /var/folders/nr/4zs_jn_n7jzgrp52wl7rd1100000gn/T/sonarr_update/Sonarr.Update
2024-08-26 19:31:20.2|Info|InstallUpdateService|Sonarr will restart shortly.

Description of issue: I’m running Sonarr on an Apple Silicon Mac (not in a container). The app works fine, but I cannot auto udate through the app.? When I press the “install latest” button, I get notified in the bottom left that the update is being downloaded, backups are being taken and then it states “Restarting Sonarr to install updated”, but when I refresh the browser the install latest button is still there and I’m on the old version.

The only way I can get the update is to download Sonarr again and overwrite my existing install. Is there some permission error I might have?. As you can see form the log above, here are no errors showing?

1 Like

Same issue here.

Couldn’t install 4.0.9.2257 nor 4.0.9.2278 now. Kinda stuck on 4.0.9.2244.

  • Jon

I had a similar problem with Radarr.

Resolution was to reinstall the latest version over the top and then replace the DB/Config with the last backup.

Same OS / versions, same problem on my Mac Studio M2 Max. I have to update the app manually. The logs, even the debug one, are saying that all is fine and dandy but the update never copied the file.

The problem exist since I upgraded to 4.x earlier this year. 3.x had no problem.

2024-08-27 20:11:23.3|Debug|DiskProvider|Setting permissions: 755 on /var/folders/k1/xxx (folder name)/T/sonarr_update/Sonarr.Update
2024-08-27 20:11:23.3|Info|InstallUpdateService|Starting update client /var/folders/k1/xxx (folder name)/T/sonarr_update/Sonarr.Update
2024-08-27 20:11:23.3|Info|InstallUpdateService|Sonarr will restart shortly.
2024-08-27 20:11:23.3|Debug|Sonarr.Update|Starting /var/folders/k1/xxx (folder name)/T/sonarr_update/Sonarr.Update 5240 /var/folders/k1/xxx (folder name)/T/sonarr_update /Applications/Sonarr.app/Contents/MacOS/Sonarr 
2024-08-27 20:11:23.3|Debug|InstallUpdateService|Restarting Sonarr to apply updates
2024-08-27 20:11:23.3|Debug|Api|[GET] /api/v3/command: 200.OK (0 ms)
2024-08-27 20:11:37.4|Debug|Api|[GET] /api/v3/localization/language: 200.OK (1 ms)
2024-08-27 20:11:37.4|Debug|Api|[GET] /api/v3/customFilter: 200.OK (1 ms)
2024-08-27 20:11:37.4|Debug|Api|[GET] /api/v3/tag: 200.OK (1 ms)
2024-08-27 20:11:37.4|Debug|Api|[GET] /api/v3/language: 200.OK (1 ms)
2024-08-27 20:11:37.4|Debug|Api|[GET] /api/v3/indexerFlag: 200.OK (0 ms)
2024-08-27 20:11:37.4|Debug|Api|[GET] /api/v3/importlist: 200.OK (4 ms)
2024-08-27 20:11:37.4|Debug|Api|[GET] /api/v3/qualityprofile: 200.OK (12 ms)
2024-08-27 20:11:37.4|Debug|Api|[GET] /api/v3/system/status: 200.OK (10 ms)
2024-08-27 20:11:37.4|Debug|Api|[GET] /api/v3/config/ui: 200.OK (9 ms)
2024-08-27 20:11:37.4|Debug|Api|[GET] /api/v3/localization: 200.OK (8 ms)
2024-08-27 20:11:37.5|Debug|Api|[GET] /api/v3/series: 200.OK (109 ms)
2024-08-27 20:11:37.5|Debug|Api|[GET] /api/v3/health: 200.OK (0 ms)
2024-08-27 20:11:37.5|Debug|Api|[GET] /api/v3/queue/status: 200.OK (2 ms)
2024-08-27 20:11:37.5|Debug|Api|[GET] /api/v3/config/host: 200.OK (2 ms)
2024-08-27 20:11:37.5|Debug|Api|[GET] /api/v3/update: 200.OK (57 ms)
2024-08-27 20:11:39.0|Debug|Api|[GET] /api/v3/log/file: 200.OK (2 ms)
2024-08-27 20:12:16.9|Debug|Api|[GET] /api/v3/command: 200.OK (2 ms)
2024-08-27 20:12:16.9|Debug|Api|[GET] /api/v3/command: 200.OK (0 ms)
2024-08-27 20:13:47.0|Debug|Api|[GET] /api/v3/command: 200.OK (1 ms)
2024-08-27 20:13:47.1|Debug|Api|[GET] /api/v3/command: 200.OK (1 ms)
2024-08-27 20:14:46.9|Debug|ImportListSyncService|No import lists with automatic add enabled
2024-08-27 20:14:46.9|Debug|Api|[GET] /api/v3/command: 200.OK (2 ms)
2024-08-27 20:15:16.9|Debug|Api|[GET] /api/v3/command: 200.OK (3 ms)
2024-08-27 20:15:17.0|Debug|Api|[GET] /api/v3/command: 200.OK (0 ms)
2024-08-27 20:15:17.0|Debug|Api|[GET] /api/v3/command: 200.OK (1 ms)
2024-08-27 20:16:47.0|Debug|Api|[GET] /api/v3/command: 200.OK (1 ms)
2024-08-27 20:16:47.1|Debug|Api|[GET] /api/v3/command: 200.OK (1 ms)
2024-08-27 20:17:47.0|Info|RssSyncService|Starting RSS Sync

Running a Mac and found downloading update from Sonarr site, copy app to Applications, and then run terminal command (Self Sign) listed for Mac on site and then all works fine. Hope that helps

Yes, that works for a single release, but the auto update still doesn’t work (for me, anyways.) I manually updated that way to get to 4.0.9.2300, but now 4.0.9.2332 won’t auto update for me… Anyone know why that built in mechanism broke?

  • Jon

Still happening… Is this being looked at?

  • Jon

There isn’t really anything to look at, macOS requires things to be signed and Sonarr/Radarr/etc are not signed because that requires a developer account linked to Apple; this is why you need to manually run codesign before running Sonarr. You might be able to write an update script that does that, but I’d expect that not to work programmatically.

How does that explain that it was working? Up until say the last 3 or 4 updates this would work fine, plus it continues to work in Radarr? Are you suggesting there might have been a macOS point release in the meantime that might have changed the way permissions work ?

How v3 and v4 runs are completely different.

Everything in v3 ran through mono, v3 not being signed wasn’t impacted because mono was the application that was being executed (which in turn runs Sonarr / Sonarr.Update). With v4 it’s switched to .net and Sonarr and Sonarr.Update are run directly.

For Radarr it sounds like you’re on an older mono version, because they have the same issue with .net versions.

1 Like

Yeah, you are right. Radarr stopped working too. Oh well, guess I’ll just do manual updates.

  • Jon

Well, that is actually not true. I run both, Sonarr has to be updated manually but Radarr does it automatically. To the extent that I had to double check the version as I never have to check that software. And I have the latest release, and the log confirms that it never has a problem with code signing, never has. And I’m on the development branch, so I’ve had 5 updates so far since the 6th of October.

Maybe they have an Apple account, I don’t know how they do it, but they don’t have this problem.

They don’t have an official release that is signed. Codesign main and update executable for macOS · Issue #4535 · Radarr/Radarr · GitHub