Right after running an update, post update sequence there is an error popping up on the console:
$ systemctl stop openhab2.service error: first is not defined [.[] | select(.category_slug == “java-8-lts”) | select(.latest == 1) | .[“openjdk_version”]] | first 1 compile error
and you still get this?
That’s an error from old code, but openHABian updates itself on start.
That seems has not worked. Is your Internet available and not blocked ?
$ systemctl stop openhab2.service
error: first is not defined
[.[] | select(.category_slug == “java-8-lts”) | select(.latest == 1) | .[“openjdk_version”]] | first 1 compile error
openjdk version “1.8.0_152”
OpenJDK Runtime Environment (Zulu Embedded 8.25.0.76-linux-aarch32hf) (build 1.8.0_152-b76)
OpenJDK Client VM (Zulu Embedded 8.25.0.76-linux-aarch32hf) (build 25.152-b76, mixed mode, Evaluation)
$ systemctl start openhab2.service
OK
2019-12-21_18:29:01_EET [openHABian] Checking for default openHABian username:password combination… OK
2019-12-21_18:29:01_EET [openHABian] We hope you got what you came for! See you again soon
You need to either reinstall openHABian or replace the code in /opt/openHABian with latest from Github.
Search this forum for the thread about this, there’s also a workaround mentioned.