diff --git a/php/src/Data/ConfigurationManager.php b/php/src/Data/ConfigurationManager.php index 147492fff27..f3629b7f36f 100644 --- a/php/src/Data/ConfigurationManager.php +++ b/php/src/Data/ConfigurationManager.php @@ -210,6 +210,11 @@ public function isFulltextsearchEnabled() : bool { } public function SetFulltextsearchEnabledState(int $value) : void { + # Elasticsearch does not work on kernels without seccomp anymore. See https://github.com/nextcloud/all-in-one/discussions/5768 + if ($this->GetCollaboraSeccompDisabledState() === 'true') { + $value = 0; + } + $config = $this->GetConfig(); $config['isFulltextsearchEnabled'] = $value; $this->WriteConfig($config); diff --git a/php/templates/includes/optional-containers.twig b/php/templates/includes/optional-containers.twig index 3544635483e..bf4891207d3 100644 --- a/php/templates/includes/optional-containers.twig +++ b/php/templates/includes/optional-containers.twig @@ -50,7 +50,7 @@ {% endif %} >