mirror of
https://github.com/Lidarr/Lidarr.git
synced 2026-03-03 00:26:58 -05:00
Built-in updater fails on macOS #1113
Labels
No labels
Area: API
Area: Database
Area: Db-migration
Area: Download Clients
Area: Extras
Area: Import Lists
Area: Indexer
Area: Metadata API
Area: Notifications
Area: Organizer
Area: Parser
Area: Scanning
Area: Tooling
Area: UI
Area: Unit Tests
Area: Update API
On Hold: MetadataAPI Blocking
Priority: High
Priority: Low
Priority: Medium
Status: Accepted
Status: Cannot Reproduce
Status: Confirmed
Status: Don't Merge
Status: Help Wanted
Status: In Progress
Status: Info Needed
Status: Investigating
Status: Logs Needed
Status: Maybe One Day
Status: Needs Triage
Status: On Hold
Status: Ready for Review
Status: Unlikely
Status: Waiting for OP
Status: Won't Fix
Type: Bug
Type: Documentation
Type: Duplicate
Type: Enhancement
Type: Enhancement
Type: External Bug
Type: Feature Request
Type: Regression
Type: Support
Type: Support.
conflict
conflict
no-conflict
not-pulled
radarr-pull
readarr-pull
sonarr upstream
sonarr-pull
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Lidarr-Lidarr#1113
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @aniqueta on GitHub (Sep 3, 2020).
Description
Built-in updater does not work on macOS.
Per the logs, it appears unable to find /var/folders/.../lidarr_update/Lidarr.Update.exe. However, navigating there, it appears there is a file there just not named with .exe. However, renaming this file to trick the updater to use it leads to an error that it does not contain a valid CIL image. So, perhaps not the right file.
For this update, I tried with and without full disk access. Ideally, full disk access isn't needed (once updated).
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Updater completes and refreshes with current nightly version
Actual behavior
Updater notifications appear normal. No error provided. Notification stating restart appears, but does not appear to work and/or new version not truly installed.
Logs
20-9-2 23:13:59.2|Info|InstallUpdateService|Deleting old update files 20-9-2 23:13:59.3|Info|InstallUpdateService|Downloading update 0.7.1.1785 20-9-2 23:14:17.2|Info|InstallUpdateService|Verifying update package 20-9-2 23:14:19.0|Info|InstallUpdateService|Update package verified successfully 20-9-2 23:14:19.0|Info|InstallUpdateService|Extracting Update package 20-9-2 23:14:25.8|Info|InstallUpdateService|Update package extracted successfully 20-9-2 23:14:25.8|Info|BackupService|Starting Backup 20-9-2 23:14:26.8|Info|InstallUpdateService|Preparing client 20-9-2 23:14:27.3|Info|InstallUpdateService|Starting update client /var/folders/.../lidarr_update/Lidarr.Update.exe 20-9-2 23:14:27.3|Info|InstallUpdateService|Lidarr will restart shortly. 20-9-2 23:14:27.3|Info|InstallUpdateService|Updater Arguments: 54959 /var/folders/.../lidarr_update /Applications/Lidarr.app/Contents/MacOS/Lidarr.exe /nobrowser 20-9-2 23:14:27.3|Error|mono|Cannot open assembly '/var/folders/.../lidarr_update/Lidarr.Update.exe': No such file or directory.System info
@ta264 commented on GitHub (Sep 3, 2020):
Dupe #1091
@aniqueta commented on GitHub (Sep 3, 2020):
@ta264 Sorry didn't see that one. Is there a workaround in the meantime? Thanks.
@ta264 commented on GitHub (Sep 3, 2020):
No problem, just closing to keep it organised. Join the discord and we can help.
@aniqueta commented on GitHub (Oct 17, 2020):
@ta264 Thanks for the kind offer. Just want to put here for others that I solved this by enabling full disk access (because I'm on Catalina) for the update and then turning it off. Not sure if it will need to be on for subsequent ones, but will update if so.