I got below error after upgrading to latest Carbonio Community Edition 23.12.0 and service-discover not getting started
systemd[1]: Starting Service discover server for Zextras...
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x50 pc=0x5db6b6]
goroutine 1 [running]:
github.com/go-ldap/ldap/v3.(*Conn).nextMessageID(...)
/root/go/pkg/mod/github.com/go-ldap/ldap/v3@v3.2.4/conn.go:282
github.com/go-ldap/ldap/v3.(*Conn).doRequest(0x0, {0x6aeb40, 0xc00001e140})
/root/go/pkg/mod/github.com/go-ldap/ldap/v3@v3.2.4/request.go:26 +0x56
github.com/go-ldap/ldap/v3.(*Conn).SimpleBind(0x0, 0x0?)
/root/go/pkg/mod/github.com/go-ldap/ldap/v3@v3.2.4/bind.go:65 +0x12a
github.com/go-ldap/ldap/v3.(*Conn).Bind(0xc0000ca3e0?, {0xc0000ca8a0, 0x1e}, {0xc0000c0bb5, 0x9})
/root/go/pkg/mod/github.com/go-ldap/ldap/v3@v3.2.4/bind.go:104 +0xa5
bitbucket.org/zextras/service-discover/cli/lib/carbonio.connect(0xc000094660, 0x2?)
/tmp/cli/lib/carbonio/ldap.go:204 +0x18c
bitbucket.org/zextras/service-discover/cli/lib/carbonio.(*ldapContext).QueryAllServersWithService(0xc000>
/tmp/cli/lib/carbonio/ldap.go:141 +0x72
main.queryAllServiceDiscoverServers({0x6b0628?, 0xc000094660?})
/tmp/service-discoverd/service-discoverd.go:281 +0x37
main.runServiceDiscoverDaemon({0x6b0b50, 0x82a280}, {0xc0000b8000?, 0x604440?, 0xc0000021a0?})
/tmp/service-discoverd/service-discoverd.go:115 +0x3d0
main.main()
/tmp/service-discoverd/service-discoverd.go:83 +0x3c
service-discover.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
service-discover.service: Failed with result 'exit-code'.
Failed to start Service discover server for Zextras.