My docker container doesn't start anymore

Hello, I had an inssue with no more space left on device while I was trying to update my openhab instance running in a docker container and now my container doesn’t start anymore.
The error is:
openhab-1 | Launching the openHAB runtime…
openhab-1 | Cannot parse null string
openhab-1 | Error occurred shutting down framework: java.lang.NumberFormatException: Cannot parse null string
openhab-1 | java.lang.NumberFormatException: Cannot parse null string
openhab-1 | at java.base/java.lang.Integer.parseInt(Integer.java:630)
openhab-1 | at java.base/java.lang.Integer.parseInt(Integer.java:786)
openhab-1 | at org.apache.karaf.main.ConfigProperties.(ConfigProperties.java:251)
openhab-1 | at org.apache.karaf.main.Main.updateInstancePidAfterShutdown(Main.java:232)
openhab-1 | at org.apache.karaf.main.Main.main(Main.java:197)

Which file do you think is corrupted ?

The first culpret would be one of the JSONDB files but given the stack trace I’m not so sure. I would look first in the userdata/etc files followed by the files under userdata/config. There isn’t enough information to be more specific.

I’m assuming the “openhab-1” doesn’t mean you are running OH 1.x and it’s just the name of the container. If it really is OH 1.x, there really is just the one main config file.

Auto-reply… The update process to openhab 4.3 fixed my issue… Now my instance is up and running again

1 Like