Radarr: Various errors with Radarr on OSX

Created on 7 Jul 2017  Â·  28Comments  Â·  Source: Radarr/Radarr

Description:

When I try to launch Radarr on Mac OSX I get the error "The application "Radarr" can't be opened.

I tried to delete logs.db and logs.db-journal but no luck. I then tried restoring nzbdrone.db, nzbdrone.db-journal from the backups folder, no luck. I then tried removing those files completely but no luck.

Radarr Version:

I'm not really sure what version I'm on as I can't launch the app but I've attached the latest update log and also the latest Radarr log. The log was last updated 28th June, but this was a few days after the last update. I don't believe there have been any other significant changes to the system.

Logs:

2017.06.24-14.59.txt
radarr.txt

Please use the search bar and make sure you are not submitting an already submitted issue.
Visit our Discord server for support or longer discussions.

bug stale under investigation

Most helpful comment

I'm having the same issue, can't open the app by double clicking but running from the console work. When trying to double click the icon I get the message

The application "Radarr" can't be opened.
-10810

Permissions on the executable and folder are fine, also tried updating the plist file but that make no difference either.

All 28 comments

I have also tried giving some directories execute privileges as I'd found some reference to that on various forums:

Mikes-iMac:MacOS mikehibbert$ chmod +x /Applications/Radarr.app/Contents/MacOS/Radarr
Mikes-iMac:MacOS mikehibbert$ chmod +x /Applications/Radarr.app

Alas, still no joy.

What happens when you run /Applications/Radarr.app/Contents/MacOS/Radarr ?

Interesting... running this from the terminal:

Mikes-iMac:MacOS mikehibbert$ open -a /Applications/Radarr.app/Contents/MacOS/Radarr

successfully launches Radarr, but launching the app through the GUI still fails. Any ideas why that might be?

Hmm no idea.

Hey guys, I have this same problem.

This is what happens in /var/log/system.log when you click on the OS X icon:

Jul 11 13:00:32 torrent lsd[261]: LaunchServices: Could not store lsd-identifiers file at /private/var/db/lsd/com.apple.lsdschemes.plist
Jul 11 13:00:32 --- last message repeated 1 time ---

Jul 11 13:00:32 torrent com.apple.xpc.launchd[1] (com.apple.xpc.launchd.oneshot.0x10000090.Sonarr[23034]): Could not find and/or execute program specified by service: 2: No such file or directory: /Applications/Radarr.app/Contents/MacOS/Sonarr
Jul 11 13:00:32 torrent Finder[370]: spawn_via_launchd() failed, errno=111 label=[0x0-0xed52d44].com.osx.sonarr.tv path=/Applications/Radarr.app/Contents/MacOS/Sonarr flags=1 : LaunchApplicationClient.cp #963 LaunchApplicationWithSpawnViaLaunchD() q=com.apple.root.default-qos
Jul 11 13:00:32 torrent Finder[370]: spawn_via_launchd() failed, errno=111 label=[0x0-0xed52d44].com.osx.sonarr.tv path=/Applications/Radarr.app/Contents/MacOS/Sonarr flags=1

Jul 11 13:00:32 torrent lsd[261]: LaunchServices: Could not store lsd-identifiers file at /private/var/db/lsd/com.apple.lsdschemes.plist
Jul 11 13:00:32 torrent WindowServer[195]: send_datagram_available_ping: pid 511 failed to act on a ping it dequeued before timing out.

If you look, It's trying to execute the Sonarr script inside the Radarr.app.

cd /Applications/Radarr.app/Contents/MacOS
ln -s Radarr Sonarr

Is a short term work around.

I've committed a pull request that resolves the issue on my computer. I'm not an OS X developer by any means, so I don't really know what other impact this change has.

I'm having the same problem. None of the suggestions here have worked for me.

More info: Running

open -a /Applications/Radarr.app/Contents/MacOS/Radarr

Gives

LSOpenURLsWithRole() failed for the application /Applications/Radarr.app/Contents/MacOS/Radarr with error -10810.

That error strongly indicates that you have some resource exhaustion on the computer. Have you tried rebooting?

The change in my pull request fixes the issue posted. If rebooting doesn't solve your issue, I'd open a new ticket, but again, this is almost certainly local to your install.

I get that after a fresh reboot with nothing else running. It's only started in the last week or so, prior to that it's been working fine. I'll open a new ticket.

I have this issue as well. I just downloaded the latest version available (as of today).

I have tried updating the directory permissions as well as deleting db files. Nothing works.

Is there a solution?

The solution is to edit the plist. The fix isn't in the latest release on the website, so you'll need to edit it manually.

https://github.com/Radarr/Radarr/commit/668ef336fbeeb076d1edb19b28c1559d16ee4573

That link shows you which file to edit and how. @galli-leo any chance we can get the release on the download page updated?

I updated the file, but it still won't start. The same error dialog appears.

In the file, I noticed the key CFBundleName has a string value of "Sonarr". I've tried changing that to "Radarr", but same results.

Fresh copy of Sierra on a brand new Mac mini, with only Sonarr, Deluge, NZBGet, downloaded and running along side of the normal OS related processes. Results in Can't be opened, despite editing the plist.

@typkrft Probably a permissions error. Are you using Keka to unzip the Radarr app?

I am not. macOS is using it’s built in archive utility. I did try other archive apps though, to no avail. I changed the files that need to be, from my understanding, to be executable. The only success I have had is running it as a Container in Docker. Now my issue is that I can’t get it to index approximately 900 of my, “assumed” properly named movies, but I’m still investigating that issue.

On Aug 19, 2017, 9:35 AM -0700, Leonardo Galli notifications@github.com, wrote:

@typkrft Probably a permissions error. Are you using Keka to unzip the Radarr app?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

I'm having the same issue, can't open the app by double clicking but running from the console work. When trying to double click the icon I get the message

The application "Radarr" can't be opened.
-10810

Permissions on the executable and folder are fine, also tried updating the plist file but that make no difference either.

Same issue with v0.2.0.910 no prior install on mac os 10.13.2 running
Radarr.develop.0.2.0.910.osx-app.zip

@obsess Have you tried opening the file with right click -> open?

@galli-leo yes it was the first thing I tried before searching the issue.

I'm experiencing the same on macOS Sierra

This issue has been automatically marked as stale because it has not had recent activity. Please verify that this is still an issue with the latest version of Radarr and report back. Otherwise this issue will be closed.

This is still an open issue for me on Catalina.

I am getting same issues Love Sonarr, Lidarr but Radarr is driving me crazy here is log from terminal
officemini@Martins-Mac-mini ~ % /Applications/Radarr.app/Contents/MacOS/Radarr
[Info] Bootstrap: Starting Radarr - /Applications/Radarr.app/Contents/MacOS/Radarr.exe - Version 0.2.0.1504
[Info] Router: Application mode: Interactive
[Info] MigrationLogger: * Migrating data source=/Users/officemini/.config/Radarr/nzbdrone.db;cache size=-20000;datetimekind=Utc;journal mode=Truncate;pooling=True;version=3;Full FSync=True *

[Fatal] ConsoleApp: EPIC FAIL!

[v0.2.0.1504] NzbDrone.Core.Datastore.CorruptDatabaseException: Radarr failed to start: Database file: System.Data.SQLite.SQLiteException (0x80004005): database disk image is malformed
database disk image is malformed
at System.Data.SQLite.SQLite3.Prepare (System.Data.SQLite.SQLiteConnection cnn, System.String strSql, System.Data.SQLite.SQLiteStatement previous, System.UInt32 timeoutMS, System.String& strRemain) [0x0033c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
at System.Data.SQLite.SQLiteCommand.BuildNextCommand () [0x000f6] in <61a20cde294d4a3eb43b9d9f6284613b>:0
at System.Data.SQLite.SQLiteCommand.GetStatement (System.Int32 index) [0x00008] in <61a20cde294d4a3eb43b9d9f6284613b>:0
at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteCommand.GetStatement(int)
at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0011e] in <61a20cde294d4a3eb43b9d9f6284613b>:0
at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
at System.Data.SQLite.SQLiteConnection.Open () [0x00959] in <61a20cde294d4a3eb43b9d9f6284613b>:0
at FluentMigrator.Runner.Processors.GenericProcessorBase.EnsureConnectionIsOpen () [0x0000e] in C:\Users\Mark\Source\Repos\fluentmigrator\src\FluentMigrator.Runner\Processors\GenericProcessorBase.cs:54
at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Exists (System.String template, System.Object[] args) [0x00000] in C:\Users\Mark\Source\Repos\fluentmigrator\src\FluentMigrator.Runner\Processors\SQLite\SQLiteProcessor.cs:78
at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.TableExists (System.String schemaName, System.String tableName) [0x00000] in C:\Users\Mark\Source\Repos\fluentmigrator\src\FluentMigrator.Runner\Processors\SQLite\SQLiteProcessor.cs:47
at FluentMigrator.Runner.VersionLoader.get_AlreadyCreatedVersionTable () [0x00000] in C:\Users\Mark\Source\Repos\fluentmigrator\src\FluentMigrator.Runner\VersionLoader.cs:124
at FluentMigrator.Runner.VersionLoader.LoadVersionInfo () [0x00028] in C:\Users\Mark\Source\Repos\fluentmigrator\src\FluentMigrator.Runner\VersionLoader.cs:160
at FluentMigrator.Runner.VersionLoader..ctor (FluentMigrator.Runner.IMigrationRunner runner, FluentMigrator.Infrastructure.IAssemblyCollection assemblies, FluentMigrator.IMigrationConventions conventions) [0x00077] in C:\Users\Mark\Source\Repos\fluentmigrator\src\FluentMigrator.Runner\VersionLoader.cs:50
at FluentMigrator.Runner.MigrationRunner..ctor (FluentMigrator.Infrastructure.IAssemblyCollection assemblies, FluentMigrator.Runner.Initialization.IRunnerContext runnerContext, FluentMigrator.IMigrationProcessor processor) [0x00167] in C:\Users\Mark\Source\Repos\fluentmigrator\src\FluentMigrator.Runner\MigrationRunner.cs:102
at FluentMigrator.Runner.MigrationRunner..ctor (System.Reflection.Assembly assembly, FluentMigrator.Runner.Initialization.IRunnerContext runnerContext, FluentMigrator.IMigrationProcessor processor) [0x00000] in C:\Users\Mark\Source\Repos\fluentmigrator\src\FluentMigrator.Runner\MigrationRunner.cs:72
at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x000b5] in C:\projects\radarr-usby1\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:58
at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x00048] in C:\projects\radarr-usby1\src\NzbDrone.Core\Datastore\DbFactory.cs:85 is corrupt, restore from backup if available. See: https://github.com/Radarr/Radarr/wiki/FAQ#i-use-radarr-on-a-mac-and-it-suddenly-stopped-working-what-happened
at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x0010b] in C:\projects\radarr-usby1\src\NzbDrone.Core\Datastore\DbFactory.cs:114
at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationType migrationType) [0x00000] in C:\projects\radarr-usby1\src\NzbDrone.Core\Datastore\DbFactory.cs:57
at NzbDrone.Core.Datastore.DbFactory.RegisterDatabase (NzbDrone.Common.Composition.IContainer container) [0x00000] in C:\projects\radarr-usby1\src\NzbDrone.Core\Datastore\DbFactory.cs:37
at Radarr.Host.NzbDroneServiceFactory.Start () [0x00012] in C:\projects\radarr-usby1\src\NzbDrone.Host\ApplicationServer.cs:62
at Radarr.Host.Router.Route (Radarr.Host.ApplicationModes applicationModes) [0x0007b] in C:\projects\radarr-usby1\src\NzbDrone.Host\Router.cs:41
at Radarr.Host.Bootstrap.Start (Radarr.Host.ApplicationModes applicationModes, NzbDrone.Common.EnvironmentInfo.StartupContext startupContext) [0x0003d] in C:\projects\radarr-usby1\src\NzbDrone.Host\Bootstrap.cs:79
at Radarr.Host.Bootstrap.Start (NzbDrone.Common.EnvironmentInfo.StartupContext startupContext, Radarr.Host.IUserAlert userAlert, System.Action`1[T] startCallback) [0x00075] in C:\projects\radarr-usby1\src\NzbDrone.Host\Bootstrap.cs:41
at NzbDrone.Console.ConsoleApp.Main (System.String[] args) [0x00029] in C:\projects\radarr-usby1\src\NzbDrone.Console\ConsoleApp.cs:37

I have even installed 64 bit mono thought that was issue

@dapostman and @bigragu please don't comment on 3 year old GHI that are CLOSED

@bigragu your DB is corrupt

https://github.com/Radarr/Radarr/wiki/FAQ#i-use-radarr-on-a-mac-and-it-suddenly-stopped-working-what-happened

and

https://github.com/Radarr/Radarr/wiki/FAQ#i-am-getting-an-error-database-disk-image-is-malformed

Um…just because you close it on the GitHub doesn’t necessarily mean it isn’t a problem

On Nov 6, 2020, at 4:45 AM, bakerboy448 notifications@github.com wrote:

@dapostman https://github.com/dapostman and @bigragu https://github.com/bigragu please don't comment on 3 year old GHI that are CLOSED

@bigragu https://github.com/bigragu your DB is corrupt

https://github.com/Radarr/Radarr/wiki/FAQ#i-use-radarr-on-a-mac-and-it-suddenly-stopped-working-what-happened https://github.com/Radarr/Radarr/wiki/FAQ#i-use-radarr-on-a-mac-and-it-suddenly-stopped-working-what-happened
and

https://github.com/Radarr/Radarr/wiki/FAQ#i-am-getting-an-error-database-disk-image-is-malformed https://github.com/Radarr/Radarr/wiki/FAQ#i-am-getting-an-error-database-disk-image-is-malformed
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/Radarr/Radarr/issues/1773#issuecomment-723061876, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOZUC5GB43P55JJI73YGN3SOPVVHANCNFSM4DSFNOXA.

@dapostman the bug was for v0.2 which is receiving no further development.

If the issue still persists in v3 then please open a new issue and completely fill out the bug template, include logs.

Thanks! Will do, and sorry for the bother

Sent from my iPhone

On Nov 6, 2020, at 10:05 AM, bakerboy448 notifications@github.com wrote:


@dapostman the bug was for v0.2 which is receiving no further development.

If the issue is still persists in v3 then please open a new issue and completely fill out the bug template, include logs.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

christronyxyocum picture christronyxyocum  Â·  3Comments

feerlessleadr picture feerlessleadr  Â·  3Comments

willmonahan picture willmonahan  Â·  4Comments

davidbonnici1984 picture davidbonnici1984  Â·  4Comments

danielb2 picture danielb2  Â·  3Comments