-
Notifications
You must be signed in to change notification settings - Fork 1
Actions after update
After updating GOKb, there are a number of procedures that should be followed
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.
You can delete the existing indices via
curl -XDELETE 'http://localhost:9200/gokborgs'
curl -XDELETE 'http://localhost:9200/gokbplatforms'
curl -XDELETE 'http://localhost:9200/gokbpackages'
curl -XDELETE 'http://localhost:9200/gokbtitles'
curl -XDELETE 'http://localhost:9200/gokbtipps'
New indices will be created automatically on App startup.
Log into the app and run Admin -> reset FT indexes. This will delete the content of table ftcontrol
so that the app will start reindexing. Alternatively, you can delete the content of table ftcontrol
manually.
Alternatively, you can run the script /scripts/es_reset <indexname>
with all indices to delete and repopulate the indices. You should check and adapt the path to es_mapping.json
and es_settings.json
in the script if necessary. You still need to delete the content of table ftcontrol
afterwards.