Thursday 21st December 2017
Moin Wiki
I'm still in the process of updating my web server machine from Fedora 25 (now EOL) to Fedora 27. One of the things I noticed that wasn't working was search on this wiki, which was failing with this error:
Traceback (most recent call last):, referer: http://www.city-fan.org/tips/PaulHowarth/Blog/2017-12-02 File "/usr/lib/python2.7/site-packages/MoinMoin/support/flup/server/fcgi_base.py", line 574, in run protocolStatus, appStatus = self.server.handler(self) File "/usr/lib/python2.7/site-packages/MoinMoin/support/flup/server/fcgi_base.py", line 1159, in handler result = self.application(environ, start_response) File "/srv/www/tips/cgi-bin/moin.fcg", line 60, in script_name_fixer return app(env, start) File "/usr/lib/python2.7/site-packages/MoinMoin/wsgiapp.py", line 264, in __call__ response = run(context) File "/usr/lib/python2.7/site-packages/MoinMoin/wsgiapp.py", line 89, in run response = dispatch(request, context, action_name) File "/usr/lib/python2.7/site-packages/MoinMoin/wsgiapp.py", line 137, in dispatch response = handle_action(context, pagename, action_name) File "/usr/lib/python2.7/site-packages/MoinMoin/wsgiapp.py", line 203, in handle_action handler(context.page.page_name, context) File "/usr/lib/python2.7/site-packages/MoinMoin/action/fullsearch.py", line 196, in execute results = searchPages(request, query, sort, mtime, historysearch) File "/usr/lib/python2.7/site-packages/MoinMoin/search/__init__.py", line 35, in searchPages return _get_searcher(request, query, sort, mtime, historysearch, **kw).run() File "/usr/lib/python2.7/site-packages/MoinMoin/search/builtin.py", line 328, in run hits, estimated_hits = self._search() File "/usr/lib/python2.7/site-packages/MoinMoin/search/Xapian/search.py", line 53, in _search search_results = index.search(self.query, sort=self.sort, historysearch=self.historysearch) File "/usr/lib/python2.7/site-packages/MoinMoin/search/builtin.py", line 168, in search return self._search(query, **kw) File "/usr/lib/python2.7/site-packages/MoinMoin/search/Xapian/indexing.py", line 168, in _search searcher = self.get_search_connection() File "/usr/lib/python2.7/site-packages/MoinMoin/search/Xapian/indexing.py", line 147, in get_search_connection return MoinSearchConnection(self.db) File "/usr/lib/python2.7/site-packages/MoinMoin/support/xappy/searchconnection.py", line 741, in __init__ self._index = _log(_xapian.Database, indexpath) File "/usr/lib/python2.7/site-packages/MoinMoin/support/xappy/replaylog.py", line 413, in log return call(*args) File "/usr/lib64/python2.7/site-packages/xapian/__init__.py", line 8303, in __init__ _xapian.Database_swiginit(self, _xapian.new_Database(*args)) FeatureUnavailableError: Flint backend no longer supported
It seems the update to the underlying Xapian search library rendered my existing index obsolete. The fix was to rebuild the index:
# runuser -s /bin/sh -c "moin --config-dir=/srv/www/tips/cgi-bin --wiki-url=http://www.city-fan.org/tips/ index build --mode=buildnewindex" apache # systemctl stop httpd # runuser -s /bin/sh -c "moin --config-dir=/srv/www/tips/cgi-bin --wiki-url=http://www.city-fan.org/tips/ index build --mode=usenewindex" apache # systemctl start httpd
Fedora Project
Updated GeoIP-GeoLite-data to the December 2017 databases in Rawhide
Updated perl-List-MoreUtils-XS to 0.428 in Rawhide:
Fix build fails on perl ≥ 5.27.4 with -DDEBUGGING (CPAN RT#123613)
Update ppport.h to 3.37 for improved blead support
Fix context arg to croak() (CPAN RT#123869)
Fix one() returning true on empty list (CPAN RT#123870)
Pamper $a/$b/$_ refcounting bugs (CPAN RT#123868)
Updated perl-Try-Tiny to 0.30 in Rawhide:
Expand "when" test skippage to more Perl versions
Local Packages
Updated GeoIP-GeoLite-data to the December 2017 databases
Updated perl-Archive-Zip to 1.60:
Wrong shell bang in examples/selfex.pl (CPAN RT#123913)
Updated perl-List-MoreUtils-XS to 0.428 as per the Fedora version
Updated perl-Module-CoreList to 5.20171220:
- Updated for v5.27.7
Updated perl-Module-Manifest to 1.09:
Switch packaging to Dist::Zilla, which makes the distribution installable again on Perl 5.27.7 (CPAN RT#123867)
Updated perl-Task-Weaken to 1.05:
Switch packaging to Dist::Zilla
Require List::Util::XS in some cases
Updated perl-Try-Tiny to 0.30 as per the Fedora version
Updated php-Smarty to 3.1.31