Koha Test Wiki MW Canasta on Koha Portainer

Test major Koha Wiki changes or bug fixes here without fear of breaking the production wiki.

For the current Koha Wiki, visit https://wiki.koha-community.org .

Troubleshooting Elasticsearch

From Koha Test Wiki MW Canasta on Koha Portainer
Jump to navigation Jump to search

You might run into some problems running Elasticsearch. Maybe you can find the solution here.

Search works in staff, not in OPAC

Missing suppression-index

Do you have OpacSuppression = Hide? If you do, you also need to have the suppression-index configured. If your Koha instance has gone through some upgrades you might be missing it. Solution:

  • Go to "Home › Administration › Search engine configuration (Elasticsearch)"
  • Verify that the "suppression" index is missing from the page
  • At the bottom of the page, click on "Reset mappings" and confirm
  • An index called "suppress" should now show in the list of indexes
  • Run a full reindex
  • Check if the OPAC search works now

Couldn't write '262144' to 'vm/max_map_count'

If you're getting the following error during install

Couldn't write '262144' to 'vm/max_map_count', ignoring: Permission denied

Try

$ export ES_SKIP_SET_KERNEL_PARAMETERS=true
$ apt-get install elasticsearch