Bleve index fail

This is my Mattermost

I got many warn and error

{
  "caller": "indexer/indexing_job.go:504",
  "error": "failed to find Channels: missing destination name defaultcategoryname in *[]*model.Channel",
  "job_create_at": "Jul 22 05:22:36.453",
  "job_id": "i8iprkxch7btzewipuu16ft5jr",
  "job_type": "bleve_post_indexing",
  "level": "warn",
  "msg": "Failed to get channels batch for indexing. Retrying.",
  "timestamp": "2025-07-22 05:25:25.784 Z",
  "worker_name": "BleveIndexer"
}
{
  "caller": "indexer/indexing_job.go:299",
  "error": "BleveIndexerWorker.IndexChannelsBatch: Unable to get the channels batch for indexing., failed to find Channels: missing destination name defaultcategoryname in *[]*model.Channel",
  "job_create_at": "Jul 22 05:22:36.453",
  "job_id": "i8iprkxch7btzewipuu16ft5jr",
  "job_type": "bleve_post_indexing",
  "level": "error",
  "msg": "Worker: Failed to index batch for job",
  "timestamp": "2025-07-22 05:25:40.789 Z",
  "worker_name": "BleveIndexer"
}

anyone have any idea?

Hi @ekin219, thanks for sharing the details! It looks like there might be an issue with the Bleve search index related to a missing channel category (defaultcategoryname). I’d recommend trying a reindex as described in the Mattermost documentation for Bleve search troubleshooting: