diff --git a/Dockerfile b/Dockerfile index e8903fc4c..a87183b0a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 72d7ec5b4..b17d8be0f 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 a300d44d3..a1b0fa694 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 631beec11..522635cdb 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 b53a5738b..19bc1462d 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 d84e9eb15..f51d1f082 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 48337d3c5..48f8f5171 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 c81d19b5b..4a6a745d2 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