Success! Sync of users finished successfully. 0 imported users, 0 updated users, 55 users failed sync! See server log for more details

Good Day,

I have Keycloak running in a docker container. I am trying to configure ldap via "User Federation in the KeyCloak UI. I believe I have done this successfully. Test Connection is successful. Test Authentication is successful. But when I try “Synchronize All Users” sync fails.

Although the error says check server.log, nothing writes to it when I attempt to sync (I tailed the log while clicking the button).

I checked the log for errors and here’s what I see:

egrep -i 'error|fail*' server.log | tail -n 5 2020-03-16 18:54:54,985 INFO [org.jboss.vfs] (MSC service thread 1-5) VFS000002: Failed to clean existing content for temp file provider of type temp. Enable DEBUG level log to find what caused this 2020-03-16 18:54:58,901 INFO [org.jboss.vfs] (MSC service thread 1-3) VFS000002: Failed to clean existing content for temp file provider of type temp. Enable DEBUG level log to find what caused this 2020-03-16 18:55:06,544 INFO [org.jboss.vfs] (MSC service thread 1-1) VFS000002: Failed to clean existing content for temp file provider of type temp. Enable DEBUG level log to find what caused this 2020-03-16 18:55:13,816 INFO [org.jboss.vfs] (MSC service thread 1-7) VFS000002: Failed to clean existing content for temp file provider of type temp. Enable DEBUG level log to find what caused this 2020-03-16 18:55:20,937 INFO [org.jboss.vfs] (MSC service thread 1-8) VFS000002: Failed to clean existing content for temp file provider of type temp. Enable DEBUG level log to find what caused this

if you changed the default settings, like Username LDAP attribute or RDN LDAP attribute, you have to change that too in the Mappers tab.

how do you manage to get logging? i cant see the logs. changed the flag to DEBUG but there is no logs inside file /opt/jboss/keycloak/standalone/log/server.log

Thanks!