[SOLVED] Can't install KNXD on fresh installation of OH2

Tags: #<Tag:0x00007f5c91781348>

Hi everyone,
I’m new with raspberry and I ask the community for help because the installation of the knxd service ends with an error and invites me to report the problem in the forum or on git.

I try to summarize my situation:
Raspberry 3B
Openhabian 1.5 image (for an automatic installation as possible) saved on 32GB MicroSD Kingston with Etcher
The first start was repeated several times for some errors (I checked the card and the power supply as I read on the forum and everything seems ok), until the 5th attempt was successful.

Through opehabian-config I launch the KNXD installation but in the end I always get the screen inviting you to report the error.

I have tried several times, even after a reboot.

I attach what I see on the terminal just out of the “openhabian-config”, hoping you can help me solve this problem (it seems to me that the error is in the bottom lines).

Edit note: The attached text is that of the first attempt, the others are slightly different because says that I already have the files, but the last lines are the same.

I only ask for a little patience because I am unfamiliar with the terminal commands and very little experience with RasPI

[11:06:21] openhabian@openhab:~$ sudo openhabian-config
[sudo] password for openhabian: 
2020-03-18_11:06:30_GMT [openHABian] Checking for root privileges... OK
Hit:1 http://archive.raspberrypi.org/debian buster InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease       
Ign:3 https://dl.bintray.com/openhab/apt-repo2 stable InRelease       
Get:4 https://dl.bintray.com/openhab/apt-repo2 stable Release [6,051 B]
Fetched 6,051 B in 2s (3,851 B/s)  
Reading package lists... Done
2020-03-18_11:06:42_GMT [openHABian] Loading configuration file '/etc/openhabian.conf'... OK
2020-03-18_11:06:43_GMT [openHABian] openHABian configuration tool version: [master]v1.5-541(5158a5f)
2020-03-18_11:06:43_GMT [openHABian] Checking for changes in origin... OK
2020-03-18_11:06:57_GMT [openHABian] Setting up EIB/KNX IP Gateway and Router with knxd (http://michlstechblog.info/blog/raspberry-pi-eibknx-ip-gateway-and-router-with-knxd)... 
$ wget -O /tmp/install_knxd_systemd.sh http://michlstechblog.info/blog/download/electronic/install_knxd_systemd.sh 
--2020-03-18 11:07:02--  http://michlstechblog.info/blog/download/electronic/install_knxd_systemd.sh
Resolving michlstechblog.info (michlstechblog.info)... 178.254.10.73
Connecting to michlstechblog.info (michlstechblog.info)|178.254.10.73|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 16558 (16K) [application/x-sh]
Saving to: ‘/tmp/install_knxd_systemd.sh’

/tmp/install_knxd_systemd.sh    100%[=====================================================>]  16.17K  --.-KB/s    in 0.03s   

2020-03-18 11:07:02 (532 KB/s) - ‘/tmp/install_knxd_systemd.sh’ saved [16558/16558]


$ sed -i s#git checkout tags/3.0.0#git checkout tags/5.0.0# /tmp/install_knxd_systemd.sh 

$ sed -i s#cmake -DCMAKE_INSTALL_PREFIX=$INSTALL_PREFIX fmt/#cmake -DCMAKE_INSTALL_PREFIX=$INSTALL_PREFIX .# /tmp/install_knxd_systemd.sh 

$ bash /tmp/install_knxd_systemd.sh 


Dear User
Some issues reported regarding KNX USB Interfaces
with the latest stable version 0.14.18:ef3c496
see https://github.com/knxd/knxd/issues/290
As a workaround ersingencturk has tried to increase the timeout
and this still works reliable.
The patch sets
send-timeout from 300 to 6000
send-retries from   3 to    5
in src/libserver/emi_common.cpp
a suffix -emipatch to the knxd version is appended

PLEASE submit feedback or your experience about the stability of the patch as a comment to the post.

Would you like to apply patch ? [y|n]y
Raspberry 3 found!
Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:2 http://archive.raspberrypi.org/debian buster InRelease                                           
Ign:3 https://dl.bintray.com/openhab/apt-repo2 stable InRelease                                        
Get:4 https://dl.bintray.com/openhab/apt-repo2 stable Release [6,051 B]
Fetched 6,051 B in 3s (1,943 B/s)  
Reading package lists... Done
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
  triggerhappy
Use 'sudo apt autoremove' to remove it.
The following packages have been kept back:
  binutils binutils-arm-linux-gnueabihf binutils-common libbinutils
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
build-essential is already the newest version (12.6).
The following package was automatically installed and is no longer required:
  triggerhappy
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
  cmake-data libarchive13 libjsoncpp1 librhash0 libuv1
Suggested packages:
  cmake-doc ninja-build lrzip
The following NEW packages will be installed:
  cmake cmake-data libarchive13 libjsoncpp1 librhash0 libuv1
0 upgraded, 6 newly installed, 0 to remove and 4 not upgraded.
Need to get 2,788 kB/4,601 kB of archives.
After this operation, 22.5 MB of additional disk space will be used.
Get:1 http://ftp.arnes.si/mirrors/raspbian/raspbian buster/main armhf librhash0 armhf 1.3.8-1 [132 kB]
Get:2 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian buster/main armhf libuv1 armhf 1.24.1-1 [96.7 kB]
Get:3 http://ftp.arnes.si/mirrors/raspbian/raspbian buster/main armhf cmake armhf 3.13.4-1 [2,559 kB]
Fetched 2,788 kB in 4s (718 kB/s)                               
Selecting previously unselected package cmake-data.
(Reading database ... 47774 files and directories currently installed.)
Preparing to unpack .../0-cmake-data_3.13.4-1_all.deb ...
Unpacking cmake-data (3.13.4-1) ...
Selecting previously unselected package libarchive13:armhf.
Preparing to unpack .../1-libarchive13_3.3.3-4+deb10u1_armhf.deb ...
Unpacking libarchive13:armhf (3.3.3-4+deb10u1) ...
Selecting previously unselected package libjsoncpp1:armhf.
Preparing to unpack .../2-libjsoncpp1_1.7.4-3_armhf.deb ...
Unpacking libjsoncpp1:armhf (1.7.4-3) ...
Selecting previously unselected package librhash0:armhf.
Preparing to unpack .../3-librhash0_1.3.8-1_armhf.deb ...
Unpacking librhash0:armhf (1.3.8-1) ...
Selecting previously unselected package libuv1:armhf.
Preparing to unpack .../4-libuv1_1.24.1-1_armhf.deb ...
Unpacking libuv1:armhf (1.24.1-1) ...
Selecting previously unselected package cmake.
Preparing to unpack .../5-cmake_3.13.4-1_armhf.deb ...
Unpacking cmake (3.13.4-1) ...
Setting up libarchive13:armhf (3.3.3-4+deb10u1) ...
Setting up libuv1:armhf (1.24.1-1) ...
Setting up librhash0:armhf (1.3.8-1) ...
Setting up cmake-data (3.13.4-1) ...
Setting up libjsoncpp1:armhf (1.7.4-3) ...
Setting up cmake (3.13.4-1) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for libc-bin (2.28-10+rpi1) ...
Updating FireMotD available updates count ... 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following package was automatically installed and is no longer required:
  triggerhappy
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
  autotools-dev libltdl-dev libltdl7 libsigsegv2 m4
Suggested packages:
  autoconf-archive gnu-standards autoconf-doc gettext libtool-doc gfortran | fortran95-compiler gcj-jdk m4-doc
The following NEW packages will be installed:
  autoconf automake autotools-dev libltdl-dev libltdl7 libsigsegv2 libtool m4
0 upgraded, 8 newly installed, 0 to remove and 4 not upgraded.
Need to get 2,499 kB of archives.
After this operation, 6,882 kB of additional disk space will be used.
Get:1 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian buster/main armhf libsigsegv2 armhf 2.12-2 [32.3 kB]
Get:2 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian buster/main armhf m4 armhf 1.4.18-2 [185 kB]
Get:3 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian buster/main armhf autoconf all 2.69-11 [341 kB]
Get:4 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian buster/main armhf autotools-dev all 20180224.1 [77.0 kB]
Get:5 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian buster/main armhf automake all 1:1.16.1-4 [771 kB]
Get:6 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian buster/main armhf libltdl7 armhf 2.4.6-9 [387 kB]
Get:7 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian buster/main armhf libltdl-dev armhf 2.4.6-9 [159 kB]
Get:8 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian buster/main armhf libtool all 2.4.6-9 [547 kB]
Fetched 2,499 kB in 2s (1,021 kB/s)
Selecting previously unselected package libsigsegv2:armhf.
(Reading database ... 50358 files and directories currently installed.)
Preparing to unpack .../0-libsigsegv2_2.12-2_armhf.deb ...
Unpacking libsigsegv2:armhf (2.12-2) ...
Selecting previously unselected package m4.
Preparing to unpack .../1-m4_1.4.18-2_armhf.deb ...
Unpacking m4 (1.4.18-2) ...
Selecting previously unselected package autoconf.
Preparing to unpack .../2-autoconf_2.69-11_all.deb ...
Unpacking autoconf (2.69-11) ...
Selecting previously unselected package autotools-dev.
Preparing to unpack .../3-autotools-dev_20180224.1_all.deb ...
Unpacking autotools-dev (20180224.1) ...
Selecting previously unselected package automake.
Preparing to unpack .../4-automake_1%3a1.16.1-4_all.deb ...
Unpacking automake (1:1.16.1-4) ...
Selecting previously unselected package libltdl7:armhf.
Preparing to unpack .../5-libltdl7_2.4.6-9_armhf.deb ...
Unpacking libltdl7:armhf (2.4.6-9) ...
Selecting previously unselected package libltdl-dev:armhf.
Preparing to unpack .../6-libltdl-dev_2.4.6-9_armhf.deb ...
Unpacking libltdl-dev:armhf (2.4.6-9) ...
Selecting previously unselected package libtool.
Preparing to unpack .../7-libtool_2.4.6-9_all.deb ...
Unpacking libtool (2.4.6-9) ...
Setting up autotools-dev (20180224.1) ...
Setting up libsigsegv2:armhf (2.12-2) ...
Setting up libltdl7:armhf (2.4.6-9) ...
Setting up libtool (2.4.6-9) ...
Setting up m4 (1.4.18-2) ...
Setting up autoconf (2.69-11) ...
Setting up automake (1:1.16.1-4) ...
update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode
Setting up libltdl-dev:armhf (2.4.6-9) ...
Processing triggers for libc-bin (2.28-10+rpi1) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for install-info (6.5.0.dfsg.1-4+b1) ...
Updating FireMotD available updates count ... 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
git is already the newest version (1:2.20.1-2+deb10u1).
The following package was automatically installed and is no longer required:
  triggerhappy
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following package was automatically installed and is no longer required:
  triggerhappy
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
  autopoint dh-autoreconf dh-strip-nondeterminism dwz gettext intltool-debian libarchive-cpio-perl libarchive-zip-perl
  libcroco3 libfile-stripnondeterminism-perl libmail-sendmail-perl libsys-hostname-long-perl po-debconf
Suggested packages:
  devscripts dh-make gettext-doc libasprintf-dev libgettextpo-dev libmail-box-perl
The following NEW packages will be installed:
  autopoint cdbs debhelper dh-autoreconf dh-strip-nondeterminism dwz gettext intltool-debian libarchive-cpio-perl
  libarchive-zip-perl libcroco3 libfile-stripnondeterminism-perl libmail-sendmail-perl libsys-hostname-long-perl po-debconf
0 upgraded, 15 newly installed, 0 to remove and 4 not upgraded.
Need to get 3,420 kB of archives.
After this operation, 10.4 MB of additional disk space will be used.
Get:1 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian buster/main armhf autopoint all 0.19.8.1-9 [434 kB]
Get:2 http://ftp.arnes.si/mirrors/raspbian/raspbian buster/main armhf cdbs all 0.4.159 [83.7 kB]
Get:3 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian buster/main armhf dh-autoreconf all 19 [16.9 kB]          
Get:4 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian buster/main armhf libarchive-zip-perl all 1.64-1 [96.8 kB]
Get:5 http://ftp.arnes.si/mirrors/raspbian/raspbian buster/main armhf libfile-stripnondeterminism-perl all 1.1.2-1 [19.8 kB]
Get:6 http://ftp.arnes.si/mirrors/raspbian/raspbian buster/main armhf dh-strip-nondeterminism all 1.1.2-1 [13.0 kB]
Get:7 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian buster/main armhf dwz armhf 0.12-3 [66.0 kB]
Get:8 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian buster/main armhf libcroco3 armhf 0.6.12-3 [132 kB]
Get:9 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian buster/main armhf gettext armhf 0.19.8.1-9 [1,219 kB]
Get:10 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian buster/main armhf intltool-debian all 0.35.0+20060710.5 [26.8 kB]
Get:12 http://ftp.arnes.si/mirrors/raspbian/raspbian buster/main armhf debhelper all 12.1.1 [1,016 kB]
Get:11 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian buster/main armhf po-debconf all 1.0.21 [248 kB]
Get:13 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian buster/main armhf libarchive-cpio-perl all 0.10-1 [10.3 kB]
Get:14 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian buster/main armhf libsys-hostname-long-perl all 1.5-1 [12.0 kB]
Get:15 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian buster/main armhf libmail-sendmail-perl all 0.80-1 [25.3 kB]
Fetched 3,420 kB in 4s (771 kB/s)                                                    
Selecting previously unselected package autopoint.
(Reading database ... 50732 files and directories currently installed.)
Preparing to unpack .../00-autopoint_0.19.8.1-9_all.deb ...
Unpacking autopoint (0.19.8.1-9) ...
Selecting previously unselected package cdbs.
Preparing to unpack .../01-cdbs_0.4.159_all.deb ...
Unpacking cdbs (0.4.159) ...
Selecting previously unselected package dh-autoreconf.
Preparing to unpack .../02-dh-autoreconf_19_all.deb ...
Unpacking dh-autoreconf (19) ...
Selecting previously unselected package libarchive-zip-perl.
Preparing to unpack .../03-libarchive-zip-perl_1.64-1_all.deb ...
Unpacking libarchive-zip-perl (1.64-1) ...
Selecting previously unselected package libfile-stripnondeterminism-perl.
Preparing to unpack .../04-libfile-stripnondeterminism-perl_1.1.2-1_all.deb ...
Unpacking libfile-stripnondeterminism-perl (1.1.2-1) ...
Selecting previously unselected package dh-strip-nondeterminism.
Preparing to unpack .../05-dh-strip-nondeterminism_1.1.2-1_all.deb ...
Unpacking dh-strip-nondeterminism (1.1.2-1) ...
Selecting previously unselected package dwz.
Preparing to unpack .../06-dwz_0.12-3_armhf.deb ...
Unpacking dwz (0.12-3) ...
Selecting previously unselected package libcroco3:armhf.
Preparing to unpack .../07-libcroco3_0.6.12-3_armhf.deb ...
Unpacking libcroco3:armhf (0.6.12-3) ...
Selecting previously unselected package gettext.
Preparing to unpack .../08-gettext_0.19.8.1-9_armhf.deb ...
Unpacking gettext (0.19.8.1-9) ...
Selecting previously unselected package intltool-debian.
Preparing to unpack .../09-intltool-debian_0.35.0+20060710.5_all.deb ...
Unpacking intltool-debian (0.35.0+20060710.5) ...
Selecting previously unselected package po-debconf.
Preparing to unpack .../10-po-debconf_1.0.21_all.deb ...
Unpacking po-debconf (1.0.21) ...
Selecting previously unselected package debhelper.
Preparing to unpack .../11-debhelper_12.1.1_all.deb ...
Unpacking debhelper (12.1.1) ...
Selecting previously unselected package libarchive-cpio-perl.
Preparing to unpack .../12-libarchive-cpio-perl_0.10-1_all.deb ...
Unpacking libarchive-cpio-perl (0.10-1) ...
Selecting previously unselected package libsys-hostname-long-perl.
Preparing to unpack .../13-libsys-hostname-long-perl_1.5-1_all.deb ...
Unpacking libsys-hostname-long-perl (1.5-1) ...
Selecting previously unselected package libmail-sendmail-perl.
Preparing to unpack .../14-libmail-sendmail-perl_0.80-1_all.deb ...
Unpacking libmail-sendmail-perl (0.80-1) ...
Setting up libarchive-zip-perl (1.64-1) ...
Setting up autopoint (0.19.8.1-9) ...
Setting up libcroco3:armhf (0.6.12-3) ...
Setting up dwz (0.12-3) ...
Setting up libarchive-cpio-perl (0.10-1) ...
Setting up cdbs (0.4.159) ...
Setting up libsys-hostname-long-perl (1.5-1) ...
Setting up libfile-stripnondeterminism-perl (1.1.2-1) ...
Setting up gettext (0.19.8.1-9) ...
Setting up intltool-debian (0.35.0+20060710.5) ...
Setting up libmail-sendmail-perl (0.80-1) ...
Setting up po-debconf (1.0.21) ...
Setting up debhelper (12.1.1) ...
Setting up dh-autoreconf (19) ...
Setting up dh-strip-nondeterminism (1.1.2-1) ...
Processing triggers for install-info (6.5.0.dfsg.1-4+b1) ...
Processing triggers for libc-bin (2.28-10+rpi1) ...
Processing triggers for man-db (2.8.5-2) ...
Updating FireMotD available updates count ... 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libsystemd0 is already the newest version (241-7~deb10u3+rpi1).
pkg-config is already the newest version (0.29-6).
The following package was automatically installed and is no longer required:
  triggerhappy
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
  libusb-1.0-doc
The following NEW packages will be installed:
  libsystemd-dev libusb-1.0-0-dev libusb-1.0-doc libusb-dev
0 upgraded, 4 newly installed, 0 to remove and 4 not upgraded.
Need to get 605 kB of archives.
After this operation, 2,829 kB of additional disk space will be used.
Get:1 http://ftp.arnes.si/mirrors/raspbian/raspbian buster/main armhf libsystemd-dev armhf 241-7~deb10u3+rpi1 [322 kB]
Get:2 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian buster/main armhf libusb-1.0-0-dev armhf 2:1.0.22-2 [65.5 kB]
Get:3 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian buster/main armhf libusb-1.0-doc all 2:1.0.22-2 [182 kB]
Get:4 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian buster/main armhf libusb-dev armhf 2:0.1.12-32 [35.7 kB]
Fetched 605 kB in 1s (464 kB/s)       
Selecting previously unselected package libsystemd-dev:armhf.
(Reading database ... 51701 files and directories currently installed.)
Preparing to unpack .../libsystemd-dev_241-7~deb10u3+rpi1_armhf.deb ...
Unpacking libsystemd-dev:armhf (241-7~deb10u3+rpi1) ...
Selecting previously unselected package libusb-1.0-0-dev:armhf.
Preparing to unpack .../libusb-1.0-0-dev_2%3a1.0.22-2_armhf.deb ...
Unpacking libusb-1.0-0-dev:armhf (2:1.0.22-2) ...
Selecting previously unselected package libusb-1.0-doc.
Preparing to unpack .../libusb-1.0-doc_2%3a1.0.22-2_all.deb ...
Unpacking libusb-1.0-doc (2:1.0.22-2) ...
Selecting previously unselected package libusb-dev.
Preparing to unpack .../libusb-dev_2%3a0.1.12-32_armhf.deb ...
Unpacking libusb-dev (2:0.1.12-32) ...
Setting up libusb-1.0-doc (2:1.0.22-2) ...
Setting up libusb-1.0-0-dev:armhf (2:1.0.22-2) ...
Setting up libusb-dev (2:0.1.12-32) ...
Setting up libsystemd-dev:armhf (241-7~deb10u3+rpi1) ...
Processing triggers for man-db (2.8.5-2) ...
Updating FireMotD available updates count ... 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following package was automatically installed and is no longer required:
  triggerhappy
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
  libev4
The following NEW packages will be installed:
  libev-dev libev4
0 upgraded, 2 newly installed, 0 to remove and 4 not upgraded.
Need to get 160 kB of archives.
After this operation, 292 kB of additional disk space will be used.
Get:1 http://ftp.arnes.si/mirrors/raspbian/raspbian buster/main armhf libev4 armhf 1:4.25-1 [34.5 kB]
Get:2 http://ftp.arnes.si/mirrors/raspbian/raspbian buster/main armhf libev-dev armhf 1:4.25-1 [125 kB]
Fetched 160 kB in 1s (236 kB/s)    
Selecting previously unselected package libev4:armhf.
(Reading database ... 52357 files and directories currently installed.)
Preparing to unpack .../libev4_1%3a4.25-1_armhf.deb ...
Unpacking libev4:armhf (1:4.25-1) ...
Selecting previously unselected package libev-dev.
Preparing to unpack .../libev-dev_1%3a4.25-1_armhf.deb ...
Unpacking libev-dev (1:4.25-1) ...
Setting up libev4:armhf (1:4.25-1) ...
Setting up libev-dev (1:4.25-1) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for libc-bin (2.28-10+rpi1) ...
Updating FireMotD available updates count ... 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following package was automatically installed and is no longer required:
  triggerhappy
Use 'sudo apt autoremove' to remove it.
The following NEW packages will be installed:
  setserial
0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
Need to get 48.3 kB of archives.
After this operation, 106 kB of additional disk space will be used.
Get:1 http://ftp.arnes.si/mirrors/raspbian/raspbian buster/main armhf setserial armhf 2.17-52 [48.3 kB]
Fetched 48.3 kB in 1s (85.5 kB/s)  
Preconfiguring packages ...
Selecting previously unselected package setserial.
(Reading database ... 52373 files and directories currently installed.)
Preparing to unpack .../setserial_2.17-52_armhf.deb ...
Unpacking setserial (2.17-52) ...
Setting up setserial (2.17-52) ...
removing the old setserial entry in the rcn.d directories
Update complete.
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
[ ok ] Stopping setserial (via systemctl): setserial.service.
Created symlink /etc/systemd/system/multi-user.target.wants/setserial.service → /lib/systemd/system/setserial.service.
Created symlink /etc/systemd/system/multi-user.target.wants/etc-setserial.service → /lib/systemd/system/etc-setserial.service.
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for systemd (241-7~deb10u3+rpi1) ...
Updating FireMotD available updates count ... 
Cloning into 'knxd'...
remote: Enumerating objects: 111, done.
remote: Counting objects: 100% (111/111), done.
remote: Compressing objects: 100% (76/76), done.
remote: Total 12643 (delta 61), reused 61 (delta 34), pack-reused 12532
Receiving objects: 100% (12643/12643), 3.44 MiB | 1.20 MiB/s, done.
Resolving deltas: 100% (9704/9704), done.
Already on 'master'
Your branch is up to date with 'origin/master'.
patching file src/libserver/emi_common.cpp
Hunk #1 FAILED at 60.
1 out of 1 hunk FAILED -- saving rejects to file src/libserver/emi_common.cpp.rej
patching file tools/version.sh
FAILED
2020-03-18_11:15:49_GMT [openHABian] Checking for default openHABian username:password combination... OK
2020-03-18_11:15:49_GMT [openHABian] We hope you got what you came for! See you again soon ;)

Did you verify the send-timeout and send-retries were changes from 300 to 600 and 3 to 5? Also have you ran sudo apt autoremove and restarted OH a few time?

hello thanks for the reply,

I believe that the “send-timeout and send-retries” parameters refer to knxd.service when it is running, but I can’t even install it.

It responds this:

13:02:49] openhabian@openhab:~$ sudo apt autoremove
[sudo] password di openhabian: 
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze       
Lettura informazioni sullo stato... Fatto
0 aggiornati, 0 installati, 0 da rimuovere e 4 non aggiornati.   

And after 3 reboots I tried again, but the situation does not change.

Do you know what this means?

Your branch is up to date with 'origin/master'.
patching file src/libserver/emi_common.cpp
Hunk #1 FAILED at 60.
1 out of 1 hunk FAILED -- saving rejects to file src/libserver/emi_common.cpp.rej
patching file tools/version.sh
FAILED

Silviopen

I have no idea what it means, first time seeing that error. :thinking:

Are you using a reverse proxy?

I don’t know what it is … so I guess not.
After the automatic installation I launched openhabian-config and updated the system through one of the options that the menu showed me, but I don’t remember having set up any reverse proxy

At this point if no one has any idea how to solve, I just have to try for another time the re-installation. Anyway, I haven’t configured anything yet :pensive:
The problem is that I still have to learn how to use knx binding, but if the basic installation is so complex, I’m afraid I will have to give up :pleading_face:

OH is worth the hassle but you will have to put in the time to learn and this forum is a great resource.

Have you tried to install any other binding and see if they will install correctly? I don’t use KNX but you may also want to revisit the openhabian-config tool and select option 20 then “install needed packages”, “mount srv”, and “fix permissions” then restart OH a few times. Be sure to give OH a chance to fully load up between restarts (watch the logs).

Thanks a lot for the support.
I will try still some other configuration.

My problem is still unsolved.
I redid the installation of openhabian from scratch but I still get the same error.
I didn’t quite understand the meaning of the error message but I was struck by this part:

patching file src/libserver/emi_common.cpp
Hunk #1 FAILED at 60.
1 out of 1 hunk FAILED -- saving rejects to file src/libserver/emi_common.cpp.rej patching file tools/version.sh
FAILED

but I can’t find these folders and files anywhere

  • src/libserver/emi_common.cpp
  • tools/version.sh

can anyone help me understand if this may be the problem?

Thanks
Silviopen

@H102
I also tried to update the system and the various packages but I have not solved anything :frowning:

But in my version of openhabian-config option 20 is different

20 | Optional Components  Choose from a set of optional software components 

I’ve used the option 10

  10 | Apply Improvements   Apply the latest improvements to the basic openHABian setup

Hi there…ive got exactly the same error message and fixed it with selecting “no” at the question

“Would you like to apply patch” ? > N

then it worked for me…

I had already tried to answer no to the request, but still could not get to the end of the KNXD installation process.
I tried to redo the whole installation starting from writing the image to microSD and after a couple of holders I managed to install OpenHabian.
At this point I started, from terminal, openhabian-config and chose to install KNXD.
In fact, this time the installation was successful. I have no idea why the other times I had not succeeded.
If someone knows how to report the problem on git (as the message that appears at the end of the installation attempt says) it could be useful, maybe someone can take care of it.

Obviously, afterwards you need to modify 90-knxusb-devices.rules file file to adapt it to your needs, using

sudo nano /etc/udev/rules.d/90-knxusb-devices.rules

In my case I commented on the first line and de-commented on the last one (I add / remove # at the beginning of the line).

Hoping that this will be useful to others, I will change the title to “Solved”.

Thanks anyway to the community that supported me, any way.