Openhabian update Java error after update

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

Did you update openhabian-config ?

Yes.
It updates itself when it starts.

same after latest 2.5

OS? HW?
Guys you must give this information upfront if you want help.
How to ask a good question / Help Us Help You - Tutorials & Examples - openHAB Community

default rpi3 openhab, was using with 2.4 and after latest 2.5 same error as in first message of this post

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 ?

internet works and all updates goes without problems.

$ java_install_or_update

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 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 :wink:

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.

you mean part for java update ?

yes or all of it