Skip to content

Actions after update

Daniel Rupp edited this page Jan 10, 2024 · 7 revisions

After updating GOKb, there are a number of procedures that should be followed

Reset the FT indexes

If it's possible the database has changed (For example, consolidating duplicate titles) you should reset the full text indexes. This is VERY important as without it, the references in global search results will lead to a null pointer exception when clicking on search results.

Clear the old FT indexes

You can delete the existing via curl -XDELETE 'http://localhost:9200/gokb'. A new index will be created automatically on App startup.

Re-populate the clean index

Log into the app and run Admin -> reset FT indexes. This will delete the table ftcontrol so that the app will start reindexing. Alternatively, you can delete table ftcontrol manually.