"ErrorException: Elasticsearch index must be rebuilt to include custom mappings."

nocte

Member
Reactions
5
Immediately after upgrading from 3.3.1 to 3.3.2 I found this error in the XF error log:

Code:
ErrorException: Elasticsearch index must be rebuilt to include custom mappings. src/XF/Error.php:75
Generated by: admin Apr 23, 2020 at 10:45 PM

According to the change log, there were only smaller adjustments done:


What is the reason for this error? I cannot remember to have seen that error before..
 
This indicates your elasticsearch index has a type mapping which doesn't match what XenForo expects. If you go to the Settings => Elastic search page, there is a new section "Elastic Search Type mappings".

It should look something like this, but with some lines in red because they don't match;
1587769836458.png
 

Users who are viewing this thread

Back
Top