NEXTCLOUD_UPLOAD_LIMIT: adjust default to 1G

Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
Simon L. 2025-10-08 14:10:40 +02:00
parent 9b345e9289
commit 395a860755
8 changed files with 11 additions and 11 deletions

View file

@ -691,7 +691,7 @@ class ConfigurationManager
public function GetNextcloudUploadLimit() : string {
$envVariableName = 'NEXTCLOUD_UPLOAD_LIMIT';
$configName = 'nextcloud_upload_limit';
$defaultValue = '16G';
$defaultValue = '1G';
return $this->GetEnvironmentalVariableOrConfig($envVariableName, $configName, $defaultValue);
}

View file

@ -22,7 +22,7 @@
{% endif %}
See the <a target="_blank" href="https://github.com/nextcloud/all-in-one#how-to-allow-the-nextcloud-container-to-access-directories-on-the-host">NEXTCLOUD_MOUNT documentation</a> on how to change this.</p>
<p>Nextcloud has an upload limit of {{ nextcloud_upload_limit }} configured (for public link uploads. Bigger uploads are always possible when users are logged in). See the <a target="_blank" href="https://github.com/nextcloud/all-in-one#how-to-adjust-the-upload-limit-for-nextcloud">NEXTCLOUD_UPLOAD_LIMIT documentation</a> on how to change this.</p>
<p>Nextcloud has an upload limit of {{ nextcloud_upload_limit }} configured (for not-chunked uploads. Bigger uploads are always possible when chunking is used which is the case when users are logged in and for public uploads). See the <a target="_blank" href="https://github.com/nextcloud/all-in-one#how-to-adjust-the-upload-limit-for-nextcloud">NEXTCLOUD_UPLOAD_LIMIT documentation</a> on how to change this.</p>
<p>For Nextcloud, a memory limit of {{ nextcloud_memory_limit }} per PHP process is configured. See the <a target="_blank" href="https://github.com/nextcloud/all-in-one#how-to-adjust-the-php-memory-limit-for-nextcloud">NEXTCLOUD_MEMORY_LIMIT documentation</a> on how to change this.</p>