Created
June 13, 2018 10:01
-
-
Save glimpsed/1621df7db753de6198747d8c34e92a81 to your computer and use it in GitHub Desktop.
Fix broken Spotlight / Time Machine (white pointer on black screen on shutdown and/or restart)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The problem is not with Spotlight, but with Launch Services. There are two steps to solving the problem: | |
sudo mkdir /private/var/db/lsd | |
sudo /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -seed -lint -r -f -v -dump -domain local -domain system -domain user -domain network | |
The first one creates the folder that the launch services daemon needs to store the database. That’s why LaunchServices is getting an -10822 error, because it can’t create the database, so it keeps resetting the connection. The second command tells launch services to kill the old database and create a new one from scratch. Voila |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment