I have a workaround:
1: when install fails, open /opt/openhabian/functions/java-jre.bash
change the middle line. this will skip the java selection
# Fetch and copy new JAVA runtime cond_redirect wget -nv -O "$jdkTempLocation"/zulu8.tar.gz https://cdn.azul.com/zulu-embedded/bin/zulu8.40.0.178-ca-jdk1.8.0_222-linux_aarch32hf.tar.gz tar -xpzf "$jdkTempLocation"/zulu8.tar.gz -C "${jdkTempLocation}"
2: open /boot/first-boot.bash
and comment these 3 lines. this wil prevent the previous file from being overwritten
# echo -n "$(timestamp) [openHABian] Cloning myself... " # [ -d /opt/openhabian/ ] && rm -rf /opt/openhabian/ # check if we have remnants of a previous installation attempt. # git clone -b master https://github.com/openhab/openhabian.git /opt/openhabian &>/dev/null
I had to reboot twice, the first time even if completed, openhab did not start.
second was fine