openhab / openhabian

openHABian - empowering the smart home, for Raspberry Pi and Debian systems
https://community.openhab.org/t/13379
ISC License
818 stars 251 forks source link

Release 1.8c not respecting "clonebranch=openHAB3" setting #1846

Closed michikrug closed 3 months ago

michikrug commented 4 months ago

Issue information:

Yesterday, I tried to upgrade my PI to the lastest openhabian image to update my OH3 setup to OH4. As advised in the forum (https://community.openhab.org/t/openhab-4-migration-faq/148144), I first went for a OH3 setup based on the new image. So I flashed release 1.8c to a brand new SD card and set both the "clonebranch=openHAB3" and also the "initialconfig" option. After openhabian finished its setup, I was presented with a fresh OH4.1.1 installation with nothing restored. When looking in the "openhabian.conf" file after setup, it was like default, without my changes. I even tried it twice. Also openhabian was running on main branch.

After that, I flashed the 1.8 release and with that everything worked as expected. openhabian was using openHAB3 branch, OH3 was installed and my zip was restored.

Are the instructions outdated? Has there been some change in 1.8c that breaks that option but has not been outlined?

Debug information:

Not kept the logs, but can try again if required, as it seems reproducible.

System information:

RaspberryPi 3B, fresh SD card flashed with release 1.8c 64bit image

mstormi commented 4 months ago

not possible to tell without logs to show what's going on

Not kept the logs, but can try again if required, as it seems reproducible.

please do, provide first-boot.log and make sure you have debugmode=maximum

mstormi commented 3 months ago

Please try again with 1.9

michikrug commented 3 months ago

Please try again with 1.9

Thanks, currently trying... will report back

michikrug commented 3 months ago

Worked as expected. I would say we can close this issue with the reference to use the new 1.9 release.

Btw. would there be any reason to start again with my setup with the 1.9 version, if I just did so with 1.8?

mstormi commented 3 months ago

Thanks. 1.9 is bookworm based, 1.8 is still the older Linux distro and you cannot (safely) upgrade that. So if I were you I'd go with 1.9 now.