openhabian: During initial setup: "java_zulu_embedded: command not found"
The initial setup was not able to finish successfully.
There seems to be an issue with the zulu jre.
Here is the output of cat /boot/first-boot.log
:
2018-03-13_22:53:58_UTC [openHABian] Starting the openHABian initial setup.
2018-03-13_22:53:58_UTC [openHABian] Storing configuration... OK
2018-03-13_22:53:58_UTC [openHABian] Changing default username and password... OK
2018-03-13_22:54:00_UTC [openHABian] Setting up Wi-Fi connection... OK, rebooting...
2018-03-13_22:54:11_UTC [openHABian] Starting the openHABian initial setup.
2018-03-13_22:54:11_UTC [openHABian] Storing configuration... OK
2018-03-13_22:54:11_UTC [openHABian] Changing default username and password... SKIPPED
2018-03-13_22:54:11_UTC [openHABian] Setting up Wi-Fi connection... OK
2018-03-13_22:54:11_UTC [openHABian] Ensuring network connectivity... OK
2018-03-13_22:54:11_UTC [openHABian] Waiting for dpkg/apt to get ready... OK
2019-01-10_19:24:19_UTC [openHABian] Updating repositories and upgrading installed packages... OK
2019-01-10_19:33:57_UTC [openHABian] Installing git package... OK
2019-01-10_19:34:50_UTC [openHABian] Cloning myself... OK
2019-01-10_19:34:52_UTC [openHABian] Executing 'openhabian-setup.sh unattended'...
2019-01-10_19:34:53_UTC [openHABian] Checking for root privileges... OK
2019-01-10_19:34:53_UTC [openHABian] Loading configuration file '/etc/openhabian.conf'... OK
2019-01-10_19:34:53_UTC [openHABian] Setting timezone based on IP geolocation... OK (Europe/Berlin)
2019-01-10_20:36:56_CET [openHABian] Setting locale based on openhabian.conf... OK
2019-01-10_20:37:23_CET [openHABian] Setting hostname of the base system... OK
2019-01-10_20:37:23_CET [openHABian] Setting the GPU memory split down to 16MB for headless system... OK
2019-01-10_20:37:23_CET [openHABian] Enabling Audio output... OK
2019-01-10_20:37:23_CET [openHABian] Installing basic can't-be-wrong packages (screen, vim, ...)... OK
2019-01-10_20:38:57_CET [openHABian] Installing additional needed packages... OK
2019-01-10_20:39:20_CET [openHABian] Installing additional bluetooth packages... OK
2019-01-10_20:39:36_CET [openHABian] Adding slightly tuned bash config files to system... OK
2019-01-10_20:39:36_CET [openHABian] Adding slightly tuned vim config file to system... OK
2019-01-10_20:39:36_CET [openHABian] Downloading and setting up FireMotD... OK
/opt/openhabian/openhabian-setup.sh: line 70: java_zulu_embedded: command not found
2019-01-10_20:40:20_CET [openHABian] Installing or upgrading to latest openHAB release (stable)... OK
2019-01-10_20:41:56_CET [openHABian] Adding an openHAB dashboard tile for 'openhabiandocs'... OK
2019-01-10_20:41:56_CET [openHABian] Adding openHAB syntax to vim editor... OK
2019-01-10_20:41:56_CET [openHABian] Adding openHAB syntax to nano editor... OK
2019-01-10_20:41:57_CET [openHABian] Adding openHAB scheme to multitail... OK
2019-01-10_20:41:57_CET [openHABian] Preparing openHAB folder mounts under /srv/... OK
2019-01-10_20:41:57_CET [openHABian] Applying file permissions recommendations... OK
2019-01-10_20:41:59_CET [openHABian] Applying miscellaneous system settings... OK
2019-01-10_20:41:59_CET [openHABian] Setting up Samba network shares... OK
2019-01-10_20:43:26_CET [openHABian] Installing Node.js for arm (prerequisite for other packages)... OK
2019-01-10_20:43:52_CET [openHABian] Installing the openHAB Log Viewer (frontail)... OK
2019-01-10_20:44:32_CET [openHABian] Adding an openHAB dashboard tile for 'frontail'... OK
2019-01-10_20:44:33_CET [openHABian] Execution of 'openhabian-setup.sh unattended' completed.
2019-01-10_20:44:33_CET [openHABian] Waiting for openHAB to become ready... 2019-01-10_21:07:02_CET [openHABian] Starting the openHABian initial setup.
2019-01-10_21:07:02_CET [openHABian] Storing configuration... OK
2019-01-10_21:07:02_CET [openHABian] Changing default username and password... SKIPPED
2019-01-10_21:07:02_CET [openHABian] Setting up Wi-Fi connection... OK
2019-01-10_21:07:02_CET [openHABian] Ensuring network connectivity... OK
2019-01-10_21:07:03_CET [openHABian] Waiting for dpkg/apt to get ready... OK
2019-01-10_21:07:12_CET [openHABian] Updating repositories and upgrading installed packages... OK
2019-01-10_21:07:34_CET [openHABian] Installing git package... OK
2019-01-10_21:07:48_CET [openHABian] Cloning myself... FAILED
2019-01-10_21:07:48_CET [openHABian] Initial setup exiting with an error!
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 28 (13 by maintainers)
Commits related to this issue
- Change to .tar installation for Zulu Embedded * Arm based CPU now use Zulu Embedded from Tar package. * x86 CPU still uses Zulu Enterprise using apt repository fixes #457, #508, #453, — committed to EliasGabrielsson/openhabian by EliasGabrielsson 5 years ago
- Change to .tar installation for Zulu Embedded * Arm based CPU now use Zulu Embedded from Tar package. * x86 CPU still uses Zulu Enterprise using apt repository fixes #457, #508, #453, — committed to EliasGabrielsson/openhabian by EliasGabrielsson 5 years ago
- Add CI pipeline with Java install func as demo TEST FRAMEWOK, closes #520: This commit adds an initial structure how to test with BATS (https://github.com/bats-core/bats-core) using docker. The test... — committed to EliasGabrielsson/openhabian by EliasGabrielsson 5 years ago
- Add CI pipeline with Java install func as demo TEST FRAMEWOK, closes #520: This commit adds an initial structure how to test with BATS (https://github.com/bats-core/bats-core) using docker. The test... — committed to EliasGabrielsson/openhabian by EliasGabrielsson 5 years ago
- Add CI pipeline with Java install func as demo TEST FRAMEWOK, closes #520: This commit adds an initial structure how to test with BATS (https://github.com/bats-core/bats-core) using docker. The test... — committed to EliasGabrielsson/openhabian by EliasGabrielsson 5 years ago
- Add CI pipeline with Java install func as demo (#547) * Add CI pipeline with Java install func as demo TEST FRAMEWOK, closes #520: This commit adds an initial structure how to test with BATS (... — committed to openhab/openhabian by EliasGabrielsson 5 years ago
Guys, I need to apologize to everyone involved in this issue. As some might know I was occupied with personal stuff for most of 2018. I am slowly coming back to the open source community and found some time to look into openHABian. The merge of PR #459 was too reckless and a lack of oversight on my side. The PR touched an important part of the unattended installation and hence needed extra attention and thorough testing. In the past testing was mostly done manually but in response to this event we will look into the installation of an automated testing system as part of the continuous integration toolchain. If you want to learn more please see #520
Thanks to everyone for their help and patience!
@ThomDietrich I can look into a patching something during this weekend in an best effort manner.
The PR was merged, this should now be resolved. @bonieP hope it’s working now. @elektronaut69 the mistake in the Zulu routine left your system without a java runtime. We should check for one during the openHAB setup. I’ll create an issue for this. @AllenSlaghuis you got stuck at a different problem. This is not a bug of openHABian but can for sure be improved upon. I’ve already created an issue for it. @zerofruchtshake @andreas-bulling please try again!