I’ve tried openHABian for the first time today and unfortunately, my installation fails. I am getting this error:
[openHABian] === Start executing ‘openhabian-setup.sh’ ===
[openHABian] Checking for root privileges… OK
[openHABian] Setting timezone (Europe/Berlin) and locale (en_US.UTF-8)… OK
[openHABian] Activating first boot script… OK
[openHABian] Setting the GPU memory split down to 16MB for headless system… OK
[openHABian] Installing basic can’t-be-wrong packages (screen, vim, …)… OK
[openHABian] Installing additional needed packages… OK
[openHABian] Adding slightly tuned bash config files to system… OK
[openHABian] Adding slightly tuned vim config file to system… OK
[openHABian] Downloading FireMotD… OK
[openHABian] Preparing Oracle Java 8 Web Upd8 repository… OK
[openHABian] Adding openHAB 2 Snapshot repositories to sources.list.d… FAILED
[openHABian] === Finished executing ‘openhabian-setup.sh’ ===
=== Finished executing post-install.txt. ===
Removing cdebootstrap-helper-rc.d… OK
Saving current time for fake-hwclock…
Installation finished at Mon Jan 2 12:14:56 UTC 2017 and took 33 min 23 sec (2003 seconds)
I’ve tried it two times with the exact same result. I’ve used the official 1.0 release on GitHub. Should I install the package openhab2-offline manually, as @Benjy suggested three months ago, or is this a different issue with a different solution?
Hello there I just wanted to say I was brand new to both rPi and Openhab and wanted to try it out. I found openHABian, ordered a rPi3, followed the directions and it worked perfectly. Thank you!
I’m also loving openHabian and am grateful for all the work put into it.
I am having trouble getting audio to output properly to my USB sound card; I don’t think it’s a openHabian specific issue but am posting here in case there’s a connection. See my linked post:
Same here. Tried three times now…always the same failure.
[openHABian] === Start executing ‘openhabian-setup.sh’ ===
[openHABian] Checking for root privileges… OK
[openHABian] Setting timezone (Europe/Berlin) and locale (en_US.UTF-8)… OK
[openHABian] Activating first boot script… OK
[openHABian] Setting the GPU memory split down to 16MB for headless system… OK
[openHABian] Installing basic can’t-be-wrong packages (screen, vim, …)… OK
[openHABian] Installing additional needed packages… OK
[openHABian] Adding slightly tuned bash config files to system… OK
[openHABian] Adding slightly tuned vim config file to system… OK
[openHABian] Downloading FireMotD… OK
[openHABian] Preparing Oracle Java 8 Web Upd8 repository… OK
[openHABian] Adding openHAB 2 Snapshot repositories to sources.list.d… FAILED
[openHABian] === Finished executing ‘openhabian-setup.sh’ ===
=== Finished executing post-install.txt. ===
Looks like the cloudbees build of the latest snapshot failed, and only one version is possible at the moment. Might need to bare with us just a bit longer.
looks like it´s still broken not so “hassle-free” soluation trying since hours.
the generic linux install process http://docs.openhab.org/installation/linux.html has same same issue. package list not available…
Yes, the last build (#695) was made on 05.01.2017 16:47 and was broken. Since then no new build was made. I don’t know about the mechanisms for creating a new build. Maybe it has to be manually triggered, maybe it automatically tries again in case of a failed build.
You can use the manual installation method described on the link you posted. The zip-file of the latest successful build is available. But I would suggest to wait until the next successful build to start again using the package repository. It’s making things easier in the future (updates etc.).
And just for clarification: This is not the fault of openHABian.
Before finding this thread I created a ticket: https://github.com/openhab/openhabian/issues/67
I posted there instructions to install the packages. But I agree with jaydee73 that to ease future updates waiting for a fixed build could be a good idea. You can observe the status of the builds here: https://openhab.ci.cloudbees.com/job/openHAB-Distribution/
Hassle-free installation will work once the latest build has a green light.
My installation of Openhabian was successful this afternoon since build #696 was successful. However, i would agree that it would be helpful if there is some way to prevent the failure by using the most recent successful build or to describe the reason for the failure. Granted, i am very very new to openhabian but if it is possible to know that it will fail because of a dependency prior to running a fresh install, it would be helpful to save users time and potential frustration.
Hey guys, I’ve been absent for a few days. Let’s see what’s going on here
@GlidingFool great the upgrade worked for you. The provision of sudo openhabian-config is something done in another part of the script, which was not part of the older openHABian build you are using. I’ve added fixing this to my TODO list.
@madeinnorte GPIO is something discussed here. I’ve not spent much time on that problem. You could consider using the exec binding in combination with pigpio. Please consider taking part in the conversation in the thread!
this was an unfortunate time, a failed openHAB build to be present for long is not common. As @Anttisep said it would have been best to wait for the next build. I get that that’s not easy if you are on a tinkering spree
with the new repository just released, a failed build will not delete the last working build (@Paul_Morley). @Benjy are you able to confirm that!?