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?
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.
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?
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 ?
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.
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.