Issue: RaspAP on OpenHabian 1.6-alpha isn´t working

Just would like to ask if somebody is running RaspAP on Pi4 and Openhab?
My Pi4 is connected via LAN and should share a WLAN HotSpot.
I just installed RaspAP, no issues during installation ifconfig shows WLAN0 with the IP from RaspAP.

Unfortunatelly no WLAN AP comes up.

I already was setting up RaspAP some weeks ago using Raspian light without Openhab and it
was working without problems.

Therefore I am asking if something together with Openhab is disturbing here?

Edit: 03August2020

I have played arround a bit and found a plain openhab installation 2.5.6-2 no config on it, so i took it and installed RaspAP on it - result all OK WifiAP gets started.
So I updated Openhab on 2.5.7-1 and still all OK no problems.

My assumption: It must be something on the 1.6-alpha version what stops RaspAP working

BTW and just for completeness:
This is the installation log from RaspAP maybe someone can recognize the culprit

RaspAP Install: Configure installation
Detected OS: Raspbian GNU/Linux 10 (buster)
Using GitHub repository: billz/raspap-webgui master branch
Configuration directory: /etc/raspap
lighttpd root: /var/www/html? [Y/n]: y
Installing lighttpd directory: /var/www/html
Complete installation with these values? [Y/n]: y
RaspAP Install: Updating sources
Hit:1 Index of /debian buster InRelease
Hit:2 Index of /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]
Get:5 https://deb.nodesource.com/node_12.x buster InRelease [4,584 B]
Get:7 https://deb.nodesource.com/node_12.x buster/main armhf Packages [772 B]
Fetched 11.4 kB in 12s (956 B/s)
Reading package lists… Done
RaspAP Install: Installing required packages
Reading package lists… Done
Building dependency tree
Reading state information… Done
git is already the newest version (1:2.20.1-2+deb10u3).
The following additional packages will be installed:
dns-root-data dnsmasq-base libfam0 libmariadb3 libqrencode4 libsodium23 lighttpd-modules-ldap lighttpd-modules-mysql mariadb-common mysql-common netfilter-persistent php-common php7.3-cli
php7.3-common php7.3-json php7.3-opcache php7.3-readline spawn-fcgi
Suggested packages:
fam rrdtool apache2-utils lighttpd-doc php-pear vnstati
The following NEW packages will be installed:
dns-root-data dnsmasq dnsmasq-base hostapd iptables-persistent libfam0 libmariadb3 libqrencode4 libsodium23 lighttpd lighttpd-modules-ldap lighttpd-modules-mysql mariadb-common mysql-common
netfilter-persistent php-common php7.3-cgi php7.3-cli php7.3-common php7.3-json php7.3-opcache php7.3-readline qrencode spawn-fcgi vnstat
0 upgraded, 25 newly installed, 0 to remove and 21 not upgraded.
Need to get 4,843 kB of archives.
After this operation, 22.2 MB of additional disk space will be used.
Get:1 Index of /debian buster/main armhf dnsmasq-base armhf 2.80-1+rpt1 [400 kB]
Get:3 Index of /debian buster/main armhf dnsmasq all 2.80-1+rpt1 [16.5 kB]
Get:2 Index of /raspbian/raspbian/ buster/main armhf hostapd armhf 2:2.7+git20190128+0c1e29f-6+deb10u2 [629 kB]
Get:4 Index of /raspbian/raspbian/ buster/main armhf netfilter-persistent all 1.0.11 [10.1 kB]
Get:5 Index of /raspbian/raspbian/ buster/main armhf iptables-persistent all 1.0.11 [11.7 kB]
Get:6 Index of /raspbian/raspbian/ buster/main armhf dns-root-data all 2019031302 [5,396 B]
Get:7 Index of /raspbian/raspbian/ buster/main armhf libfam0 armhf 2.7.0-17.3 [24.6 kB]
Get:8 Index of /raspbian/raspbian/ buster/main armhf mysql-common all 5.8+1.0.5 [7,324 B]
Get:9 Index of /raspbian/raspbian/ buster/main armhf mariadb-common all 1:10.3.23-0+deb10u1 [32.0 kB]
Get:10 Index of /raspbian/raspbian/ buster/main armhf libmariadb3 armhf 1:10.3.23-0+deb10u1 [159 kB]
Get:11 Index of /raspbian/raspbian/ buster/main armhf libqrencode4 armhf 4.0.2-1 [33.9 kB]
Get:12 Index of /raspbian/raspbian/ buster/main armhf libsodium23 armhf 1.0.17-1 [139 kB]
Get:13 Index of /raspbian/raspbian/ buster/main armhf lighttpd armhf 1.4.53-4 [292 kB]
Get:14 Index of /raspbian/raspbian/ buster/main armhf lighttpd-modules-ldap armhf 1.4.53-4 [8,832 B]
Get:15 Index of /raspbian/raspbian/ buster/main armhf lighttpd-modules-mysql armhf 1.4.53-4 [8,972 B]
Get:16 Index of /raspbian/raspbian/ buster/main armhf php-common all 2:69 [15.0 kB]
Get:17 Index of /raspbian/raspbian/ buster/main armhf php7.3-common armhf 7.3.19-1~deb10u1 [522 kB]
Get:18 Index of /raspbian/raspbian/ buster/main armhf php7.3-json armhf 7.3.19-1~deb10u1 [16.2 kB]
Get:19 Index of /raspbian/raspbian/ buster/main armhf php7.3-opcache armhf 7.3.19-1~deb10u1 [153 kB]
Get:20 Index of /raspbian/raspbian/ buster/main armhf php7.3-readline armhf 7.3.19-1~deb10u1 [10.7 kB]
Get:21 Index of /raspbian/raspbian/ buster/main armhf php7.3-cli armhf 7.3.19-1~deb10u1 [1,124 kB]
Get:22 Index of /raspbian/raspbian/ buster/main armhf php7.3-cgi armhf 7.3.19-1~deb10u1 [1,091 kB]
Get:23 Index of /raspbian/raspbian/ buster/main armhf qrencode armhf 4.0.2-1 [37.8 kB]
Get:24 Index of /raspbian/raspbian/ buster/main armhf vnstat armhf 1.18-2 [80.1 kB]
Get:25 Index of /raspbian/raspbian/ buster/main armhf spawn-fcgi armhf 1.6.4-2 [13.9 kB]
Fetched 4,843 kB in 3s (1,410 kB/s)
Preconfiguring packages …
Selecting previously unselected package hostapd.
(Reading database … 52685 files and directories currently installed.)
Preparing to unpack …/00-hostapd_2%3a2.7+git20190128+0c1e29f-6+deb10u2_armhf.deb …
Unpacking hostapd (2:2.7+git20190128+0c1e29f-6+deb10u2) …
Selecting previously unselected package netfilter-persistent.
Preparing to unpack …/01-netfilter-persistent_1.0.11_all.deb …
Unpacking netfilter-persistent (1.0.11) …
Selecting previously unselected package iptables-persistent.
Preparing to unpack …/02-iptables-persistent_1.0.11_all.deb …
Unpacking iptables-persistent (1.0.11) …
Selecting previously unselected package dns-root-data.
Preparing to unpack …/03-dns-root-data_2019031302_all.deb …
Unpacking dns-root-data (2019031302) …
Selecting previously unselected package dnsmasq-base.
Preparing to unpack …/04-dnsmasq-base_2.80-1+rpt1_armhf.deb …
Unpacking dnsmasq-base (2.80-1+rpt1) …
Selecting previously unselected package dnsmasq.
Preparing to unpack …/05-dnsmasq_2.80-1+rpt1_all.deb …
Unpacking dnsmasq (2.80-1+rpt1) …
Selecting previously unselected package libfam0:armhf.
Preparing to unpack …/06-libfam0_2.7.0-17.3_armhf.deb …
Unpacking libfam0:armhf (2.7.0-17.3) …
Selecting previously unselected package mysql-common.
Preparing to unpack …/07-mysql-common_5.8+1.0.5_all.deb …
Unpacking mysql-common (5.8+1.0.5) …
Selecting previously unselected package mariadb-common.
Preparing to unpack …/08-mariadb-common_1%3a10.3.23-0+deb10u1_all.deb …
Unpacking mariadb-common (1:10.3.23-0+deb10u1) …
Selecting previously unselected package libmariadb3:armhf.
Preparing to unpack …/09-libmariadb3_1%3a10.3.23-0+deb10u1_armhf.deb …
Unpacking libmariadb3:armhf (1:10.3.23-0+deb10u1) …
Selecting previously unselected package libqrencode4:armhf.
Preparing to unpack …/10-libqrencode4_4.0.2-1_armhf.deb …
Unpacking libqrencode4:armhf (4.0.2-1) …
Selecting previously unselected package libsodium23:armhf.
Preparing to unpack …/11-libsodium23_1.0.17-1_armhf.deb …
Unpacking libsodium23:armhf (1.0.17-1) …
Selecting previously unselected package lighttpd.
Preparing to unpack …/12-lighttpd_1.4.53-4_armhf.deb …
Unpacking lighttpd (1.4.53-4) …
Selecting previously unselected package lighttpd-modules-ldap.
Preparing to unpack …/13-lighttpd-modules-ldap_1.4.53-4_armhf.deb …
Unpacking lighttpd-modules-ldap (1.4.53-4) …
Selecting previously unselected package lighttpd-modules-mysql.
Preparing to unpack …/14-lighttpd-modules-mysql_1.4.53-4_armhf.deb …
Unpacking lighttpd-modules-mysql (1.4.53-4) …
Selecting previously unselected package php-common.
Preparing to unpack …/15-php-common_2%3a69_all.deb …
Unpacking php-common (2:69) …
Selecting previously unselected package php7.3-common.
Preparing to unpack …/16-php7.3-common_7.3.19-1~deb10u1_armhf.deb …
Unpacking php7.3-common (7.3.19-1~deb10u1) …
Selecting previously unselected package php7.3-json.
Preparing to unpack …/17-php7.3-json_7.3.19-1~deb10u1_armhf.deb …
Unpacking php7.3-json (7.3.19-1~deb10u1) …
Selecting previously unselected package php7.3-opcache.
Preparing to unpack …/18-php7.3-opcache_7.3.19-1~deb10u1_armhf.deb …
Unpacking php7.3-opcache (7.3.19-1~deb10u1) …
Selecting previously unselected package php7.3-readline.
Preparing to unpack …/19-php7.3-readline_7.3.19-1~deb10u1_armhf.deb …
Unpacking php7.3-readline (7.3.19-1~deb10u1) …
Selecting previously unselected package php7.3-cli.
Preparing to unpack …/20-php7.3-cli_7.3.19-1~deb10u1_armhf.deb …
Unpacking php7.3-cli (7.3.19-1~deb10u1) …
Selecting previously unselected package php7.3-cgi.
Preparing to unpack …/21-php7.3-cgi_7.3.19-1~deb10u1_armhf.deb …
Unpacking php7.3-cgi (7.3.19-1~deb10u1) …
Selecting previously unselected package qrencode.
Preparing to unpack …/22-qrencode_4.0.2-1_armhf.deb …
Unpacking qrencode (4.0.2-1) …
Selecting previously unselected package vnstat.
Preparing to unpack …/23-vnstat_1.18-2_armhf.deb …
Unpacking vnstat (1.18-2) …
Selecting previously unselected package spawn-fcgi.
Preparing to unpack …/24-spawn-fcgi_1.6.4-2_armhf.deb …
Unpacking spawn-fcgi (1.6.4-2) …
Setting up php-common (2:69) …
Created symlink /etc/systemd/system/timers.target.wants/phpsessionclean.timer → /lib/systemd/system/phpsessionclean.timer.
Setting up mysql-common (5.8+1.0.5) …
update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode
Setting up libsodium23:armhf (1.0.17-1) …
Setting up libqrencode4:armhf (4.0.2-1) …
Setting up qrencode (4.0.2-1) …
Setting up dnsmasq-base (2.80-1+rpt1) …
Setting up dns-root-data (2019031302) …
Setting up dnsmasq (2.80-1+rpt1) …
Created symlink /etc/systemd/system/multi-user.target.wants/dnsmasq.service → /lib/systemd/system/dnsmasq.service.
Setting up mariadb-common (1:10.3.23-0+deb10u1) …
update-alternatives: using /etc/mysql/mariadb.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode
Setting up php7.3-common (7.3.19-1~deb10u1) …

Creating config file /etc/php/7.3/mods-available/calendar.ini with new version

Creating config file /etc/php/7.3/mods-available/ctype.ini with new version

Creating config file /etc/php/7.3/mods-available/exif.ini with new version

Creating config file /etc/php/7.3/mods-available/fileinfo.ini with new version

Creating config file /etc/php/7.3/mods-available/ftp.ini with new version

Creating config file /etc/php/7.3/mods-available/gettext.ini with new version

Creating config file /etc/php/7.3/mods-available/iconv.ini with new version

Creating config file /etc/php/7.3/mods-available/pdo.ini with new version

Creating config file /etc/php/7.3/mods-available/phar.ini with new version

Creating config file /etc/php/7.3/mods-available/posix.ini with new version

Creating config file /etc/php/7.3/mods-available/shmop.ini with new version

Creating config file /etc/php/7.3/mods-available/sockets.ini with new version

Creating config file /etc/php/7.3/mods-available/sysvmsg.ini with new version

Creating config file /etc/php/7.3/mods-available/sysvsem.ini with new version

Creating config file /etc/php/7.3/mods-available/sysvshm.ini with new version

Creating config file /etc/php/7.3/mods-available/tokenizer.ini with new version
Setting up hostapd (2:2.7+git20190128+0c1e29f-6+deb10u2) …
Created symlink /etc/systemd/system/multi-user.target.wants/hostapd.service → /lib/systemd/system/hostapd.service.
Job for hostapd.service failed because the control process exited with error code.
See “systemctl status hostapd.service” and “journalctl -xe” for details.
Created symlink /etc/systemd/system/hostapd.service → /dev/null.
Setting up libmariadb3:armhf (1:10.3.23-0+deb10u1) …
Setting up netfilter-persistent (1.0.11) …
Created symlink /etc/systemd/system/multi-user.target.wants/netfilter-persistent.service → /lib/systemd/system/netfilter-persistent.service.
Setting up libfam0:armhf (2.7.0-17.3) …
Setting up php7.3-opcache (7.3.19-1~deb10u1) …

Creating config file /etc/php/7.3/mods-available/opcache.ini with new version
Setting up spawn-fcgi (1.6.4-2) …
Setting up vnstat (1.18-2) …
Created symlink /etc/systemd/system/vnstatd.service → /lib/systemd/system/vnstat.service.
Created symlink /etc/systemd/system/multi-user.target.wants/vnstat.service → /lib/systemd/system/vnstat.service.
Setting up lighttpd (1.4.53-4) …
Created symlink /etc/systemd/system/multi-user.target.wants/lighttpd.service → /lib/systemd/system/lighttpd.service.
Setting up php7.3-json (7.3.19-1~deb10u1) …

Creating config file /etc/php/7.3/mods-available/json.ini with new version
Setting up php7.3-readline (7.3.19-1~deb10u1) …

Creating config file /etc/php/7.3/mods-available/readline.ini with new version
Setting up iptables-persistent (1.0.11) …
Setting up php7.3-cli (7.3.19-1~deb10u1) …
update-alternatives: using /usr/bin/php7.3 to provide /usr/bin/php (php) in auto mode
update-alternatives: using /usr/bin/phar7.3 to provide /usr/bin/phar (phar) in auto mode
update-alternatives: using /usr/bin/phar.phar7.3 to provide /usr/bin/phar.phar (phar.phar) in auto mode

Creating config file /etc/php/7.3/cli/php.ini with new version
Setting up lighttpd-modules-ldap (1.4.53-4) …
Setting up lighttpd-modules-mysql (1.4.53-4) …
Setting up php7.3-cgi (7.3.19-1~deb10u1) …
update-alternatives: using /usr/bin/php-cgi7.3 to provide /usr/bin/php-cgi (php-cgi) in auto mode
update-alternatives: using /usr/lib/cgi-bin/php7.3 to provide /usr/lib/cgi-bin/php (php-cgi-bin) in auto mode

Creating config file /etc/php/7.3/cgi/php.ini with new version
Processing triggers for systemd (241-7~deb10u4+rpi1) …
Processing triggers for man-db (2.8.5-2) …
Processing triggers for dbus (1.12.16-1) …
Failed to open connection to “system” message bus: Failed to connect to socket /var/run/dbus/system_bus_socket: Connection refused
Processing triggers for libc-bin (2.28-10+rpi1) …
Updating FireMotD available updates count …
Error connecting: Could not connect: Connection refused
[ ✓ ok ]
RaspAP Install: Enabling PHP for lighttpd
Met dependency: fastcgi
Enabling fastcgi-php: ok
Enabling fastcgi: ok
Run “service lighttpd force-reload” to enable changes
Job for lighttpd.service canceled.
[ ✘ error ] Unable to restart lighttpd
RaspAP Install: Creating RaspAP directories
Creating /etc/raspap/networking
Adding /etc/dhcpcd.conf as base configuration
Changing file ownership of /etc/raspap
RaspAP Install: Optimize PHP configuration
Enable HttpOnly for session cookies (Recommended)? [Y/n]: y
Php-cgi enabling session.cookie_httponly.
RaspAP Install: Backing up existing configs to /etc/raspap/backups
[ ✓ ok ]
RaspAP Install: Cloning latest files from github
Cloning into ‘/tmp/raspap-webgui’…
remote: Enumerating objects: 1925, done.
remote: Counting objects: 100% (1925/1925), done.
remote: Compressing objects: 100% (1815/1815), done.
remote: Total 1925 (delta 112), reused 1770 (delta 82), pack-reused 0
Receiving objects: 100% (1925/1925), 5.00 MiB | 4.45 MiB/s, done.
Resolving deltas: 100% (112/112), done.
[ ✓ ok ]
RaspAP Install: Changing file ownership in web root directory
RaspAP Install: Creating hostapd logging & control scripts
changed ownership of ‘/etc/raspap/hostapd/disablelog.sh’ from root:root to root:www-data
changed ownership of ‘/etc/raspap/hostapd/enablelog.sh’ from root:root to root:www-data
changed ownership of ‘/etc/raspap/hostapd/servicestart.sh’ from root:root to root:www-data
[ ✓ ok ]
RaspAP Install: Creating lighttpd control scripts
Copying configport.sh to /etc/raspap/lighttpd
Changing file ownership
changed ownership of ‘/etc/raspap/lighttpd/configport.sh’ from root:root to root:www-data
[ ✓ ok ]
RaspAP Install: Moving configuration file to /etc/raspap
RaspAP Install: Applying default configuration to installed services
Checking for existence of /etc/dnsmasq.d
Copying bridged AP config to /etc/systemd/network
Copying primary RaspAP config to includes/config.php
[ ✓ ok ]
RaspAP Install: Configuring networking
Enabling IP forwarding
net.ipv4.ip_forward = 1
[ ok ] Restarting procps (via systemctl): procps.service.
Checking iptables rules
Adding rule: -t nat -A POSTROUTING -j MASQUERADE
Adding rule: -t nat -A POSTROUTING -s 192.168.50.0/24 ! -d 192.168.50.0/24 -j MASQUERADE
Persisting IP tables rules
Enable RaspAP control service (Recommended)? [Y/n]: y
RaspAP Install: Enabling RaspAP daemon
Disable with: sudo systemctl disable raspapd.service
Created symlink /etc/systemd/system/multi-user.target.wants/raspapd.service → /lib/systemd/system/raspapd.service.
[ ✓ ok ]
RaspAP Install: Configure ad blocking (Beta)
Install ad blocking and enable list management? [Y/n]: n

RaspAP Install: Configure OpenVPN support
Install OpenVPN and enable client configuration? [Y/n]: n

RaspAP Install: Adding raspap.sudoers to /etc/sudoers.d/090_raspap
RaspAP Install: Symlinked wpa_supplicant hooks for multiple wlan interfaces
RaspAP Install: Unmasking and enabling hostapd service
Removed /etc/systemd/system/hostapd.service.
Synchronizing state of hostapd.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable hostapd
[ ✓ ok ]
RaspAP Install: Installation completed
This project needs your help! Please consider supporting RaspAP on Open Collective or GitHub:

RaspAP - Open Collective
billz (Bill Zimmerman) · GitHub

The system needs to be rebooted as a final step. Reboot now? [y/N]: y

The openHABian image is not built to support anything else on top other than what comes with it.
Frankly I don’t even know what RaspAP is.
It does not actively prohibit anything but if you want to get that working you’re totally on your own.
1.6-alpha is based on May’s Raspbian lite update which may or may not be different from what you used and that may or may not explain what you’re seeing.

But I would not recommend trying that as even if you figure out anything that works, that may change at any time and without notice on e.g. next update

And edit your last post to use code fences, please.

2 Likes