openHABian upgrade hangs need to press Enter

The exact same thing happened to me, but after waiting for awhile I just pressed Enter and it happened to work.

Still the same here. Quite reliable.

What version of openHABian are you using, additionally what system are you running (eg RPi 3)? I just tested on my end and it worked the way it was supposed to without requiring user input.

As a debugging step can you try and see if it happens when you have debug mode turned on?

You can turn debug mode on by editing /etc/openhabian.conf and changing the line debugmode=off to debugmode=on and then running the system upgrade command from sudo openhabian-config.

As a second thought, it might be related to FireMotD, we changed the installation process for FireMotD a few months ago and may have potentially fixed a problem if there was one. You could try using sudo openhabian-config menu option 15 to reinstall FireMotD before playing with debugging settings to see if that fixes the problem.

Iā€™m using [stable]patchday-20210119-1116(5e807c0). No updates available [to openHABian].

To clarify, I had the same problem as @Rbartlett, with it hanging at ā€œUpdating FireMotD available updates countā€. Iā€™ll be on whatever the latest stable openHABian build is.

Iā€™ll try running menu option 15 to see if it happens again. Does that execute the same process as the system upgrade?

1 Like

No menu option 15 will just reinstall FireMotD, then try running the system upgrade again.

After having run menu option 15 i selected the menu option to do an update and

2021-04-30_22:14:50_CEST [openHABian] Updating Linux package information... OK
Paketlisten werden gelesen... Fertig] Updating repositories and upgrading installed packages...
AbhƤngigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Paketaktualisierung (Upgrade) wird berechnet... Fertig
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.

system is waiting for a keypress here. Pressing >return< gives me

OK

and iā€™m back at openhabian-config.

You are on the openHAB 2 branch of openHABian, which is no longer supported or updated. I believe that the issue you are observing has been fixed in the openHAB3 and main branches which have been built to support OH3.

I am on 2, thatā€™s true. Sorry to mix up with Russ & Rodneys issues.

Fine with me, if itā€™s fixed in v3.

EDIT: running with debugmode=on gave me an update of jdk.
I stop playing with this now, as there is ā€œno hopeā€ for 2.5 anymore.

Okay, I ran option 15, which executed and then took me back to the config menu.

2021-04-30_15:47:53_PDT [openHABian] Checking for root privileges... OK
2021-04-30_15:47:54_PDT [openHABian] Loading configuration file '/etc/openhabian.conf'... OK
2021-04-30_15:47:54_PDT [openHABian] openHABian configuration tool version: [openHAB3]patchday-20210316-1251(9334918)
2021-04-30_15:47:54_PDT [openHABian] Checking for changes in origin branch openHAB3... OK
2021-04-30_15:47:55_PDT [openHABian] Switching to branch openHAB3... OK
2021-04-30_15:48:01_PDT [openHABian] Updating Linux package information... OK
2021-04-30_15:48:02_PDT [openHABian] Downloading FireMotD... OK
2021-04-30_15:48:13_PDT [openHABian] Installing FireMotD... OK
2021-04-30_15:48:13_PDT [openHABian] Generating FireMotD theme... OK
2021-04-30_15:48:34_PDT [openHABian] Setting up FireMotD apt updates count service... OK

Then I ran the system upgrade again. Same as before, it hangs until I press Enter.

2021-04-30_15:48:57_PDT [openHABian] Updating Linux package information... OK
2021-04-30_15:48:57_PDT [openHABian] Updating repositories and upgrading installed packages...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  rpi-eeprom
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 489 kB of archives.
After this operation, 1,582 kB of additional disk space will be used.
Get:1 http://archive.raspberrypi.org/debian buster/main armhf rpi-eeprom armhf 12.3-1 [489 kB]
Fetched 489 kB in 1s (419 kB/s)
apt-listchanges: Reading changelogs...
(Reading database ... 53880 files and directories currently installed.)
Preparing to unpack .../rpi-eeprom_12.3-1_armhf.deb ...
Unpacking rpi-eeprom (12.3-1) over (12.1-1) ...
Setting up rpi-eeprom (12.3-1) ...
Processing triggers for man-db (2.8.5-2) ...
Updating FireMotD available updates count ...

Iā€™m using Putty to SSH into my RPi, and I notice now that the cursor jumps to the next line. It just doesnā€™t go back to the config menu.

image

Hmmm, Iā€™m at a loss on this one, it works fine on my system and you are on the latest version. You could try using a different ssh client and see if maybe that is the issue.

Set debugmode=maximum in /etc/openhabian.conf and redo please.

Thing is this happens whenever a (non-OH) package needs to be upgraded on your system and requires input (it should not with the options we call it but some packages are broken in this regard), but once it is upgraded you often cannot reproduce the issue because it now has the latest version so the pre/postinstall scripts that come with a package are not executed any more on next execution.

Look for lines in the code to do apt-get install ... and if there is a cond_redirect in front of it then remove it, then run the function again.
(you can edit /opt/openhabian/functions/*.bash, this lasts until you update openHABian).

My previous update was on my RPI4 main server. I did it again this morning on an RPI3 b+ remote server. Once again updating from 3.0.1 to 3.0.2.
I ran option 15 as requested and then ran option 2 to do the update. Below is the capture, but once again I had to hit OK to get it to go back to the menu after the update.

Using username "openhabian".
openhabian@192.168.1.6's password:
Linux openhab6 5.10.17-v7+ #1403 SMP Mon Feb 22 11:29:51 GMT 2021 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sat May  1 09:58:15 2021 from 192.168.1.14

###############################################################################
###############  openhab6  ####################################################
###############################################################################
##        Ip = 192.168.1.6
##   Release = Raspbian GNU/Linux 10 (buster)
##    Kernel = Linux 5.10.17-v7+
##  Platform = Raspberry Pi 3 Model B Rev 1.2
##    Uptime = 0 day(s). 0:11:31
## CPU Usage = 1.53% avg over 4 cpu(s) (4 core(s) x 1 socket(s))
##  CPU Load = 1m: 0.31, 5m: 0.24, 15m: 0.19
##    Memory = Free: 0.36GB (39%), Used: 0.58GB (61%), Total: 0.95GB
##      Swap = Free: 2.00GB (100%), Used: 0.00GB (0%), Total: 2.00GB
##      Root = Free: 9.21GB (67%), Used: 4.48GB (33%), Total: 14.32GB
##   Updates = 52 apt updates available.
##  Sessions = 1 session(s)
## Processes = 115 running processes of 32768 maximum processes
###############################################################################

                          _   _     _     ____   _
  ___   ___   ___   ___  | | | |   / \   | __ ) (_)  ____   ___
 / _ \ / _ \ / _ \ / _ \ | |_| |  / _ \  |  _ \ | | / _  \ / _ \
| (_) | (_) |  __/| | | ||  _  | / ___ \ | |_) )| || (_) || | | |
 \___/|  __/ \___/|_| |_||_| |_|/_/   \_\|____/ |_| \__|_||_| | |
      |_|                          3.0.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://openhab6:8080
To interact with openHAB on the command line, execute: 'openhab-cli --help'

openhabian@openhab6:~ $ sudo openhabian-config
[sudo] password for openhabian:
2021-05-01_10:43:48_CDT [openHABian] Checking for root privileges... OK
2021-05-01_10:43:48_CDT [openHABian] Disabling IPv6... OK
2021-05-01_10:43:48_CDT [openHABian] Loading configuration file '/etc/openhabian.conf'... OK
2021-05-01_10:43:48_CDT [openHABian] openHABian configuration tool version: [openHAB3]patchday-20210316-1251(9334918)
2021-05-01_10:43:49_CDT [openHABian] Checking for changes in origin branch openHAB3... OK
2021-05-01_10:43:52_CDT [openHABian] Switching to branch openHAB3... OK
2021-05-01_10:44:09_CDT [openHABian] Updating Linux package information... OK
2021-05-01_10:44:09_CDT [openHABian] Downloading FireMotD... OK
2021-05-01_10:44:12_CDT [openHABian] Installing FireMotD... OK
2021-05-01_10:44:12_CDT [openHABian] Generating FireMotD theme... OK
2021-05-01_10:44:36_CDT [openHABian] Setting up FireMotD apt updates count service... OK

Ran option 2 update at this point.

2021-05-01_10:47:15_CDT [openHABian] Updating Linux package information... OK
2021-05-01_10:47:15_CDT [openHABian] Updating repositories and upgrading installed packages...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  apt apt-transport-https apt-utils avahi-autoipd avahi-daemon base-files curl exim4 exim4-base exim4-config exim4-daemon-light
  groff-base iputils-ping libapt-inst2.0 libapt-pkg5.0 libavahi-client3 libavahi-common-data libavahi-common3 libavahi-core7
  libbsd0 libcurl3-gnutls libcurl4 libldb1 libpam-systemd libpigpio-dev libpigpio1 libpigpiod-if-dev libpigpiod-if1
  libpigpiod-if2-1 libpython3.7 libpython3.7-dev libpython3.7-minimal libpython3.7-stdlib libssl1.1 libsystemd0 libudev1 nodejs
  openhab openhab-addons openssl pigpio pigpio-tools pigpiod python-ldb python3.7 python3.7-dev python3.7-minimal rpi-eeprom
  systemd systemd-sysv udev wpasupplicant
52 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 382 MB of archives.
After this operation, 1,916 kB of additional disk space will be used.
Get:1 https://deb.nodesource.com/node_12.x buster/main armhf nodejs armhf 12.22.1-1nodesource1 [16.0 MB]
Get:2 http://archive.raspberrypi.org/debian buster/main armhf libssl1.1 armhf 1.1.1d-0+deb10u6+rpt1 [1,277 kB]
Get:4 https://dl.bintray.com/openhab/apt-repo2 stable/main armhf openhab all 3.0.2-1 [83.3 MB]
Get:3 http://mirror.sjc02.svwh.net/raspbian/raspbian buster/main armhf base-files armhf 10.3+rpi1+deb10u9 [70.1 kB]
Get:5 http://mirror.sjc02.svwh.net/raspbian/raspbian buster/main armhf systemd-sysv armhf 241-7~deb10u7+rpi1 [100 kB]
Get:6 http://mirror.sjc02.svwh.net/raspbian/raspbian buster/main armhf libpam-systemd armhf 241-7~deb10u7+rpi1 [194 kB]
Get:7 http://mirror.sjc02.svwh.net/raspbian/raspbian buster/main armhf libsystemd0 armhf 241-7~deb10u7+rpi1 [306 kB]
Get:8 http://archive.raspberrypi.org/debian buster/main armhf pigpio armhf 1.79-1+rpt1 [3,564 B]
Get:9 http://archive.raspberrypi.org/debian buster/main armhf libpigpiod-if-dev armhf 1.79-1+rpt1 [76.9 kB]
Get:10 http://archive.raspberrypi.org/debian buster/main armhf libpigpiod-if1 armhf 1.79-1+rpt1 [20.5 kB]
Get:11 http://archive.raspberrypi.org/debian buster/main armhf libpigpiod-if2-1 armhf 1.79-1+rpt1 [24.4 kB]
Get:12 http://archive.raspberrypi.org/debian buster/main armhf pigpio-tools armhf 1.79-1+rpt1 [42.9 kB]
Get:13 http://archive.raspberrypi.org/debian buster/main armhf libpigpio-dev armhf 1.79-1+rpt1 [78.5 kB]
Get:14 http://archive.raspberrypi.org/debian buster/main armhf libpigpio1 armhf 1.79-1+rpt1 [91.4 kB]
Get:15 http://archive.raspberrypi.org/debian buster/main armhf pigpiod armhf 1.79-1+rpt1 [9,900 B]
Get:16 http://archive.raspberrypi.org/debian buster/main armhf openssl armhf 1.1.1d-0+deb10u6+rpt1 [807 kB]
Get:17 http://mirror.sjc02.svwh.net/raspbian/raspbian buster/main armhf systemd armhf 241-7~deb10u7+rpi1 [3,252 kB]
Get:20 http://archive.raspberrypi.org/debian buster/main armhf rpi-eeprom armhf 12.3-1 [489 kB]
Get:18 http://mirror.sjc02.svwh.net/raspbian/raspbian buster/main armhf udev armhf 241-7~deb10u7+rpi1 [1,248 kB]
Get:19 http://mirror.sjc02.svwh.net/raspbian/raspbian buster/main armhf libudev1 armhf 241-7~deb10u7+rpi1 [144 kB]
Get:21 http://mirror.sjc02.svwh.net/raspbian/raspbian buster/main armhf libapt-pkg5.0 armhf 1.8.2.3 [855 kB]
Get:22 http://mirror.sjc02.svwh.net/raspbian/raspbian buster/main armhf libapt-inst2.0 armhf 1.8.2.3 [200 kB]
Get:23 http://mirror.sjc02.svwh.net/raspbian/raspbian buster/main armhf apt armhf 1.8.2.3 [1,349 kB]
Get:24 http://mirror.sjc02.svwh.net/raspbian/raspbian buster/main armhf apt-utils armhf 1.8.2.3 [400 kB]
Get:25 http://mirror.sjc02.svwh.net/raspbian/raspbian buster/main armhf python3.7-dev armhf 3.7.3-2+deb10u3 [513 kB]
Get:26 http://mirror.sjc02.svwh.net/raspbian/raspbian buster/main armhf libpython3.7-dev armhf 3.7.3-2+deb10u3 [47.2 MB]
Get:52 https://dl.bintray.com/openhab/apt-repo2 stable/main armhf openhab-addons all 3.0.2-1 [213 MB]
Get:27 http://mirror.sjc02.svwh.net/raspbian/raspbian buster/main armhf libpython3.7 armhf 3.7.3-2+deb10u3 [1,253 kB]
Get:28 http://mirror.sjc02.svwh.net/raspbian/raspbian buster/main armhf python3.7 armhf 3.7.3-2+deb10u3 [330 kB]
Get:29 http://mirror.sjc02.svwh.net/raspbian/raspbian buster/main armhf libpython3.7-stdlib armhf 3.7.3-2+deb10u3 [1,664 kB]
Get:30 http://mirror.sjc02.svwh.net/raspbian/raspbian buster/main armhf python3.7-minimal armhf 3.7.3-2+deb10u3 [1,464 kB]
Get:31 http://mirror.sjc02.svwh.net/raspbian/raspbian buster/main armhf libpython3.7-minimal armhf 3.7.3-2+deb10u3 [583 kB]
Get:32 http://mirror.sjc02.svwh.net/raspbian/raspbian buster/main armhf groff-base armhf 1.22.4-3+deb10u1 [782 kB]
Get:33 http://mirror.sjc02.svwh.net/raspbian/raspbian buster/main armhf iputils-ping armhf 3:20180629-2+deb10u2 [40.1 kB]
Get:34 http://mirror.sjc02.svwh.net/raspbian/raspbian buster/main armhf apt-transport-https all 1.8.2.3 [149 kB]
Get:35 http://mirror.sjc02.svwh.net/raspbian/raspbian buster/main armhf avahi-autoipd armhf 0.7-4+deb10u1 [53.3 kB]
Get:36 http://mirror.sjc02.svwh.net/raspbian/raspbian buster/main armhf libavahi-common-data armhf 0.7-4+deb10u1 [122 kB]
Get:37 http://mirror.sjc02.svwh.net/raspbian/raspbian buster/main armhf libavahi-common3 armhf 0.7-4+deb10u1 [51.0 kB]
Get:38 http://mirror.sjc02.svwh.net/raspbian/raspbian buster/main armhf libavahi-core7 armhf 0.7-4+deb10u1 [101 kB]
Get:39 http://mirror.sjc02.svwh.net/raspbian/raspbian buster/main armhf avahi-daemon armhf 0.7-4+deb10u1 [85.1 kB]
Get:40 http://mirror.sjc02.svwh.net/raspbian/raspbian buster/main armhf curl armhf 7.64.0-4+deb10u2 [254 kB]
Get:41 http://mirror.sjc02.svwh.net/raspbian/raspbian buster/main armhf libcurl4 armhf 7.64.0-4+deb10u2 [294 kB]
Get:42 http://mirror.sjc02.svwh.net/raspbian/raspbian buster/main armhf exim4-config all 4.92-8+deb10u5 [324 kB]
Get:43 http://mirror.sjc02.svwh.net/raspbian/raspbian buster/main armhf exim4 all 4.92-8+deb10u5 [7,168 B]
Get:44 http://mirror.sjc02.svwh.net/raspbian/raspbian buster/main armhf exim4-base armhf 4.92-8+deb10u5 [1,133 kB]
Get:45 http://mirror.sjc02.svwh.net/raspbian/raspbian buster/main armhf exim4-daemon-light armhf 4.92-8+deb10u5 [493 kB]
Get:46 http://mirror.sjc02.svwh.net/raspbian/raspbian buster/main armhf libavahi-client3 armhf 0.7-4+deb10u1 [54.0 kB]
Get:47 http://mirror.sjc02.svwh.net/raspbian/raspbian buster/main armhf libbsd0 armhf 0.9.1-2+deb10u1 [105 kB]
Get:48 http://mirror.sjc02.svwh.net/raspbian/raspbian buster/main armhf libcurl3-gnutls armhf 7.64.0-4+deb10u2 [292 kB]
Get:49 http://mirror.sjc02.svwh.net/raspbian/raspbian buster/main armhf python-ldb armhf 2:1.5.1+really1.4.6-3+deb10u1 [33.3 kB]
Get:50 http://mirror.sjc02.svwh.net/raspbian/raspbian buster/main armhf libldb1 armhf 2:1.5.1+really1.4.6-3+deb10u1 [109 kB]
Get:51 http://mirror.sjc02.svwh.net/raspbian/raspbian buster/main armhf wpasupplicant armhf 2:2.7+git20190128+0c1e29f-6+deb10u3 [1,008 kB]
Fetched 382 MB in 2min 47s (2,287 kB/s)
apt-listchanges: Reading changelogs...
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 54258 files and directories currently installed.)
Preparing to unpack .../base-files_10.3+rpi1+deb10u9_armhf.deb ...
Unpacking base-files (10.3+rpi1+deb10u9) over (10.3+rpi1+deb10u8) ...
Setting up base-files (10.3+rpi1+deb10u9) ...
Installing new version of config file /etc/debian_version ...
(Reading database ... 54258 files and directories currently installed.)
Preparing to unpack .../systemd-sysv_241-7~deb10u7+rpi1_armhf.deb ...
Unpacking systemd-sysv (241-7~deb10u7+rpi1) over (241-7~deb10u6+rpi1) ...
Preparing to unpack .../libpam-systemd_241-7~deb10u7+rpi1_armhf.deb ...
Unpacking libpam-systemd:armhf (241-7~deb10u7+rpi1) over (241-7~deb10u6+rpi1) ...
Preparing to unpack .../libsystemd0_241-7~deb10u7+rpi1_armhf.deb ...
Unpacking libsystemd0:armhf (241-7~deb10u7+rpi1) over (241-7~deb10u6+rpi1) ...
Setting up libsystemd0:armhf (241-7~deb10u7+rpi1) ...
(Reading database ... 54258 files and directories currently installed.)
Preparing to unpack .../systemd_241-7~deb10u7+rpi1_armhf.deb ...
Unpacking systemd (241-7~deb10u7+rpi1) over (241-7~deb10u6+rpi1) ...
Preparing to unpack .../udev_241-7~deb10u7+rpi1_armhf.deb ...
Unpacking udev (241-7~deb10u7+rpi1) over (241-7~deb10u6+rpi1) ...
Preparing to unpack .../libudev1_241-7~deb10u7+rpi1_armhf.deb ...
Unpacking libudev1:armhf (241-7~deb10u7+rpi1) over (241-7~deb10u6+rpi1) ...
Setting up libudev1:armhf (241-7~deb10u7+rpi1) ...
(Reading database ... 54258 files and directories currently installed.)
Preparing to unpack .../libapt-pkg5.0_1.8.2.3_armhf.deb ...
Unpacking libapt-pkg5.0:armhf (1.8.2.3) over (1.8.2.2) ...
Setting up libapt-pkg5.0:armhf (1.8.2.3) ...
(Reading database ... 54258 files and directories currently installed.)
Preparing to unpack .../libapt-inst2.0_1.8.2.3_armhf.deb ...
Unpacking libapt-inst2.0:armhf (1.8.2.3) over (1.8.2.2) ...
Preparing to unpack .../archives/apt_1.8.2.3_armhf.deb ...
Unpacking apt (1.8.2.3) over (1.8.2.2) ...
Setting up apt (1.8.2.3) ...
(Reading database ... 54258 files and directories currently installed.)
Preparing to unpack .../00-apt-utils_1.8.2.3_armhf.deb ...
Unpacking apt-utils (1.8.2.3) over (1.8.2.2) ...
Preparing to unpack .../01-python3.7-dev_3.7.3-2+deb10u3_armhf.deb ...
Unpacking python3.7-dev (3.7.3-2+deb10u3) over (3.7.3-2+deb10u2) ...
Preparing to unpack .../02-libpython3.7-dev_3.7.3-2+deb10u3_armhf.deb ...
Unpacking libpython3.7-dev:armhf (3.7.3-2+deb10u3) over (3.7.3-2+deb10u2) ...
Preparing to unpack .../03-libpython3.7_3.7.3-2+deb10u3_armhf.deb ...
Unpacking libpython3.7:armhf (3.7.3-2+deb10u3) over (3.7.3-2+deb10u2) ...
Preparing to unpack .../04-libssl1.1_1.1.1d-0+deb10u6+rpt1_armhf.deb ...
Unpacking libssl1.1:armhf (1.1.1d-0+deb10u6+rpt1) over (1.1.1d-0+deb10u5+rpt2) ...
Preparing to unpack .../05-python3.7_3.7.3-2+deb10u3_armhf.deb ...
Unpacking python3.7 (3.7.3-2+deb10u3) over (3.7.3-2+deb10u2) ...
Preparing to unpack .../06-libpython3.7-stdlib_3.7.3-2+deb10u3_armhf.deb ...
Unpacking libpython3.7-stdlib:armhf (3.7.3-2+deb10u3) over (3.7.3-2+deb10u2) ...
Preparing to unpack .../07-python3.7-minimal_3.7.3-2+deb10u3_armhf.deb ...
Unpacking python3.7-minimal (3.7.3-2+deb10u3) over (3.7.3-2+deb10u2) ...
Preparing to unpack .../08-libpython3.7-minimal_3.7.3-2+deb10u3_armhf.deb ...
Unpacking libpython3.7-minimal:armhf (3.7.3-2+deb10u3) over (3.7.3-2+deb10u2) ...
Preparing to unpack .../09-groff-base_1.22.4-3+deb10u1_armhf.deb ...
Unpacking groff-base (1.22.4-3+deb10u1) over (1.22.4-3) ...
Preparing to unpack .../10-iputils-ping_3%3a20180629-2+deb10u2_armhf.deb ...
Unpacking iputils-ping (3:20180629-2+deb10u2) over (3:20180629-2+deb10u1) ...
Preparing to unpack .../11-apt-transport-https_1.8.2.3_all.deb ...
Unpacking apt-transport-https (1.8.2.3) over (1.8.2.2) ...
Preparing to unpack .../12-avahi-autoipd_0.7-4+deb10u1_armhf.deb ...
Unpacking avahi-autoipd (0.7-4+deb10u1) over (0.7-4+b1) ...
Preparing to unpack .../13-libavahi-common-data_0.7-4+deb10u1_armhf.deb ...
Unpacking libavahi-common-data:armhf (0.7-4+deb10u1) over (0.7-4+b1) ...
Preparing to unpack .../14-libavahi-common3_0.7-4+deb10u1_armhf.deb ...
Unpacking libavahi-common3:armhf (0.7-4+deb10u1) over (0.7-4+b1) ...
Preparing to unpack .../15-libavahi-core7_0.7-4+deb10u1_armhf.deb ...
Unpacking libavahi-core7:armhf (0.7-4+deb10u1) over (0.7-4+b1) ...
Preparing to unpack .../16-avahi-daemon_0.7-4+deb10u1_armhf.deb ...
Unpacking avahi-daemon (0.7-4+deb10u1) over (0.7-4+b1) ...
dpkg: warning: unable to delete old directory '/etc/resolvconf/update-libc.d': Directory not empty
dpkg: warning: unable to delete old directory '/etc/resolvconf': Directory not empty
Preparing to unpack .../17-curl_7.64.0-4+deb10u2_armhf.deb ...
Unpacking curl (7.64.0-4+deb10u2) over (7.64.0-4+deb10u1) ...
Preparing to unpack .../18-libcurl4_7.64.0-4+deb10u2_armhf.deb ...
Unpacking libcurl4:armhf (7.64.0-4+deb10u2) over (7.64.0-4+deb10u1) ...
Preparing to unpack .../19-exim4-config_4.92-8+deb10u5_all.deb ...
Unpacking exim4-config (4.92-8+deb10u5) over (4.92-8+deb10u4) ...
Preparing to unpack .../20-exim4_4.92-8+deb10u5_all.deb ...
Unpacking exim4 (4.92-8+deb10u5) over (4.92-8+deb10u4) ...
Preparing to unpack .../21-exim4-base_4.92-8+deb10u5_armhf.deb ...
Unpacking exim4-base (4.92-8+deb10u5) over (4.92-8+deb10u4) ...
Preparing to unpack .../22-exim4-daemon-light_4.92-8+deb10u5_armhf.deb ...
Unpacking exim4-daemon-light (4.92-8+deb10u5) over (4.92-8+deb10u4) ...
Preparing to unpack .../23-libavahi-client3_0.7-4+deb10u1_armhf.deb ...
Unpacking libavahi-client3:armhf (0.7-4+deb10u1) over (0.7-4+b1) ...
Preparing to unpack .../24-libbsd0_0.9.1-2+deb10u1_armhf.deb ...
Unpacking libbsd0:armhf (0.9.1-2+deb10u1) over (0.9.1-2) ...
Preparing to unpack .../25-libcurl3-gnutls_7.64.0-4+deb10u2_armhf.deb ...
Unpacking libcurl3-gnutls:armhf (7.64.0-4+deb10u2) over (7.64.0-4+deb10u1) ...
Preparing to unpack .../26-python-ldb_2%3a1.5.1+really1.4.6-3+deb10u1_armhf.deb ...
Unpacking python-ldb (2:1.5.1+really1.4.6-3+deb10u1) over (2:1.5.1+really1.4.6-3) ...
Preparing to unpack .../27-libldb1_2%3a1.5.1+really1.4.6-3+deb10u1_armhf.deb ...
Unpacking libldb1:armhf (2:1.5.1+really1.4.6-3+deb10u1) over (2:1.5.1+really1.4.6-3) ...
Preparing to unpack .../28-pigpio_1.79-1+rpt1_armhf.deb ...
Unpacking pigpio (1.79-1+rpt1) over (1.71-0~rpt1) ...
Preparing to unpack .../29-libpigpiod-if-dev_1.79-1+rpt1_armhf.deb ...
Unpacking libpigpiod-if-dev (1.79-1+rpt1) over (1.71-0~rpt1) ...
Preparing to unpack .../30-libpigpiod-if1_1.79-1+rpt1_armhf.deb ...
Unpacking libpigpiod-if1 (1.79-1+rpt1) over (1.71-0~rpt1) ...
Preparing to unpack .../31-libpigpiod-if2-1_1.79-1+rpt1_armhf.deb ...
Unpacking libpigpiod-if2-1 (1.79-1+rpt1) over (1.71-0~rpt1) ...
Preparing to unpack .../32-pigpio-tools_1.79-1+rpt1_armhf.deb ...
Unpacking pigpio-tools (1.79-1+rpt1) over (1.71-0~rpt1) ...
Preparing to unpack .../33-libpigpio-dev_1.79-1+rpt1_armhf.deb ...
Unpacking libpigpio-dev (1.79-1+rpt1) over (1.71-0~rpt1) ...
Preparing to unpack .../34-libpigpio1_1.79-1+rpt1_armhf.deb ...
Unpacking libpigpio1 (1.79-1+rpt1) over (1.71-0~rpt1) ...
Preparing to unpack .../35-pigpiod_1.79-1+rpt1_armhf.deb ...
Unpacking pigpiod (1.79-1+rpt1) over (1.71-0~rpt1) ...
Preparing to unpack .../36-nodejs_12.22.1-1nodesource1_armhf.deb ...
Detected old npm client, removing...
Unpacking nodejs (12.22.1-1nodesource1) over (12.21.0-1nodesource1) ...
Preparing to unpack .../37-openhab_3.0.2-1_all.deb ...
Unpacking openhab (3.0.2-1) over (3.0.1-2) ...
Preparing to unpack .../38-openhab-addons_3.0.2-1_all.deb ...
Unpacking openhab-addons (3.0.2-1) over (3.0.1-2) ...
Preparing to unpack .../39-openssl_1.1.1d-0+deb10u6+rpt1_armhf.deb ...
Unpacking openssl (1.1.1d-0+deb10u6+rpt1) over (1.1.1d-0+deb10u5+rpt2) ...
Preparing to unpack .../40-rpi-eeprom_12.3-1_armhf.deb ...
Unpacking rpi-eeprom (12.3-1) over (11.12-1) ...
Preparing to unpack .../41-wpasupplicant_2%3a2.7+git20190128+0c1e29f-6+deb10u3_armhf.deb ...
Unpacking wpasupplicant (2:2.7+git20190128+0c1e29f-6+deb10u3) over (2:2.7+git20190128+0c1e29f-6+deb10u2) ...
Setting up pigpio-tools (1.79-1+rpt1) ...
Setting up libldb1:armhf (2:1.5.1+really1.4.6-3+deb10u1) ...
Setting up apt-transport-https (1.8.2.3) ...
Setting up openhab (3.0.2-1) ...

Setting up libssl1.1:armhf (1.1.1d-0+deb10u6+rpt1) ...
Setting up libcurl3-gnutls:armhf (7.64.0-4+deb10u2) ...
Setting up systemd (241-7~deb10u7+rpi1) ...
Setting up libapt-inst2.0:armhf (1.8.2.3) ...
Setting up nodejs (12.22.1-1nodesource1) ...
Setting up libpython3.7-minimal:armhf (3.7.3-2+deb10u3) ...
Setting up wpasupplicant (2:2.7+git20190128+0c1e29f-6+deb10u3) ...
Setting up python-ldb (2:1.5.1+really1.4.6-3+deb10u1) ...
Setting up libpigpiod-if1 (1.79-1+rpt1) ...
Setting up libavahi-common-data:armhf (0.7-4+deb10u1) ...
Setting up openhab-addons (3.0.2-1) ...
Setting up udev (241-7~deb10u7+rpi1) ...
update-initramfs: deferring update (trigger activated)
Setting up avahi-autoipd (0.7-4+deb10u1) ...
Setting up python3.7-minimal (3.7.3-2+deb10u3) ...
Setting up exim4-config (4.92-8+deb10u5) ...
Setting up groff-base (1.22.4-3+deb10u1) ...
Setting up libpigpiod-if2-1 (1.79-1+rpt1) ...
Setting up libcurl4:armhf (7.64.0-4+deb10u2) ...
Setting up rpi-eeprom (12.3-1) ...
Setting up curl (7.64.0-4+deb10u2) ...
Setting up libpigpio1 (1.79-1+rpt1) ...
Setting up openssl (1.1.1d-0+deb10u6+rpt1) ...
Setting up libbsd0:armhf (0.9.1-2+deb10u1) ...
Setting up iputils-ping (3:20180629-2+deb10u2) ...
Setting up systemd-sysv (241-7~deb10u7+rpi1) ...
Setting up libpython3.7-stdlib:armhf (3.7.3-2+deb10u3) ...
Setting up exim4-base (4.92-8+deb10u5) ...
Setting up apt-utils (1.8.2.3) ...
Setting up libpython3.7:armhf (3.7.3-2+deb10u3) ...
Setting up pigpiod (1.79-1+rpt1) ...
Setting up libpython3.7-dev:armhf (3.7.3-2+deb10u3) ...
Setting up libavahi-common3:armhf (0.7-4+deb10u1) ...
Setting up libpigpiod-if-dev (1.79-1+rpt1) ...
Setting up libpigpio-dev (1.79-1+rpt1) ...
Setting up libpam-systemd:armhf (241-7~deb10u7+rpi1) ...
Setting up libavahi-core7:armhf (0.7-4+deb10u1) ...
Setting up libavahi-client3:armhf (0.7-4+deb10u1) ...
Setting up exim4-daemon-light (4.92-8+deb10u5) ...
Setting up python3.7 (3.7.3-2+deb10u3) ...
Setting up python3.7-dev (3.7.3-2+deb10u3) ...
Setting up exim4 (4.92-8+deb10u5) ...
Setting up pigpio (1.79-1+rpt1) ...
Setting up avahi-daemon (0.7-4+deb10u1) ...
Removing obsolete conffile /etc/network/if-up.d/avahi-daemon ...
Removing obsolete conffile /etc/resolvconf/update-libc.d/avahi-daemon ...
Processing triggers for mime-support (3.62) ...
Processing triggers for libc-bin (2.28-10+rpi1) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for dbus (1.12.20-0+deb10u1) ...
Processing triggers for install-info (6.5.0.dfsg.1-4+b1) ...
Processing triggers for initramfs-tools (0.133+deb10u1) ...
Updating FireMotD available updates count ...
OK
2021-05-01_10:59:34_CDT [openHABian] Checking for default openHABian username:password combination... OK
2021-05-01_10:59:34_CDT [openHABian] We hope you got what you came for! See you again soon ;)


###############################################################################
###############  openhab6  ####################################################
###############################################################################
##        Ip = 192.168.1.6
##   Release = Raspbian GNU/Linux 10 (buster)
##    Kernel = Linux 5.10.17-v7+
##  Platform = Raspberry Pi 3 Model B Rev 1.2
##    Uptime = 0 day(s). 1:44:15
## CPU Usage = 3.73% avg over 4 cpu(s) (4 core(s) x 1 socket(s))
##  CPU Load = 1m: 0.13, 5m: 0.14, 15m: 0.10
##    Memory = Free: 0.02GB (3%), Used: 0.92GB (97%), Total: 0.95GB
##      Swap = Free: 1.98GB (99%), Used: 0.01GB (1%), Total: 2.00GB
##      Root = Free: 8.85GB (64%), Used: 4.85GB (36%), Total: 14.32GB
##   Updates = 0 apt updates available.
##  Sessions = 1 session(s)
## Processes = 116 running processes of 32768 maximum processes
###############################################################################

                          _   _     _     ____   _
  ___   ___   ___   ___  | | | |   / \   | __ ) (_)  ____   ___
 / _ \ / _ \ / _ \ / _ \ | |_| |  / _ \  |  _ \ | | / _  \ / _ \
| (_) | (_) |  __/| | | ||  _  | / ___ \ | |_) )| || (_) || | | |
 \___/|  __/ \___/|_| |_||_| |_|/_/   \_\|____/ |_| \__|_||_| | |
      |_|                          3.0.2 - Release Build


Without debugmode=maximum, thatā€™s not much help.

I set debugmode=maximum, ran option 15, and then ran the system upgrade again.

This time, I got a warning about Java.

image

I pressed Back to avoid it, and the process completed and sent me back to the config menu without requiring further input. Should I try again and press Continue?

Wink, wink, nudge, nudge.
Say no more! Say no more!

Slightly off topic, but could there be an option to set debug mode in the openhabian-config menu? Iā€™ve never had to do this befor,e and itā€™s not hard now that I kind of know my way around Linux commands, but that might make it easier for people who are new to Linux.

You should post the debug output. Which branch are you on ?

I set debug=on and ran through the steps again. This time there was no FireMotD message, but the Java warning came up (same as @yab on 2.5). Then I set debug=off, repeated, and ran into the original issue. So itā€™s nothing to do with FireMotD, itā€™s Java.

Iā€™m guessing that @mstormi and @ndye have accepted the Java warning and upgraded, so youā€™re not getting the warning. Whereas weā€™re cancelling the upgrade when we press Enter.

Hereā€™s the debug=maximum log.

+ system_upgrade
++ timestamp
++ date +%F_%T_%Z
+ echo '2021-05-01_11:27:59_PDT [openHABian] Updating repositories and upgrading installed packages...'
2021-05-01_11:27:59_PDT [openHABian] Updating repositories and upgrading installed packages...
+ export DEBIAN_FRONTEND=noninteractive
+ DEBIAN_FRONTEND=noninteractive
+ apt-get upgrade --yes -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+ cond_redirect java_install_or_update Zulu11-32
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ java_install_or_update Zulu11-32 \033[39;49;00m'

$ java_install_or_update Zulu11-32
+ java_install_or_update Zulu11-32
+ local branch
++ git -C /opt/openhabian rev-parse --abbrev-ref HEAD
+ branch=openHAB3
++ command -v java
+ [[ -x /usr/bin/java ]]
++ java -version
+ [[ openjdk version "11.0.10" 2021-01-19 LTS
OpenJDK Runtime Environment Zulu11.45+27-CA (build 11.0.10+9-LTS)
OpenJDK Client VM Zulu11.45+27-CA (build 11.0.10+9-LTS, mixed mode) == *\Z\u\l\u* ]]
++ command -v java
+ [[ -x /usr/bin/java ]]
+ [[ Zulu11-32 == \A\d\o\p\t\1\1 ]]
+ [[ Zulu11-32 != \A\d\o\p\t\1\1 ]]
++ java -version
+ [[ openjdk version "11.0.10" 2021-01-19 LTS
OpenJDK Runtime Environment Zulu11.45+27-CA (build 11.0.10+9-LTS)
OpenJDK Client VM Zulu11.45+27-CA (build 11.0.10+9-LTS, mixed mode) == *\A\d\o\p\t\O\p\e\n\J\D\K* ]]
+ [[ Zulu11-32 == \Z\u\l\u\1\1\-\6\4 ]]
+ [[ Zulu11-32 != \A\d\o\p\t\1\1 ]]
+ cond_redirect java_zulu_update_available Zulu11-32
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ java_zulu_update_available Zulu11-32 \033[39;49;00m'

$ java_zulu_update_available Zulu11-32
+ java_zulu_update_available Zulu11-32
++ command -v java
+ [[ -x /usr/bin/java ]]
+ local availableVersion
+ local filter
+ local javaArch
+ local javaVersion
+ local jdkBin
+ local link
+ local requestedArch
++ command -v jq
+ [[ -x /usr/bin/jq ]]
+ filter='[.jdk_version[] | tostring] | join(".")'
++ find /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/bin ... -print -quit
+ jdkBin=/opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/bin
++ /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/bin/java -version
++ grep -m 1 -o '[0-9]\{0,3\}\.[0-9]\{0,3\}\.[0-9]\{0,3\}[\.+][0-9]\{0,3\}'
++ head -1
++ sed 's|+|.|g'
+ javaVersion=11.0.10.9
+ link='https://api.azul.com/zulu/download/community/v1.0/bundles/latest/?os=linux&ext=tar.gz&javafx=false'
+ [[ Zulu11-32 == \Z\u\l\u\1\1\-\3\2 ]]
+ is_arm
+ is_armv6l
+ [[ '' == \a\r\m\v\6\l ]]
+ case "$(uname -m)" in
++ uname -m
+ return 1
+ is_armv7l
+ [[ '' == \a\r\m\v\7\l ]]
+ case "$(uname -m)" in
++ uname -m
+ return 0
+ return 0
+ requestedArch=aarch32hf
++ curl -s -H 'Accept: application/json' 'https://api.azul.com/zulu/download/community/v1.0/bundles/latest/?os=linux&ext=tar.gz&javafx=false&jdk_version=11&arch=arm&hw_bitness=32&abi=hard_float'
++ jq -r '[.jdk_version[] | tostring] | join(".")'
+ availableVersion=11.0.11.9
+ [[ -z aarch32hf ]]
+ [[ -z 11.0.11.9 ]]
+ [[ /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/bin == *\a\a\r\c\h\3\2\h\f* ]]
+ javaArch=aarch32hf
+ [[ /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/bin == *\i\6\8\6* ]]
+ [[ /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/bin == *\a\a\r\c\h\6\4* ]]
+ [[ /opt/jdk/zulu11.45.27-ca-jdk11.0.10-linux_aarch32hf/bin == *\x\6\4* ]]
+ [[ 11.0.10.9 == \1\1\.\0\.\1\1\.\9 ]]
+ return 0
+ java_zulu_prerequisite Zulu11-32
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2021-05-01_11:28:08_PDT [openHABian] Installing Java Zulu prerequisites (libc, libstdc++, zlib1g)... '
2021-05-01_11:28:08_PDT [openHABian] Installing Java Zulu prerequisites (libc, libstdc++, zlib1g)... + [[ Zulu11-32 == \Z\u\l\u\1\1\-\6\4 ]]
+ is_arm
+ is_armv6l
+ [[ '' == \a\r\m\v\6\l ]]
+ case "$(uname -m)" in
++ uname -m
+ return 1
+ is_armv7l
+ [[ '' == \a\r\m\v\7\l ]]
+ case "$(uname -m)" in
++ uname -m
+ return 0
+ return 0
+ dpkg -s libc6:armhf libstdc++6:armhf zlib1g:armhf
+ echo OK
OK
+ return 0
+ [[ openHAB3 == \o\p\e\n\H\A\B\3 ]]
+ [[ -z '' ]]
+ java_zulu_stable Zulu11-32
+ local updateText
+ local consoleText
+ updateText='Updating Java may result in issues as it has not recieved extensive testing to verify compatibility.\n\nIf you wish to continue and encounter any errors please let us know so we can look into them to improve future compatibility.'
+ consoleText='[openHABian] WARNING: Untested Java Version, you may experience issues as this version of Java has not recieved extensive testing to verify compatibility.'
+ [[ -n 1 ]]
+ whiptail --defaultno --title 'Untested Version of Java' --no-button Back --yes-button Continue --yesno 'Updating Java may result in issues as it has not recieved extensive testing to verify compatibility.\n\nIf you wish to continue and encounter any errors please let us know so we can look into them to improve future compatibility.' 11 80
+ echo CANCELED
CANCELED
+ return 0
++ command -v java
+ [[ -x /usr/bin/java ]]
+ cond_redirect java -version
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ java -version \033[39;49;00m'

$ java -version
+ java -version
openjdk version "11.0.10" 2021-01-19 LTS
OpenJDK Runtime Environment Zulu11.45+27-CA (build 11.0.10+9-LTS)
OpenJDK Client VM Zulu11.45+27-CA (build 11.0.10+9-LTS, mixed mode)
+ return 0
+ return 0
+ echo OK
OK

Iā€™m on the stable openHAB3 branch.