After upgrading to 22.04.0 (from 18.04.0) it is no longer possible to start deconz without a GUI.
Works fine starting GUI in VNC.
No other deconz processes are running:
omr@shs2:~$ ps aux | grep -i deco
omr 25305 0.0 0.0 9076 2316 pts/0 S+ 18:36 0:00 grep --color=auto -i deco
Trying to start it in a ssh window:
omr@shs2:~$ /usr/bin/deCONZ -platform minimal -http-port=80
(deCONZ:25358): Gtk-WARNING **: 18:36:20.485: cannot open display:
Which is probably why systemctl fails as well:
omr@shs2:~$ sudo systemctl status deconz
â—Ź deconz.service - deCONZ: ZigBee gateway -- REST API
Loaded: loaded (/lib/systemd/system/deconz.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/deconz.service.d
└─override.conf
Active: activating (auto-restart) (Result: exit-code) since Sun 2022-09-11 18:34:34 CEST; 24s ago
Main PID: 23736 (code=exited, status=1/FAILURE)
CPU: 35ms
Have tried apt remove deconz and reinstall with apt install deconz:
omr@shs2:~$ sudo apt install deconz
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
libpython2-dev libpython2.7 libpython2.7-dev python2-dev python2.7-dev
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
deconz
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 6,863 kB of archives.
After this operation, 43.8 MB of additional disk space will be used.
Get:1 http://phoscon.de/apt/deconz jammy-beta/main amd64 deconz amd64 2.18.01-ubuntu-bionic-beta [6,863 kB]
Fetched 6,863 kB in 1s (11.5 MB/s)
Selecting previously unselected package deconz.
(Reading database ... 290070 files and directories currently installed.)
Preparing to unpack .../deconz_2.18.01-ubuntu-bionic-beta_amd64.deb ...
Unpacking deconz (2.18.01-ubuntu-bionic-beta) ...
Setting up deconz (2.18.01-ubuntu-bionic-beta) ...
Processing triggers for bamfdaemon (0.5.6+22.04.20220217-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for desktop-file-utils (0.26-1ubuntu3) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu3) ...
Processing triggers for mate-menus (1.26.0-2ubuntu2) ...
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...