Borg backup fails to backup synapse since update

My YunoHost server

Hardware: mini PC
YunoHost version: 11.2.12
I have access to my server : Through SSH | through the webadmin
If your request is related to an app, specify its name and version: Borg 1.2.8~ynh1

Since the last borg update, it behaves weirdly :

  • Backups do get created, i can see them in the last backup list and changes do appear on borgbase
  • Backups are marked as failed on the borg app page (here are some logs for local and remote backups
  • Since the services fails i cannot use any command line (borg list or borg whatever) to test the existence or the integrity of the archives
  • Sometimes, manually triggering from the webadmin a backup freezes the webadmin but lauching it from CLI does not

I’ve tried reinstalling the instance of borg working locally (on a symlink pointing to an external drive) without success…

I think i found the culprit :

2024-06-02 09:50:20,016: DEBUG - [2024-06-02_09:49:19] apps/synapse/backup/var/log/matrix-synapse/homeserver.log: file changed while we backed it up

(full log)

That explains the failed state (but not the freezes) and raises some questions : should synapse service be stopped before each backup and how ? Other services might be concerned ?

That’s the same issue I’m facing as well with synapse. Also check out the Github issue for this: Borg fails when file changes on disk during archive creation · Issue #159 · YunoHost-Apps/borg_ynh · GitHub

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.