ONLYOFFICE/Docker-CommunityServer

Missing parameter syncTimeout in run-community-server.sh

demitov opened this issue · 1 comments

Configuration file /web/studio/ASC.Web.Studio/Web.config constaint parameter syncTimeout, which is missing from the script /app/run-community-server.sh. So the sed command does not find a substring from the pattern, and does not substitute values from environment variables.

https://github.com/ONLYOFFICE/CommunityServer/blob/b364013dff2714a8b335773bb8826b816313fab4/web/studio/ASC.Web.Studio/Web.config#L607

sed -E 's/<redisCacheClient\s*ssl="(false|true)"\s*connectTimeout="[0-9]*"\s*database="[0-9]*"\s*password=".*">/<redisCacheClient ssl="'${REDIS_SERVER_SSL}'" connectTimeout="'${REDIS_SERVER_CONNECT_TIMEOUT}'" database="'${REDIS_SERVER_DATABASE}'" password="'${REDIS_SERVER_PASSWORD}'">/' -i ${APP_ROOT_DIR}/Web.config

Hello @demitov thanks for bringing this to our attention. We will fix this in one of the next releases.