No river meta document found after attempts – How to solve this Elasticsearch error

Opster Team

Aug-23, Version: 1.7-1.7

Before you dig into reading this guide, have you tried asking OpsGPT what this log means? You’ll receive a customized analysis of your log.

Try OpsGPT now for step-by-step guidance and tailored insights into your Elasticsearch operation.

Briefly, this error occurs when Elasticsearch cannot find the river meta document after several attempts. Rivers were used for data feed mechanisms, but they are deprecated since version 1.5.0. The error suggests that your system is trying to access a river that doesn’t exist or is not properly configured. To resolve this issue, you can either create the missing river, ensure the existing river is correctly configured, or update your data feed mechanism to a method supported in your Elasticsearch version, such as Logstash or Beats.

For a complete solution to your to your search operation, try for free AutoOps for Elasticsearch & OpenSearch . With AutoOps and Opster’s proactive support, you don’t have to worry about your search operation – we take charge of it. Get improved performance & stability with less hardware.

This guide will help you check for common problems that cause the log ” no river _meta document found after {} attempts ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: document and routing.

Log Context

Log “no river _meta document found after {} attempts” classname is
We extracted the following from Elasticsearch source code for those seeking an in-depth context :

        // At least one type does not have _meta; so we are
        // going to reschedule some checks
        if (!metaFound) {
            if (countDown.countDown()) {
                logger.warn("no river _meta document found after {} attempts"; RIVER_START_MAX_RETRIES);
            } else {
                logger.debug("no river _meta document found retrying in {} ms"; RIVER_START_RETRY_INTERVAL.millis());
                try {
                    threadPool.schedule(RIVER_START_RETRY_INTERVAL; ThreadPool.Names.GENERIC; new Runnable() {


How helpful was this guide?

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?