diff options
author | Lauri Ojansivu <x@xet7.org> | 2019-07-26 09:11:28 +0300 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2019-07-26 09:11:28 +0300 |
commit | fff144a8279ac36ce83e6b975f17f6dbc35f39d6 (patch) | |
tree | 8ae6c63547ed985cbaf731d3f5b5dc34ad1d92fb | |
parent | 85ca2b1363ed0bad8639ba7ed65c55e445816947 (diff) | |
download | wekan-fff144a8279ac36ce83e6b975f17f6dbc35f39d6.tar.gz wekan-fff144a8279ac36ce83e6b975f17f6dbc35f39d6.tar.bz2 wekan-fff144a8279ac36ce83e6b975f17f6dbc35f39d6.zip |
- Set LDAP_BACKGROUND_SYNC_INTERVAL='' (empty string) so it works
and [does not crash](https://github.com/wekan/wekan/issues/2354#issuecomment-515305722).
Thanks to benh57 and xet7 !
Closes #2354
-rw-r--r-- | Dockerfile | 2 | ||||
-rw-r--r-- | docker-compose.yml | 6 | ||||
-rwxr-xr-x | releases/virtualbox/start-wekan.sh | 6 | ||||
-rwxr-xr-x | snap-src/bin/config | 2 | ||||
-rwxr-xr-x | snap-src/bin/wekan-help | 6 | ||||
-rwxr-xr-x | start-wekan.bat | 6 | ||||
-rwxr-xr-x | start-wekan.sh | 6 | ||||
-rw-r--r-- | torodb-postgresql/docker-compose.yml | 7 |
8 files changed, 26 insertions, 15 deletions
@@ -63,7 +63,7 @@ ENV BUILD_DEPS="apt-utils bsdtar gnupg gosu wget curl bzip2 g++ build-essential LDAP_AUTHENTIFICATION_PASSWORD="" \ LDAP_LOG_ENABLED=false \ LDAP_BACKGROUND_SYNC=false \ - LDAP_BACKGROUND_SYNC_INTERVAL=100 \ + LDAP_BACKGROUND_SYNC_INTERVAL="" \ LDAP_BACKGROUND_SYNC_KEEP_EXISTANT_USERS_UPDATED=false \ LDAP_BACKGROUND_SYNC_IMPORT_NEW_USERS=false \ LDAP_ENCRYPTION=false \ diff --git a/docker-compose.yml b/docker-compose.yml index 72d7ec5b..b17d8be0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -429,8 +429,10 @@ services: # If the sync of the users should be done in the background #- LDAP_BACKGROUND_SYNC=false # - # At which interval does the background task sync in milliseconds - #- LDAP_BACKGROUND_SYNC_INTERVAL=100 + # At which interval does the background task sync in milliseconds. + # Leave this unset, so it uses default, and does not crash. + # https://github.com/wekan/wekan/issues/2354#issuecomment-515305722 + - LDAP_BACKGROUND_SYNC_INTERVAL='' # #- LDAP_BACKGROUND_SYNC_KEEP_EXISTANT_USERS_UPDATED=false # diff --git a/releases/virtualbox/start-wekan.sh b/releases/virtualbox/start-wekan.sh index a300d44d..a1b0fa69 100755 --- a/releases/virtualbox/start-wekan.sh +++ b/releases/virtualbox/start-wekan.sh @@ -224,8 +224,10 @@ # example : export LDAP_BACKGROUND_SYNC=true #export LDAP_BACKGROUND_SYNC=false # LDAP_BACKGROUND_SYNC_INTERVAL : At which interval does the background task sync in milliseconds - # example : export LDAP_BACKGROUND_SYNC_INTERVAL=12345 - #export LDAP_BACKGROUND_SYNC_INTERVAL=100 + # At which interval does the background task sync in milliseconds. + # Leave this unset, so it uses default, and does not crash. + # https://github.com/wekan/wekan/issues/2354#issuecomment-515305722 + export LDAP_BACKGROUND_SYNC_INTERVAL='' # LDAP_BACKGROUND_SYNC_KEEP_EXISTANT_USERS_UPDATED : # example : export LDAP_BACKGROUND_SYNC_KEEP_EXISTANT_USERS_UPDATED=true #export LDAP_BACKGROUND_SYNC_KEEP_EXISTANT_USERS_UPDATED=false diff --git a/snap-src/bin/config b/snap-src/bin/config index 631beec1..522635cd 100755 --- a/snap-src/bin/config +++ b/snap-src/bin/config @@ -267,7 +267,7 @@ DEFAULT_LDAP_BACKGROUND_SYNC="false" KEY_LDAP_BACKGROUND_SYNC="ldap-background-sync" DESCRIPTION_LDAP_BACKGROUND_SYNC_INTERVAL="At which interval does the background task sync in milliseconds" -DEFAULT_LDAP_BACKGROUND_SYNC_INTERVAL="100" +DEFAULT_LDAP_BACKGROUND_SYNC_INTERVAL="" KEY_LDAP_BACKGROUND_SYNC_INTERVAL="ldap-background-sync-interval" DESCRIPTION_LDAP_BACKGROUND_SYNC_KEEP_EXISTANT_USERS_UPDATED="" diff --git a/snap-src/bin/wekan-help b/snap-src/bin/wekan-help index b53a5738..19bc1462 100755 --- a/snap-src/bin/wekan-help +++ b/snap-src/bin/wekan-help @@ -280,8 +280,10 @@ echo -e "If the sync of the users should be done in the background:" echo -e "\t$ snap set $SNAP_NAME ldap-background-sync='true'" echo -e "\n" echo -e "Ldap Background Sync Interval." -echo -e "At which interval does the background task sync in milliseconds:" -echo -e "\t$ snap set $SNAP_NAME ldap-background-sync-interval='12345'" +echo -e "At which interval does the background task sync in milliseconds." +echo -e "Leave this unset, so it uses default, and does not crash." +echo -e "https://github.com/wekan/wekan/issues/2354#issuecomment-515305722" +echo -e "\t$ snap set $SNAP_NAME ldap-background-sync-interval=''" echo -e "\n" echo -e "Ldap Background Sync Keep Existant Users Updated." echo -e "\t$ snap set $SNAP_NAME ldap-background-sync-keep-existant-users-updated='true'" diff --git a/start-wekan.bat b/start-wekan.bat index d84e9eb1..f51d1f08 100755 --- a/start-wekan.bat +++ b/start-wekan.bat @@ -216,8 +216,10 @@ REM # example : LDAP_BACKGROUND_SYNC=true REM SET LDAP_BACKGROUND_SYNC=false REM # LDAP_BACKGROUND_SYNC_INTERVAL : At which interval does the background task sync in milliseconds -REM # example : LDAP_BACKGROUND_SYNC_INTERVAL=12345 -REM SET LDAP_BACKGROUND_SYNC_INTERVAL=100 +REM # At which interval does the background task sync in milliseconds. +REM # Leave this unset, so it uses default, and does not crash. +REM # https://github.com/wekan/wekan/issues/2354#issuecomment-515305722 +SET LDAP_BACKGROUND_SYNC_INTERVAL='' REM # LDAP_BACKGROUND_SYNC_KEEP_EXISTANT_USERS_UPDATED : REM # example : LDAP_BACKGROUND_SYNC_KEEP_EXISTANT_USERS_UPDATED=true diff --git a/start-wekan.sh b/start-wekan.sh index 48337d3c..48f8f517 100755 --- a/start-wekan.sh +++ b/start-wekan.sh @@ -226,8 +226,10 @@ # example : export LDAP_BACKGROUND_SYNC=true #export LDAP_BACKGROUND_SYNC=false # LDAP_BACKGROUND_SYNC_INTERVAL : At which interval does the background task sync in milliseconds - # example : export LDAP_BACKGROUND_SYNC_INTERVAL=12345 - #export LDAP_BACKGROUND_SYNC_INTERVAL=100 + # At which interval does the background task sync in milliseconds. + # Leave this unset, so it uses default, and does not crash. + # https://github.com/wekan/wekan/issues/2354#issuecomment-515305722 + export LDAP_BACKGROUND_SYNC_INTERVAL='' # LDAP_BACKGROUND_SYNC_KEEP_EXISTANT_USERS_UPDATED : # example : export LDAP_BACKGROUND_SYNC_KEEP_EXISTANT_USERS_UPDATED=true #export LDAP_BACKGROUND_SYNC_KEEP_EXISTANT_USERS_UPDATED=false diff --git a/torodb-postgresql/docker-compose.yml b/torodb-postgresql/docker-compose.yml index c81d19b5..4a6a745d 100644 --- a/torodb-postgresql/docker-compose.yml +++ b/torodb-postgresql/docker-compose.yml @@ -132,7 +132,7 @@ services: ' 1>/dev/null 2>&1 & mongod --replSet rs1 wekan: - image: quay.io/wekan/wekan + image: wekanteam/wekan:latestdevel container_name: wekan-app restart: always networks: @@ -337,8 +337,9 @@ services: #- LDAP_BACKGROUND_SYNC=false # # LDAP_BACKGROUND_SYNC_INTERVAL : At which interval does the background task sync in milliseconds - # example : LDAP_BACKGROUND_SYNC_INTERVAL=12345 - #- LDAP_BACKGROUND_SYNC_INTERVAL=100 + # Leave this unset, so it uses default, and does not crash. + # https://github.com/wekan/wekan/issues/2354#issuecomment-515305722 + - LDAP_BACKGROUND_SYNC_INTERVAL='' # # LDAP_BACKGROUND_SYNC_KEEP_EXISTANT_USERS_UPDATED : # example : LDAP_BACKGROUND_SYNC_KEEP_EXISTANT_USERS_UPDATED=true |