Hi, Can anyone tell me the Zerbra reindexing command after importing a database? OS - CentOS Koha Version - 3.12 Thank You ! -- Regards, Balaji Ravichandran ( பாலாஜி ) , Volunteer at Free Software Foundation - Tamilnadu, Mobile : 9790528505 My Blog - balogic.wordpress.com
sudo koha-rebuild-zebra -v -f library Please replace library with your own instance name. Cheers On 28 December 2015 at 13:20, Balaji Ravichandran <rbalajives@gmail.com> wrote:
Hi, Can anyone tell me the Zerbra reindexing command after importing a database? OS - CentOS Koha Version - 3.12 Thank You !
-- Regards, Balaji Ravichandran ( பாலாஜி ) , Volunteer at Free Software Foundation - Tamilnadu, Mobile : 9790528505 My Blog - balogic.wordpress.com _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
-- Charles Lwanga College of Education, P. O. Box 660193, Monze, ZAMBIA. Mobile: +26 0979 869471 +26 0966 869471 SKYPE: Libsitali
No,It does not work in CentOS.This is for Ubuntu On 31 December 2015 at 20:16, Chrispin Simasiku Sitali <libsitali@gmail.com> wrote:
sudo koha-rebuild-zebra -v -f library
Please replace library with your own instance name.
Cheers
On 28 December 2015 at 13:20, Balaji Ravichandran <rbalajives@gmail.com> wrote:
Hi, Can anyone tell me the Zerbra reindexing command after importing a database? OS - CentOS Koha Version - 3.12 Thank You !
-- Regards, Balaji Ravichandran ( பாலாஜி ) , Volunteer at Free Software Foundation - Tamilnadu, Mobile : 9790528505 My Blog - balogic.wordpress.com _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
-- Charles Lwanga College of Education, P. O. Box 660193, Monze, ZAMBIA.
Mobile: +26 0979 869471 +26 0966 869471 SKYPE: Libsitali
-- Regards, Balaji Ravichandran ( பாலாஜி ) , Volunteer at Free Software Foundation - Tamilnadu, Mobile : 9790528505 My Blog - balogic.wordpress.com
Not at koha-related work at the moment, so can't give you the exact command (we use Fedora). But the trick is to look up the cron file (assuming you installed the cron file!) and get the zebra-reindex command from there. Just add a "--help" or something to get the switch to fully re-index. I'd also throw in the -x switch just to be safe... On Fri, Jan 1, 2016 at 12:55 PM, Balaji Ravichandran <rbalajives@gmail.com> wrote:
No,It does not work in CentOS.This is for Ubuntu
On 31 December 2015 at 20:16, Chrispin Simasiku Sitali < libsitali@gmail.com> wrote:
sudo koha-rebuild-zebra -v -f library
Please replace library with your own instance name.
Cheers
On 28 December 2015 at 13:20, Balaji Ravichandran <rbalajives@gmail.com> wrote:
Hi, Can anyone tell me the Zerbra reindexing command after importing a database? OS - CentOS Koha Version - 3.12 Thank You !
-- Regards, Balaji Ravichandran ( பாலாஜி ) , Volunteer at Free Software Foundation - Tamilnadu, Mobile : 9790528505 My Blog - balogic.wordpress.com _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
-- Charles Lwanga College of Education, P. O. Box 660193, Monze, ZAMBIA.
Mobile: +26 0979 869471 +26 0966 869471 SKYPE: Libsitali
-- Regards, Balaji Ravichandran ( பாலாஜி ) , Volunteer at Free Software Foundation - Tamilnadu, Mobile : 9790528505 My Blog - balogic.wordpress.com _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
Hello, try this: ... export KOHA_CONF=/etc/koha/koha-conf.xml export PERL5LIB=[path-to-koha-installation]/lib export XDG_RUNTIME_DIR=/tmp/ perl [path-to-koha-installation]/bin/migration_tools/rebuild_zebra.pl --run- as-root -b -r -v ... This is my index.sh which is a cron job every two minutes an part of my rc.local. Sebastian Am Montag, 28. Dezember 2015, 16:50:25 schrieb Balaji Ravichandran:
Hi, Can anyone tell me the Zerbra reindexing command after importing a database? OS - CentOS Koha Version - 3.12 Thank You !
-- ______ mailto: sebastian.krieg@tuz-eisenach.de
You might also want to check that your zebra paths are right - see http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15405 for the simple patch. It'll be in the next version of Koha, but you'll probably have to manually adjust the zebra paths until then... (There are a couple of other patches out there for non-debian systems) On Sat, Jan 2, 2016 at 4:20 PM, Sebastian Krieg < sebastian.krieg@tuz-eisenach.de> wrote:
Hello,
try this:
... export KOHA_CONF=/etc/koha/koha-conf.xml export PERL5LIB=[path-to-koha-installation]/lib
export XDG_RUNTIME_DIR=/tmp/
perl [path-to-koha-installation]/bin/migration_tools/rebuild_zebra.pl --run- as-root -b -r -v ...
This is my index.sh which is a cron job every two minutes an part of my rc.local.
Sebastian
Am Montag, 28. Dezember 2015, 16:50:25 schrieb Balaji Ravichandran:
Hi, Can anyone tell me the Zerbra reindexing command after importing a database? OS - CentOS Koha Version - 3.12 Thank You !
-- ______ mailto: sebastian.krieg@tuz-eisenach.de _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
participants (4)
-
Balaji Ravichandran -
Chrispin Simasiku Sitali -
Nicholas van Rheede van Oudtshoorn -
Sebastian Krieg