[X] ... I understand that not following the below instructions will result in immediate closure and/or deletion of my issue.
[X] ... I have understood that this bug report is dedicated for bugs, and not for support-related inquiries.
[X] ... I have understood that answers are voluntary and community-driven, and not commercial support.
[X] ... I have verified that my issue has not been already answered in the past. I also checked previous issues.
Description
we configured a keycloak/ldap IDP and activated "Periodic Full Sync" and "Import Users".
nothing gets imported and the logs (see below) will throw a fatal every few minutes.
Logs:
mailcowdockerized-ofelia-mailcow-1 | 2023-09-04T07:39:49.574+02:00 common.go:125 ▶ NOTICE [Job "phpfpm_keycloak_sync" (5d7e1d235c62)] StdOut:
mailcowdockerized-ofelia-mailcow-1 | Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /crons/keycloak-sync.php:158
mailcowdockerized-ofelia-mailcow-1 | Stack trace:
mailcowdockerized-ofelia-mailcow-1 | #0 {main}
mailcowdockerized-ofelia-mailcow-1 | thrown in /crons/keycloak-sync.php on line 158
mailcowdockerized-ofelia-mailcow-1 | 2023-09-04T07:39:49.574+02:00 common.go:125 ▶ NOTICE [Job "phpfpm_keycloak_sync" (5d7e1d235c62)] Finished in "571.07256ms", failed: false, skipped: false, error: none
Steps to reproduce:
configure an keycloak/LDAP IDP
acitivate "Periodic Full Sync" and "Import Users"
Contribution guidelines
I've found a bug and checked that ...
Description
Logs:
Steps to reproduce:
Which branch are you using?
nightly
Operating System:
Debian GNU/Linux 12
Server/VM specifications:
8GB / 2 cores
Is Apparmor, SELinux or similar active?
no
Virtualization technology:
KVM
Docker version:
24.0.5
docker-compose version or docker compose version:
v2.20.2
mailcow version:
2023-08
Reverse proxy:
--
Logs of git diff:
Logs of iptables -L -vn:
Logs of ip6tables -L -vn:
Logs of iptables -L -vn -t nat:
Logs of ip6tables -L -vn -t nat:
DNS check: