My main Neth system is in a Contabo VPS, and I have a local Neth VM set up as a hotsync target. At some point last night, my local VM went wonky, so I restored it from its backup from the night before. Hotsync will fill in any discrepancies, right?
Wrong. I restored the local VM, logged in as root, and ran yum upgrade (since I hadn’t installed updates in a while). Now I’m getting this email every 15 minutes from my main system:
I restored the VM. I run a nightly backup of all my VMs to a backup server, which takes a complete (virtual) disk image as of that time. I restored the backup from Thursday night.
I’ve not much experienced with hostsync but from the docs, did you try to run hotsync command on the master to force a synchronization from master to slave?
Can you check if rsync version is the same on master and slave?
OK, the log you posted shows it is the same…
There is a recent rsync update (rsync.x86_64 0:3.1.2-12.el7_9) that “Resolves: #2123815 - rsync error: protocol incompatibility when using rsync-3.1.2-11.el7_9”
A shot in the dark here (I do not have hotsync installed), but upon reading some snippets here and there I came across several mentioning of ‘clean your shell’ and ’ Possibly your ~/.bashrc has some output like echo’ ,
That would me lead to investigating my shell environments/scripts etc.
Then it’s time to classify the topic as bug?
AFAIK Hotsync was put out from NS7 and now is part of NethForge repository. Unfortunately… I don’t remember the user that was mantaining that package.
…and it’s back again. Apparently my hotsync target did an auto-update this morning, and it started failing again. Is this such an intractable upstream bug that we can’t do anything about it with Nethserver? Maybe Requires: rsync <= 3.1.2-10?