Backup fails with "all targets have failed, step: writer.beforeBackup()"
-
Every once in a while, in the morning I find that one or two of the backup jobs has an error. This is one from last night.
the writer FullRemoteWriter has failed the step writer.beforeBackup() with error Lock file is already being held. It won't be used anymore in this job execution.
the writer FullRemoteWriter has failed the step writer.beforeBackup() with error Lock file is already being held. It won't be used anymore in this job execution.Start: Jan 9, 2024, 02:00:09 AM
End: Jan 9, 2024, 02:00:09 AM
Duration: a few seconds
Error: all targets have failed, step: writer.beforeBackup()Any idea what causes it? The backups go to two different NFS servers.
-
Question for @florent , but also in the meantime, double check you are on the latest available commit on the master branch
-
@archw it happens when two process try to access to the same VM on the backup repository
often it is the merge process and the backup process, mbut it can also be two backup job working on the same VMs
can you check in the log if a merge is occurring ?
-
@florent
Where would I find that log? I assume its in /var/log but which file? -
Its currently on master, commit bcc04 but I updated a few minutes ago. I can't tell what version last nigvht was runni gon but it was saved here. :
/opt/xo/xo-builds/xen-orchestra-202401081119
(I have it update every day so its whatever was current as of lunch yesterday))
-
@archw said in Backup fails with "all targets have failed, step: writer.beforeBackup()":
@florent
Where would I find that log? I assume its in /var/log but which file?For a xoa it's in
journalctl -u xo-server
from source, it depends how you did setup XO