Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing parameter syncTimeout in run-community-server.sh #190

Open
demitov opened this issue May 13, 2023 · 1 comment
Open

Missing parameter syncTimeout in run-community-server.sh #190

demitov opened this issue May 13, 2023 · 1 comment

Comments

@demitov
Copy link

demitov commented May 13, 2023

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

@Carazyda
Copy link
Member

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

agolybev pushed a commit that referenced this issue May 23, 2023
* Fix syncTymout param

* Add syncTimeout teamLabs config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants