0
Igor

tutorial Install OpenHab on Armbian

Recommended Posts

Hi, seems to have some issues with the installed java version:

 

Feb 28 20:11:19 homecontrol systemd[1]: openhab2.service: Service RestartSec=5s expired, scheduling restart.
Feb 28 20:11:19 homecontrol systemd[1]: openhab2.service: Scheduled restart job, restart counter is at 2.
Feb 28 20:11:19 homecontrol systemd[1]: Stopped openHAB 2 - empowering the smart home.
Feb 28 20:11:19 homecontrol systemd[1]: Started openHAB 2 - empowering the smart home.
Feb 28 20:11:20 homecontrol karaf[4965]: null
Feb 28 20:11:20 homecontrol karaf[4965]: Error occurred shutting down framework: java.lang.NumberFormatException: null
Feb 28 20:11:20 homecontrol karaf[4965]: java.lang.NumberFormatException: null
Feb 28 20:11:20 homecontrol karaf[4965]:         at java.lang.Integer.parseInt(Integer.java:542)
Feb 28 20:11:20 homecontrol karaf[4965]:         at java.lang.Integer.parseInt(Integer.java:615)
Feb 28 20:11:20 homecontrol karaf[4965]:         at org.apache.karaf.main.ConfigProperties.<init>(ConfigProperties.java:235)
Feb 28 20:11:20 homecontrol karaf[4965]:         at org.apache.karaf.main.Main.updateInstancePidAfterShutdown(Main.java:227)
Feb 28 20:11:20 homecontrol karaf[4965]:         at org.apache.karaf.main.Main.main(Main.java:192)
Feb 28 20:11:20 homecontrol systemd[1]: openhab2.service: Main process exited, code=exited, status=254/n/a
Feb 28 20:11:20 homecontrol systemd[1]: openhab2.service: Failed with result 'exit-code'.

 

I'm using a NanoPC-T4, Armbian buster with Linux 5.4.20-rockchip64

 

 

Share this post


Link to post
Share on other sites
38 minutes ago, TinaB said:

Hi, seems to have some issues with the installed java version:


I made a quick install on a device that I am doing some other tests. Orangepi Lite 2, which is also ARM64 and there are no issues. Openhab is installed from armbian-config in no time and works.

Perhaps try also Bionic build. I can check on the exact hardware in next days if this will not help.

 

If this is not a hardware issue, there is little we can help. We only provide a base where this application can work.

Share this post


Link to post
Share on other sites

It works with Bionic build. Is there a EOL date for the bionic builds (don't want to migrate soon)...

Share this post


Link to post
Share on other sites
On 2/28/2020 at 10:19 PM, TinaB said:

It works with Bionic build. Is there a EOL date for the bionic builds (don't want to migrate soon)...

 

We only maintain the critical stuff, board support, kernel and loaders and that we won't drop anytime soon. For Ubuntu user land LTS releases you (usually) don't need to worry about.

 

Debian Buster will also become EOL one day and btw. I tested today with applied all updates and it works on T4 without any troubles. Perhaps yours was broken by just some random package/reason?

Share this post


Link to post
Share on other sites
0