Installation Homegear in openhabian

Hi,

ich habe Openhabian installiert und dann die Homegear installation über die gui durchgeführt. Homegear startet leider nicht. Nach sudo -u homegear homegear erhalte ich folgende Ausgabe:

09/18/21 22:05:22.800 Loading settings from /etc/homegear/main.conf
09/18/21 22:05:22.801 Loading RPC server settings from /etc/homegear/rpcservers.conf
09/18/21 22:05:22.802 Loading RPC client settings from /etc/homegear/rpcclients.conf
09/18/21 22:05:22.802 Debug: hostname of RPC client ExampleClient1 set to myhostname
09/18/21 22:05:22.802 Debug: caFile of RPC client ExampleClient1 set to /path/to/ca-certficate
09/18/21 22:05:22.802 Debug: verifyCertificate of RPC client ExampleClient1 set to 1
09/18/21 22:05:22.802 Debug: forceSSL of RPC client ExampleClient1 set to 0
09/18/21 22:05:22.802 Debug: authType of RPC client ExampleClient1 set to 1
09/18/21 22:05:22.802 Debug: userName of RPC client ExampleClient1 set to myuser
09/18/21 22:05:22.802 Debug: password of RPC client ExampleClient1 was set.
09/18/21 22:05:22.802 Debug: certFile of RPC client ExampleClient1 set to /path/to/client.crt
09/18/21 22:05:22.802 Debug: keyFile of RPC client ExampleClient1 set to /path/to/client.key
09/18/21 22:05:22.802 Debug: retries of RPC client ExampleClient1 set to 3
09/18/21 22:05:22.802 Debug: timeout of RPC client ExampleClient1 set to 15000000
09/18/21 22:05:22.802 Debug: hostname of RPC client ExampleClient2 set to 192.168.178.89
09/18/21 22:05:22.802 Debug: retries of RPC client ExampleClient2 set to 5
09/18/21 22:05:22.802 Debug: timeout of RPC client ExampleClient2 set to 30000000
09/18/21 22:05:22.803 Info: Setting allowed core file size to "4294967295" for user with id 114 and group with id 121.
09/18/21 22:05:22.803 Info: Core file size now is "4294967295".
09/18/21 22:05:22.803 Info: Setting maximum thread priority to "0" for user with id 114 and group with id 121.
09/18/21 22:05:22.803 Info: Maximum thread priority now is "0".
09/18/21 22:05:22.803 Starting Homegear...
09/18/21 22:05:22.803 Homegear version: 0.7.48-3324
09/18/21 22:05:22.803 Determining maximum thread count...
09/18/21 22:05:23.898 Maximum thread count is: 333
09/18/21 22:05:23.906 Info: Backing up database...
09/18/21 22:05:23.968 Initializing database...
09/18/21 22:05:24.465 Homegear instance ID: 0005CC49FD8C3351-A74E1325-EC55-E425-2042-DC1BEBB60270
09/18/21 22:05:24.465 Debug: Loading licensing modules
09/18/21 22:05:24.465 Initializing system variable controller...
09/18/21 22:05:24.467 Debug: Loading family modules
09/18/21 22:05:24.467 Info: Loading family module (type 1) mod_miscellaneous.so
09/18/21 22:05:24.471 Info: Loading settings from /etc/homegear/families/miscellaneous.conf
09/18/21 22:05:24.472 Info: Homegear is (now) running as user with id 114 and group with id 121.
09/18/21 22:05:24.526 Starting script engine server...
09/18/21 22:05:24.551 Script Engine Server: Critical: Directory /var/run/homegear/ does not exist. Please create it before starting Homegear otherwise the script engine won't work.
09/18/21 22:05:24.551 Script Engine Server: Critical: Directory /var/run/homegear/ does not exist. Please create it before starting Homegear otherwise the script engine won't work.
09/18/21 22:05:24.551 Critical: Cannot start script engine server. Exiting Homegear.
09/18/21 22:05:24.551 Critical: Cannot start script engine server. Exiting Homegear.
09/18/21 22:05:24.552 Closing database...
09/18/21 22:05:24.552 Debug: Can't execute "COMMIT": cannot commit - no transaction is active
09/18/21 22:05:24.586 Info: Disposing family module mod_miscellaneous.so
09/18/21 22:05:24.586 Debug: Deleting factory pointer of module mod_miscellaneous.so
09/18/21 22:05:24.586 Debug: Closing dynamic library module mod_miscellaneous.so
09/18/21 22:05:24.586 Debug: Dynamic library mod_miscellaneous.so disposed

Es scheint irgendwie an diesem Punkt zu liegen: Critical: Cannot start script engine server. Exiting Homegear.

Weiß jemand Rat?

Danke und Gruß

Eine Zeile höher scheint es einen Anhaltspunkt zu geben:

09/18/21 22:05:24.551 Script Engine Server: Critical: Directory /var/run/homegear/ does not exist. Please create it before starting Homegear otherwise the script engine won't work.

Prüf mal, ob das Verzeichnis existiert und ob der User homegear darauf berechtigt ist. Openhabian macht irgendwas mit den Berechtigungen.

Die openhabian UI installiert homegear als service. Das darf man dann nicht auch noch manuell starten.
=> systemctl status|stop|start homegear.service