For people coming from Google:The root cause is in my case was when I used Sublime Text as root and that caused the Index folder to be created with root as owner.When I after that tried to use Sublime Text as my regular user it couldn't use that folder of course.

So deleting the folder as described above works. But this will happen again if you open ST as root.Another string to get Google to point here: "indexing: crawldb not available, indexing abandoned"