Rsync errors during sdrsync in openhabian

I’m currently running openHAB 5.1.4 on a Raspi 5 with openhabian.

Yesterday I checked the logs of sdrsync.service and saw that there are issues with some files, e.g.:

Jun 10 18:09:48 openhabian mirror_SD[782884]: rsync: [generator] recv_generator: failed to stat "/storage/syncmount/usr/share/nodejs/caniuse-lite/data/regions/GG.js": Bad message (74)

They were all from the nodejs folder.

The only way to fix this was to run a raw sync by manually starting the sdrawcopy.service. Afterwards, the sdrsync.service ran without an issue.

I’m not sure if this is an issue with the backup SD card. It’s a SanDisk High Endurance and only used for the backup, i.e. there are not a lot of writes done.

Did anyone else observe something similar?

Would it be possible to show such issues more prominently, e.g. in openhabian-config and advise the user to try a raw sync or check the backup card?

The root cause could be anything. Not worth trying to find out.

Of course it’s possible. Someone - you, if you want to have that - just has to do parse the rsync output, interpret all and distinguish severe warnings from irrelevant ones, and present it to non-technical users in a way they understand.