Operator users file changed updating operator users – How to solve this Elasticsearch error

Opster Team

Aug-23, Version: 7.11-8.9

Briefly, this error occurs when the Elasticsearch operator detects a change in the users file, which contains the credentials for Elasticsearch users. This could be due to manual changes or an update process. To resolve this issue, you can either revert the changes if they were unintended, or if the changes were intentional, ensure that they are correctly formatted and do not contain any errors. Additionally, you should verify the permissions and ownership of the file to ensure the Elasticsearch operator can access and read it.

This guide will help you check for common problems that cause the log ” operator users file [{}] changed. updating operator users… ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: plugin.

Log Context

Log “operator users file [{}] changed. updating operator users…” classname is FileOperatorUsersStore.java.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :

        public void onFileChanged(Path file) {
            if (file.equals(FileOperatorUsersStore.this.file)) {
                final OperatorUsersDescriptor newDescriptor = parseFile(file; logger);
                if (operatorUsersDescriptor.equals(newDescriptor) == false) {
                    logger.info("operator users file [{}] changed. updating operator users..."; file.toAbsolutePath());
                    operatorUsersDescriptor = newDescriptor;


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?