Openhabian - Mosquitto MQTT failed to start

Tags: #<Tag:0x00007f61732e0e60> #<Tag:0x00007f61732e0d48> #<Tag:0x00007f61732e0ac8>

Hello, I install Mosquitto from openhabian-config and after installation it is works.
After first reboot i receive this error:


              Welcome to            __  _____    ____  _
            ____  ____  ___  ____  / / / /   |  / __ )(_)___ _____
           / __ \/ __ \/ _ \/ __ \/ /_/ / /| | / __  / / __ `/ __ \
          / /_/ / /_/ /  __/ / / / __  / ___ |/ /_/ / / /_/ / / / /
          \____/ .___/\___/_/ /_/_/ /_/_/  |_/_____/_/\__,_/_/ /_/
              /_/
                  openHAB 2.5.7-1 (Release Build)


Looking for a place to get started? Check out 'sudo openhabian-config' and the
documentation at https://www.openhab.org/docs/installation/openhabian.html
The openHAB dashboard can be reached at http://openhab:8080
To interact with openHAB on the command line, execute: 'openhab-cli --help'

[23:07:52] openhabian@openhab:~$ sudo su
[sudo] password for openhabian:
[23:08:01] root@openhab:/home/openhabian# sudo systemctl status mosquitto
● mosquitto.service - Mosquitto MQTT v3.1/v3.1.1 Broker
   Loaded: loaded (/lib/systemd/system/mosquitto.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Tue 2020-07-28 23:05:51 EEST; 2min 13s ago
     Docs: man:mosquitto.conf(5)
           man:mosquitto(8)
  Process: 702 ExecStart=/usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf (code=exited, status=1/FAILURE)
 Main PID: 702 (code=exited, status=1/FAILURE)

Jul 28 23:05:51 openhab systemd[1]: Failed to start Mosquitto MQTT v3.1/v3.1.1 Broker.
Jul 28 23:05:51 openhab systemd[1]: mosquitto.service: Service RestartSec=100ms expired, scheduling restart.
Jul 28 23:05:51 openhab systemd[1]: mosquitto.service: Scheduled restart job, restart counter is at 5.
Jul 28 23:05:51 openhab systemd[1]: Stopped Mosquitto MQTT v3.1/v3.1.1 Broker.
Jul 28 23:05:51 openhab systemd[1]: mosquitto.service: Start request repeated too quickly.
Jul 28 23:05:51 openhab systemd[1]: mosquitto.service: Failed with result 'exit-code'.
Jul 28 23:05:51 openhab systemd[1]: Failed to start Mosquitto MQTT v3.1/v3.1.1 Broker.

Can anyone help me solve this problem?
I tried with the MQTT Broker Moquette but it seems a bit slower than functional Mosquitto.

What does journalctl -xu mosquitto say ?

If you enabled moquette that would be an explanation as it’ll use the same ports as mosquitto.
Disable it, it’s deprecated anyway.

PS: as root you can omit β€œsudo”

Hello, I installed a fresh copy of openhabian. When I want to install Mosquitto I get this warning in the openhabian-config console:

 The MQTT broker Eclipse Mosquitto will be installed through the official     β”‚
                   β”‚ repository, as desribed in:                                                  β”‚
                   β”‚ https://mosquitto.org/2013/01/mosquitto-debian-repository                    β”‚
                   β”‚                                                                              β”‚
                   β”‚ Additionally you can activate username:password authentication.              β”‚
                   β”‚                                                                              β”‚
                   β”‚ **HEADS UP: Only proceed when you are aware that this will be in conflict with β”‚**
**                   β”‚ use of the MQTTv2 binding which will also be using the same ports.**   

After installing mosquitto openhabian-config displays the message:

 Operation Successful! β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                                 β”‚                                                                              β”‚
                                 β”‚ Setup was successful.                                                        β”‚
                                 β”‚                                                                              β”‚
                                 β”‚ Eclipse Mosquitto is now up and running in the background. You should be     β”‚
                                 β”‚ able to make a first connection.                                             β”‚
                                 β”‚                                                                              β”‚
                                 β”‚ To continue your integration in openHAB, please follow the instructions      β”‚
                                 β”‚ under: https://www.openhab.org/addons/bindings/mqtt/              

Now everything works perfectly - let’s see what happens after the restart.

[08:20:08] openhabian@openhab:~$ systemctl status mosquitto.service
● mosquitto.service - Mosquitto MQTT v3.1/v3.1.1 Broker
   Loaded: loaded (/lib/systemd/system/mosquitto.service; enabled; vendor preset: enabled)
   Active: active (running) since Wed 2020-07-29 08:16:38 EEST; 3min 52s ago
     Docs: man:mosquitto.conf(5)
           man:mosquitto(8)
 Main PID: 22372 (mosquitto)
    Tasks: 1 (limit: 3980)
   CGroup: /system.slice/mosquitto.service
           └─22372 /usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf

Jul 29 08:16:38 openhab systemd[1]: Starting Mosquitto MQTT v3.1/v3.1.1 Broker...
Jul 29 08:16:38 openhab systemd[1]: Started Mosquitto MQTT v3.1/v3.1.1 Broker.
[08:20:31] openhabian@openhab:~$

After restart i receive this error:

[08:24:01] openhabian@openhab:~$ systemctl status mosquitto.service
● mosquitto.service - Mosquitto MQTT v3.1/v3.1.1 Broker
   Loaded: loaded (/lib/systemd/system/mosquitto.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Wed 2020-07-29 08:23:25 EEST; 2min 9s ago
     Docs: man:mosquitto.conf(5)
           man:mosquitto(8)
  Process: 608 ExecStart=/usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf (code=exited, status=1/FAILURE)
 Main PID: 608 (code=exited, status=1/FAILURE)

Jul 29 08:23:25 openhab systemd[1]: mosquitto.service: Service RestartSec=100ms expired, scheduling restart.
Jul 29 08:23:25 openhab systemd[1]: mosquitto.service: Scheduled restart job, restart counter is at 5.
Jul 29 08:23:25 openhab systemd[1]: Stopped Mosquitto MQTT v3.1/v3.1.1 Broker.
Jul 29 08:23:25 openhab systemd[1]: mosquitto.service: Start request repeated too quickly.
Jul 29 08:23:25 openhab systemd[1]: mosquitto.service: Failed with result 'exit-code'.
Jul 29 08:23:25 openhab systemd[1]: Failed to start Mosquitto MQTT v3.1/v3.1.1 Broker.
[08:27:31] openhabian@openhab:~$ journalctl -xu mosquitto.service
-- Logs begin at Tue 2020-07-28 21:00:40 EEST, end at Wed 2020-07-29 08:25:36 EEST. --
Jul 28 22:31:49 openhab systemd[1]: Starting Mosquitto MQTT v3.1/v3.1.1 Broker...
-- Subject: A start job for unit mosquitto.service has begun execution
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A start job for unit mosquitto.service has begun execution.
--
-- The job identifier is 107.
Jul 28 22:31:49 openhab mosquitto[616]: 1595964709: Error: Unable to open log file /var/log/mosquitto/mosquitto.log for writing.
Jul 28 22:31:49 openhab systemd[1]: mosquitto.service: Main process exited, code=exited, status=1/FAILURE
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- An ExecStart= process belonging to unit mosquitto.service has exited.
--
-- The process' exit code is 'exited' and its exit status is 1.
Jul 28 22:31:49 openhab systemd[1]: mosquitto.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- The unit mosquitto.service has entered the 'failed' state with result 'exit-code'.
Jul 28 22:31:49 openhab systemd[1]: Failed to start Mosquitto MQTT v3.1/v3.1.1 Broker.
-- Subject: A start job for unit mosquitto.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A start job for unit mosquitto.service has finished with a failure.
--
-- The job identifier is 107 and the job result is failed.
Jul 28 22:31:50 openhab systemd[1]: mosquitto.service: Service RestartSec=100ms expired, scheduling restart.
Jul 28 22:31:50 openhab systemd[1]: mosquitto.service: Scheduled restart job, restart counter is at 1.
-- Subject: Automatic restarting of a unit has been scheduled
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Automatic restarting of the unit mosquitto.service has been scheduled, as the result for
-- the configured Restart= setting for the unit.
Jul 28 22:31:50 openhab systemd[1]: Stopped Mosquitto MQTT v3.1/v3.1.1 Broker.
-- Subject: A stop job for unit mosquitto.service has finished
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A stop job for unit mosquitto.service has finished.
--
-- The job identifier is 489 and the job result is done.
Jul 28 22:31:50 openhab systemd[1]: Starting Mosquitto MQTT v3.1/v3.1.1 Broker...
-- Subject: A start job for unit mosquitto.service has begun execution
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A start job for unit mosquitto.service has begun execution.
--
-- The job identifier is 489.

Potentially the same problem here too?

Check permissions (ls -la) on

/var/log/mosquitto
/opt/zram/log.bind/mosquitto
/opt/zram/zram2/upper/mosquitto

Firs i install just Mosquitto broker and after i receive the error i uninstalled and i install Moquette broker.
I have never used two mqtt servers at the same time.
But as I said Moquette seems much slower to me than Mosquitto.
I want to install Mosquitto - it moves excellently (when it works of course)

[11:26:29] openhabian@openhab:~$ systemctl status mosquitto.service
● mosquitto.service - Mosquitto MQTT v3.1/v3.1.1 Broker
   Loaded: loaded (/lib/systemd/system/mosquitto.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Wed 2020-07-29 08:23:25 EEST; 3h 3min ago
     Docs: man:mosquitto.conf(5)
           man:mosquitto(8)
  Process: 608 ExecStart=/usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf (code=exited, status=1/FAILURE)
 Main PID: 608 (code=exited, status=1/FAILURE)

Jul 29 08:23:25 openhab systemd[1]: mosquitto.service: Service RestartSec=100ms expired, scheduling restart.
Jul 29 08:23:25 openhab systemd[1]: mosquitto.service: Scheduled restart job, restart counter is at 5.
Jul 29 08:23:25 openhab systemd[1]: Stopped Mosquitto MQTT v3.1/v3.1.1 Broker.
Jul 29 08:23:25 openhab systemd[1]: mosquitto.service: Start request repeated too quickly.
Jul 29 08:23:25 openhab systemd[1]: mosquitto.service: Failed with result 'exit-code'.
Jul 29 08:23:25 openhab systemd[1]: Failed to start Mosquitto MQTT v3.1/v3.1.1 Broker.
[11:26:55] openhabian@openhab:~$ cd /var/log/mosquitto
-bash: cd: /var/log/mosquitto: No such file or directory
[11:28:05] openhabian@openhab:~$ cd /opt/zram/log.bind/mosquitto
-bash: cd: /opt/zram/log.bind/mosquitto: No such file or directory
[11:28:58] openhabian@openhab:~$ cd /opt/zram/zram2/upper/mosquitto
-bash: cd: /opt/zram/zram2/upper/mosquitto: No such file or directory
[11:29:39] openhabian@openhab:~$ cd /etc/mosquitto
[11:30:15] openhabian@openhab:/etc/mosquitto$ ls -l
total 20
drwxr-xr-x 2 root root 4096 Jul 29 08:16 ca_certificates
drwxr-xr-x 2 root root 4096 Jul 29 08:16 certs
drwxr-xr-x 2 root root 4096 Jul 29 08:16 conf.d
-rw-r--r-- 1 root root  409 Jul 29 11:04 mosquitto.conf
-rw-r--r-- 1 root root  120 Jul 29 08:16 passwd
[11:30:26] openhabian@openhab:/etc/mosquitto$

Give output of zramctl and check the directories again this time time omit the trailing /mosquitto.
I’d suggest you edit /etc/openhabian.conf to set debugmode=maximum, then reinstall Mosquitto from the menu. Browse the installation log for lines that should create the /var/log/mosquitto to find out why they do not exist.

[13:27:15] openhabian@openhab:~$ sudo zramctl
[sudo] password for openhabian:
[13:27:39] openhabian@openhab:~$ cd /var/log
[13:28:23] openhabian@openhab:/var/log$ ls -la
total 1936
drwxr-xr-x   9 root    root              4096 Jul 28 22:40 .
drwxr-xr-x  11 root    root              4096 Jul 28 21:00 ..
-rw-rw-r--   1 root    root              8584 Jul 28 20:45 alternatives.log
drwxrwxr-x   2 root    root              4096 Jul 28 20:46 apt
-rw-rw----   1 root    adm              21299 Jul 29 13:27 auth.log
-rw-rw-r--   1 root    root                 0 Jul 10  2019 bootstrap.log
-rw-rw----   1 root    utmp                 0 Jul 10  2019 btmp
-rw-rw----   1 root    adm             315365 Jul 29 13:27 daemon.log
-rw-rw----   1 root    adm               9080 Jul 29 12:13 debug
-rw-rw-r--   1 root    root            158186 Jul 28 20:46 dpkg.log
-rw-rw-r--   1 root    root              2664 Jul 28 20:41 faillog
-rw-rw-r--   1 root    root               538 Jul 28 20:39 fontconfig.log
drwxr-sr-x+  3 root    systemd-journal   4096 Jul 28 20:44 journal
-rw-rw----   1 root    adm             255298 Jul 29 08:23 kern.log
-rw-rw-r--   1 root    utmp            292292 Jul 29 13:27 lastlog
-rw-rw----   1 root    adm             241931 Jul 29 08:23 messages
drwxrwxr-x+  2 openhab openhab           4096 Jul 28 22:40 openhab2
drwx------   2 root    root              4096 Jul 10  2019 private
drwxrwx---   3 root    root              4096 Jul 28 22:40 samba
-rw-rw----   1 root    adm             584916 Jul 29 13:27 syslog
drwxrwxr-x   2 root    root              4096 Apr  6  2019 sysstat
drwxrwx---   2 root    root              4096 Jul 29 12:09 unattended-upgrades
-rw-rw-r--   1 root    utmp             14208 Jul 29 13:27 wtmp
[13:28:35] openhabian@openhab:/var/log$
[13:29:16] openhabian@openhab:/var/log$ cd
[13:30:12] openhabian@openhab:~$ cd /opt/zram/log.bind
[13:30:45] openhabian@openhab:/opt/zram/log.bind$ ls -la
total 8
drwxr-xr-x 2 root root 4096 Jul 28 22:40 .
drwxrwxr-x 8 root root 4096 Jul 28 22:40 ..
[13:30:51] openhabian@openhab:/opt/zram/log.bind$
[13:31:46] openhabian@openhab:~$ cd /opt/zram/zram2/upper
-bash: cd: /opt/zram/zram2/upper: No such file or directory
[13:32:16] openhabian@openhab:~$ zramctl
[13:33:22] openhabian@openhab:~$ cd /opt/zram/zram2/upper
-bash: cd: /opt/zram/zram2/upper: No such file or directory
[13:33:29] openhabian@openhab:~$
[13:33:29] openhabian@openhab:~$ sudo nano /etc/openhabian.conf
  GNU nano 3.2                                                     /etc/openhabian.conf                                                     Modified

# Modify your openHABian settings
# Handle with care, only touch if you need to!!

hostname=openhab
username=openhabian
#userpw=xxxxxx

# Language and time. Be sure to set these to valid values
timeserver=0.pool.ntp.org
locales="en_US.UTF-8 de_DE.UTF-8"
system_default_locale="en_US.UTF-8"
#timezone=Europe/Berlin

# Wi-Fi settings. An ethernet connection is recommended
# Requirement: RPi3, RPi0W, PineA64 or a supported external Wi-Fi dongle
# Fill in your SSID and password below, leave empty to use ethernet
wifi_ssid=""
wifi_psk=""

# Wi-Fi setting. Select a two-letter country code suitable for your location
# E.g. US (default), DE, AU, NZ...
# You may infringe on local legislature otherwise
# See https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 or /usr/share/zoneinfo/zone.tab
wifi_country=""

# vim: filetype=sh
debugmode=maximum

I reinstall Mosquitto from openhabian-config menu and i receive this.

 There was an error or interruption during the execution of:                  β”‚
                                   β”‚   "20 | Optional Components"                                                 β”‚
                                   β”‚                                                                              β”‚
                                   β”‚ Please try again. If the error persists, please read                         β”‚
                                   β”‚ /opt/openhabian/docs/openhabian-DEBUG.md or                                  β”‚
                                   β”‚ https://github.com/openhab/openhabian/blob/master/docs/openhabian-DEBUG.md   β”‚
                                   β”‚ how to proceed.         

Did you mess with ZRAM? It is activated per default.

Record the terminal output and paste it here (code fences!), it should show every single command that gets executed.

Now when i try to reinstall Mosquitto i receive this:

[13:50:41] openhabian@openhab:~$ sudo openhabian-config
[sudo] password for openhabian:
2020-07-29_13:51:06_EEST [openHABian] Checking for root privileges... OK
+ export UNATTENDED SILENT DEBUGMAX INTERACTIVE
+ for shfile in "$BASEDIR"/functions/*.bash
+ source /opt/openhabian/functions/backup.bash
+ for shfile in "$BASEDIR"/functions/*.bash
+ source /opt/openhabian/functions/config.bash
+ for shfile in "$BASEDIR"/functions/*.bash
+ source /opt/openhabian/functions/ext-storage.bash
+ for shfile in "$BASEDIR"/functions/*.bash
+ source /opt/openhabian/functions/helpers.bash
++ ESC='\033['
++ COL_DEF='\033[39;49;00m'
++ COL_RED='\033[31;01m'
++ COL_GREEN='\033[32;01m'
++ COL_YELLOW='\033[33;01m'
++ COL_BLUE='\033[34;01m'
++ COL_MAGENTA='\033[35;01m'
++ COL_CYAN='\033[36;01m'
++ COL_LGRAY='\033[37;01m'
++ COL_DGRAY='\033[90;01m'
++ export COL_DEF COL_RED COL_GREEN COL_YELLOW COL_BLUE COL_MAGENTA COL_CYAN COL_LGRAY COL_DGRAY
+ for shfile in "$BASEDIR"/functions/*.bash
+ source /opt/openhabian/functions/influxdb+grafana.bash
+ for shfile in "$BASEDIR"/functions/*.bash
+ source /opt/openhabian/functions/java-jre.bash
+ for shfile in "$BASEDIR"/functions/*.bash
+ source /opt/openhabian/functions/menu.bash
+ for shfile in "$BASEDIR"/functions/*.bash
+ source /opt/openhabian/functions/nodejs-apps.bash
+ for shfile in "$BASEDIR"/functions/*.bash
+ source /opt/openhabian/functions/openhab.bash
+ for shfile in "$BASEDIR"/functions/*.bash
+ source /opt/openhabian/functions/openhabian.bash
+ for shfile in "$BASEDIR"/functions/*.bash
+ source /opt/openhabian/functions/packages.bash
+ for shfile in "$BASEDIR"/functions/*.bash
+ source /opt/openhabian/functions/passwords.bash
+ for shfile in "$BASEDIR"/functions/*.bash
+ source /opt/openhabian/functions/system.bash
+ for shfile in "$BASEDIR"/functions/*.bash
+ source /opt/openhabian/functions/vpn.bash
+ for shfile in "$BASEDIR"/functions/*.bash
+ source /opt/openhabian/functions/wifi.bash
+ for shfile in "$BASEDIR"/functions/*.bash
+ source /opt/openhabian/functions/zram.bash
++ pwd
+ OLDWD=/home/openhabian
+ cd /opt
+ config_ipv6
+ local aptConf
+ local sysctlConf
+ aptConf=/etc/apt/apt.conf/S90force-ipv4
+ sysctlConf=/etc/sysctl.d/99-sysctl.conf
+ [[ enable == \d\i\s\a\b\l\e ]]
+ [[ enable == \e\n\a\b\l\e ]]
+ grep -qs '^[[:space:]]*# Disable all IPv6 functionality' /etc/sysctl.d/99-sysctl.conf
+ [[ -n '' ]]
+ apt_update
+ PID_APT=1450
+ whiptail_check
+ apt-get update
+ command -v whiptail
+ load_create_config
+ '[' -f /etc/openhabian.conf ']'
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2020-07-29_13:51:06_EEST [openHABian] Loading configuration file '\''/etc/openhabian.conf'\''... '
2020-07-29_13:51:06_EEST [openHABian] Loading configuration file '/etc/openhabian.conf'... + source /etc/openhabian.conf
++ hostname=openhab
++ username=openhabian
++ timeserver=0.pool.ntp.org
++ locales='en_US.UTF-8 de_DE.UTF-8'
++ system_default_locale=en_US.UTF-8
++ wifi_ssid=
++ wifi_psk=
++ wifi_country=
++ debugmode=maximum
+ echo OK
OK
+ ua-netinst_check
+ '[' -f /boot/config-reinstall.txt ']'
+ openhabian_console_check
++ tput cols
+ '[' 150 -lt 120 ']'
+ openhabian_update_check
+ local branch
+ local 'introtext=Additions, improvements or fixes were added to the openHABian configuration tool. Would you like to update now and benefit from them? The update will not automatically apply changes to your system.\n\nUpdating is recommended.'
+ local 'unsupportedhwtext=You are running on old hardware that is no longer officially supported.\nopenHABian may still work with this or not.\nWe recommend to replace your hardware with a current SBC such as a RPi4/2GB.\nDo you really want to continue using openHABian on this system ?'
+ local 'unsupportedostext=You are running an old Linux release that is no longer officially supported.\nWe recommend upgrading to the most current stable release of your distribution (or current Long Term Support version for distributions to offer LTS).\nDo you really want to continue using openHABian on this system ?'
+ is_pine64
++ uname -r
+ [[ 5.4.51-v7l+ =~ pine64-longsleep ]]
+ return 1
+ is_jessie
+ [[ '' == \j\e\s\s\i\e ]]
++ cat /etc/os-release
+ [[ PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs" =~ jessie ]]
+ return 1
+ is_xenial
+ [[ '' == \x\e\n\i\a\l ]]
++ cat /etc/os-release
+ [[ PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs" =~ xenial ]]
+ return 1
+ FAILED=0
++ timestamp
++ date +%F_%T_%Z
++ get_git_revision
++ local branch shorthash revcount latesttag
+++ git -C /opt/openhabian rev-parse --abbrev-ref HEAD
++ branch=stable
+++ git -C /opt/openhabian log --pretty=format:%h -n 1
++ shorthash=07f084d
+++ git -C /opt/openhabian log --oneline
+++ wc -l
++ revcount=723
+++ git -C /opt/openhabian describe --tags --abbrev=0
++ latesttag=patchday-20200715
++ echo '[stable]patchday-20200715-723(07f084d)'
+ echo '2020-07-29_13:51:06_EEST [openHABian] openHABian configuration tool version: [stable]patchday-20200715-723(07f084d)'
2020-07-29_13:51:06_EEST [openHABian] openHABian configuration tool version: [stable]patchday-20200715-723(07f084d)
+ branch=HEAD
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2020-07-29_13:51:07_EEST [openHABian] Checking for changes in origin branch HEAD ... '
2020-07-29_13:51:07_EEST [openHABian] Checking for changes in origin branch HEAD ... + git -C /opt/openhabian config user.email openhabian@openHABian
+ git -C /opt/openhabian config user.name openhabian
+ git -C /opt/openhabian fetch --quiet origin
++ git -C /opt/openhabian rev-parse HEAD
++ git -C /opt/openhabian rev-parse '@{u}'
+ '[' 07f084d32839a59e2150379ea4fe4c21a1101c92 == 07f084d32839a59e2150379ea4fe4c21a1101c92 ']'
+ echo OK
OK
+ openhabian_announcements
+ local newsfile=/opt/openhabian/NEWS.md
+ local readnews=/opt/openhabian/docs/LASTNEWS.md
+ [[ -z 1 ]]
+ diff -q /opt/openhabian/NEWS.md /opt/openhabian/docs/LASTNEWS.md
++ cat /opt/openhabian/NEWS.md
+ whiptail --title 'openHABian announcements' --yes-button 'Stop Displaying' --no-button 'Keep Displaying' --defaultno --scrolltext --yesno 'Hit tab to unselect the buttons and scroll through the text using UP/DOWN or
PGUP/PGDN.
All announcements will be stored in /opt/openhabian/docs/NEWSLOG.md for you to
lookup.

## July 4, 2020
### Wireguard VPN (ALPHA)
Wireguard can be deployed to enable for VPN access to your openHABian box when
it'\''s located in some remote location.
You need to install the Wireguard client from http://www.wireguard.com/install
to your local PC or mobile device that you want to use for access.
Copy the configuration file /etc/wireguard/wg0-client.conf from this box to load
the tunnel.
Note this is an ALPHA test so don'\''t expect it to work out of the box.
Any feedback is highly appreciated on the forum.

### New Java providers now out of beta
Java 11 has proven to work with 2.5


## June 17, 2020
### Ubuntu support and removed support for PINE A64(+) and older Linux distributions
`openhabian-config` will now issue a warning if you start on unsupported
hardware or OS releases. See [README](README.md) for supported HW and OS.

In short, PINE A64 is no longer supported and OS releases other than the current
`stable` and the previous one are deprecated. Running on any of those may still
work or not.

The current and previous Debian / Raspberry Pi OS (previously called Raspbian)
releases are 10 ("buster") and 9 ("stretch"). Most current Ubuntu LTS releases
are 20.04 ("focal") and 18.04 ("bionic").' 27 85
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2020-07-29_13:51:10_EEST [openHABian] Switching to branch  ... '
2020-07-29_13:51:10_EEST [openHABian] Switching to branch  ... + git -C /opt/openhabian checkout --quiet ''
fatal: empty string is not a valid pathspec. please use . instead if you meant to match all paths
+ FAILED=1
+ echo FAILED
FAILED
+ return 0
+ show_main_menu
+++ get_git_revision
+++ local branch shorthash revcount latesttag
++++ git -C /opt/openhabian rev-parse --abbrev-ref HEAD
+++ branch=stable
++++ git -C /opt/openhabian log --pretty=format:%h -n 1
+++ shorthash=07f084d
++++ git -C /opt/openhabian log --oneline
++++ wc -l
+++ revcount=723
++++ git -C /opt/openhabian describe --tags --abbrev=0
+++ latesttag=patchday-20200715
+++ echo '[stable]patchday-20200715-723(07f084d)'
++ whiptail --title 'Welcome to the openHABian Configuration Tool [stable]patchday-20200715-723(07f084d)' --menu 'Setup Options' 20 116 13 --cancel-button Exit --ok-button Execute '00 | About openHABian' 'Information about the openHABian project and this tool' '' '' '01 | Select Branch' 'Select the openHABian config tool version ("branch") to run' '02 | Upgrade System' 'Upgrade all installed software packages (incl. openHAB) to their latest version' '03 | openHAB Stable' 'Install or upgrade to the latest stable release of openHAB 2' '' '' '10 | Apply Improvements' 'Apply the latest improvements to the basic openHABian setup β–Ί' '20 | Optional Components' 'Choose from a set of optional software components β–Ί' '30 | System Settings' 'A range of system and hardware related configuration steps β–Ί' '40 | openHAB related' 'Switch the installed openHAB version or apply tweaks β–Ί' '50 | Backup/Restore' 'Manage backups and restore your system β–Ί' '' '' '60 | Manual/Fresh Setup' 'Go through all openHABian setup steps manually β–Ί'
+ choice='20 | Optional Components'
+ RET=0
+ '[' 0 -eq 1 ']'
+ '[' 0 -eq 255 ']'
+ [[ 20 | Optional Components == '' ]]
+ [[ 20 | Optional Components == \0\0* ]]
+ [[ 20 | Optional Components == \0\1* ]]
+ [[ 20 | Optional Components == \0\2* ]]
+ [[ 20 | Optional Components == \0\3* ]]
+ [[ 20 | Optional Components == \1\0* ]]
+ [[ 20 | Optional Components == \2\0* ]]
+++ get_git_revision
+++ local branch shorthash revcount latesttag
++++ git -C /opt/openhabian rev-parse --abbrev-ref HEAD
+++ branch=stable
++++ git -C /opt/openhabian log --pretty=format:%h -n 1
+++ shorthash=07f084d
++++ git -C /opt/openhabian log --oneline
++++ wc -l
+++ revcount=723
++++ git -C /opt/openhabian describe --tags --abbrev=0
+++ latesttag=patchday-20200715
+++ echo '[stable]patchday-20200715-723(07f084d)'
++ whiptail --title 'Welcome to the openHABian Configuration Tool [stable]patchday-20200715-723(07f084d)' --menu 'Setup Options' 18 116 11 --cancel-button Back --ok-button Execute '21 | Log Viewer          ' 'openHAB Log Viewer webapp (frontail)' '22 | miflora-mqtt-daemon' 'Xiaomi Mi Flora Plant Sensor MQTT Client/Daemon' '23 | Mosquitto' 'MQTT broker Eclipse Mosquitto' '24 | InfluxDB+Grafana' 'A powerful persistence and graphing solution' '25 | NodeRED' 'Flow-based programming for the Internet of Things' '26 | Homegear' 'Homematic specific, the CCU2 emulation software Homegear' '27 | knxd' 'KNX specific, the KNX router/gateway daemon knxd' '28 | 1wire' '1wire specific, owserver and related packages' '29 | FIND' 'Framework for Internal Navigation and Discovery' '2A | Telldus Core' 'Telldus Core service for Tellstick USB devices' '2B | Mail Transfer Agent' 'Install Exim4 as MTA to relay mails via public services'
+ choice2='23 | Mosquitto'
+ '[' 0 -eq 1 ']'
+ '[' 1 -eq 255 ']'
+ wait_for_apt_to_finish_update
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2020-07-29_13:51:14_EEST [openHABian] Updating Linux package information... '
2020-07-29_13:51:14_EEST [openHABian] Updating Linux package information... + [[ -z 1450 ]]
+ timeout 60 tail --pid=1450 -f /dev/null
+ echo OK
OK
+ case "$choice2" in
+ mqtt_setup
+ local introtext
+ local mqttpasswd
+ local mqttuser
+ local questiontext
+ local successtext
+ introtext='The MQTT broker Eclipse Mosquitto will be installed through the official repository, as desribed in: https://mosquitto.org/2013/01/mosquitto-debian-repository\n\nAdditionally you can activate username:password authentication.\n\nHEADS UP: Only proceed when you are aware that this will be in conflict with use of the MQTTv2 binding which will also be using the same ports.'
+ mqttuser=openhabian
+ questiontext='\nDo you want to secure your MQTT broker by a username:password combination? Every client will need to provide these upon connection.\n\nUsername will be '\''openhabian'\'', please provide a password (consisting of ASCII printable characters except space). Leave blank for no authentication, run setup again to change.'
+ successtext='Setup was successful.\n\nEclipse Mosquitto is now up and running in the background. You should be able to make a first connection.\n\nTo continue your integration in openHAB, please follow the instructions under: https://www.openhab.org/addons/bindings/mqtt/'
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2020-07-29_13:51:19_EEST [openHABian] Beginning the MQTT broker Eclipse Mosquitto installation... '
2020-07-29_13:51:19_EEST [openHABian] Beginning the MQTT broker Eclipse Mosquitto installation... + '[' -n 1 ']'
+ whiptail --title 'MQTT installation?' --yes-button Continue --no-button Cancel --yesno 'The MQTT broker Eclipse Mosquitto will be installed through the official repository, as desribed in: https://mosquitto.org/2013/01/mosquitto-debian-repository\n\nAdditionally you can activate username:password authentication.\n\nHEADS UP: Only proceed when you are aware that this will be in conflict with use of the MQTTv2 binding which will also be using the same ports.' 14 80
+ echo OK
OK
+ dpkg -s mosquitto mosquitto-clients
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2020-07-29_13:51:23_EEST [openHABian] Configuring MQTT... '
2020-07-29_13:51:23_EEST [openHABian] Configuring MQTT... + '[' -n 1 ']'
++ whiptail --title 'MQTT Authentication?' --inputbox '\nDo you want to secure your MQTT broker by a username:password combination? Every client will need to provide these upon connection.\n\nUsername will be '\''openhabian'\'', please provide a password (consisting of ASCII printable characters except space). Leave blank for no authentication, run setup again to change.' 14 80
+ mqttpasswd=openhabian
+ '[' openhabian '!=' '' ']'
+ grep -q password_file /etc/mosquitto/passwd /etc/mosquitto/mosquitto.conf
+ echo -n ''
+ cond_redirect mosquitto_passwd -b /etc/mosquitto/passwd openhabian openhabian
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ mosquitto_passwd -b /etc/mosquitto/passwd openhabian openhabian \033[39;49;00m'

$ mosquitto_passwd -b /etc/mosquitto/passwd openhabian openhabian
+ mosquitto_passwd -b /etc/mosquitto/passwd openhabian openhabian
/opt/openhabian/functions/helpers.bash: line 31: mosquitto_passwd: command not found
+ return 127
+ echo FAILED
FAILED
+ return 1
+ '[' 1 -ne 0 ']'
+ whiptail --msgbox 'There was an error or interruption during the execution of:\n  "20 | Optional Components"\n\nPlease try again. If the error persists, please read /opt/openhabian/docs/openhabian-DEBUG.md or https://github.com/openhab/openhabian/blob/master/docs/openhabian-DEBUG.md how to proceed.' 14 80
+ return 0
+ true
+ show_main_menu
+++ get_git_revision
+++ local branch shorthash revcount latesttag
++++ git -C /opt/openhabian rev-parse --abbrev-ref HEAD
+++ branch=stable
++++ git -C /opt/openhabian log --pretty=format:%h -n 1
+++ shorthash=07f084d
++++ git -C /opt/openhabian log --oneline
++++ wc -l
+++ revcount=723
++++ git -C /opt/openhabian describe --tags --abbrev=0
+++ latesttag=patchday-20200715
+++ echo '[stable]patchday-20200715-723(07f084d)'
++ whiptail --title 'Welcome to the openHABian Configuration Tool [stable]patchday-20200715-723(07f084d)' --menu 'Setup Options' 20 116 13 --cancel-button Exit --ok-button Execute '00 | About openHABian' 'Information about the openHABian project and this tool' '' '' '01 | Select Branch' 'Select the openHABian config tool version ("branch") to run' '02 | Upgrade System' 'Upgrade all installed software packages (incl. openHAB) to their latest version' '03 | openHAB Stable' 'Install or upgrade to the latest stable release of openHAB 2' '' '' '10 | Apply Improvements' 'Apply the latest improvements to the basic openHABian setup β–Ί' '20 | Optional Components' 'Choose from a set of optional software components β–Ί' '30 | System Settings' 'A range of system and hardware related configuration steps β–Ί' '40 | openHAB related' 'Switch the installed openHAB version or apply tweaks β–Ί' '50 | Backup/Restore' 'Manage backups and restore your system β–Ί' '' '' '60 | Manual/Fresh Setup' 'Go through all openHABian setup steps manually β–Ί'
+ choice=
+ RET=1
+ '[' 1 -eq 1 ']'
+ return 255
+ system_check_default_password
+ introtext='The default password was detected on your system! That'\''s a serious security concern. Others or malicious programs in your subnet are able to gain root access!
  \nPlease set a strong password by typing the command '\''passwd'\''!'
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2020-07-29_13:51:36_EEST [openHABian] Checking for default openHABian username:password combination... '
2020-07-29_13:51:36_EEST [openHABian] Checking for default openHABian username:password combination... + is_pi
+ is_pizero
+ [[ '' == \p\i\0 ]]
+ grep -q '^Revision\s*:\s*[ 123][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]09[0-9a-fA-F]$' /proc/cpuinfo
+ return 1
+ is_pizerow
+ [[ '' == \p\i\0\w ]]
+ grep -q '^Revision\s*:\s*[ 123][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]0[cC][0-9a-fA-F]$' /proc/cpuinfo
+ return 1
+ is_pione
+ [[ '' == \p\i\1 ]]
+ grep -q '^Revision\s*:\s*00[0-9a-fA-F][0-9a-fA-F]$' /proc/cpuinfo
+ grep -q '^Revision\s*:\s*[ 123][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]0[0-36][0-9a-fA-F]$' /proc/cpuinfo
+ return 1
+ is_cmone
+ [[ '' == \c\m\1 ]]
+ grep -q '^Revision\s*:\s*[ 123][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]06[0-9a-fA-F]$' /proc/cpuinfo
+ return 1
+ is_pitwo
+ [[ '' == \p\i\2 ]]
+ grep -q '^Revision\s*:\s*[ 123][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]04[0-9a-fA-F]$' /proc/cpuinfo
+ return 1
+ is_pithree
+ [[ '' == \p\i\3 ]]
+ grep -q '^Revision\s*:\s*[ 123][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]08[0-9a-fA-F]$' /proc/cpuinfo
+ return 1
+ is_cmthree
+ [[ '' == \c\m\3 ]]
+ grep -q '^Revision\s*:\s*[ 123][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]0[aA][0-9a-fA-F]$' /proc/cpuinfo
+ return 1
+ is_pithreeplus
+ [[ '' == \p\i\3\+ ]]
+ grep -q '^Revision\s*:\s*[ 123][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]0[dDeE][0-9a-fA-F]$' /proc/cpuinfo
+ return 1
+ is_cmthreeplus
+ [[ '' == \c\m\3\+ ]]
+ grep -q '^Revision\s*:\s*[ 123][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]10[0-9a-fA-F]$' /proc/cpuinfo
+ return 1
+ is_pifour
+ [[ '' == \p\i\4 ]]
+ grep -q '^Revision\s*:\s*[ 123][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]11[0-9a-fA-F]$' /proc/cpuinfo
+ return 0
+ return 0
+ id -u pi
+ is_pi
+ is_pizero
+ [[ '' == \p\i\0 ]]
+ grep -q '^Revision\s*:\s*[ 123][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]09[0-9a-fA-F]$' /proc/cpuinfo
+ return 1
+ is_pizerow
+ [[ '' == \p\i\0\w ]]
+ grep -q '^Revision\s*:\s*[ 123][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]0[cC][0-9a-fA-F]$' /proc/cpuinfo
+ return 1
+ is_pione
+ [[ '' == \p\i\1 ]]
+ grep -q '^Revision\s*:\s*00[0-9a-fA-F][0-9a-fA-F]$' /proc/cpuinfo
+ grep -q '^Revision\s*:\s*[ 123][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]0[0-36][0-9a-fA-F]$' /proc/cpuinfo
+ return 1
+ is_cmone
+ [[ '' == \c\m\1 ]]
+ grep -q '^Revision\s*:\s*[ 123][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]06[0-9a-fA-F]$' /proc/cpuinfo
+ return 1
+ is_pitwo
+ [[ '' == \p\i\2 ]]
+ grep -q '^Revision\s*:\s*[ 123][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]04[0-9a-fA-F]$' /proc/cpuinfo
+ return 1
+ is_pithree
+ [[ '' == \p\i\3 ]]
+ grep -q '^Revision\s*:\s*[ 123][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]08[0-9a-fA-F]$' /proc/cpuinfo
+ return 1
+ is_cmthree
+ [[ '' == \c\m\3 ]]
+ grep -q '^Revision\s*:\s*[ 123][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]0[aA][0-9a-fA-F]$' /proc/cpuinfo
+ return 1
+ is_pithreeplus
+ [[ '' == \p\i\3\+ ]]
+ grep -q '^Revision\s*:\s*[ 123][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]0[dDeE][0-9a-fA-F]$' /proc/cpuinfo
+ return 1
+ is_cmthreeplus
+ [[ '' == \c\m\3\+ ]]
+ grep -q '^Revision\s*:\s*[ 123][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]10[0-9a-fA-F]$' /proc/cpuinfo
+ return 1
+ is_pifour
+ [[ '' == \p\i\4 ]]
+ grep -q '^Revision\s*:\s*[ 123][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]11[0-9a-fA-F]$' /proc/cpuinfo
+ return 0
+ return 0
+ USERNAME=openhabian
+ PASSWORD=openhabian
+ id -u openhabian
++ grep -w openhabian /etc/shadow
++ cut -d: -f2
+ ORIGPASS='$6$Jo7bUhUpARccxroG$lUZg5keI84gm/RRPb3eRSbeGyxIi22EgoeGKibqvL7ck/LoQpbRpHa3ylLPehptStlSgHvQDeB5U8GdVk7Qfc.'
++ echo '$6$Jo7bUhUpARccxroG$lUZg5keI84gm/RRPb3eRSbeGyxIi22EgoeGKibqvL7ck/LoQpbRpHa3ylLPehptStlSgHvQDeB5U8GdVk7Qfc.'
++ cut '-d$' -f2
+ ALGO=6
++ echo '$6$Jo7bUhUpARccxroG$lUZg5keI84gm/RRPb3eRSbeGyxIi22EgoeGKibqvL7ck/LoQpbRpHa3ylLPehptStlSgHvQDeB5U8GdVk7Qfc.'
++ cut '-d$' -f3
+ SALT=Jo7bUhUpARccxroG
+ export PASSWORD ALGO SALT
++ perl -le 'print crypt("$ENV{PASSWORD}","\$$ENV{ALGO}\$$ENV{SALT}\$")'
+ GENPASS='$6$Jo7bUhUpARccxroG$lUZg5keI84gm/RRPb3eRSbeGyxIi22EgoeGKibqvL7ck/LoQpbRpHa3ylLPehptStlSgHvQDeB5U8GdVk7Qfc.'
+ '[' '$6$Jo7bUhUpARccxroG$lUZg5keI84gm/RRPb3eRSbeGyxIi22EgoeGKibqvL7ck/LoQpbRpHa3ylLPehptStlSgHvQDeB5U8GdVk7Qfc.' == '$6$Jo7bUhUpARccxroG$lUZg5keI84gm/RRPb3eRSbeGyxIi22EgoeGKibqvL7ck/LoQpbRpHa3ylLPehptStlSgHvQDeB5U8GdVk7Qfc.' ']'
+ '[' -n 1 ']'
+ whiptail --title 'Default Password Detected!' --msgbox 'The default password was detected on your system! That'\''s a serious security concern. Others or malicious programs in your subnet are able to gain root access!
  \nPlease set a strong password by typing the command '\''passwd'\''!' 12 70
+ echo FAILED
FAILED
++ timestamp
++ date +%F_%T_%Z
+ echo -e '2020-07-29_13:51:38_EEST [openHABian] We hope you got what you came for! See you again soon ;)'
2020-07-29_13:51:38_EEST [openHABian] We hope you got what you came for! See you again soon ;)
+ cd /home/openhabian
[13:51:38] openhabian@openhab:~$

I think was not activated.
I select Use ZRAM from openhabian-config and now i have this.

[14:07:00] openhabian@openhab:~$ zramctl
NAME       ALGORITHM DISKSIZE  DATA COMPR TOTAL STREAMS MOUNTPOINT
/dev/zram2 lzo-rle       500M 25.2M  218K  616K       4 /opt/zram/zram2
/dev/zram1 lzo-rle       500M 16.4M  7.1K   84K       4 /opt/zram/zram1
/dev/zram0 lzo-rle       600M    4K   87B   12K       4 [SWAP]

and i see the files to

[14:07:14] openhabian@openhab:~$ cd /opt/zram/zram2/upper
[14:10:19] openhabian@openhab:/opt/zram/zram2/upper$ ls -la
total 408
drwxr-xr-x  6 root    root              4096 Jul 29 13:49 .
drwxr-xr-x  5 root    root              4096 Jul 29 13:49 ..
-rw-rw----  1 root    adm              28502 Jul 29 14:09 auth.log
-rw-rw----  1 root    adm              10330 Jul 29 14:08 debug
drwxr-sr-x+ 3 root    systemd-journal   4096 Jul 28 20:44 journal
-rw-rw-r--  1 root    utmp            292292 Jul 29 14:06 lastlog
drwxrwxr-x+ 2 openhab openhab           4096 Jul 28 22:40 openhab2
drwxrwx---  2 root    root              4096 Jul 28 22:40 samba
drwxrwx---  2 root    root              4096 Jul 29 12:09 unattended-upgrades
-rw-rw-r--  1 root    utmp             18048 Jul 29 14:06 wtmp
[14:10:35] openhabian@openhab:/opt/zram/zram2/upper$

what is your hardware ? how did you install openhabian ?

I have Raspberry pi 4 2GB ram and SanDisk Extreme micro SD 32GB
I download the openhabian image file from here and i use Etcher

Now i install a fresh copy again - i want to see if zram is activated from default like you say

That is not the image download location. So again , how did you install ?

I install openhabian from here
If you press Latest openHABian System Image button from here you can go in the same place

This is my setup log:

Every 2.0s: cat /boot/first-boot.log                                                          openhab: Wed Jul 29 15:12:02 2020

2019-07-10_01:21:34_BST [openHABian] Starting the openHABian initial setup.
2019-07-10_01:21:34_BST [openHABian] Storing configuration... OK
2019-07-10_01:21:34_BST [openHABian] Starting webserver with installation log... OK
2019-07-10_01:21:39_BST [openHABian] Changing default username and password... OK
2019-07-10_01:21:40_BST [openHABian] Setting up Ethernet connection... OK
2019-07-10_01:21:40_BST [openHABian] Ensuring network connectivity... OK
2019-07-10_01:21:40_BST [openHABian] Waiting for dpkg/apt to get ready... OK
2020-07-29_12:50:56_BST [openHABian] Updating repositories and upgrading installed packages... OK
2020-07-29_12:54:58_BST [openHABian] Installing git package... OK
2020-07-29_12:55:12_BST [openHABian] Cloning myself... OK
2020-07-29_12:55:15_BST [openHABian] Executing 'openhabian-setup.sh unattended'...
2020-07-29_12:55:15_BST [openHABian] Checking for root privileges... OK
2020-07-29_12:55:15_BST [openHABian] Updating Linux package information... OK
2020-07-29_12:55:19_BST [openHABian] Loading configuration file '/etc/openhabian.conf'... OK
2020-07-29_12:55:19_BST [openHABian] Adjusting swap size to 3878 MB... OK (Reboot needed)
2020-07-29_12:55:19_BST [openHABian] Beginning setup of timezone based on IP geolocation... OK
2020-07-29_12:55:19_BST [openHABian] Installing Python for needed packages... OK
2020-07-29_12:55:47_BST [openHABian] Setting timezone based on IP geolocation... OK (Europe/Bucharest)
2020-07-29_14:55:51_EEST [openHABian] Enabling time synchronization using NTP... OK
2020-07-29_14:55:52_EEST [openHABian] Setting locale based on openhabian.conf... OK (Reboot needed)
2020-07-29_14:56:29_EEST [openHABian] Setting hostname of the base system based on openhabian.conf... OK
2020-07-29_14:56:29_EEST [openHABian] Setting the GPU memory split down to 16MB for headless system... OK
2020-07-29_14:56:29_EEST [openHABian] Enabling Audio output... OK
2020-07-29_14:56:30_EEST [openHABian] Installing basic can't-be-wrong packages (screen, vim, ...)... OK
2020-07-29_14:57:03_EEST [openHABian] Installing additional needed packages... OK
2020-07-29_14:57:19_EEST [openHABian] Installing additional bluetooth packages... OK
2020-07-29_14:57:38_EEST [openHABian] Adding slightly tuned bash configuration files to system... OK
2020-07-29_14:57:38_EEST [openHABian] Adding slightly tuned vim configuration file to system... OK
2020-07-29_14:57:38_EEST [openHABian] Installing FireMotD required packages (bc, sysstat, jq, moreutils)... OK
2020-07-29_14:57:45_EEST [openHABian] Downloading FireMotD... OK
2020-07-29_14:57:45_EEST [openHABian] Setting up FireMotD... OK
2020-07-29_14:58:27_EEST [openHABian] Generating FireMotD theme... OK
2020-07-29_14:58:30_EEST [openHABian] Setting up FireMotD apt updates count service... OK
2020-07-29_14:58:37_EEST [openHABian] Installing Java Zulu prerequisites (libc, libstdc++, zlib1g)... OK
2020-07-29_14:58:37_EEST [openHABian] Downloading Java Zulu 8 32-Bit OpenJDK... OK
2020-07-29_14:58:49_EEST [openHABian] Installing Java Zulu 8 32-Bit OpenJDK... OK
2020-07-29_14:58:49_EEST [openHABian] Installing Java Zulu CEK to enable unlimited cipher strength... OK
2020-07-29_14:58:50_EEST [openHABian] Beginning install of latest openHAB release (stable)... OK
2020-07-29_14:58:50_EEST [openHABian] Adding required keys to apt... OK
2020-07-29_14:58:56_EEST [openHABian] Installing selected openHAB version... OK
2020-07-29_14:59:38_EEST [openHABian] Setting up openHAB service... OK
2020-07-29_14:59:39_EEST [openHABian] Optimizing openHAB to run on low memory single board computers... OK
2020-07-29_14:59:39_EEST [openHABian] Adding delay on loading openHAB rules... OK
2020-07-29_15:01:40_EEST [openHABian] Adding an openHAB dashboard tile for 'openhabiandocs'... OK
2020-07-29_15:01:40_EEST [openHABian] Adding openHAB syntax to vim editor... OK
2020-07-29_15:01:41_EEST [openHABian] Adding openHAB syntax to nano editor... OK
2020-07-29_15:01:42_EEST [openHABian] Adding openHAB scheme to multitail... OK
2020-07-29_15:01:42_EEST [openHABian] Preparing openHAB folder mounts under '/srv/openhab2-*'... OK
2020-07-29_15:01:47_EEST [openHABian] Applying miscellaneous system settings... OK
2020-07-29_15:01:47_EEST [openHABian] Installing Samba... OK
2020-07-29_15:02:26_EEST [openHABian] Setting up Samba network shares... OK
2020-07-29_15:02:26_EEST [openHABian] Setting up Samba service... OK
2020-07-29_15:02:28_EEST [openHABian] Applying file permissions recommendations... OK
2020-07-29_15:02:31_EEST [openHABian] Installing Frontail prerequsites (NodeJS)... OK
2020-07-29_15:02:54_EEST [openHABian] Installing openHAB Log Viewer (frontail)... OK
2020-07-29_15:03:14_EEST [openHABian] Configuring openHAB Log Viewer (frontail)... OK
2020-07-29_15:03:14_EEST [openHABian] Setting up openHAB Log Viewer (frontail) service... OK
2020-07-29_15:03:15_EEST [openHABian] Adding an openHAB dashboard tile for 'frontail'... OK
2020-07-29_15:03:22_EEST [openHABian] Installing ZRAM... OK
2020-07-29_15:03:34_EEST [openHABian] Cleaning up... OK
2020-07-29_15:05:43_EEST [openHABian] Execution of 'openhabian-setup.sh unattended' completed.
2020-07-29_15:05:43_EEST [openHABian] Waiting for openHAB to become ready...OK
2020-07-29_15:05:43_EEST [openHABian] Visit the openHAB dashboard now: http://openhab:8080
2020-07-29_15:05:43_EEST [openHABian] To gain access to a console, simply reconnect.
2020-07-29_15:05:43_EEST [openHABian] First time setup successfully finished.

Yes let me know please. Eventually check journalctl -xu zram-config if zramctl gives no output.
Mosquitto you would need to uninstall (apt-get purge mosquitto mosquitto-clients) before reinstall.

              Welcome to            __  _____    ____  _
            ____  ____  ___  ____  / / / /   |  / __ )(_)___ _____
           / __ \/ __ \/ _ \/ __ \/ /_/ / /| | / __  / / __ `/ __ \
          / /_/ / /_/ /  __/ / / / __  / ___ |/ /_/ / / /_/ / / / /
          \____/ .___/\___/_/ /_/_/ /_/_/  |_/_____/_/\__,_/_/ /_/
              /_/
                  openHAB 2.5.7-1 (Release Build)


Looking for a place to get started? Check out 'sudo openhabian-config' and the
documentation at https://www.openhab.org/docs/installation/openhabian.html
The openHAB dashboard can be reached at http://openhab:8080
To interact with openHAB on the command line, execute: 'openhab-cli --help'

[15:13:55] openhabian@openhab:~$ zramctl
[15:14:45] openhabian@openhab:~$
[15:16:50] openhabian@openhab:~$ journalctl -xu zram
-- Logs begin at Wed 2020-07-29 14:50:30 EEST, end at Wed 2020-07-29 15:17:01 EE
-- No entries --
[15:18:03] openhabian@openhab:~$ zram-config
+ ZSHARE=/usr/local/share/zram-config
+ ZLOG=/usr/local/share/zram-config/log/zram-config.log
+ ZDIR=/opt/zram
+ [[ -f /boot/cmdline.txt ]]
+ grep -q init=/bin/ro-root.sh /boot/cmdline.txt
+ ZEPHEMERAL=false
+ case "$1" in
+ echo 'Usage: zram-config {start|stop|sync|enable-ephemeral|disable-ephemeral}'
Usage: zram-config {start|stop|sync|enable-ephemeral|disable-ephemeral}
+ exit 1
[15:18:08] openhabian@openhab:~$

I need to go on openhabian-config / system settings and select [38] Use Zram first?
I need to (apt-get purge mosquitto mosquitto-clients) even if I have now installed a fresh copy and no mqtt broker is installed?

no it is journalctl -xu zram-config
And show /boot/first-boot.log please.
If that does not give any hint could you reinstall with debugging enabled please so we can find out why it’s missing?
Set debugmode=maximum in /boot/openhabian.conf (right, not in /etc)
and rm -f /opt/openHABian-install-successful; reboot to reinstall

You could but we need to find out why it’s missing and what else has gone wrong.

No

[15:26:13] openhabian@openhab:~$ journalctl -xu zram-config
-- Logs begin at Wed 2020-07-29 14:50:30 EEST, end at Wed 2020-07-29 15:45:01 EEST. --
Jul 29 15:03:33 openhab systemd[1]: Starting zram-config...
-- Subject: A start job for unit zram-config.service has begun execution
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A start job for unit zram-config.service has begun execution.
--
-- The job identifier is 1729.
Jul 29 15:03:33 openhab zram-config[28964]: + ZSHARE=/usr/local/share/zram-config
Jul 29 15:03:33 openhab zram-config[28964]: + ZLOG=/usr/local/share/zram-config/log/zram-co
Jul 29 15:03:33 openhab zram-config[28964]: + ZDIR=/opt/zram
Jul 29 15:03:33 openhab zram-config[28964]: + [[ -f /boot/cmdline.txt ]]
Jul 29 15:03:33 openhab zram-config[28964]: + grep -q init=/bin/ro-root.sh /boot/cmdline.tx
Jul 29 15:03:33 openhab zram-config[28964]: + ZEPHEMERAL=false
Jul 29 15:03:33 openhab zram-config[28964]: + case "$1" in
Jul 29 15:03:33 openhab zram-config[28964]: ++ date +%Y-%m-%d-%H:%M:%S
Jul 29 15:03:33 openhab zram-config[28964]: + echo 'zram-config start 2020-07-29-15:03:33'
Jul 29 15:03:33 openhab zram-config[28964]: + rm -f /usr/local/share/zram-config/zram-devic
Jul 29 15:03:33 openhab zram-config[28964]: + file=/etc/ztab
Jul 29 15:03:33 openhab zram-config[28964]: + ZTAB_EMPTY=true
Jul 29 15:03:33 openhab zram-config[28964]: + read -r line
Jul 29 15:03:33 openhab zram-config[28964]: + case "$line" in
Jul 29 15:03:33 openhab zram-config[28964]: + continue
Jul 29 15:03:33 openhab zram-config[28964]: + read -r line
Jul 29 15:03:33 openhab zram-config[28964]: + case "$line" in
Jul 29 15:03:33 openhab zram-config[28964]: + continue
Jul 29 15:03:33 openhab zram-config[28964]: + read -r line
Jul 29 15:03:33 openhab zram-config[28964]: + case "$line" in
Jul 29 15:03:33 openhab zram-config[28964]: + continue
Jul 29 15:03:33 openhab zram-config[28964]: + read -r line
Jul 29 15:03:33 openhab zram-config[28964]: + case "$line" in
Jul 29 15:03:33 openhab zram-config[28964]: + continue
lines 1-33...skipping...
-- Logs begin at Wed 2020-07-29 14:50:30 EEST, end at Wed 2020-07-29 15:45:01 EEST. --
Jul 29 15:03:33 openhab systemd[1]: Starting zram-config...
-- Subject: A start job for unit zram-config.service has begun execution
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A start job for unit zram-config.service has begun execution.
--
-- The job identifier is 1729.
Jul 29 15:03:33 openhab zram-config[28964]: + ZSHARE=/usr/local/share/zram-config
Jul 29 15:03:33 openhab zram-config[28964]: + ZLOG=/usr/local/share/zram-config/log/zram-co
Jul 29 15:03:33 openhab zram-config[28964]: + ZDIR=/opt/zram
Jul 29 15:03:33 openhab zram-config[28964]: + [[ -f /boot/cmdline.txt ]]
Jul 29 15:03:33 openhab zram-config[28964]: + grep -q init=/bin/ro-root.sh /boot/cmdline.tx
Jul 29 15:03:33 openhab zram-config[28964]: + ZEPHEMERAL=false
Jul 29 15:03:33 openhab zram-config[28964]: + case "$1" in
Jul 29 15:03:33 openhab zram-config[28964]: ++ date +%Y-%m-%d-%H:%M:%S
Jul 29 15:03:33 openhab zram-config[28964]: + echo 'zram-config start 2020-07-29-15:03:33'
Jul 29 15:03:33 openhab zram-config[28964]: + rm -f /usr/local/share/zram-config/zram-devic
Jul 29 15:03:33 openhab zram-config[28964]: + file=/etc/ztab
Jul 29 15:03:33 openhab zram-config[28964]: + ZTAB_EMPTY=true
Jul 29 15:03:33 openhab zram-config[28964]: + read -r line
Jul 29 15:03:33 openhab zram-config[28964]: + case "$line" in
Jul 29 15:03:33 openhab zram-config[28964]: + continue
Jul 29 15:03:33 openhab zram-config[28964]: + read -r line
Jul 29 15:03:33 openhab zram-config[28964]: + case "$line" in
Jul 29 15:03:33 openhab zram-config[28964]: + continue
Jul 29 15:03:33 openhab zram-config[28964]: + read -r line
Jul 29 15:03:33 openhab zram-config[28964]: + case "$line" in
Jul 29 15:03:33 openhab zram-config[28964]: + continue
Jul 29 15:03:33 openhab zram-config[28964]: + read -r line
Jul 29 15:03:33 openhab zram-config[28964]: + case "$line" in
Jul 29 15:03:33 openhab zram-config[28964]: + continue
Jul 29 15:03:33 openhab zram-config[28964]: + read -r line
Jul 29 15:03:33 openhab zram-config[28964]: + case "$line" in
Jul 29 15:03:33 openhab zram-config[28964]: + continue
Jul 29 15:03:33 openhab zram-config[28964]: + read -r line
Jul 29 15:03:33 openhab zram-config[28964]: + case "$line" in
Jul 29 15:03:33 openhab zram-config[28964]: + continue
Jul 29 15:03:33 openhab zram-config[28964]: + read -r line
Jul 29 15:03:33 openhab zram-config[28964]: + case "$line" in
Jul 29 15:03:33 openhab zram-config[28964]: + continue
Jul 29 15:03:33 openhab zram-config[28964]: + read -r line
Jul 29 15:03:33 openhab zram-config[28964]: + case "$line" in
Jul 29 15:03:33 openhab zram-config[28964]: + continue
Jul 29 15:03:33 openhab zram-config[28964]: + read -r line
Jul 29 15:03:33 openhab zram-config[28964]: + case "$line" in
Jul 29 15:03:33 openhab zram-config[28964]: + continue
Jul 29 15:03:33 openhab zram-config[28964]: + read -r line
Jul 29 15:03:33 openhab zram-config[28964]: + case "$line" in
Jul 29 15:03:33 openhab zram-config[28964]: + continue
Jul 29 15:03:33 openhab zram-config[28964]: + read -r line
Jul 29 15:03:33 openhab zram-config[28964]: + case "$line" in
Jul 29 15:03:33 openhab zram-config[28964]: + continue
Jul 29 15:03:33 openhab zram-config[28964]: + read -r line
Jul 29 15:03:33 openhab zram-config[28964]: + case "$line" in
Jul 29 15:03:33 openhab zram-config[28964]: + continue
lines 1-57...skipping...
-- Logs begin at Wed 2020-07-29 14:50:30 EEST, end at Wed 2020-07-29 15:45:01 EEST. --
Jul 29 15:03:33 openhab systemd[1]: Starting zram-config...
-- Subject: A start job for unit zram-config.service has begun execution
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A start job for unit zram-config.service has begun execution.
--
-- The job identifier is 1729.
Jul 29 15:03:33 openhab zram-config[28964]: + ZSHARE=/usr/local/share/zram-config
Jul 29 15:03:33 openhab zram-config[28964]: + ZLOG=/usr/local/share/zram-config/log/zram-co
Jul 29 15:03:33 openhab zram-config[28964]: + ZDIR=/opt/zram
Jul 29 15:03:33 openhab zram-config[28964]: + [[ -f /boot/cmdline.txt ]]
Jul 29 15:03:33 openhab zram-config[28964]: + grep -q init=/bin/ro-root.sh /boot/cmdline.tx
Jul 29 15:03:33 openhab zram-config[28964]: + ZEPHEMERAL=false
Jul 29 15:03:33 openhab zram-config[28964]: + case "$1" in
Jul 29 15:03:33 openhab zram-config[28964]: ++ date +%Y-%m-%d-%H:%M:%S
Jul 29 15:03:33 openhab zram-config[28964]: + echo 'zram-config start 2020-07-29-15:03:33'
Jul 29 15:03:33 openhab zram-config[28964]: + rm -f /usr/local/share/zram-config/zram-devic
Jul 29 15:03:33 openhab zram-config[28964]: + file=/etc/ztab
Jul 29 15:03:33 openhab zram-config[28964]: + ZTAB_EMPTY=true
Jul 29 15:03:33 openhab zram-config[28964]: + read -r line
Jul 29 15:03:33 openhab zram-config[28964]: + case "$line" in
Jul 29 15:03:33 openhab zram-config[28964]: + continue
Jul 29 15:03:33 openhab zram-config[28964]: + read -r line
Jul 29 15:03:33 openhab zram-config[28964]: + case "$line" in
Jul 29 15:03:33 openhab zram-config[28964]: + continue
Jul 29 15:03:33 openhab zram-config[28964]: + read -r line
Jul 29 15:03:33 openhab zram-config[28964]: + case "$line" in
Jul 29 15:03:33 openhab zram-config[28964]: + continue
Jul 29 15:03:33 openhab zram-config[28964]: + read -r line
Jul 29 15:03:33 openhab zram-config[28964]: + case "$line" in
Jul 29 15:03:33 openhab zram-config[28964]: + continue
Jul 29 15:03:33 openhab zram-config[28964]: + read -r line
Jul 29 15:03:33 openhab zram-config[28964]: + case "$line" in
Jul 29 15:03:33 openhab zram-config[28964]: + continue
Jul 29 15:03:33 openhab zram-config[28964]: + read -r line
Jul 29 15:03:33 openhab zram-config[28964]: + case "$line" in
Jul 29 15:03:33 openhab zram-config[28964]: + continue
Jul 29 15:03:33 openhab zram-config[28964]: + read -r line
Jul 29 15:03:33 openhab zram-config[28964]: + case "$line" in
Jul 29 15:03:33 openhab zram-config[28964]: + continue
Jul 29 15:03:33 openhab zram-config[28964]: + read -r line
Jul 29 15:03:33 openhab zram-config[28964]: + case "$line" in
Jul 29 15:03:33 openhab zram-config[28964]: + continue
Jul 29 15:03:33 openhab zram-config[28964]: + read -r line
Jul 29 15:03:33 openhab zram-config[28964]: + case "$line" in
Jul 29 15:03:33 openhab zram-config[28964]: + continue
Jul 29 15:03:33 openhab zram-config[28964]: + read -r line
Jul 29 15:03:33 openhab zram-config[28964]: + case "$line" in
Jul 29 15:03:33 openhab zram-config[28964]: + continue
Jul 29 15:03:33 openhab zram-config[28964]: + read -r line
Jul 29 15:03:33 openhab zram-config[28964]: + case "$line" in
Jul 29 15:03:33 openhab zram-config[28964]: + continue
Jul 29 15:03:33 openhab zram-config[28964]: + read -r line
Jul 29 15:03:33 openhab zram-config[28964]: + case "$line" in
Jul 29 15:03:33 openhab zram-config[28964]: + continue
Jul 29 15:03:33 openhab zram-config[28964]: + read -r line
Jul 29 15:03:33 openhab zram-config[28964]: + case "$line" in
Jul 29 15:03:33 openhab zram-config[28964]: + continue
Jul 29 15:03:33 openhab zram-config[28964]: + read -r line
Jul 29 15:03:33 openhab zram-config[28964]: + case "$line" in
Jul 29 15:03:33 openhab zram-config[28964]: + continue
Jul 29 15:03:33 openhab zram-config[28964]: + read -r line
Jul 29 15:03:33 openhab zram-config[28964]: + case "$line" in
Jul 29 15:03:33 openhab zram-config[28964]: + continue
Jul 29 15:03:33 openhab zram-config[28964]: + read -r line
Jul 29 15:03:33 openhab zram-config[28964]: + case "$line" in
Jul 29 15:03:33 openhab zram-config[28964]: + continue
Jul 29 15:03:33 openhab zram-config[28964]: + read -r line
Jul 29 15:03:33 openhab zram-config[28964]: + case "$line" in
Jul 29 15:03:33 openhab zram-config[28964]: + continue

First boot log:

[15:50:55] openhabian@openhab:~$ sudo nano /boot/first-boot.log
[sudo] password for openhabian:
  GNU nano 3.2                       /boot/first-boot.log

2019-07-10_01:21:34_BST [openHABian] Starting the openHABian initial setup.
2019-07-10_01:21:34_BST [openHABian] Storing configuration... OK
2019-07-10_01:21:34_BST [openHABian] Starting webserver with installation log... OK
2019-07-10_01:21:39_BST [openHABian] Changing default username and password... OK
2019-07-10_01:21:40_BST [openHABian] Setting up Ethernet connection... OK
2019-07-10_01:21:40_BST [openHABian] Ensuring network connectivity... OK
2019-07-10_01:21:40_BST [openHABian] Waiting for dpkg/apt to get ready... OK
2020-07-29_12:50:56_BST [openHABian] Updating repositories and upgrading installed package$
2020-07-29_12:54:58_BST [openHABian] Installing git package... OK
2020-07-29_12:55:12_BST [openHABian] Cloning myself... OK
2020-07-29_12:55:15_BST [openHABian] Executing 'openhabian-setup.sh unattended'...
2020-07-29_12:55:15_BST [openHABian] Checking for root privileges... OK
2020-07-29_12:55:15_BST [openHABian] Updating Linux package information... OK
2020-07-29_12:55:19_BST [openHABian] Loading configuration file '/etc/openhabian.conf'... $
2020-07-29_12:55:19_BST [openHABian] Adjusting swap size to 3878 MB... OK (Reboot needed)
2020-07-29_12:55:19_BST [openHABian] Beginning setup of timezone based on IP geolocation..$
2020-07-29_12:55:19_BST [openHABian] Installing Python for needed packages... OK
2020-07-29_12:55:47_BST [openHABian] Setting timezone based on IP geolocation... OK (Europ$
2020-07-29_14:55:51_EEST [openHABian] Enabling time synchronization using NTP... OK
2020-07-29_14:55:52_EEST [openHABian] Setting locale based on openhabian.conf... OK (Reboo$
2020-07-29_14:56:29_EEST [openHABian] Setting hostname of the base system based on openhab$
2020-07-29_14:56:29_EEST [openHABian] Setting the GPU memory split down to 16MB for headle$
2020-07-29_14:56:29_EEST [openHABian] Enabling Audio output... OK
2020-07-29_14:56:30_EEST [openHABian] Installing basic can't-be-wrong packages (screen, vi$
2020-07-29_14:57:03_EEST [openHABian] Installing additional needed packages... OK
2020-07-29_14:57:19_EEST [openHABian] Installing additional bluetooth packages... OK
2020-07-29_14:57:38_EEST [openHABian] Adding slightly tuned bash configuration files to sy$
2020-07-29_14:57:38_EEST [openHABian] Adding slightly tuned vim configuration file to syst$
2020-07-29_14:57:38_EEST [openHABian] Installing FireMotD required packages (bc, sysstat, $
2020-07-29_14:57:45_EEST [openHABian] Downloading FireMotD... OK
2020-07-29_14:57:45_EEST [openHABian] Setting up FireMotD... OK
2020-07-29_14:58:27_EEST [openHABian] Generating FireMotD theme... OK
2020-07-29_14:58:30_EEST [openHABian] Setting up FireMotD apt updates count service... OK
2020-07-29_14:58:37_EEST [openHABian] Installing Java Zulu prerequisites (libc, libstdc++,$
2020-07-29_14:58:37_EEST [openHABian] Downloading Java Zulu 8 32-Bit OpenJDK... OK
2020-07-29_14:58:49_EEST [openHABian] Installing Java Zulu 8 32-Bit OpenJDK... OK
2020-07-29_14:58:49_EEST [openHABian] Installing Java Zulu CEK to enable unlimited cipher $
2020-07-29_14:58:50_EEST [openHABian] Beginning install of latest openHAB release (stable)$
2020-07-29_14:58:50_EEST [openHABian] Adding required keys to apt... OK
2020-07-29_14:58:56_EEST [openHABian] Installing selected openHAB version... OK
2020-07-29_14:59:38_EEST [openHABian] Setting up openHAB service... OK
2020-07-29_14:59:39_EEST [openHABian] Optimizing openHAB to run on low memory single board$
2020-07-29_14:59:39_EEST [openHABian] Adding delay on loading openHAB rules... OK
2020-07-29_15:01:40_EEST [openHABian] Adding an openHAB dashboard tile for 'openhabiandocs$
2020-07-29_15:01:40_EEST [openHABian] Adding openHAB syntax to vim editor... OK
2020-07-29_15:01:41_EEST [openHABian] Adding openHAB syntax to nano editor... OK
2020-07-29_15:01:42_EEST [openHABian] Adding openHAB scheme to multitail... OK
2020-07-29_15:01:42_EEST [openHABian] Preparing openHAB folder mounts under '/srv/openhab2$
2020-07-29_15:01:47_EEST [openHABian] Applying miscellaneous system settings... OK
2020-07-29_15:01:47_EEST [openHABian] Installing Samba... OK
2020-07-29_15:02:26_EEST [openHABian] Setting up Samba network shares... OK
2020-07-29_15:02:26_EEST [openHABian] Setting up Samba service... OK
2020-07-29_15:02:28_EEST [openHABian] Applying file permissions recommendations... OK
2020-07-29_15:02:31_EEST [openHABian] Installing Frontail prerequsites (NodeJS)... OK
2020-07-29_15:02:54_EEST [openHABian] Installing openHAB Log Viewer (frontail)... OK
2020-07-29_15:03:14_EEST [openHABian] Configuring openHAB Log Viewer (frontail)... OK
2020-07-29_15:03:14_EEST [openHABian] Setting up openHAB Log Viewer (frontail) service... $
2020-07-29_15:03:15_EEST [openHABian] Adding an openHAB dashboard tile for 'frontail'... OK
2020-07-29_15:03:22_EEST [openHABian] Installing ZRAM... OK
2020-07-29_15:03:34_EEST [openHABian] Cleaning up... OK
2020-07-29_15:05:43_EEST [openHABian] Execution of 'openhabian-setup.sh unattended' comple$
2020-07-29_15:05:43_EEST [openHABian] Waiting for openHAB to become ready...OK
2020-07-29_15:05:43_EEST [openHABian] Visit the openHAB dashboard now: http://openhab:8080
2020-07-29_15:05:43_EEST [openHABian] To gain access to a console, simply reconnect.
2020-07-29_15:05:43_EEST [openHABian] First time setup successfully finished.

# Modify your openHABian settings
# Handle with care, only touch if you need to!!

hostname=openhab
username=openhabian
userpw=openhabian

# Language and time. Be sure to set these to valid values
timeserver=0.pool.ntp.org
locales="en_US.UTF-8 de_DE.UTF-8"
system_default_locale="en_US.UTF-8"
#timezone=Europe/Berlin

# Wi-Fi settings. An ethernet connection is recommended
# Requirement: RPi3, RPi0W, PineA64 or a supported external Wi-Fi dongle
# Fill in your SSID and password below, leave empty to use ethernet
wifi_ssid=""
wifi_psk=""

# Wi-Fi setting. Select a two-letter country code suitable for your location
# E.g. US (default), DE, AU, NZ...
# You may infringe on local legislature otherwise
# See https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 or /usr/share/zoneinfo/zone.tab
wifi_country=""

# vim: filetype=sh
debugmode=maximum
[15:58:16] openhabian@openhab:~$ rm -f /opt/openHABian-install-successful
[15:58:33] openhabian@openhab:~$

After reboot:

            Welcome to            __  _____    ____  _
            ____  ____  ___  ____  / / / /   |  / __ )(_)___ _____
           / __ \/ __ \/ _ \/ __ \/ /_/ / /| | / __  / / __ `/ __ \
          / /_/ / /_/ /  __/ / / / __  / ___ |/ /_/ / / /_/ / / / /
          \____/ .___/\___/_/ /_/_/ /_/_/  |_/_____/_/\__,_/_/ /_/
              /_/
                  openHAB 2.5.7-1 (Release Build)


Looking for a place to get started? Check out 'sudo openhabian-config' and the
documentation at https://www.openhab.org/docs/installation/openhabian.html
The openHAB dashboard can be reached at http://openhab:8080
To interact with openHAB on the command line, execute: 'openhab-cli --help'

[16:00:19] openhabian@openhab:~$ zramctl
NAME       ALGORITHM DISKSIZE  DATA COMPR TOTAL STREAMS MOUNTPOINT
/dev/zram2 lzo-rle       500M 24.8M 71.7K  384K       4 /opt/zram/zram2
/dev/zram1 lzo-rle       500M 16.4M  7.1K   96K       4 /opt/zram/zram1
/dev/zram0 lzo-rle       600M    4K   87B   12K       4 [SWAP]
[16:08:36] openhabian@openhab:~$