Native Access's NTK Daemon: sometimes fails to install even with full disk access, also mutex issue
I'm posting to document two problems with Native Access (v3.1.0 for Apple Silicon) and NTKDaemon that I encountered on macOS Ventura 13.0.1. Also to document the workarounds I used in order to get through the installation of Komplete Standard 14.
• Sometimes the installation of an item would fail even though both NTKDaemon and Native Access have been granted Full Disk Access in System Settings - Privacy & Security - Full Disk Access. Strangely, some installs would succeed, some would fail. Nothing was written to the console that I could see so I'm not sure why it was having problems with installing 'Abbey Road 60s Drummer' that it didn't have with 'Battery 4'.
Eventually I used the tip at the bottom of this post to run NTKDaemon as sudo root. This is not a great thing to have to do from a security perspective, but it appeared that NTKDaemon was likely having permissions issues. And it worked, finally I could click the install buttons next to items in Native Access and they would actually reliably install. In addition I could watch informative messages scroll by in the Terminal.
• With newfound confidence that installs would succeed I clicked the 'Install All' button. Several items downloaded and installed, and then after a couple of more quickly-downloaded items tried to install I saw NTKDaemon crash with a "mutex lock failed" error:
So I quit Native Access, again ran the NTKDaemon as root via the terminal command "sudo /Library/Application\ Support/Native\ Instruments/NTK/NTKDaemon.app/Contents/MacOS/NTKDaemon", started up Native Access, and hit "Install All" again. It installed a couple of items and then ran into that same NTKDaemon "mutex lock failed" error again.
I quit Native Access again, started up NTKDaemon as root again, and this time I just hit the Install button next to one item. It installed. Another item, it installed. Another item, it installed. I clicked the install button next to 3 smaller items so they'd probably download very quickly and do their installs simultaneously and I was treated to the same NTKDaemon crash.
Eventually after manually relaunching NTKDaemon and Native Access and clicking install buttons one at a time and making sure items didn't install at the same time, I got everything installed. So there's nothing that needs to be done to help me in this case - but the problems I ran into point to a couple of possible bugs in Native Access.
- Native Access, at least in this particular version, is queuing downloads, but is not queuing installations - and simultaneous installs are clobbering each other at some step in their process - maybe when registering installs to a common file or db. This should be easy to fix, just queue the installation processes too.
- Something isn't right with NTKDaemon and permissions and 'Full Disk Access'. For what it's worth, I had both download location and content location set to a thunderbolt RAID connected to my computer on which I have read/write permissions. Though now that I'm checking those settings I have a 3rd bug to report. Eek.
- Native Access's preferences can lose track of user-specified settings and change them on its own. It set "Download Location" to /var/root/Downloads, is that the Default? That is not the location to which I'd set it to download items (and at one point it was downloading to my specified location). I promise I never clicked the 'Restore Defaults' button, and am concerned that maybe one of the NTKDaemon crashes caused the preferences to reset? It appears this happened at some point and now I've got a bunch of content in the non-desired Content Location of /Users/Shared, which I'll have to go move. And all of 'em are owned by root. Argh.
OK I recursively changed ownership of all those content folders and files to my user and group and I moved them to my desired content location, then started up NTKDaemon and Native Access and used the bulk relocate tool to change the location of all the missing content and now finally I have everything installed and in the correct place. Hooray.
But this was a painful process and most users are not going to manage all this command-line tomfoolery. I'm sure this process must work well for most people and likely also for the cases used for testing back at Native Instruments, but my setup is not terribly interesting or bizarre and this was not a good experience. I'm happy to supply more information if needed for attempts to reproduce these issues.
- All Categories
- 21 Welcome
- 2.1K Hangout
- 85 NI News
- 1.4K Tech Talks
- 2.3K Native Access
- 13.3K Komplete
- 1.3K Komplete General
- 2.8K Komplete Kontrol
- 3.7K Kontakt
- 3.5K Reaktor
- 327 Battery 4
- 596 Guitar Rig & FX
- 315 Massive X & Synths
- 700 Other Software & Hardware
- 4K Maschine
- 4.9K Traktor
- 4.6K Traktor Software & Hardware
- Check out everything you can do
- Create an account
- See member benefits
- Answer questions
- Ask the community
- See product news
- Connect with creators