How to restart the "Ableton Index" service on macOS?
Hi, I have a big problem with a confirmed bug in "Ableton Index" on macOS where it will not index new files on a secondary HDD while Live is running (I have to restart Live to get them indexed). I wrote a post about it here: https://www.reddit.com/r/ableton/comments/et9q0b/live_browser_not_indexing_new_files_on_macos/
I also contacted Ableton Live Support and they are aware of the issue but don't seem to be willing to fix it in the near future because only 5 people (including me) reported the issue. So I am out on my own to tackle this issue and find a workaround.
My question is: Does anybody know of a way to restart the "Live Index" process while Live is running to trigger a scan? I was thinking of writing a small bash that I could launch whenever I add new files.
I can kill the process with:
kill -9 $ABLETON_INDEX_PID
But I don't know how to start it again. The executable offers some parameters but I am unsure how to use them correctly:
/Applications/Ableton\ Live\ 11\ Suite.app/Contents/App-Resources/Extensions/Index/Ableton\ Index
Available options:
AppIndex options:
-l [ --slave ] Slave mode
-s [ --standalone ] Stand-alone mode
-t [ --os-notifications ] Test OS notifications
-L [ --libconfig ] arg Path to library configuration file
--dump-config-files Dump empty configurations files into the current
folder
--options-file arg File containing additional options
In theory something like this should work:
/Applications/Ableton\ Live\ 11\ Suite.app/Contents/App-Resources/Extensions/Index/Ableton\ Index --slave --libconfig /path/to/cfg
The problem is I can't find the path to my Library.cfg and Options.cfg. I can only create empty files when using the --dump-config-files switch.
Anybody done this before or has any hints how I can achieve this or even fix the bug?
Thanks!
Edit: It seems that the Options.cfg is dynamically created when you launch Live. I can now successfully kill and launch the Index but it's not triggering a scan.
#!/bin/bash
index="/Applications/Ableton Live 11 Suite.app/Contents/App-Resources/Extensions/Index/Ableton Index"
library="/Users/hrvstr/Library/Preferences/Ableton/Live 11.0/Library.cfg"
options="/private/var/folders/4q/fbbjg4310bzddbt4n408g0hc0000gn/T/com.ableton.index.468aedf.txt"
"$index" -L "$library" --options-file "$options"
Posted Feb 24, 2021, 11:31 AM UTC · edited