]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/bugs/__39__search__39___plugin_causes_Error:_Exception:_Db_block_overwritten_-_are_there_multiple_writers__63__.mdwn
Revert "removed"
[git.ikiwiki.info.git] / doc / bugs / __39__search__39___plugin_causes_Error:_Exception:_Db_block_overwritten_-_are_there_multiple_writers__63__.mdwn
1 When the `search` plugin is enabled, with the options:
3 ```
4 # search plugin
5 # path to the omega cgi program
6 omega_cgi: /usr/lib/cgi-bin/omega/omega
7 # use google site search rather than internal xapian index?
8 google_search: 0
9 ```
11 Then we see the following error when editing a page from the web browser UI or running `ikiwiki --rebuild`:
13 ```
14 Error: Exception: Db block overwritten - are there multiple writers?
15 ```
17 The issue goes away when we disable the 'search' plugin.
19 We're running ikiwiki version 3.20180228-1.
21 > Every time?
22 > I used to see an error (this one, I think) intermittently on OS X, on incremental rebuilds only.
23 > Haven't seen it in a while, though.
24 > Maybe something got fixed upstream.
25 > What OS, and what version of Xapian and Omega?
26 > (1.4.11 for me.)
27 > Maybe worth blowing away `.ikiwiki/xapian/`, as described in [[tips/inside_dot_ikiwiki]]?
28
29 > --[[schmonz]]
30
31 >> We've removed the `.ikiwiki/xapian` directory before performing a rebuild, including actually rebooting the host OS. The search appears to work for a while, but once the wiki has been live for a while (and subject to edits on the web interface), the issue reappears.
32 >> 
33 >> * OS: Ubuntu 18.04.2 LTS (GNU/Linux 4.15.0-47-generic x86_64)
34 >> * xapian-tools/bionic-updates,bionic-security,now 1.4.5-1ubuntu0.1 amd64
35 >> * xapian-omega/bionic,now 1.4.5-1 amd64
36 >> 
37 >> I've upgraded our installations of both Xapian components and will let you know if that fixes it.
38 >> -- jsewell
39 >>
40 >>> Updating appeared to fix it. Sorry for not trying that sooner. Thanks for the help.
41 >>> -- jsewell