Hm. I get:
mkbundle --simple -o Sonarr nzbdrone.exe
ERROR: Cannot find assembly `nzbdrone.exe’
- Jon
Hm. I get:
mkbundle --simple -o Sonarr nzbdrone.exe
ERROR: Cannot find assembly `nzbdrone.exe’
For v3 beta I believe the main executable is now named Sonarr.exe, so use that instead if you are on v3 beta.
If you are on v2, you are either on a case sensitive FS (in which case use NzbDrone.exe) or in the wrong dir.
You will get sth like this:
mkbundle --simple nzbdrone.exe -o Sonarr
Using runtime: /Library/Frameworks/Mono.framework/Versions/6.4.0/bin/mono
Assembly: /Applications/Sonarr.app/Contents/MacOS/nzbdrone.exe
Config: /Applications/Sonarr.app/Contents/MacOS/nzbdrone.exe.config
Assembly: /Library/Frameworks/Mono.framework/Versions/6.4.0/lib/mono/4.5/mscorlib.dll
Assembly: /Applications/Sonarr.app/Contents/MacOS/NzbDrone.Host.dll
Assembly: /Library/Frameworks/Mono.framework/Versions/6.4.0/lib/mono/4.5/System.ServiceProcess.dll
Assembly: /Library/Frameworks/Mono.framework/Versions/6.4.0/lib/mono/4.5/System.dll
Assembly: /Library/Frameworks/Mono.framework/Versions/6.4.0/lib/mono/4.5/Mono.Security.dll
Assembly: /Library/Frameworks/Mono.framework/Versions/6.4.0/lib/mono/4.5/System.Configuration.dll
Assembly: /Library/Frameworks/Mono.framework/Versions/6.4.0/lib/mono/4.5/System.Xml.dll
Assembly: /Library/Frameworks/Mono.framework/Versions/6.4.0/lib/mono/4.5/System.Security.dll
Assembly: /Library/Frameworks/Mono.framework/Versions/6.4.0/lib/mono/4.5/System.Core.dll
Assembly: /Library/Frameworks/Mono.framework/Versions/6.4.0/lib/mono/4.5/System.Numerics.dll
Assembly: /Library/Frameworks/Mono.framework/Versions/6.4.0/lib/mono/4.5/System.Configuration.Install.dll
Assembly: /Library/Frameworks/Mono.framework/Versions/6.4.0/lib/mono/4.5/System.Windows.Forms.dll
Assembly: /Library/Frameworks/Mono.framework/Versions/6.4.0/lib/mono/4.5/System.Drawing.dll
Assembly: /Library/Frameworks/Mono.framework/Versions/6.4.0/lib/mono/4.5/System.Runtime.Serialization.Formatters.Soap.dll
Assembly: /Library/Frameworks/Mono.framework/Versions/6.4.0/lib/mono/4.5/Accessibility.dll
Assembly: /Library/Frameworks/Mono.framework/Versions/6.4.0/lib/mono/4.5/Mono.WebBrowser.dll
Assembly: /Library/Frameworks/Mono.framework/Versions/6.4.0/lib/mono/4.5/Mono.Posix.dll
Assembly: /Library/Frameworks/Mono.framework/Versions/6.4.0/lib/mono/4.5/System.Data.dll
Assembly: /Library/Frameworks/Mono.framework/Versions/6.4.0/lib/mono/4.5/System.Transactions.dll
Assembly: /Library/Frameworks/Mono.framework/Versions/6.4.0/lib/mono/4.5/System.EnterpriseServices.dll
Assembly: /Applications/Sonarr.app/Contents/MacOS/NzbDrone.Core.dll
Config: /Applications/Sonarr.app/Contents/MacOS/NzbDrone.Core.dll.config
Assembly: /Applications/Sonarr.app/Contents/MacOS/FluentValidation.dll
Assembly: /Applications/Sonarr.app/Contents/MacOS/NzbDrone.Common.dll
Assembly: /Applications/Sonarr.app/Contents/MacOS/NLog.dll
Assembly: /Library/Frameworks/Mono.framework/Versions/6.4.0/lib/mono/4.5/System.ServiceModel.dll
Assembly: /Library/Frameworks/Mono.framework/Versions/6.4.0/lib/mono/4.5/System.Runtime.Serialization.dll
Assembly: /Library/Frameworks/Mono.framework/Versions/6.4.0/lib/mono/4.5/System.ServiceModel.Internals.dll
Assembly: /Library/Frameworks/Mono.framework/Versions/6.4.0/lib/mono/4.5/System.IdentityModel.dll
Assembly: /Library/Frameworks/Mono.framework/Versions/6.4.0/lib/mono/4.5/System.Web.ApplicationServices.dll
Assembly: /Library/Frameworks/Mono.framework/Versions/6.4.0/lib/mono/4.5/System.Messaging.dll
Assembly: /Library/Frameworks/Mono.framework/Versions/6.4.0/lib/mono/4.5/Mono.Messaging.dll
Assembly: /Library/Frameworks/Mono.framework/Versions/6.4.0/lib/mono/4.5/System.IdentityModel.Selectors.dll
Assembly: /Library/Frameworks/Mono.framework/Versions/6.4.0/lib/mono/4.5/System.Web.Services.dll
Assembly: /Library/Frameworks/Mono.framework/Versions/6.4.0/lib/mono/4.5/System.Web.dll
Assembly: /Library/Frameworks/Mono.framework/Versions/6.4.0/lib/mono/4.5/System.ComponentModel.DataAnnotations.dll
Assembly: /Library/Frameworks/Mono.framework/Versions/6.4.0/lib/mono/4.5/Mono.Data.Sqlite.dll
Assembly: /Library/Frameworks/Mono.framework/Versions/6.4.0/lib/mono/4.5/System.DirectoryServices.dll
Assembly: /Library/Frameworks/Mono.framework/Versions/6.4.0/lib/mono/4.5/Novell.Directory.Ldap.dll
Assembly: /Library/Frameworks/Mono.framework/Versions/6.4.0/lib/mono/4.5/System.Design.dll
Assembly: /Library/Frameworks/Mono.framework/Versions/6.4.0/lib/mono/4.5/System.ServiceModel.Activation.dll
Assembly: /Applications/Sonarr.app/Contents/MacOS/ICSharpCode.SharpZipLib.dll
Assembly: /Applications/Sonarr.app/Contents/MacOS/Newtonsoft.Json.dll
Assembly: /Library/Frameworks/Mono.framework/Versions/6.4.0/lib/mono/4.5/System.Xml.Linq.dll
Assembly: /Applications/Sonarr.app/Contents/MacOS/LogentriesNLog.dll
Assembly: /Applications/Sonarr.app/Contents/MacOS/LogentriesCore.dll
Assembly: /Applications/Sonarr.app/Contents/MacOS/SharpRaven.dll
Assembly: /Library/Frameworks/Mono.framework/Versions/6.4.0/lib/mono/4.5/Microsoft.CSharp.dll
Assembly: /Applications/Sonarr.app/Contents/MacOS/CurlSharp.dll
Config: /Applications/Sonarr.app/Contents/MacOS/CurlSharp.dll.config
Assembly: /Applications/Sonarr.app/Contents/MacOS/SocksWebProxy.dll
Assembly: /Applications/Sonarr.app/Contents/MacOS/Org.Mentalis.dll
Assembly: /Applications/Sonarr.app/Contents/MacOS/Marr.Data.dll
Assembly: /Applications/Sonarr.app/Contents/MacOS/RestSharp.dll
Assembly: /Applications/Sonarr.app/Contents/MacOS/Prowlin.dll
Assembly: /Applications/Sonarr.app/Contents/MacOS/Growl.Connector.dll
Assembly: /Applications/Sonarr.app/Contents/MacOS/Growl.CoreLibrary.dll
Assembly: /Applications/Sonarr.app/Contents/MacOS/OAuth.dll
Assembly: /Applications/Sonarr.app/Contents/MacOS/ImageResizer.dll
Assembly: /Applications/Sonarr.app/Contents/MacOS/System.Data.SQLite.dll
Assembly: /Applications/Sonarr.app/Contents/MacOS/CookComputing.XmlRpcV2.dll
Assembly: /Applications/Sonarr.app/Contents/MacOS/FluentMigrator.dll
Assembly: /Applications/Sonarr.app/Contents/MacOS/FluentMigrator.Runner.dll
Assembly: /Library/Frameworks/Mono.framework/Versions/6.4.0/lib/mono/4.5/System.Data.DataSetExtensions.dll
Assembly: /Library/Frameworks/Mono.framework/Versions/6.4.0/lib/mono/4.5/System.Web.Extensions.dll
Assembly: /Library/Frameworks/Mono.framework/Versions/6.4.0/lib/mono/4.5/System.Data.Linq.dll
Assembly: /Applications/Sonarr.app/Contents/MacOS/MonoTorrent.dll
Assembly: /Applications/Sonarr.app/Contents/MacOS/Microsoft.Owin.Hosting.dll
Assembly: /Applications/Sonarr.app/Contents/MacOS/Microsoft.Owin.dll
Assembly: /Applications/Sonarr.app/Contents/MacOS/Owin.dll
Assembly: /Applications/Sonarr.app/Contents/MacOS/Nancy.dll
Assembly: /Applications/Sonarr.app/Contents/MacOS/NzbDrone.SignalR.dll
Assembly: /Applications/Sonarr.app/Contents/MacOS/Microsoft.AspNet.SignalR.Core.dll
Assembly: /Applications/Sonarr.app/Contents/MacOS/NzbDrone.Api.dll
Assembly: /Applications/Sonarr.app/Contents/MacOS/Ical.Net.dll
Assembly: /Applications/Sonarr.app/Contents/MacOS/Ical.Net.Collections.dll
Assembly: /Applications/Sonarr.app/Contents/MacOS/NodaTime.dll
Assembly: /Applications/Sonarr.app/Contents/MacOS/antlr.runtime.dll
Assembly: /Applications/Sonarr.app/Contents/MacOS/Nancy.Authentication.Basic.dll
Assembly: /Applications/Sonarr.app/Contents/MacOS/Nancy.Authentication.Forms.dll
Assembly: /Applications/Sonarr.app/Contents/MacOS/Nancy.Owin.dll
Assembly: /Applications/Sonarr.app/Contents/MacOS/Microsoft.AspNet.SignalR.Owin.dll
Assembly: /Library/Frameworks/Mono.framework/Versions/6.4.0/lib/mono/4.5/I18N.West.dll
Assembly: /Library/Frameworks/Mono.framework/Versions/6.4.0/lib/mono/4.5/I18N.dll
systemconfig: /Library/Frameworks/Mono.framework/Versions/6.4.0/etc/mono/config
machineconfig: /Library/Frameworks/Mono.framework/Versions/6.4.0/etc/mono/4.5/machine.config
Generated Sonarr
Where is the executable file created that is needed to be added to full disk access?
Where is the executable file created that is needed to be added to full disk access?
It gets placed in /Applications/Sonarr.app/Contents/MacOS
dberlin - that worked, but aren’t .exe files for Windows? Don’t we want to make a .app file?
- Jon
This takes the windows .net binary (which requires mono to run) and creates a 64 bit MacOS executable (that has mono embedded in it) that can run from it.
Sorry dberlin, can I ask you to spell this out for me (us?)
So I created that executable that now resides inside the Sonarr.app package.
Do I run somehow run that .exe as an executable now? (and add it to my Security & Privacy / Privacy / Full Disk Access settings?)
I’ve tried the methods above and combinations of all suggestions and it will only work with adding sh to full disk access, which I’m not going to do due to the security implications.
I currently have Sonarr running via command line using a launch agent I created:
cd /Applications/Sonarr.app/Contents/MacOS/
mono Sonarr.exe
The launch agent is formatted as follows:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>Sonarr</string>
<key>ProgramArguments</key>
<array><string>/Applications/SonarrLaunch/sonarrStart.sh</string></array>
<key>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
<true/>
</dict>
</plist>
No problems with the app staying open, so these work as expected.
I’ve added combinations of the Sonarr.app, Sonarr executable file, mono-sgen64 to full disk access. Still having access errors:
Import failed, path does not exist or is not accessible by Sonarr
Absolutely baffled. Open to suggestions, but it looks like I’ll be waiting for an update.
I get the error:
Cannot open assembly ‘sonarr.app’: File does not contain a valid CIL image.
when trying to run mono Sonarr.app
from ~/Applications in Terminal
I am not sure what a CIL image is.
You beautiful man, you! This fixed it! I was going crazy trying to figure out why I couldn’t update my newest episodes, and this step-by-step was just the ticket. I can sleep a little easier tonight.
Absolutely baffled. Open to suggestions, but it looks like I’ll be waiting for an update.
me too. I don’t even know how to be notified when there is an update (as I can only find a download option on the home screen) so I am resorting to downloading every so often and hoping it runs.
There’s been some discussion in a GitHub issue about this: https://github.com/Sonarr/Sonarr/issues/3168
Unfortunatly, I doubt a fix is going to be with us soon…
yeah, funnily enough, I have just been looking at that thread.
My main interest in Sonarr, isn’t the downloading, but simply the knowledge of what episodes are missing. Is there something else that can do that?
it worked for me, thanks
Is there a recommended solution on this? I upgraded to Catalina and Sonaar / Radarr no longer works.
I’ve tried the run mkbundle --simple -o Sonarr nzbdrone.exe
solution, and it doesn’t seem to create an .exe file.
I’ve given FullDiskAccess to the Sonarr (I assume .app file).
I’ve tried to run from command line with the :
cd /Applications/Sonarr.app/Contents/MacOS/
mono Sonarr.exe
I’ve given /Library/Frameworks/Mono.framework/Versions/Current/Commands/mono
FullDiskAccess.
I’m initiating the app with the command line :
username@macname MacOS % **cd /Applications/Sonarr.app/Contents/MacOS**
username@macname MacOS % **nohup ./Sonarr &**
None of these things seem to solve my problem. Any other guidance?
Cheers.
running this in terminal works for me.
mono /Applications/Sonarr.app/Contents/MacOS/Sonarr.exe
Anyone have a permanent solution to this yet? I’m still doing it the way @loneshade is but I don’t like having to do it in terminal manually every time I restart, and I don’t want to do any startup scripts that will eventually cause problems when this is fixed.
there is this
Paste into Terminal and run these commands which ever one is relevant to the app your getting to run in OS Catalina Then your App will open up and run… chmod +x /Applications/Radarr.app/Contents/MacOS/Radarr chmod +x /Applications/Sonarr.app/Contents/MacOS/Sonarr
but don’t know cause i haven’t upgraded due to EYETV 4 disaster
I’ve tried the methods above and combinations of all suggestions and it will only work with adding sh to full disk access, which I’m not going to do due to the security implications.
The “security implications” are simply that sh will behave exactly as it has on every previous version of macOS/OS X (and as it has behaved on every UNIX computer for the last 50 years).
This doesn’t give sh magic super hax0r powers.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.