Can't recover from FTS index corruption
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Synapse |
Invalid
|
Undecided
|
Unassigned | ||
Zeitgeist Extensions |
Fix Released
|
Medium
|
Mikkel Kamstrup Erlandsen | ||
zeitgeist-extensions (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The Zeitgeist FTS extension should be able to automatically recover from corrupted indexes by rebuilding the index from the Zeitgeist log.
-- Original report -------
Hallo,
since a few days synapse does not show any folders anymore - of course I made sure that the directory plugin is enabled. I also disabled it, restarted synapse and enabled it again. It still did not work. The config.json file seems to be proper, too.
Starting synapse from commandline, I get the following output each time I press any letter:
** (synapse:26138): WARNING **: zeitgeist-
File "/usr/lib/
retval = candidate_
File "/usr/share/
offset, count, result_type)
File "/usr/share/
self.
DatabaseCorrupt
org.freedeskto
** (synapse:26138): DEBUG: zeitgeist-
SynapseHybridSe
I've tested synapse 0.2.2.1, 0.2.2.2 from your download section and I also tested the recent version from branch. The folders I tried to find were ordinary folders within the home-partition (like "Documents", "Music", "Desktop", "Videos").
Sincerely,
Daniel
Changed in synapse-project: | |
status: | Incomplete → Invalid |
summary: |
- Synapse don't show any folders anymore + FTS index corruption |
Changed in zeitgeist-extensions: | |
status: | Triaged → Fix Committed |
Changed in zeitgeist-extensions: | |
milestone: | none → fts-0.0.12 |
status: | Fix Committed → Fix Released |
Seems like your search index got corrupted somehow, to fix it open a terminal and run these commands:
zeitgeist-daemon --quit share/zeitgeist /
cd ~/.local/
rm -rvf fts.index/
zeitgeist-daemon &
Afterwards your database will be reindexed, wait a while for this to happen (there'll be lots of output in the terminal) and then try again.