fix collabora image

Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
Simon L.
2026-09-02 13:51:02 +02:00
parent 892a44c8c2
commit fa2de2bd39
6 changed files with 17 additions and 38 deletions
+12
View File
@@ -896,6 +896,17 @@ class ConfigurationManager
return $defaultString . 'false';
}
/**
* Translates AIO's global log level into the log levels that coolwsd accepts.
*/
public function getCollaboraLogLevel() : string {
return match ($this->aioLogLevel) {
'warn' => 'warning',
'info' => 'notice',
default => $this->aioLogLevel,
};
}
/**
* @throws InvalidSettingConfigurationException
*/
@@ -1235,6 +1246,7 @@ class ConfigurationManager
'BORGBACKUP_HOST_LOCATION' => $this->borgBackupHostLocation,
'APACHE_MAX_SIZE' => (string)($this->getApacheMaxSize()),
'COLLABORA_SECCOMP_POLICY' => $this->getCollaboraSeccompPolicy(),
'COLLABORA_LOG_LEVEL' => $this->getCollaboraLogLevel(),
'NEXTCLOUD_STARTUP_APPS' => $this->getNextcloudStartupApps(),
'NEXTCLOUD_ADDITIONAL_APKS' => $this->nextcloudAdditionalApks,
'NEXTCLOUD_ADDITIONAL_PHP_EXTENSIONS' => $this->nextcloudAdditionalPhpExtensions,