1
0
Fork 0
mirror of https://github.com/Lidarr/Lidarr.git synced 2026-03-03 00:26:58 -05:00

Built-in updater fails on macOS #1113

Closed
opened 2026-02-20 12:11:13 -05:00 by deekerman · 4 comments
Owner

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:

  1. Install fresh pre-release version from releases page
  2. Give Lidarr full disk access (for macOS Catalina; tried with and without)
  3. Switch release channel to nightly
  4. Run built-in updater

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

  • Lidarr Version: [e.g. 0.3.0.430]
  • macOS 10.15.6 (19G2021)
  • Mono Version 6.8.0.123
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: 1. Install fresh pre-release version from releases page 2. Give Lidarr full disk access (for macOS Catalina; tried with and without) 3. Switch release channel to nightly 4. Run built-in updater **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** - Lidarr Version: [e.g. 0.3.0.430] - macOS 10.15.6 (19G2021) - Mono Version 6.8.0.123
deekerman 2026-02-20 12:11:13 -05:00
  • closed this issue
  • added the
    Type: Bug
    label
Author
Owner

@ta264 commented on GitHub (Sep 3, 2020):

Dupe #1091

@ta264 commented on GitHub (Sep 3, 2020): Dupe #1091
Author
Owner

@aniqueta commented on GitHub (Sep 3, 2020):

@ta264 Sorry didn't see that one. Is there a workaround in the meantime? Thanks.

@aniqueta commented on GitHub (Sep 3, 2020): @ta264 Sorry didn't see that one. Is there a workaround in the meantime? Thanks.
Author
Owner

@ta264 commented on GitHub (Sep 3, 2020):

No problem, just closing to keep it organised. Join the discord and we can help.

@ta264 commented on GitHub (Sep 3, 2020): No problem, just closing to keep it organised. Join the discord and we can help.
Author
Owner

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

@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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Lidarr-Lidarr#1113
No description provided.