Elasticsearch doesn't start

Infos:

  • Used Zammad version: 6.4.1
  • Used Zammad installation type: docker-compose
  • Operating system: Portainer
  • Browser + version: Chrome

Expected behavior:

  • Run ElasticSearch

Actual behavior:

  • ES won’t start

Steps to reproduce the behavior:

  • I updated from version 6.4.0 to 6.4.1 and ES stopped starting

log ES:

elasticsearch 09:25:47.32 INFO  ==> 
elasticsearch 09:25:47.32 INFO  ==> Welcome to the Bitnami elasticsearch container
elasticsearch 09:25:47.32 INFO  ==> Subscribe to project updates by watching https://github.com/bitnami/containers
elasticsearch 09:25:47.33 INFO  ==> Submit issues and feature requests at https://github.com/bitnami/containers/issues
elasticsearch 09:25:47.33 INFO  ==> Upgrade to Tanzu Application Catalog for production environments to access custom-configured and pre-packaged software components. Gain enhanced features, including Software Bill of Materials (SBOM), CVE scan result reports, and VEX documents. To learn more, visit https://bitnami.com/enterprise
elasticsearch 09:25:47.33 INFO  ==> 
elasticsearch 09:25:47.33 INFO  ==> ** Starting Elasticsearch setup **
elasticsearch 09:25:47.37 WARN  ==> Setting ELASTICSEARCH_IS_DEDICATED_NODE is disabled.
elasticsearch 09:25:47.37 WARN  ==> ELASTICSEARCH_NODE_ROLES will be ignored and Elasticsearch will asume all different roles.
elasticsearch 09:25:47.37 INFO  ==> Configuring/Initializing Elasticsearch...
elasticsearch 09:25:47.40 INFO  ==> Custom configuration file detected, using it...
elasticsearch 09:25:47.42 INFO  ==> ** Elasticsearch setup finished! **
elasticsearch 09:25:47.45 INFO  ==> ** Starting Elasticsearch **
warning: ignoring JAVA_HOME=/opt/bitnami/java; using ES_JAVA_HOME
[2024-12-19T09:25:50,230][INFO ][o.e.n.NativeAccess       ] [374afc19a8e3] Using [jna] native provider and native methods for [Linux]
[2024-12-19T09:25:50,234][ERROR][o.e.b.Elasticsearch      ] [374afc19a8e3] fatal exception while booting Elasticsearch java.lang.UnsupportedOperationException: seccomp unavailable: CONFIG_SECCOMP not compiled into kernel, CONFIG_SECCOMP and CONFIG_SECCOMP_FILTER are needed
	at org.elasticsearch.nativeaccess@8.16.1/org.elasticsearch.nativeaccess.LinuxNativeAccess.tryInstallExecSandbox(LinuxNativeAccess.java:255)
	at org.elasticsearch.server@8.16.1/org.elasticsearch.bootstrap.Elasticsearch.initializeNatives(Elasticsearch.java:296)
	at org.elasticsearch.server@8.16.1/org.elasticsearch.bootstrap.Elasticsearch.initPhase2(Elasticsearch.java:169)
	at org.elasticsearch.server@8.16.1/org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:74)
ERROR: Elasticsearch did not exit normally - check the logs at /opt/bitnami/elasticsearch/logs/elasticsearch.log
ERROR: Elasticsearch died while starting up, with exit code 1
elasticsearch 09:26:51.16 INFO  ==> 
elasticsearch 09:26:51.17 INFO  ==> Welcome to the Bitnami elasticsearch container
elasticsearch 09:26:51.17 INFO  ==> Subscribe to project updates by watching https://github.com/bitnami/containers
elasticsearch 09:26:51.17 INFO  ==> Submit issues and feature requests at https://github.com/bitnami/containers/issues
elasticsearch 09:26:51.17 INFO  ==> Upgrade to Tanzu Application Catalog for production environments to access custom-configured and pre-packaged software components. Gain enhanced features, including Software Bill of Materials (SBOM), CVE scan result reports, and VEX documents. To learn more, visit https://bitnami.com/enterprise
elasticsearch 09:26:51.17 INFO  ==> 
elasticsearch 09:26:51.18 INFO  ==> ** Starting Elasticsearch setup **
elasticsearch 09:26:51.21 WARN  ==> Setting ELASTICSEARCH_IS_DEDICATED_NODE is disabled.
elasticsearch 09:26:51.22 WARN  ==> ELASTICSEARCH_NODE_ROLES will be ignored and Elasticsearch will asume all different roles.
elasticsearch 09:26:51.22 INFO  ==> Configuring/Initializing Elasticsearch...
elasticsearch 09:26:51.24 INFO  ==> Custom configuration file detected, using it...
elasticsearch 09:26:51.27 INFO  ==> ** Elasticsearch setup finished! **
elasticsearch 09:26:51.30 INFO  ==> ** Starting Elasticsearch **
warning: ignoring JAVA_HOME=/opt/bitnami/java; using ES_JAVA_HOME
[2024-12-19T09:26:54,074][INFO ][o.e.n.NativeAccess       ] [374afc19a8e3] Using [jna] native provider and native methods for [Linux]
[2024-12-19T09:26:54,077][ERROR][o.e.b.Elasticsearch      ] [374afc19a8e3] fatal exception while booting Elasticsearch java.lang.UnsupportedOperationException: seccomp unavailable: CONFIG_SECCOMP not compiled into kernel, CONFIG_SECCOMP and CONFIG_SECCOMP_FILTER are needed
	at org.elasticsearch.nativeaccess@8.16.1/org.elasticsearch.nativeaccess.LinuxNativeAccess.tryInstallExecSandbox(LinuxNativeAccess.java:255)
	at org.elasticsearch.server@8.16.1/org.elasticsearch.bootstrap.Elasticsearch.initializeNatives(Elasticsearch.java:296)
	at org.elasticsearch.server@8.16.1/org.elasticsearch.bootstrap.Elasticsearch.initPhase2(Elasticsearch.java:169)
	at org.elasticsearch.server@8.16.1/org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:74)
ERROR: Elasticsearch did not exit normally - check the logs at /opt/bitnami/elasticsearch/logs/elasticsearch.log
ERROR: Elasticsearch died while starting up, with exit code 1
elasticsearch 09:27:55.01 INFO  ==> 
elasticsearch 09:27:55.01 INFO  ==> Welcome to the Bitnami elasticsearch container
elasticsearch 09:27:55.01 INFO  ==> Subscribe to project updates by watching https://github.com/bitnami/containers
elasticsearch 09:27:55.01 INFO  ==> Submit issues and feature requests at https://github.com/bitnami/containers/issues
elasticsearch 09:27:55.01 INFO  ==> Upgrade to Tanzu Application Catalog for production environments to access custom-configured and pre-packaged software components. Gain enhanced features, including Software Bill of Materials (SBOM), CVE scan result reports, and VEX documents. To learn more, visit https://bitnami.com/enterprise
elasticsearch 09:27:55.01 INFO  ==> 
elasticsearch 09:27:55.02 INFO  ==> ** Starting Elasticsearch setup **
elasticsearch 09:27:55.06 WARN  ==> Setting ELASTICSEARCH_IS_DEDICATED_NODE is disabled.
elasticsearch 09:27:55.06 WARN  ==> ELASTICSEARCH_NODE_ROLES will be ignored and Elasticsearch will asume all different roles.
elasticsearch 09:27:55.06 INFO  ==> Configuring/Initializing Elasticsearch...
elasticsearch 09:27:55.09 INFO  ==> Custom configuration file detected, using it...
elasticsearch 09:27:55.11 INFO  ==> ** Elasticsearch setup finished! **
elasticsearch 09:27:55.14 INFO  ==> ** Starting Elasticsearch **
warning: ignoring JAVA_HOME=/opt/bitnami/java; using ES_JAVA_HOME
[2024-12-19T09:27:57,933][INFO ][o.e.n.NativeAccess       ] [374afc19a8e3] Using [jna] native provider and native methods for [Linux]
[2024-12-19T09:27:57,936][ERROR][o.e.b.Elasticsearch      ] [374afc19a8e3] fatal exception while booting Elasticsearch java.lang.UnsupportedOperationException: seccomp unavailable: CONFIG_SECCOMP not compiled into kernel, CONFIG_SECCOMP and CONFIG_SECCOMP_FILTER are needed
	at org.elasticsearch.nativeaccess@8.16.1/org.elasticsearch.nativeaccess.LinuxNativeAccess.tryInstallExecSandbox(LinuxNativeAccess.java:255)
	at org.elasticsearch.server@8.16.1/org.elasticsearch.bootstrap.Elasticsearch.initializeNatives(Elasticsearch.java:296)
	at org.elasticsearch.server@8.16.1/org.elasticsearch.bootstrap.Elasticsearch.initPhase2(Elasticsearch.java:169)
	at org.elasticsearch.server@8.16.1/org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:74)
ERROR: Elasticsearch did not exit normally - check the logs at /opt/bitnami/elasticsearch/logs/elasticsearch.log
ERROR: Elasticsearch died while starting up, with exit code 1
elasticsearch 09:28:58.87 INFO  ==> 
elasticsearch 09:28:58.87 INFO  ==> Welcome to the Bitnami elasticsearch container
elasticsearch 09:28:58.87 INFO  ==> Subscribe to project updates by watching https://github.com/bitnami/containers
elasticsearch 09:28:58.88 INFO  ==> Submit issues and feature requests at https://github.com/bitnami/containers/issues
elasticsearch 09:28:58.88 INFO  ==> Upgrade to Tanzu Application Catalog for production environments to access custom-configured and pre-packaged software components. Gain enhanced features, including Software Bill of Materials (SBOM), CVE scan result reports, and VEX documents. To learn more, visit https://bitnami.com/enterprise
elasticsearch 09:28:58.88 INFO  ==> 
elasticsearch 09:28:58.89 INFO  ==> ** Starting Elasticsearch setup **
elasticsearch 09:28:58.92 WARN  ==> Setting ELASTICSEARCH_IS_DEDICATED_NODE is disabled.
elasticsearch 09:28:58.92 WARN  ==> ELASTICSEARCH_NODE_ROLES will be ignored and Elasticsearch will asume all different roles.
elasticsearch 09:28:58.93 INFO  ==> Configuring/Initializing Elasticsearch...
elasticsearch 09:28:58.95 INFO  ==> Custom configuration file detected, using it...
elasticsearch 09:28:58.98 INFO  ==> ** Elasticsearch setup finished! **
elasticsearch 09:28:59.01 INFO  ==> ** Starting Elasticsearch **
warning: ignoring JAVA_HOME=/opt/bitnami/java; using ES_JAVA_HOME
[2024-12-19T09:29:01,697][INFO ][o.e.n.NativeAccess       ] [374afc19a8e3] Using [jna] native provider and native methods for [Linux]
[2024-12-19T09:29:01,700][ERROR][o.e.b.Elasticsearch      ] [374afc19a8e3] fatal exception while booting Elasticsearch java.lang.UnsupportedOperationException: seccomp unavailable: CONFIG_SECCOMP not compiled into kernel, CONFIG_SECCOMP and CONFIG_SECCOMP_FILTER are needed
	at org.elasticsearch.nativeaccess@8.16.1/org.elasticsearch.nativeaccess.LinuxNativeAccess.tryInstallExecSandbox(LinuxNativeAccess.java:255)
	at org.elasticsearch.server@8.16.1/org.elasticsearch.bootstrap.Elasticsearch.initializeNatives(Elasticsearch.java:296)
	at org.elasticsearch.server@8.16.1/org.elasticsearch.bootstrap.Elasticsearch.initPhase2(Elasticsearch.java:169)
	at org.elasticsearch.server@8.16.1/org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:74)
ERROR: Elasticsearch did not exit normally - check the logs at /opt/bitnami/elasticsearch/logs/elasticsearch.log
ERROR: Elasticsearch died while starting up, with exit code 1

ES tells you the reason.

I don’t understand how to solve this problem, could you tell me?
I updated to version 6.4.1 via stack portainer (Re-pull image and redeploy
)

Use this for fix you issue: seccomp - Elasticsearch fails to start: CONFIG_SECCOMP and CONFIG_SECCOMP_FILTER are needed - Stack Overflow