OpenHab doesn't start/run/work

I’m using an RPi 4 with Openhab 3.4.1 on it. No changes done on system level for a long time.

Yesterday I changed some Item configs and rebooted the RPi. OpenHab didn’t startup any more. If I start Openhab manually after a reboot, it gives me a Transport error, saying (probably) that the port is already in use.

And if I than try to stop Openhab via the cli interface, it gives me these messages:

===================================================================
openhabian@openHABianDevice:~ $ sudo openhab-cli stop

A systemd service configuration exists…
Use ‘sudo /bin/systemctl stop openhab.service’ to stop an openHAB service
Stopping any instance of openHAB…
/usr/share/openhab/runtime/bin/karaf: 115: [: Illegal number:
Exception in thread “main” java.lang.NumberFormatException: null
at java.base/java.lang.Integer.parseInt(Integer.java:614)
at java.base/java.lang.Integer.parseInt(Integer.java:770)
at org.apache.karaf.main.Stop.getPortFromShutdownPortFile(Stop.java:83)
at org.apache.karaf.main.Stop.main(Stop.java:47)

===================================================================

any ideas???

many thanks,
emiel

whatever you changed is coming from a probably a number item comment out some of those items and check again.

Its not relates to items, it is an issue of Apache Karaf which hosts runtime. To me it looks like temporary file which is used to shutdown Karaf is not created or its contents get malformed.

The temp file tip made me think a little bit low-level on resources. And I had an alomst full SD card. Cleaned up some stuff and OH ran again. I did think of migrating to an Intel NUC with Ubuntu, so I started that a little bit sooner. Now lets hope the restore works out :wink: