It seems that I have a mixture of OH3 and OH2 after the Upgrade. I did the upgrade in SSH window. After the reboot after the upgrade I saw the OH3 startup screen in the SSH window. After another reboot I saw the OH2.5.11 startup screen again. Within the browser I see OH3 with the importet items and rules.
login as: openhabian
openhabian@10.49.101.50’s password:
Linux openhab 5.4.79-v7l+ #1373 SMP Mon Nov 23 13:27:40 GMT 2020 armv7lThe 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: Wed Dec 23 15:08:48 2020 from 10.49.101.24###############################################################################
############### openhab #####################################################
###############################################################################Ip = 10.49.101.50
Release = Raspbian GNU/Linux 10 (buster)
Kernel = Linux 5.4.79-v7l+
Platform = Raspberry Pi 4 Model B Rev 1.2
Uptime = 0 day(s). 0:46:43
CPU Usage = 4.03% avg over 4 cpu(s) (4 core(s) x 1 socket(s))
CPU Load = 1m: 0.43, 5m: 0.28, 15m: 0.27
Memory = Free: 3.04GB (80%), Used: 0.74GB (20%), Total: 3.78GB
Swap = Free: 1.99GB (100%), Used: 0.00GB (0%), Total: 1.99GB
Root = Free: 97.50GB (92%), Used: 7.84GB (8%), Total: 109.83GB
Updates = 0 apt updates available.
Sessions = 1 session(s)
Processes = 119 running processes of 32768 maximum processes
###############################################################################
sed: can’t read /var/lib/openhab2/etc/version.properties: No such file or directoryWelcome to __ _____ ____ _ ____ ____ ___ ____ / / / / | / __ )(_)___ _____ / __ \/ __ \/ _ \/ __ \/ /_/ / /| | / __ / / __ `/ __ \ / /_/ / /_/ / __/ / / / __ / ___ |/ /_/ / / /_/ / / / / \____/ .___/\___/_/ /_/_/ /_/_/ |_/_____/_/\__,_/_/ /_/ /_/ openHAB 2.5.11-1 ()
Looking for a place to get started? Check out ‘sudo openhabian-config’ and the
documentation at openHABian | openHAB
The openHAB dashboard can be reached at http://openhab:8080
To interact with openHAB on the command line, execute: ‘openhab-cli --help’[16:00:12] openhabian@openhab:~$ ^C
[16:01:32] openhabian@openhab:~$ ^C
[16:03:09] openhabian@openhab:~$ sudo openhabian-config
[sudo] password for openhabian:
2020-12-23_16:03:24_CET [openHABian] Checking for root privileges… OK
2020-12-23_16:03:24_CET [openHABian] Loading configuration file ‘/etc/openhabian.conf’… OK
2020-12-23_16:03:24_CET [openHABian] openHABian configuration tool version: [stable]v1.6.1-1021(01d4e59)
2020-12-23_16:03:24_CET [openHABian] Checking for changes in origin branch HEAD… OK
2020-12-23_16:03:29_CET [openHABian] Switching to branch stable… OK
2020-12-23_16:03:43_CET [openHABian] Updating Linux package information… OK
2020-12-23_16:03:43_CET [openHABian] Beginning install of latest openHAB3 release (stable)… OK
2020-12-23_16:03:45_CET [openHABian] Adding required keys to apt…
$ wget -qO /tmp/openhabian.yhDTf Service End for Bintray, JCenter, GoCenter, and ChartCenter | JFrog$ apt-key add /tmp/openhabian.yhDTf
OK
OK
2020-12-23_16:03:47_CET [openHABian] Installing selected openHAB version…
$ apt-get update
Hit:1 Index of /debian buster InRelease
Hit:2 Index of /raspbian buster InRelease
Hit:3 InfluxData - Package Repository buster InRelease
Hit:4 https://packages.grafana.com/oss/deb stable InRelease
Ign:5 https://dl.bintray.com/openhab/apt-repo2 stable InRelease
Hit:6 https://deb.nodesource.com/node_12.x buster InRelease
Get:7 https://dl.bintray.com/openhab/apt-repo2 stable Release [6,051 B]
Hit:8 https://apt.homegear.eu/Raspbian buster/ InRelease
Fetched 6,051 B in 5s (1,183 B/s)
Reading package lists… Done
W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/openhab.list:1 and /etc/apt/sources.list.d/openhab2.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/openhab.list:1 and /etc/apt/sources.list.d/openhab2.list:1
W: Target Translations (main/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list.d/openhab.list:1 and /etc/apt/sources.list.d/openhab2.list:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/openhab.list:1 and /etc/apt/sources.list.d/openhab2.list:1
W: Target Translations (main/i18n/Translation-en_GB.UTF-8) is configured multiple times in /etc/apt/sources.list.d/openhab.list:1 and /etc/apt/sources.list.d/openhab2.list:1
W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/openhab.list:1 and /etc/apt/sources.list.d/openhab2.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/openhab.list:1 and /etc/apt/sources.list.d/openhab2.list:1
W: Target Translations (main/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list.d/openhab.list:1 and /etc/apt/sources.list.d/openhab2.list:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/openhab.list:1 and /etc/apt/sources.list.d/openhab2.list:1
W: Target Translations (main/i18n/Translation-en_GB.UTF-8) is configured multiple times in /etc/apt/sources.list.d/openhab.list:1 and /etc/apt/sources.list.d/openhab2.list:1$ apt-get install --allow-downgrades --yes --option Dpkg::Options::=–force-confnew openhab=3.0.0-1 openhab-addons=3.0.0-1
Reading package lists… Done
Building dependency tree
Reading state information… Done
openhab-addons is already the newest version (3.0.0-1).
openhab is already the newest version (3.0.0-1).
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
OK
2020-12-23_16:04:04_CET [openHABian] Setting up openHAB service…
$ systemctl enable openhab.service
OK
2020-12-23_16:04:07_CET [openHABian] Optimizing openHAB to run on low memory single board computers…
$ sed -i -e s|^EXTRA_JAVA_OPTS=.$|EXTRA_JAVA_OPTS=“-Xms192m -Xmx320m”|g /etc/default/openhab2
OK
2020-12-23_16:04:07_CET [openHABian] Setting openHAB HTTP/HTTPS ports…
$ sed -i -e s|^#.OPENHAB_HTTP_PORT=.$|OPENHAB_HTTP_PORT=8080|g /etc/default/openhab2$ sed -i -e s|^#*.OPENHAB_HTTPS_PORT=.$|OPENHAB_HTTPS_PORT=8443|g /etc/default/openhab2
OK
2020-12-23_16:04:07_CET [openHABian] Creating dependencies to jointly start services that depend on each other…
$ mkdir -p /etc/systemd/system/openhab2.service.d$ rm -f /etc/systemd/system/openhab2.service.d/override.conf
$ cp /opt/openhabian/includes/openhab2-override.conf /etc/systemd/system/openhab2.service.d/override.conf
OK
2020-12-23_16:04:10_CET [openHABian] Adding an openHAB dashboard tile for ‘openhabiandocs’… Replacing…
$ sed -i -e /^openhabiandocs.link.*$/d /etc/openhab2/services/dashboard.cfg
OK$ systemctl restart openhab.service
OK
2020-12-23_16:04:51_CET [openHABian] Checking for default openHABian username:password combination… OK
2020-12-23_16:04:51_CET [openHABian] We hope you got what you came for! See you again soon
Within the SSH session inconsistent messages about the running version:
After SSH Login “openHAB 2.5.11-1 ()” and in openHAB CLI console “3.0.0 - Release Build”
Last login: Wed Dec 23 16:00:06 2020 from 10.49.101.24
###############################################################################
############### openhab #####################################################
###############################################################################Ip = 10.49.101.50
Release = Raspbian GNU/Linux 10 (buster)
Kernel = Linux 5.4.79-v7l+
Platform = Raspberry Pi 4 Model B Rev 1.2
Uptime = 0 day(s). 0:13:21
CPU Usage = 1.76% avg over 4 cpu(s) (4 core(s) x 1 socket(s))
CPU Load = 1m: 0.26, 5m: 0.36, 15m: 0.36
Memory = Free: 3.05GB (81%), Used: 0.73GB (19%), Total: 3.78GB
Swap = Free: 1.99GB (100%), Used: 0.00GB (0%), Total: 1.99GB
Root = Free: 97.49GB (92%), Used: 7.85GB (8%), Total: 109.83GB
Updates = 0 apt updates available.
Sessions = 1 session(s)
Processes = 120 running processes of 32768 maximum processes
###############################################################################
sed: /var/lib/openhab2/etc/version.properties kann nicht gelesen werden: Datei oder Verzeichnis nicht gefundenWelcome to __ _____ ____ _ ____ ____ ___ ____ / / / / | / __ )(_)___ _____ / __ \/ __ \/ _ \/ __ \/ /_/ / /| | / __ / / __ `/ __ \ / /_/ / /_/ / __/ / / / __ / ___ |/ /_/ / / /_/ / / / / \____/ .___/\___/_/ /_/_/ /_/_/ |_/_____/_/\__,_/_/ /_/ /_/ openHAB 2.5.11-1 ()
Looking for a place to get started? Check out ‘sudo openhabian-config’ and the
documentation at openHABian | openHAB
The openHAB dashboard can be reached at http://openhab:8080
To interact with openHAB on the command line, execute: ‘openhab-cli --help’[17:44:27] openhabian@openhab:/etc$ openhab-cli --help
Usage: openhab-cli command [options]
Possible commands:
backup [–full] [filename] – Stores the current configuration of openHAB.
clean-cache – Cleans the openHAB temporary folders.
console – Opens the openHAB console.
info – Displays distribution information.
reset-ownership – Gives openHAB control of its own directories.
restore filename – Restores the openHAB configuration from a backup.
showlogs – Displays the log messages of openHAB.
start [–debug] – Starts openHAB in the terminal.
status – Checks to see if openHAB is running.
stop – Stops any running instance of openHAB.[17:44:31] openhabian@openhab:/etc$ openhab-cli console
Logging in as openhab
Password:_ _ _ ____
___ ___ ___ ___ | | | | / \ | __ )
/ _ \ / _ \ / _ \ / _ \ | || | / _ \ | _
| () | () | __/| | | || _ | / ___ \ | |) )
___/| / _/|| |||| ||// _|__/
|| 3.0.0 - Release BuildUse ‘’ for a list of available commands
and ‘[cmd] --help’ for help on a specific command.
To exit, use ‘’ or ‘logout’.
How shall I step forward?