CIA-36: tikiwiki: 03jonnybradley * r40825 10/branches/9.x/lib/messu/messulib.php: [FIX] messages: Correcting "quality" enhancements so messages work again (thanks Xavi) Trebly: joined #tikiwiki arildb_: joined #tikiwiki fabricius: joined #tikiwiki arildb__: joined #tikiwiki arildb_: joined #tikiwiki sandroandrade: joined #tikiwiki goj_killedByISP: joined #tikiwiki arildb__: joined #tikiwiki arildb_: joined #tikiwiki ennpee: joined #tikiwiki arildb__: joined #tikiwiki arildb_: joined #tikiwiki
joined #tikiwiki Tiki|bot: New Forum Posts: problem with pictures - http://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=43765 sandroandrade: joined #tikiwiki CIA-36: tikiwiki: 03jonnybradley * r40826 10/branches/9.x/ (2 files in 2 dirs): [FIX] content templates: Restore switcing of editors and use correct toolbar for template section
tikiwiki: 03sylvieg * r40827 10/branches/8.x/ (lib/init/initlib.php tiki-filter-base.php): [FIX]temp: mode generic jonnyb: joined #tikiwiki sylvieg: jonnyb: thx for your comment about the snippet
I agree - it was working some times ago - but there is too many abstraction layer I do not understand jonnyb: hi sylvieg - jsat stepping through the code now... getting lost (as usual!)
jsat/just
me too sylvieg: before I think I remember that in contentsource the snippet was built if needed CIA-36: tikiwiki: 03jonnybradley * r40828 10/branches/9.x/templates/searchresults-plain.tpl: [FIX] search: Don't html escape highlight snippets so the highlighting show (html entities in wiki pages still get parsed) jonnyb: sylvieg: i think adding parsing of search results is too big a thing for now - maybe for tiki 10
it's really not trivial at all GillesM: joined #tikiwiki
joined #tikiwiki CIA-36: tikiwiki: 03sept_7 * r40829 10/trunk/ (5 files in 2 dirs): [FIX] Fix some pb with {add_help}
tikiwiki: 03sept_7 * r40830 10/trunk/templates/admin/include_anchors.tpl: [FIX] Better use of {self_link}...
tikiwiki: 03jonnybradley * r40831 10/branches/9.x/lib/userslib.php: [FIX] kaltura: Backport perm label changes Jyhem_laptop: polom sylvieg & jonnyb jonnyb: hi Jyhem_laptop Jyhem_laptop: I see sept_7 is working on trunk. Strange. Is anyone n conact with him?
s:conact/contact -: Jyhem_laptop experiments with {list} :-) jonnyb: good point, no, not directly benoitg: joined #tikiwiki Jyhem_laptop: I found docs on how to setup cron jobs for unified search here: http://dev.tiki.org/Unified+Search#Cron_job
I suppose that's all there is to it? jonnyb: Jyhem_laptop: yup, the tiki 9+ version obviously
you might also need to set up a "sudo -u www-data php lib/search/shell.php process" one if you're importing lots of items in batches
although if it's more than several 100 items a rebuild is often quicker - milage definitely varies with this stuff
also you need to watch out the user you use to run the task is the apache user for your system (www-data seems the most common)
try it out in a shell first (on a small tiki - my big tracker one takes 15 minutes+ to rebuild)
i have mine processing every 5 mins, rebuild every 24 hours Jyhem_laptop: Hmmm, what does "process" do ? It's not mentioned in the page. -: Jyhem_laptop reads source jonnyb: it processes the queue of stuff that's been modified and needs re-indexing Jyhem_laptop: So rebuild is supposed to be useless unless an indexing issue occurs ? jonnyb: every time something's saved it processes the top 10 things in the queue, so if you've modified 50 items the next 5 saves (of pages etc) you do will be quite slow
can causes timeouts etc Jyhem_laptop: I think I get it. arildb: joined #tikiwiki Jyhem_laptop: So when I imported my 20 batches of 500 tracker items some days ago, I should have expected everything to be quite slow afterwards, since I did not do any rebuilding
Ahaaahhhh !!!!
sudo -u www-data php lib/search/shell.php process
[sudo] password for libs:
2012-04-08T16:43:41+00:00 INFO (6): Processed queue
2012-04-08T16:43:41+00:00 INFO (6): Processed 10 items, 61001 remaining.
still slow, then jonnyb: probably best to do a rebuild, i'd say
you can also see the queue size on admin/search Jyhem_laptop: Yes, I just did: Rebuild in progress - exiting.
Ah, yes. I did not notice it before
Should I uncheck "MySQL Full-Text Search"? jonnyb: yes, i don't think they get on very well
need to pass all this on to changi|morphee to try it out on some of the tiki sites -: Jyhem_laptop suspects they are both on by default CIA-36: tikiwiki: 03jonnybradley * r40832 10/branches/9.x/ (4 files in 4 dirs): [ENH] sefurl/canonical: Add in missing objects types for canonical links, which necessitated completing some missing sefurl rules (hence partly an enhancement which started out as a fix) arildb_: joined #tikiwiki CIA-36: tikiwiki: 03jonnybradley * r40833 10/branches/9.x/templates/canonical.tpl: [FIX] canonical: "Canonical should link to http version because better for SEO" Jyhem_laptop: rebuild still in progress. Strangely, top shows no particular use of memory or CPU CIA-36: tikiwiki: 03jonnybradley * r40834 10/branches/9.x/templates/tiki-admin_modules.tpl: [FIX] modules: Use um_name to pick value for save/create button as um_title can be empty
tikiwiki: 03jonnybradley * r40835 10/branches/9.x/tiki-admin_modules.php: [FIX] modules: Only check for existing module with same name on create (user) module otherwise you cannot modify existing ones
tikiwiki: 03jonnybradley * r40836 10/branches/9.x/lib/userslib.php: [FIX][bp/r40636] Some general tweaks/improvements to permission definitions (thanks marclaporte)
tikiwiki: 03jonnybradley * r40837 10/branches/9.x/templates/tiki-admin_categories.tpl: [FIX] categories: Wrong var for pagination jonnyb: Jyhem_laptop: 60000 objects? yes, it'll take a while... the process will be called "php" afaik Jyhem_laptop: jonnyb: Let's just hope it is actually in progress. I first killed it (ctrl-c) because I wanted to start it over with timing information. Every time I try it again, it just says "2012-04-08T18:13:05+00:00 INFO (6): Rebuild in progress - exiting."
we'll see jonnyb: ah right, yes that's a bit crappy - if a dir called temp/unified-index exists it thinks a rebuild is in progress and just exits - so if you kill a rebuild (or it fails) then this dir needs deleting manually -: jonnyb notices lots of stuff that needs adding to the doc page! jonnyb: you'll fine unified-index is owned by apache so you need to sudo rm -R (which is always worrying!) CIA-36: tikiwiki: 03jonnybradley * r40838 10/branches/9.x/lib/categories/categlib.php: [FIX] categories: update ignore when moving objects to another category (so objects also already in the destination category will be left behind) Jyhem_laptop: Ohhh, it's in the filesystem, not the database. Cool. I'll just remove the dir and rebuild
no sudo required in my setup. It's apache with fcgi
hmm temp/unified-index is gone but I still get "Rebuild in progress - exiting." jonnyb: curious - no multi-tiki? (it might be inside a "virtuals" temp dir in that case) Jyhem_laptop: Ahah, it is actually temp/unified-index-new -: Jyhem_laptop looked it up in function rebuildInProgress Jyhem_laptop: s/looked it up/echoed it :)
and yes, that one is aowned by www-data
recreated temp/unified-index with previous permissions and "sudo -u www-data time php lib/search/shell.php rebuild" now got php process to use 98% of my CPU. Looks much more like I'd expect jonnyb: yes, i uses a zend makedir function which ignores group sadly Jyhem_laptop: I don't know. I did not take chances: I just re-created it.
Hmmm :-(
<pre>ERROR: &lt;R...&gt; Can not open file: /var/www/clients/client2/web2/web/temp/cache/228d39a21e0ab5275678ac3b5324c66e.R <em>in</em></pre><p><pre>1:25
And it crashed the rebuild, and now it claims that "Rebuild in progress - exiting." again RobertPlummer: joined #tikiwiki Jyhem_laptop: temp/cache/228d39a21e0ab5275678ac3b5324c66e.R is a PluginR file jonnyb: Jyhem_laptop: try using the log option - lib/search/shell.php rebuild log (it makes a log file in temp)
it'll show you the page or whatever the re-indexing failed on (usually turns out to be a WSoD page) Jyhem_laptop: It told me that : 228d39a21e0ab5275678ac3b5324c66e.R is the R plugin generated page.
I moved all R plugin files out of temp/cache and launched rebuild again
If that works, I can put these files back and try again CIA-36: tikiwiki: 03jonnybradley * r40839 10/branches/9.x/ (4 files in 3 dirs):
tikiwiki: [FIX] selectmenu: Make menu wider so the text doesn't get covered over by the
tikiwiki: triangle graphic, improve workaround for creating selectmenus in hidden divs as
tikiwiki: well as fieldsets and add warning on pref (also another warning on
tikiwiki: feature_jquery_tablesorter re js minify) Jyhem_laptop: jonnyb: did you uncheck "Incremental Index Update" since you have this crontab? jonnyb: no, but have wondered if i should
i left it on as users will expect their changes to be available in the search immediately - and if the queue is under control it should work...
left #tikiwiki
joined #tikiwiki
off to eat now, cu 2morrow deeku: joined #tikiwiki