openHAB 5.0.1 locking up every month + my temporary remote OH4 solution

I might add two suspects

  • heavy logging: This can cause zram partitions to run out of space. So logging should never remain on debug or trace for a long time. But that has nothing to do with versions. So my first bet for you case is:
  • mqtt: postCommand: true. This can cause trouble creating loops even if it worked in v4.x environments. In general it should almost always be false

further info here:
https://community.openhab.org/t/openhab-5-1-release-discussion/167620/278