returnSetupResult::error($this->l10n->t('Error while checking the temporary PHP path - it was not properly set to a directory. Returned value: %s',[$phpTempPath]));
returnSetupResult::info($this->l10n->t('The PHP function "disk_free_space" is disabled, which prevents the check for enough space in the temporary directories.'));
returnSetupResult::error($this->l10n->t('Error while checking the available disk space of temporary PHP path or no free disk space returned. Temporary path: %s',[$phpTempPath]));
returnSetupResult::error($this->l10n->t('Error while checking the available disk space of temporary PHP path or no free disk space returned. Temporary path: %s',[$nextcloudTempPath]));
$spaceDetail.="\n".$this->l10n->t('- %.1f GiB available in %s (Nextcloud temporary directory)',[round($freeSpaceInNextcloudTempInGB,1),$nextcloudTempPath]);
}
if(!$this->isPrimaryStorageS3()){
returnSetupResult::success(
$this->l10n->t("Temporary directory is correctly configured:\n%s",[$spaceDetail])
"This instance uses an S3 based object store as primary storage. The uploaded files are stored temporarily on the server and thus it is recommended to have 50 GiB of free space available in the temp directory of PHP. To improve this please change the temporary directory in the php.ini or make more space available in that path. \nChecking the available space in the temporary path resulted in %.1f GiB instead of the recommended 50 GiB. Path: %s",