since I have installed OH3 as a docker container I have to restart every several days the docker container because Java running out of memory. The OH3 Systems runs than with more than 6GB RAM consumption. I cannot find out which Java and version is installed within the docker.
The Docker Image comes from openhab/openhab:latest
The Docker Container runs on a DS920plus with 20GB Ram.
Now I have setup a new raspberry and want to migrate my settings to this Pi.
But within the docker container I cannot find openhab-cli
Is it a valid process to copy all data from
Or better question, which folders / data I should not copy to the new system.
That has nothing to do with the fact that OH is running in a Docker container. Moving to the RPi probably won’t fix this particular problem. There are lots of other good reasons to make this move, I just don’t want you to think that doing this is going to fix this particular problem.
It’s not there. But there is /openhab/runtime/bin/backup which is the script that openhab-cli calls anyway. But…
Yes. That’s all that backup script does anyway. You probably want to skip userdata/cache and userdata/tmp but yes, all the configs are in those folders.
thanks for the path to the backup.
Meanwhile I found a thread nearly similar to my problem. I sounds like the problem with (persistent) rrd4j.
I will try to group them with a different saving intervall.
Half of the items needs a maximum saving once a day
But I will proceed with the little Pi (I have to order a ssd) and will implement a cronjob to copy the backups to the nas.
I will be back when I moved to the Pi
My Unix-KnowHow is to old what can help me
The last deep knowledge was with SunOS 4.1 in the nineties.
the folder persistence is mapped to overlay0, But I have no experience with overlayfs.
Question here, how can I increase the volume for overlay0?
Overlay appears to come from ZRAM. ZRAM lives, as the name implies, in RAM. So look at the openHABian docs for how to give ZRAM more space. Note, when you move to an SSD you don’t need ZRAM any more. Its purpose is to put stuff that is written to a lot into RAM instead of on disk to minimize wear and tear on the SD card. You don’t need that on an SSD.
thanks for your reply. Meanwhile I have manually copied the really neccessary persistent files to the Pi.
And, ist works. with less memory consumption.
But what have I done.
I have created 3 groups and added this groups to the persitence file with different strageries
Thanks for your hint to the openHABian documentation. I will have a dive in