From d4695d235639f7b14b63efef12d67cfbaab557a6 Mon Sep 17 00:00:00 2001 From: Erik Tews Date: Fri, 13 Nov 2026 18:59:11 +0100 Subject: [PATCH] (feat) Support higher limits for OC_GRPC_MAX_RECEIVED_MESSAGE_SIZE (#392) * Support higher limits for OC_GRPC_MAX_RECEIVED_MESSAGE_SIZE * Give more details about OC_GRPC_MAX_RECEIVED_MESSAGE_SIZE --- docker-compose.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 9e81770..19b7169 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -58,6 +58,14 @@ services: OC_ENABLE_GUEST_LINKS: "${OC_ENABLE_GUEST_LINKS:-false}" # default language for services/WebUI; defaults to English, language code (ISO 639-1, e.g. de, en, fr) OC_DEFAULT_LANGUAGE: ${DEFAULT_LANGUAGE} + # Opencloud sets a maximum size for GRPC requests. Having a large amount of file per directory + # can exceed these limits resulting in internal server errors and log messages like: + # + # grpc: received message larger than max (X vs. 10240000) + # + # with X being a number larger than 10240000. You can set a custom limit, for example 20480000. + # Keep in mind that doubling the GRPC_MAX_RECEIVED_MESSAGE_SIZE limit may also double your peak RAM usage. + OC_GRPC_MAX_RECEIVED_MESSAGE_SIZE: volumes: - ./config/opencloud/csp.yaml:/etc/opencloud/csp.yaml - ./config/opencloud/apps.yaml:/etc/opencloud/apps.yaml