Openhab 2. Error: writing output failed: No space left on device

Hello community.
I have an issue with RPI4 openhab 2.5.5 installation. Openhab server does not work. When I connect to RPI4 via SSH I see next message:

Error: writing output failed: No space left on device

/usr/local/bin/FireMotD: line 395: cannot create temp file for here-document: No space left on device

and

-bash: cannot create temp file for here-document: No space left on device
openHAB 2.5.5-1 (Release Build)

I use 16BD SD card, where only 9BG are filled (I use it with sudo du /var -h --max-depth=1 | sort -hr command). I see such message for first time, so any help will be usefull for me.

What is shown when you enter: df -h

image

Your root file system ( / ) is full.
It’s size is 6.9GB. Seems to be very small.
Your wrote you have a SD card with 16GB ? The root file system only allows the above mentioned 6.9GB.

Yes, I use 16GB SD card. Can I change root file system space available ?

General Openhab server information:
image

depends on if the remaining space of your SD card is used for other stuff.

I would put the SD card into an other computer running linux or a linux life system. Use gparted to resize the partition. To be on safe side create a backup - image of your SD card before.
For more information about gparted have a look to e.g. https://gparted.org/