Loading...
 
Skip to main content

Unified index incremental update fails on 12.x svn (untested in 14.x)

Status
Closed
Subject
Unified index incremental update fails on 12.x svn (untested in 14.x)
Version
12.x Regression
Category
  • Release Blocker
  • Conflict of two features (each works well independently)
  • Error
  • Regression
  • Indexing
Feature
All / Undefined
Infrastructure
Resolution status
Out of Date
Submitted by
Xavier de Pedro
Lastmod by
Xavier de Pedro
Rating
(1)
Related-to
Description

For some misterious reason, since a few weeks (2 maybe ) incremental search index fails (using either lucene or mysql full text search as the unified search engines)

Errors are related to permission problems (in an example with Lucene PHP as unified search engine, and at tracker item insertion):

Copy to clipboard
Search index could not be updated. The site is missconfigured. Contact an administrator. fopen(temp/site1.example.com////////unified-index/_u.sti): failed to open stream: Permission denied.


Image


For a forum post, in another tiki 12 site, another user reported this error message:

Copy to clipboard
Search index could not be updated. The site is misconfigured. Contact an administrator. fopen(temp/site2.example.com////unified-index/_e.sti): failed to open stream: Permission denied Search index could not be updated. The site is misconfigured. Contact an administrator. fopen(temp/site2.example.com////////////////////////////unified-index/_e.sti): failed to open stream: Permission denied


Content is added successfully (wiki page edition, tracker index, forum post, ...), but the error message is shown to the standard non-admin user as "Error", even if the setting "show php errors" is set to "Show to Admins only".



This is afecting all our tiki 12.x that we have in production (4) running on the same multitiki instance, on an ISPConfig-powered server (in case this matters) . If unix permissions are related, then you need to know in advanced that ISPConfig requires permissions set as www-data for the owner, and clientN for the group, being "N" a number corresponding to the client number in the ISPConfig configuration. See ISPConfig


Related bug (I can't seem to select them through the field "Related-to" since they are not shown in the list, which is capped before reaching those ones starting with "Search index could not be updated. The site is misconfigured. Contact an administrator.":

"Search index could not be updated. The site is misconfigured. Contact an administrator."
http://dev.tiki.org/item4115

Solution
Closing and tagging as outdated since I haven't seen it any more in any server.
Workaround
Workaround: disable incremental search index , and increase frequency of index rebuilt server side on a console via cronjob.
Importance
9
Easy to solve?
3
Priority
27
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
5673
Created
Tuesday 19 May, 2015 08:56:44 UTC
by Xavier de Pedro
LastModif
Thursday 02 June, 2016 08:00:57 UTC


Show PHP error messages