Issues after Upgrade from OH2 to OH3 (openhabian)

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 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: 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 directory

          Welcome 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 https://bintray.com/user/downloadSubjectPublicKey?username=openhab

$ 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 http://archive.raspberrypi.org/debian buster InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:3 https://repos.influxdata.com/debian 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 :wink:

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 gefunden

          Welcome 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 Build

Use ‘’ 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?

What does the command:

dpkg -l 'openhab*'

show ?

Thank you @Wolfgang_S for your reply. This ist the result:

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 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: Wed Dec 23 17:37:17 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). 2:30:40

CPU Usage = 1.25% avg over 4 cpu(s) (4 core(s) x 1 socket(s))

CPU Load = 1m: 0.30, 5m: 0.26, 15m: 0.20

Memory = Free: 3.01GB (80%), Used: 0.77GB (20%), 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 = 2 session(s)

Processes = 121 running processes of 32768 maximum processes

###############################################################################
sed: /var/lib/openhab2/etc/version.properties kann nicht gelesen werden: Datei oder Verzeichnis nicht gefunden

          Welcome 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’

[19:55:26] openhabian@openhab:~$ dpkg -l ‘openhab*’
Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Vollständig Löschen/Halten
| Status=Nicht/Installiert/Config/U=Entpackt/halb konFiguriert/
Halb installiert/Trigger erWartet/Trigger anhängig
|/ Fehler?=(kein)/R=Neuinstallation notwendig (Status, Fehler: GROSS=schlecht)
||/ Name Version Architektur Beschreibung
++±================-============-============-=================================
ii openhab 3.0.0-1 all openhab
ii openhab-addons 3.0.0-1 all openhab-addons
un openhab-runtime (keine Beschreibung vorhanden)
rc openhab2 2.5.11-1 all openhab2
un openhab2-offline (keine Beschreibung vorhanden)
un openhab2-online (keine Beschreibung vorhanden)

My openHAB3 is working correctly

[05:38:53] openhabian@openHABianDevice:~$ dpkg -l 'openhab*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name             Version      Architecture Description
+++-================-============-============-=================================
ii  openhab          3.0.0-1      all          openhab
ii  openhab-addons   3.0.0-1      all          openhab-addons
un  openhab-runtime  <none>       <none>       (no description available)
un  openhab2         <none>       <none>       (no description available)
un  openhab2-offline <none>       <none>       (no description available)
un  openhab2-online  <none>       <none>       (no description available)

What branch of openhabian are you using?

image

Can you create a debug log

Can you post the command result of
sudo /bin/systemctl status openhab.service

It looks to me like your firemod splash screen is incorrect.

What version do you get in karaf console?

image

ssh -p 8101 openhab@localhost
default pw habopen

Thank you @denominator for your reply. The result of the requested commands:

              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’

[11:01:15] openhabian@openhab:~$ sudo /bin/systemctl status openhab.service
[sudo] Passwort für openhabian:
● openhab.service - openHAB instance, reachable at http://openhab:8080
Loaded: loaded (/usr/lib/systemd/system/openhab.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/openhab.service.d
└─override.conf
Active: active (running) since Wed 2020-12-23 17:24:02 CET; 17h ago
Docs: Introduction | openHAB
https://community.openhab.org
Main PID: 668 (java)
Tasks: 211 (limit: 4915)
CGroup: /system.slice/openhab.service
└─668 /usr/bin/java -XX:-UsePerfData -Dopenhab.home=/usr/share/openhab -Dopenhab.conf=/etc/openhab -Dopenhab.runtime=/usr/share/openhab/runtime -Dopenhab.userdata=/var/lib

Dez 23 17:26:38 openhab karaf[668]: Security framework of XStream not explicitly initialized, using predefined black list on your own risk.
Dez 23 17:26:38 openhab karaf[668]: Security framework of XStream not explicitly initialized, using predefined black list on your own risk.
Dez 23 17:26:38 openhab karaf[668]: Security framework of XStream not explicitly initialized, using predefined black list on your own risk.
Dez 23 17:26:38 openhab karaf[668]: Security framework of XStream not explicitly initialized, using predefined black list on your own risk.
Dez 23 17:26:38 openhab karaf[668]: Security framework of XStream not explicitly initialized, using predefined black list onWarning: The unit file, source configuration file or drop-
your own risk.
Dez 23 17:26:38 openhab karaf[668]: Security framework of XStream not explicitly initialized, using predefined black list on your own risk.
Dez 23 17:26:38 openhab karaf[668]: Security framework of XStream not explicitly initialized, using predefined black list on your own risk.
Dez 23 17:26:38 openhab karaf[668]: Security framework of XStream not explicitly initialized, using predefined black list on your own risk.
Dez 23 17:26:38 openhab karaf[668]: Security framework of XStream not explicitly initialized, using predefined black list on your own risk.
Dez 23 17:26:38 openhab karaf[668]: Security framework of XStream not explicitly initialized, using predefined black list on your own risk.

[11:16:18] openhabian@openhab:~$ ssh -p 8101 openhab@localhost
The authenticity of host ‘[localhost]:8101 ([127.0.0.1]:8101)’ can’t be established.
RSA key fingerprint is SHA256:WL9X9+aLzkKhX8V1ONDdjAleQcdZA4n/cxJvCGu8SB4.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added ‘[localhost]:8101’ (RSA) to the list of known hosts.
Password authentication
Password:

                       _   _     _     ____

___ ___ ___ ___ | | | | / \ | __ )
/ _ \ / _ \ / _ \ / _ \ | || | / _ \ | _
| (
) | () | __/| | | || _ | / ___ \ | |) )
___/| / _/|| |||| ||// _|__/
|
| 3.0.0 - Release Build

Use ‘’ for a list of available commands
and ‘[cmd] --help’ for help on a specific command.
To exit, use ‘’ or ‘logout’.

openhab>

I run the branch selection again … and now I get consistent message about the running version

###############################################################################

                      _   _     _     ____   _

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

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’

[11:36:12] openhabian@openhab:~$ dpkg -l ‘openhab*’
Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Vollständig Löschen/Halten
| Status=Nicht/Installiert/Config/U=Entpackt/halb konFiguriert/
Halb installiert/Trigger erWartet/Trigger anhängig
|/ Fehler?=(kein)/R=Neuinstallation notwendig (Status, Fehler: GROSS=schlecht)
||/ Name Version Architektur Beschreibung
++±================-============-============-=================================
ii openhab 3.0.0-1 all openhab
ii openhab-addons 3.0.0-1 all openhab-addons
un openhab-runtime (keine Beschreibung vorhanden)
rc openhab2 2.5.11-1 all openhab2
un openhab2-offline (keine Beschreibung vorhanden)
un openhab2-online (keine Beschreibung vorhanden)
[11:37:58] openhabian@openhab:~$

… but “openhab2 2.5.11-1” ist still listed as "rc " and not as “un” as in your screenshot … whatever that means … I’m not an linux expert :frowning:

I have the same Issue.
I upgraded from openhab 2.5.10-1 to openhab 3.0.0.1 and also get the wrong Version Info when starting up the raspberry.
I am using the stable branch.
Is it possible that openhabian searches at the wrong place for the current Version information:

sed: /var/lib/openhab2/etc/version.properties kann nicht gelesen werden: Datei oder Verzeichnis nicht gefunden

Shouldn’t this be a path with “openhab” instead of “openhab 2” now since the 2 has been removed?

The Web Version (openhabian:8080) is openhab Version 3 and seems to run without problems.

Here my log:

Linux openhabian 5.4.79-v7l+ #1373 SMP Mon Nov 23 13:27:40 GMT 2020 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: Sun Dec 27 13:19:10 2020 from 192.168.178.49

###############################################################################
############### #######################################################
###############################################################################

Ip =

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:11:30

CPU Usage = 0% avg over 4 cpu(s) (4 core(s) x 1 socket(s))

CPU Load = 1m: 0.02, 5m: 0.08, 15m: 0.10

Memory = Free: 2.93GB (77%), Used: 0.85GB (23%), Total: 3.78GB

Swap = Free: 0.68GB (100%), Used: 0.00GB (0%), Total: 0.68GB

Root = Free: 23.55GB (84%), Used: 4.31GB (16%), Total: 29.07GB

Updates = 0 apt updates available.

Sessions = 3 session(s)

Processes = 151 running processes of 32768 maximum processes

###############################################################################
sed: /var/lib/openhab2/etc/version.properties kann nicht gelesen werden: Datei oder Verzeichnis nicht gefunden

          Welcome to            __  _____    ____  _
        ____  ____  ___  ____  / / / /   |  / __ )(_)___ _____
       / __ \/ __ \/ _ \/ __ \/ /_/ / /| | / __  / / __ `/ __ \
      / /_/ / /_/ /  __/ / / / __  / ___ |/ /_/ / / /_/ / / / /
      \____/ .___/\___/_/ /_/_/ /_/_/  |_/_____/_/\__,_/_/ /_/
          /_/
              openHAB 2.5.10-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://openhabian:8080
To interact with openHAB on the command line, execute: ‘openhab-cli --help’

[13:20:27] openhabian@openhabian:~$ ssh -p 8101 openhab@localhost
Password authentication
Password:

                       _   _     _     ____

___ ___ ___ ___ | | | | / \ | __ )
/ _ \ / _ \ / _ \ / _ \ | || | / _ \ | _
| (
) | () | __/| | | || _ | / ___ \ | |) )
___/| / _/|| |||| ||// _|__/
|
| 3.0.0 - Release Build

Use ‘’ for a list of available commands
and ‘[cmd] --help’ for help on a specific command.
To exit, use ‘’ or ‘logout’.

openhab> Connection to localhost closed.
[13:21:21] openhabian@openhabian:~$ dpkg -l ‘openhab*’
Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Vollständig Löschen/Halten
| Status=Nicht/Installiert/Config/U=Entpackt/halb konFiguriert/
Halb installiert/Trigger erWartet/Trigger anhängig
|/ Fehler?=(kein)/R=Neuinstallation notwendig (Status, Fehler: GROSS=schlecht||/ Name Version Architektur Beschreibung
++±================-============-============-==============================ii openhab 3.0.0-1 all openhab
ii openhab-addons 3.0.0-1 all openhab-addons
un openhab-runtime (keine Beschreibung vorhanden)rc openhab2 2.5.10-1 all openhab2
un openhab2-offline (keine Beschreibung vorhanden)un openhab2-online (keine Beschreibung vorhanden)lines 1-12/12 (END)…skipping…
Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Vollständig Löschen/Halten
| Status=Nicht/Installiert/Config/U=Entpackt/halb konFiguriert/
Halb installiert/Trigger erWartet/Trigger anhängig
|/ Fehler?=(kein)/R=Neuinstallation notwendig (Status, Fehler: GROSS=schlecht||/ Name Version Architektur Beschreibung
++±================-============-============-==============================ii openhab 3.0.0-1 all openhab
ii openhab-addons 3.0.0-1 all openhab-addons
un openhab-runtime (keine Beschreibung vorhanden)rc openhab2 2.5.10-1 all openhab2
un openhab2-offline (keine Beschreibung vorhanden)un openhab2-online (keine Beschreibung vorhanden)~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
lines 1-12/12 (END)

Welcome @A_S in the OH community

I tried to fix the issue as follows:

  1. I run the branch selection again
    image

  2. I have manually uninstalled openhab2 (to get rid of the wrong result line “rc openhab2 2.5.10-1 all openhab2” of the command “dpkg -l ‘openhab*’” by entering the following commands in the ssh terminal:
    sudo apt purge openhab2
    sudo apt update

    after that openhab2 is listet as uninstalled (un)

$ dpkg -l ‘openhab*’
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
++±================-============-============-=================================
ii openhab 3.0.0-1 all openhab
ii openhab-addons 3.0.0-1 all openhab-addons
un openhab-runtime (no description available)
un openhab2 (no description available)
un openhab2-offline (no description available)
un openhab2-online (no description available)

  1. I discovered that the samba network mapping has not been updated during the OH upgrade
    (I modified the textual configuration and was surprised that the configuration was not changed in OH3)
    So I modified the Samba Configuration by edition the file smb.conf and replaced “openhab2” by “openhab” (you have to scroll down to the end of the file)

    sudo nano /etc/samba/smb.conf

[openHAB-conf]
comment=openHAB site configuration
path=/etc/openhab
writeable=yes
public=no
create mask=0664
directory mask=0775
veto files = /Thumbs.db/.DS_Store/..DS_Store/.apdisk/.*/
delete veto files = yes

[openHAB-userdata]
comment=openHAB userdata
path=/var/lib/openhab
writeable=yes
public=no
create mask=0664
directory mask=0775
veto files = /Thumbs.db/.DS_Store/..DS_Store/.apdisk/.*/
delete veto files = yes

[openHAB-sys]
comment=openHAB application
path=/usr/share/openhab
writeable=yes
public=no
create mask=0664
directory mask=0775
veto files = /Thumbs.db/.DS_Store/..DS_Store/.apdisk/.*/
delete veto files = yes

[openHAB-logs]
comment=openHAB log files
path=/var/log/openhab
writeable=yes
public=no
create mask=0664
directory mask=0775
veto files = /Thumbs.db/.DS_Store/..DS_Store/.apdisk/.*/
delete veto files = yes

The only remaining issue is that the log still shows some warnings which may result from Openhab2 configuration:

2020-12-26 17:45:50.962 [WARN ] [core.karaf.internal.FeatureInstaller] - The binding add-on ‘http1’ does not exist - ignoring it.

2020-12-26 17:45:50.980 [WARN ] [core.karaf.internal.FeatureInstaller] - The binding add-on ‘fritzboxtr0641’ does not exist - ignoring it.

2020-12-26 17:45:51.019 [WARN ] [core.karaf.internal.FeatureInstaller] - The misc add-on ‘ruleengine’ does not exist - ignoring it.

2020-12-26 17:45:51.047 [WARN ] [core.karaf.internal.FeatureInstaller] - The ui add-on ‘habmin’ does not exist - ignoring it.

2020-12-26 17:45:51.050 [WARN ] [core.karaf.internal.FeatureInstaller] - The ui add-on ‘paper’ does not exist - ignoring it.

1 Like

Have seen this as well, renamed the samba config from openhab2 to openhab as well as just removed the legacy plugin/binding entries here:

sudo nano /var/lib/openhab/config/org/openhab/addons.config
1 Like

Thank you @BG56 and @hschulze86 for your good input that sounds reasonable to me.
Switching to the OH3 branch also showed the right version number at my system.
I also have the same issue with RC openhab 2.
Unfortunately I am not an expert in Linux, so I can’t contribute to a solution.
I also don’t know if it is really a problem that there are some deposits of OH2 left over.
As already mentioned, the web version of OH3 works, so everything seems to be fine.

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.