mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00:00
Merge pull request #5775 from nextcloud/enh/5768/disable-fts-seccomp
disable fts if seccomp is not supported in the kernel
This commit is contained in:
commit
05bad1b80a
2 changed files with 6 additions and 1 deletions
|
|
@ -210,6 +210,11 @@ class ConfigurationManager
|
|||
}
|
||||
|
||||
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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue