03-23-2020 07:03 AM
Dear ACS members
I first hope that you are all safe with your family !
I have been an alfresco user & admin since many years and I'm still facing the same issue:
I'm not able to have the synchronization of my LDAP synchronization working out of the initial stsart of the plateform
I've tried many different cron expression with no success
I have 2 ldap configurations defined (for 2 differents synchronisation purpose)
for both of them, the synchronization are the start of alfresco is working but the synchronization.import.cron job is never working
here are the different tests I made
ldap.synchronization.active=true
synchronization.syncOnStartup=true
synchronization.import.cron=0 */10 * * * ?
synchronization.import.cron=0 0/5 * * * ?
synchronization.import.cron=0 0/10 * 1/1 * ? *
synchronization.import.cron=0 */10 * * * ?
synchronization.import.cron=0 0/10 0-23 ? * MON-SUN
(same for both ldap-authentication.properties)
can you please explain me how to have the sync running every 10 min ?
Thanks
Sylvain
03-24-2020 06:56 AM
the answer is "I should remove all lines with "synchronization.xyz" and set only 1 set of settings in the "alfresco-global.properties"
thanks @afaust, it's working now !!!
03-23-2020 07:13 AM
Hi @lascaux_2774,
Thanks for your kind words - we all hope that you, your family, your friends and your neighbourhood are safe and well too.
I'll ask our engineers and hopefully we can help you soon.
Stay safe,
03-23-2020 08:24 AM
The "synchronization.xyz" properties do not belong in the ldap-authentication.properties - these should rather be set in the synchronization subsystem properties files, or simply via alfresco-global.properties. In the ldap-authentication.properties they will not have any effect. Only the "ldap.synchronization.xyz" properties are part of ldap-authentication.properties.
03-24-2020 03:42 AM
Dear @afaust
not sur to fully get it
do you mean that in each ldap-authentication.properties, I should prefix all "synchronization.xyz" by "ldap." ("ldap.synchronization.xyz")
or
do you mean that in each ldap-authentication.properties, I should remove all lines with "synchronization.xyz" and set only set of settings in the alfresco-global.properties
ex.
# Sync synchronization.synchronizeChangesOnly=false synchronization.allowDeletions=true synchronization.syncOnStartup=true synchronization.autoCreatePeopleOnLogin=false synchronization.syncWhenMissingPeopleLogIn=true # Synchron every 10 min #synchronization.import.cron=0 */10 * * * ? #synchronization.import.cron=0 0/5 * * * ?#synchronization.import.cron=0 0/10 * 1/1 * ? * #synchronization.import.cron=0 */10 * * * ? synchronization.import.cron=0 0/10 0-23 ? * MON-SUN
Thanks for your help
03-24-2020 06:56 AM
the answer is "I should remove all lines with "synchronization.xyz" and set only 1 set of settings in the "alfresco-global.properties"
thanks @afaust, it's working now !!!
Explore our Alfresco products with the links below. Use labels to filter content by product module.