Problem: udm Prints "Can't connect to daemon after 30 seconds."

Problem

When running udm you will see the following message:
Can't connect to daemon after 30 seconds.

Solution

By default udm starts a server process where it (and subsequent udm calls) connects to. If the process has been idle for a while is exits. Might be an issue with the planned exist to stop any running process and retry udm:

pkill univention-cli-server

If it still shows the same error, increase debug level:

usr set directory/manager/cmd/debug/level=4