mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-10-01 02:54:54 +08:00
aio-interface: disable fts if seccomp is not supported in the kernel
Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
parent
dcc1c230ff
commit
2915345b7d
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);
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
{% endif %}
|
||||
>
|
||||
<label for="fulltextsearch">
|
||||
Fulltextsearch (needs ~1GB additional RAM)
|
||||
Fulltextsearch (needs ~1GB additional RAM, <a href="https://github.com/nextcloud/all-in-one/discussions/5768">does not work on Kernels without Seccomp</a>)
|
||||
{% if is_fulltextsearch_enabled == false %}
|
||||
. <strong>Please note:</strong> the initial indexing can take a long time during which Nextcloud will be unavailable
|
||||
{% endif %}
|
||||
|
|
Loading…
Add table
Reference in a new issue