[Koha] Reindexing Zebra Because there are no results found in opac and intranet search

Mark Tompsett mtompset at hotmail.com
Sat Nov 15 06:36:24 NZDT 2014


Greetings,

Check the permissions on your directories. They shouldn't be root. They are 
generally of the form {instance}-koha.
For example, we have a kohademo instance on a server. Perhaps something as 
simple as:
    $ sudo chown -vR kohademo-koha.kohademo-koha /var/lib/koha/kohademo
may fix it. CHANGE kohademo TO YOUR INSTANCE NAME.

Check your permissions.

$ cd /var/lib/koha
$ ls -laR
.:
total 12
drwxr-xr-x  3 root          root          4096 Aug 29 02:43 .
drwxr-xr-x 35 root          root          4096 Aug 29 02:42 ..
drwxr-xr-x  5 kohademo-koha kohademo-koha 4096 Oct 31 05:06 kohademo

./kohademo:
total 24
drwxr-xr-x 5 kohademo-koha kohademo-koha 4096 Oct 31 05:06 .
drwxr-xr-x 3 root          root          4096 Aug 29 02:43 ..
drwxr-xr-x 6 kohademo-koha kohademo-koha 4096 Aug 29 02:43 authorities
-rw------- 1 kohademo-koha kohademo-koha   15 Oct 31 05:08 .bash_history
drwxr-xr-x 6 kohademo-koha kohademo-koha 4096 Aug 29 02:43 biblios
drwxr-xr-x 2 kohademo-koha kohademo-koha 4096 Aug 29 02:43 plugins

./kohademo/authorities:
total 24
drwxr-xr-x 6 kohademo-koha kohademo-koha 4096 Aug 29 02:43 .
drwxr-xr-x 5 kohademo-koha kohademo-koha 4096 Oct 31 05:06 ..
drwxr-xr-x 2 kohademo-koha kohademo-koha 4096 Aug 29 02:43 key
drwxr-xr-x 2 kohademo-koha kohademo-koha 4096 Aug 29 02:43 register
drwxr-xr-x 2 kohademo-koha kohademo-koha 4096 Aug 29 02:43 shadow
drwxr-xr-x 2 kohademo-koha kohademo-koha 4096 Aug 29 02:43 tmp

./kohademo/authorities/key:
total 8
drwxr-xr-x 2 kohademo-koha kohademo-koha 4096 Aug 29 02:43 .
drwxr-xr-x 6 kohademo-koha kohademo-koha 4096 Aug 29 02:43 ..

./kohademo/authorities/register:
total 8
drwxr-xr-x 2 kohademo-koha kohademo-koha 4096 Aug 29 02:43 .
drwxr-xr-x 6 kohademo-koha kohademo-koha 4096 Aug 29 02:43 ..

./kohademo/authorities/shadow:
total 8
drwxr-xr-x 2 kohademo-koha kohademo-koha 4096 Aug 29 02:43 .
drwxr-xr-x 6 kohademo-koha kohademo-koha 4096 Aug 29 02:43 ..

./kohademo/authorities/tmp:
total 8
drwxr-xr-x 2 kohademo-koha kohademo-koha 4096 Aug 29 02:43 .
drwxr-xr-x 6 kohademo-koha kohademo-koha 4096 Aug 29 02:43 ..

./kohademo/biblios:
total 24
drwxr-xr-x 6 kohademo-koha kohademo-koha 4096 Aug 29 02:43 .
drwxr-xr-x 5 kohademo-koha kohademo-koha 4096 Oct 31 05:06 ..
drwxr-xr-x 2 kohademo-koha kohademo-koha 4096 Nov 14 17:30 key
drwxr-xr-x 2 kohademo-koha kohademo-koha 4096 Nov 14 17:30 register
drwxr-xr-x 2 kohademo-koha kohademo-koha 4096 Sep 24 02:55 shadow
drwxr-xr-x 2 kohademo-koha kohademo-koha 4096 Aug 29 02:43 tmp

./kohademo/biblios/key:
total 8
drwxr-xr-x 2 kohademo-koha kohademo-koha 4096 Nov 14 17:30 .
drwxr-xr-x 6 kohademo-koha kohademo-koha 4096 Aug 29 02:43 ..

./kohademo/biblios/register:
total 304
drwxr-xr-x 2 kohademo-koha kohademo-koha   4096 Nov 14 17:30 .
drwxr-xr-x 6 kohademo-koha kohademo-koha   4096 Aug 29 02:43 ..
-rw-r--r-- 1 kohademo-koha kohademo-koha 114688 Nov 14 17:30 dict-0.mf
-rw-r--r-- 1 kohademo-koha kohademo-koha   8192 Nov 14 17:30 gmatch-0.mf
-rw-r--r-- 1 kohademo-koha kohademo-koha  56448 Nov 14 17:30 isambA-0.mf
-rw-r--r-- 1 kohademo-koha kohademo-koha  33152 Nov 14 17:30 isambB-0.mf
-rw-r--r-- 1 kohademo-koha kohademo-koha  33792 Nov 14 17:30 isambC-0.mf
-rw-r--r-- 1 kohademo-koha kohademo-koha      0 Nov 14 17:30 isambD-0.mf
-rw-r--r-- 1 kohademo-koha kohademo-koha   7980 Nov 14 17:30 recdA-0.mf
-rw-r--r-- 1 kohademo-koha kohademo-koha  55122 Nov 14 17:30 recdB-0.mf
-rw-r--r-- 1 kohademo-koha kohademo-koha    248 Nov 14 17:30 reci-0.mf
-rw-r--r-- 1 kohademo-koha kohademo-koha    384 Nov 14 17:30 sort10-0.mf
-rw-r--r-- 1 kohademo-koha kohademo-koha    384 Nov 14 17:30 sort103-0.mf
-rw-r--r-- 1 kohademo-koha kohademo-koha    384 Nov 14 17:30 sort107-0.mf
-rw-r--r-- 1 kohademo-koha kohademo-koha    384 Nov 14 17:30 sort123-0.mf
-rw-r--r-- 1 kohademo-koha kohademo-koha    384 Nov 14 17:30 sort15-0.mf
-rw-r--r-- 1 kohademo-koha kohademo-koha    384 Nov 14 17:30 sort32-0.mf
-rw-r--r-- 1 kohademo-koha kohademo-koha    384 Nov 14 17:30 sort36-0.mf
-rw-r--r-- 1 kohademo-koha kohademo-koha    384 Nov 14 17:30 sort42-0.mf
-rw-r--r-- 1 kohademo-koha kohademo-koha    384 Nov 14 17:30 sort46-0.mf
-rw-r--r-- 1 kohademo-koha kohademo-koha    384 Nov 14 17:30 sort50-0.mf
-rw-r--r-- 1 kohademo-koha kohademo-koha    384 Nov 14 17:30 sort54-0.mf
-rw-r--r-- 1 kohademo-koha kohademo-koha    384 Nov 14 17:30 sort61-0.mf
-rw-r--r-- 1 kohademo-koha kohademo-koha    384 Nov 14 17:30 sort73-0.mf
-rw-r--r-- 1 kohademo-koha kohademo-koha    384 Nov 14 17:30 sort77-0.mf
-rw-r--r-- 1 kohademo-koha kohademo-koha    384 Nov 14 17:30 sort90-0.mf
-rw-r--r-- 1 kohademo-koha kohademo-koha    384 Nov 14 17:30 sort95-0.mf

./kohademo/biblios/shadow:
total 8
drwxr-xr-x 2 kohademo-koha kohademo-koha 4096 Sep 24 02:55 .
drwxr-xr-x 6 kohademo-koha kohademo-koha 4096 Aug 29 02:43 ..

./kohademo/biblios/tmp:
total 8
drwxr-xr-x 2 kohademo-koha kohademo-koha 4096 Aug 29 02:43 .
drwxr-xr-x 6 kohademo-koha kohademo-koha 4096 Aug 29 02:43 ..

./kohademo/plugins:
total 8
drwxr-xr-x 2 kohademo-koha kohademo-koha 4096 Aug 29 02:43 .
drwxr-xr-x 5 kohademo-koha kohademo-koha 4096 Oct 31 05:06 ..

GPML,
Mark Tompsett



More information about the Koha mailing list