[DietPi] Migration from 2.5.12-1 to 3.0.2-1 loses configuration

I tried to perform the APT migration today as described in

I updated to Zulu OpenJDK 11 and checked that OH2 was still running as expected. It was.

System information:

 DietPi v7.1.2 : 22:19 - Wed 05/05/21
 ─────────────────────────────────────────────────────
 - Device model : RPi 3 Model B (armv7l)

This is the log of the upgrade:

root@dietpi:~# apt install openhab
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  openhab2
The following NEW packages will be installed:
  openhab
0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
Need to get 83.3 MB of archives.
After this operation, 791 kB disk space will be freed.
Do you want to continue? [Y/n]
Get:1 https://openhab.jfrog.io/artifactory/openhab-linuxpkg stable/main armhf openhab all 3.0.2-1 [83.3 MB]
Fetched 83.3 MB in 41s (2,020 kB/s)
(Reading database ... 41369 files and directories currently installed.)
Removing openhab2 (2.5.12-1) ...
Selecting previously unselected package openhab.
(Reading database ... 40144 files and directories currently installed.)
Preparing to unpack .../openhab_3.0.2-1_all.deb ...
Unpacking openhab (3.0.2-1) ...
Setting up openhab (3.0.2-1) ...

Configuration file '/etc/openhab/services/addons.cfg'
 ==> File on system created by you or by a script.
 ==> File also in package provided by package maintainer.
 ==> Keeping old config file as default.

Configuration file '/etc/openhab/services/runtime.cfg'
 ==> File on system created by you or by a script.
 ==> File also in package provided by package maintainer.
 ==> Keeping old config file as default.

Configuration file '/var/lib/openhab/etc/org.ops4j.pax.logging.cfg'
 ==> File on system created by you or by a script.
 ==> File also in package provided by package maintainer.
 ==> Keeping old config file as default.

Configuration file '/var/lib/openhab/etc/users.properties'
 ==> File on system created by you or by a script.
 ==> File also in package provided by package maintainer.
 ==> Keeping old config file as default.

Configuration file '/var/lib/openhab/etc/keystore'
 ==> File on system created by you or by a script.
 ==> File also in package provided by package maintainer.
 ==> Keeping old config file as default.
[openHAB] Previous 2.x install detected, making necessary changes
[openHAB] Performing post-update tasks for version 3.0.0:
  Moving:   From /var/lib/openhab/config/org/eclipse/smarthome/i18n.config to /var/lib/openhab/config/org/openhab/i18n.config
  Replacing: String org.eclipse.smarthome.i18n to org.openhab.i18n in file /var/lib/openhab/config/org/openhab/i18n.config
  Moving:   From /var/lib/openhab/config/org/eclipse/smarthome/persistence.config to /var/lib/openhab/config/org/openhab/persistence.config
  Replacing: String org.eclipse.smarthome.persistence to org.openhab.persistence in file /var/lib/openhab/config/org/openhab/persistence.config
  Moving:   From /var/lib/openhab/config/org/eclipse/smarthome/audio.config to /var/lib/openhab/config/org/openhab/audio.config
  Replacing: String org.eclipse.smarthome.audio to org.openhab.audio in file /var/lib/openhab/config/org/openhab/audio.config
  Moving:   From /var/lib/openhab/config/org/eclipse/smarthome/voice.config to /var/lib/openhab/config/org/openhab/voice.config
  Replacing: String org.eclipse.smarthome.voice to org.openhab.voice in file /var/lib/openhab/config/org/openhab/voice.config
  Moving:   From /var/lib/openhab/config/org/eclipse/smarthome/inbox.config to /var/lib/openhab/config/org/openhab/inbox.config
  Replacing: String org.eclipse.smarthome.inbox to org.openhab.inbox in file /var/lib/openhab/config/org/openhab/inbox.config
  Moving:   From /var/lib/openhab/config/org/eclipse/smarthome/links.config to /var/lib/openhab/config/org/openhab/links.config
  Replacing: String org.eclipse.smarthome.links to org.openhab.links in file /var/lib/openhab/config/org/openhab/links.config
  Moving:   From /var/lib/openhab/config/org/eclipse/smarthome/folder.config to /var/lib/openhab/config/org/openhab/folder.config
  Replacing: String org.eclipse.smarthome.folder to org.openhab.folder in file /var/lib/openhab/config/org/openhab/folder.config
  Moving:   From /var/lib/openhab/config/org/eclipse/smarthome/threadpool.config to /var/lib/openhab/config/org/openhab/threadpool.config
  Replacing: String org.eclipse.smarthome.threadpool to org.openhab.threadpool in file /var/lib/openhab/config/org/openhab/threadpool.config
  Moving:   From /var/lib/openhab/config/org/eclipse/smarthome/autoupdate.config to /var/lib/openhab/config/org/openhab/autoupdate.config
  Replacing: String org.eclipse.smarthome.autoupdate to org.openhab.autoupdate in file /var/lib/openhab/config/org/openhab/autoupdate.config
  Moving:   From /var/lib/openhab/config/org/eclipse/smarthome/chart.config to /var/lib/openhab/config/org/openhab/chart.config
  Replacing: String org.eclipse.smarthome.chart to org.openhab.chart in file /var/lib/openhab/config/org/openhab/chart.config
  Moving:   From /var/lib/openhab/config/org/eclipse/smarthome/lsp.config to /var/lib/openhab/config/org/openhab/lsp.config
  Replacing: String org.eclipse.smarthome.lsp to org.openhab.lsp in file /var/lib/openhab/config/org/openhab/lsp.config
  Moving:   From /var/lib/openhab/config/org/eclipse/smarthome/network.config to /var/lib/openhab/config/org/openhab/network.config
  Replacing: String org.eclipse.smarthome.network to org.openhab.network in file /var/lib/openhab/config/org/openhab/network.config
  Moving:   From /var/lib/openhab/config/org/eclipse/smarthome/rulehli.config to /var/lib/openhab/config/org/openhab/rulehli.config
  Replacing: String org.eclipse.smarthome.rulehli to org.openhab.rulehli in file /var/lib/openhab/config/org/openhab/rulehli.config
  Replacing: String org.eclipse.smarthome.core to org.openhab.core in file /var/lib/openhab/jsondb/automation_rules.json
  Replacing: String org.eclipse.smarthome to org.openhab.core in file /var/lib/openhab/jsondb/automation_rules.json
  Moving:   From /var/lib/openhab/jsondb/org.eclipse.smarthome.config.discovery.DiscoveryResult.json to /var/lib/openhab/jsondb/org.openhab.core.config.discovery.DiscoveryResult.json
  Replacing: String org.eclipse.smarthome.core to org.openhab.core in file /var/lib/openhab/jsondb/org.openhab.core.config.discovery.DiscoveryResult.json
  Replacing: String org.eclipse.smarthome to org.openhab.core in file /var/lib/openhab/jsondb/org.openhab.core.config.discovery.DiscoveryResult.json
  Moving:   From /var/lib/openhab/jsondb/org.eclipse.smarthome.core.thing.link.ItemChannelLink.json to /var/lib/openhab/jsondb/org.openhab.core.thing.link.ItemChannelLink.json
  Replacing: String org.eclipse.smarthome.core to org.openhab.core in file /var/lib/openhab/jsondb/org.openhab.core.thing.link.ItemChannelLink.json
  Replacing: String org.eclipse.smarthome to org.openhab.core in file /var/lib/openhab/jsondb/org.openhab.core.thing.link.ItemChannelLink.json
  Moving:   From /var/lib/openhab/jsondb/org.eclipse.smarthome.core.thing.Thing.json to /var/lib/openhab/jsondb/org.openhab.core.thing.Thing.json
  Replacing: String org.eclipse.smarthome.core to org.openhab.core in file /var/lib/openhab/jsondb/org.openhab.core.thing.Thing.json
  Replacing: String org.eclipse.smarthome to org.openhab.core in file /var/lib/openhab/jsondb/org.openhab.core.thing.Thing.json
  Deleting Directory: /var/lib/openhab/config/org/eclipse/smarthome
  Deleting Directory: /var/lib/openhab/habmin
  Deleting Directory: /var/lib/openhab/config/com/eclipsesource
[openHAB] Please use the following commands to launch openHAB on a system restart.
            sudo /bin/systemctl daemon-reload
            sudo /bin/systemctl enable openhab.service

[openHAB] You can start openHAB manually by executing the command:
            sudo /bin/systemctl start openhab.service

Processing triggers for systemd (241-7~deb10u7+rpi1) ...
root@dietpi:~#

It seemd to have worked fine. This is the current state of OH:

root@dietpi:~# openhab-cli info

Version:     3.0.2 (Build)

User:        openhab (Active Process 435)
User Groups: openhab tty dialout audio bluetooth gpio

Directories: Folder Name      | Path                        | User:Group
             -----------      | ----                        | ----------
             OPENHAB_HOME     | /usr/share/openhab          | openhab:openhab
             OPENHAB_RUNTIME  | /usr/share/openhab/runtime  | openhab:openhab
             OPENHAB_USERDATA | /var/lib/openhab            | openhab:openhab
             OPENHAB_CONF     | /etc/openhab                | openhab:openhab
             OPENHAB_LOGDIR   | /var/log/openhab            | openhab:openhab
             OPENHAB_BACKUPS  | /var/lib/openhab/backups    | root:root

URLs:        http://192.168.1.10:8080
             https://192.168.1.10:8443

This also seems fine. But when I want to access the configuration page in my browser, I should cerate a first admin account. This seems to be wrong:

image

Here is the output of systemctl:

# systemctl status openhab.service
● openhab.service - openHAB - empowering the smart home
   Loaded: loaded (/usr/lib/systemd/system/openhab.service; enabled; vendor preset: enabled)
   Active: active (running) since Wed 2021-05-05 16:32:03 CEST; 5h 36min ago
     Docs: https://www.openhab.org/docs/
           https://community.openhab.org
 Main PID: 435 (java)
    Tasks: 142 (limit: 2181)
   CGroup: /system.slice/openhab.service
           └─435 /usr/bin/java -XX:-UsePerfData -Dopenhab.home=/usr/share/openhab -Dopenhab.conf=/etc/openhab -Dopenhab.runtime=/usr/share/openhab/runtime -D
openhab.userdata=/var/lib/openhab -Dopenhab.logdir=/var/log/openhab -Dfelix.cm.dir=/var/lib/openhab/config -Djava.library.path=/var/lib/openhab/tmp/lib -Djet
ty.host=0.0.0.0 -Djetty.http.compliance=RFC2616 -Dnashorn.args=--no-deprecation-warning -Dorg.ops4j.pax.web.listening.addresses=0.0.0.0 -Dorg.osgi.service.ht
tp.port=8080 -Dorg.osgi.service.http.port.secure=8443 -Djava.awt.headless=true --add-reads=java.xml=java.logging --add-exports=java.base/org.apache.karaf.spe
cs.locator=java.xml,ALL-UNNAMED --patch-module java.base=/usr/share/openhab/runtime/lib/endorsed/org.apache.karaf.specs.locator-4.2.7.jar --patch-module java
.xml=/usr/share/openhab/runtime/lib/endorsed/org.apache.karaf.specs.java.xml-4.2.7.jar --add-opens java.base/java.security=ALL-UNNAMED --add-opens java.base/
java.net=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.naming/javax.naming.spi=ALL-UNN
AMED --add-opens java.rmi/sun.rmi.transport.tcp=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED --add-opens java.base/java.lang.reflect=ALL-UNNAMED --a
dd-opens java.base/java.text=ALL-UNNAMED --add-opens java.desktop/java.awt.font=ALL-UNNAMED --add-exports=java.base/sun.net.www.protocol.http=ALL-UNNAMED --a
dd-exports=java.base/sun.net.www.protocol.https=ALL-UNNAMED --add-exports=java.base/sun.net.www.protocol.jar=ALL-UNNAMED --add-exports=jdk.xml.dom/org.w3c.do
m.html=ALL-UNNAMED --add-exports=jdk.naming.rmi/com.sun.jndi.url.rmi=ALL-UNNAMED -Dkaraf.instances=/var/lib/openhab/tmp/instances -Dkaraf.home=/usr/share/ope
nhab/runtime -Dkaraf.base=/var/lib/openhab -Dkaraf.data=/var/lib/openhab -Dkaraf.etc=/var/lib/openhab/etc -Dkaraf.log=/var/log/openhab -Dkaraf.restart.jvm.su
pported=true -Djava.io.tmpdir=/var/lib/openhab/tmp -Djava.util.logging.config.file=/var/lib/openhab/etc/java.util.logging.properties -Dkaraf.startLocalConsol
e=false -Dkaraf.startRemoteShell=true -classpath /usr/share/openhab/runtime/lib/boot/org.apache.karaf.diagnostic.boot-4.2.7.jar:/usr/share/openhab/runtime/li
b/boot/org.apache.karaf.jaas.boot-4.2.7.jar:/usr/share/openhab/runtime/lib/boot/org.apache.karaf.main-4.2.7.jar:/usr/share/openhab/runtime/lib/boot/org.apach
e.karaf.specs.activator-4.2.7.jar:/usr/share/openhab/runtime/lib/boot/osgi.core-6.0.0.jar:/usr/share/openhab/runtime/lib/jdk9plus/istack-commons-runtime-3.0.
8.jar:/usr/share/openhab/runtime/lib/jdk9plus/jakarta.xml.bind-api-2.3.2.jar:/usr/share/openhab/runtime/lib/jdk9plus/javax.activation-1.2.0.jar:/usr/share/op
enhab/runtime/lib/jdk9plus/javax.annotation-api-1.3.1.jar:/usr/share/openhab/runtime/lib/jdk9plus/jaxb-runtime-2.3.2.jar:/usr/share/openhab/runtime/lib/jdk9p
lus/txw2-2.3.2.jar org.apache.karaf.main.Main

May 05 16:34:19 dietpi karaf[435]: Security framework of XStream not explicitly initialized, using predefined black list on your own risk.
May 05 16:34:19 dietpi karaf[435]: Security framework of XStream not explicitly initialized, using predefined black list on your own risk.
May 05 16:34:19 dietpi karaf[435]: Security framework of XStream not explicitly initialized, using predefined black list on your own risk.
May 05 16:34:19 dietpi karaf[435]: Security framework of XStream not explicitly initialized, using predefined black list on your own risk.
May 05 16:34:19 dietpi karaf[435]: Security framework of XStream not explicitly initialized, using predefined black list on your own risk.
May 05 16:34:19 dietpi karaf[435]: Security framework of XStream not explicitly initialized, using predefined black list on your own risk.
May 05 16:34:19 dietpi karaf[435]: Security framework of XStream not explicitly initialized, using predefined black list on your own risk.
May 05 16:34:19 dietpi karaf[435]: Security framework of XStream not explicitly initialized, using predefined black list on your own risk.
May 05 16:34:19 dietpi karaf[435]: Security framework of XStream not explicitly initialized, using predefined black list on your own risk.
May 05 16:34:19 dietpi karaf[435]: Security framework of XStream not explicitly initialized, using predefined black list on your own risk.

Here is the beginning of openhab.log before all the zwave messages start:

2021-05-05 22:21:34.433 [INFO ] [.core.internal.i18n.I18nProviderImpl] - Time zone set to 'Europe/Berlin'.
2021-05-05 22:21:34.516 [INFO ] [.core.internal.i18n.I18nProviderImpl] - Location set to '50.7235238699362,7.04217664937081'.
2021-05-05 22:21:34.526 [INFO ] [.core.internal.i18n.I18nProviderImpl] - Locale set to 'en_DE'.
2021-05-05 22:21:34.533 [INFO ] [.core.internal.i18n.I18nProviderImpl] - Measurement system set to 'SI'.
2021-05-05 22:21:52.376 [WARN ] [core.karaf.internal.FeatureInstaller] - The binding add-on 'weather1' does not exist - ignoring it.
2021-05-05 22:21:52.388 [WARN ] [core.karaf.internal.FeatureInstaller] - The binding add-on 'gpio1' does not exist - ignoring it.
2021-05-05 22:21:52.477 [WARN ] [core.karaf.internal.FeatureInstaller] - The ui add-on 'habmin' does not exist - ignoring it.
2021-05-05 22:21:52.483 [WARN ] [core.karaf.internal.FeatureInstaller] - The ui add-on 'paper' does not exist - ignoring it.
2021-05-05 22:21:56.275 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'default.items'
2021-05-05 22:21:59.268 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'mapdb.persist'
2021-05-05 22:22:00.589 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'default.sitemap'
2021-05-05 22:22:08.548 [INFO ] [.core.model.lsp.internal.ModelServer] - Started Language Server Protocol (LSP) service on port 5007
2021-05-05 22:22:09.376 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'default.rules'
2021-05-05 22:22:22.306 [WARN ] [ule.runtime.internal.DSLRuleProvider] - System shutdown rule triggers are no longer supported!
2021-05-05 22:22:30.414 [INFO ] [e.automation.internal.RuleEngineImpl] - Rule engine started.
2021-05-05 22:22:31.904 [INFO ] [org.openhab.ui.internal.UIService   ] - Started UI on port 8080
2021-05-05 22:22:49.907 [DEBUG] [wave.discovery.ZWaveDiscoveryService] - Creating ZWave discovery service for zwave:serial_zstick:4d2ed826 with scan time of 60
2021-05-05 22:22:49.912 [DEBUG] [wave.discovery.ZWaveDiscoveryService] - ZWave discovery: Active zwave:serial_zstick:4d2ed826
2021-05-05 22:22:49.917 [INFO ] [zwave.handler.ZWaveControllerHandler] - Attempting to add listener when controller is null
2021-05-05 22:22:50.257 [DEBUG] [ing.zwave.handler.ZWaveSerialHandler] - Initializing ZWave serial controller.
2021-05-05 22:22:50.261 [DEBUG] [zwave.handler.ZWaveControllerHandler] - Initializing ZWave Controller zwave:serial_zstick:4d2ed826.
2021-05-05 22:22:50.442 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - Initializing ZWave thing handler zwave:device:4d2ed826:node9.
2021-05-05 22:22:50.459 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - Initializing ZWave thing handler zwave:device:4d2ed826:node8.
2021-05-05 22:22:50.470 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - Initializing ZWave thing handler zwave:device:4d2ed826:node33.
2021-05-05 22:22:50.482 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - Initializing ZWave thing handler zwave:device:4d2ed826:node7.
2021-05-05 22:22:50.508 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - Initializing ZWave thing handler zwave:device:4d2ed826:node5.
2021-05-05 22:22:50.508 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - Initializing ZWave thing handler zwave:device:4d2ed826:node6.
2021-05-05 22:22:50.526 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - Initializing ZWave thing handler zwave:device:4d2ed826:node4.
2021-05-05 22:22:50.531 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - Initializing ZWave thing handler zwave:device:4d2ed826:node29.
2021-05-05 22:22:50.542 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - Initializing ZWave thing handler zwave:device:4d2ed826:node32.
2021-05-05 22:22:50.564 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - Initializing ZWave thing handler zwave:device:4d2ed826:node34.
2021-05-05 22:22:50.602 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - Initializing ZWave thing handler zwave:device:4d2ed826:node43.
2021-05-05 22:22:50.620 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - Initializing ZWave thing handler zwave:device:4d2ed826:node27.
2021-05-05 22:22:50.631 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - Initializing ZWave thing handler zwave:device:4d2ed826:node16.
2021-05-05 22:22:50.640 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - Initializing ZWave thing handler zwave:device:4d2ed826:node35.
2021-05-05 22:22:50.702 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - Initializing ZWave thing handler zwave:device:4d2ed826:node15.
2021-05-05 22:22:50.706 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - Initializing ZWave thing handler zwave:device:4d2ed826:node28.
2021-05-05 22:22:50.713 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - Initializing ZWave thing handler zwave:device:4d2ed826:node26.
2021-05-05 22:22:50.720 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - Initializing ZWave thing handler zwave:device:4d2ed826:node20.
2021-05-05 22:22:50.738 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - Initializing ZWave thing handler zwave:device:4d2ed826:node36.
2021-05-05 22:22:50.764 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - Initializing ZWave thing handler zwave:device:4d2ed826:node31.
2021-05-05 22:22:50.781 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - Initializing ZWave thing handler zwave:device:4d2ed826:node30.
2021-05-05 22:22:50.787 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 30: MANUFACTURER not set
2021-05-05 22:22:52.288 [WARN ] [core.karaf.internal.FeatureInstaller] - The binding add-on 'weather1' does not exist - ignoring it.
2021-05-05 22:22:52.296 [WARN ] [core.karaf.internal.FeatureInstaller] - The binding add-on 'gpio1' does not exist - ignoring it.
2021-05-05 22:22:52.361 [WARN ] [core.karaf.internal.FeatureInstaller] - The ui add-on 'habmin' does not exist - ignoring it.
2021-05-05 22:22:52.365 [WARN ] [core.karaf.internal.FeatureInstaller] - The ui add-on 'paper' does not exist - ignoring it.
2021-05-05 22:22:55.296 [DEBUG] [ing.zwave.handler.ZWaveSerialHandler] - Connecting to serial port '/dev/ttyACM0'
2021-05-05 22:22:55.329 [DEBUG] [ing.zwave.handler.ZWaveSerialHandler] - Starting receive thread
2021-05-05 22:22:55.339 [DEBUG] [WaveSerialHandler$ZWaveReceiveThread] - Starting ZWave thread: Receive
2021-05-05 22:22:55.343 [DEBUG] [ing.zwave.handler.ZWaveSerialHandler] - Serial port is initialized
2021-05-05 22:22:55.346 [DEBUG] [zwave.handler.ZWaveControllerHandler] - Initialising ZWave controller
2021-05-05 22:22:55.412 [DEBUG] [nal.protocol.ZWaveTransactionManager] - ZWaveReceiveThread queue empty
2021-05-05 22:22:55.412 [INFO ] [ve.internal.protocol.ZWaveController] - Starting ZWave controller
2021-05-05 22:22:55.416 [DEBUG] [nal.protocol.ZWaveTransactionManager] - Transaction SendNextMessage 0 out at start. Holdoff false.
2021-05-05 22:22:55.416 [INFO ] [ve.internal.protocol.ZWaveController] - ZWave timeout is set to 5000ms. Soft reset is false.
2021-05-05 22:22:55.420 [DEBUG] [ve.internal.protocol.ZWaveController] - Event listener added.
2021-05-05 22:22:55.426 [DEBUG] [ve.internal.protocol.ZWaveController] - Event listener added.
2021-05-05 22:22:55.432 [DEBUG] [zwave.handler.ZWaveControllerHandler] - Scheduling network mesh heal for 6 hours time.
2021-05-05 22:22:58.421 [DEBUG] [.ZWaveController$InitializeDelayTask] - Initialising network
2021-05-05 22:22:58.454 [DEBUG] [nal.protocol.ZWaveTransactionManager] - NODE 255: Added 0 to queue - size 1
2021-05-05 22:22:58.456 [DEBUG] [nal.protocol.ZWaveTransactionManager] - Transaction SendNextMessage 0 out at start. Holdoff false.
2021-05-05 22:22:58.468 [DEBUG] [wave.internal.protocol.SerialMessage] - Assembled message buffer = 01 03 00 15 E9
2021-05-05 22:22:58.471 [DEBUG] [ing.zwave.handler.ZWaveSerialHandler] - NODE 255: Sending REQUEST Message = 01 03 00 15 E9
2021-05-05 22:22:58.475 [DEBUG] [ing.zwave.handler.ZWaveSerialHandler] - Message SENT

So now I am lost. I tried to perform every step exactly as described and the migration still completely failed.

I have not performed the clean up step where the old openhab2 user is removed. I am sure that I did something wrong or maybe the migration does not work on the DietPi distribution?

After reading

and

it also seems that nothing really applies as I cannot even login on the web UI.

DietPi is really way off mainstream so who knows. I doubt anyone ever tried.
You will be better off going with openHABian.

Yeah I thought so. OpenHABian seems to be the way to go. I chose the Linux distribution way before deciding which home automation system I would use on top of it.

I was extremely satisfied by many of the great features of DietPi. It is a shame that I have to abandon it now. But I guess it can’t be helped. Having a more exotic base setup will only needlessly complicate the already extremely complex and almost impossible to maintain configuration of OpenHAB. I was looking forward to the improvements in version 3.

Thank you!

Why does this seem wrong. OH 2.5 didn’t have the concept of users. OH introduced the concept of users and roles. There must be at least one administration user. That page is asking you to create one.

Note, this has nothing to do with the users on your operating system (e.g. user you use to log in through ssh).

This is very important.

Anyway, based on what you’ve posted there are no unexpected problems. You’ve a bunch add-ons bindings that won’t work/no longer exist in OH 3 (weather1, gpio1, habmin, paper) but beyond that there is nothing wrong here.

You would do well to go through the Getting Started tutorial so you know what to expect.

Thanks for your answer. As I already created a user in OH 2.5, I wrongly assumed that user would be migrated. Now I know it was deleted on purpose.Good!

You would do well to go through the Getting Started tutorial so you know what to expect.

Yes, I missed this in the migration guide. I thought there was no additional tutorial needed after sticking to the migration documentation.

Thanks again!