YunoHost-Apps / borgserver_ynh

Borg server package for YunoHost
https://www.borgbackup.org/
GNU Affero General Public License v3.0
8 stars 4 forks source link

Backup fails #15

Closed autra closed 4 years ago

autra commented 4 years ago

After installation, executing service borg start, I have a systemctl error on this service startup, and sudo journalctl -xfe has the following errors:

Nov 01 22:36:58 trancart.eu backup-with-borg[17999]: Now creating a backup archive from the files collected…
Nov 01 22:36:58 trancart.eu backup-with-borg[17999]: do_known_hosts: hostkeys_foreach failed: No such file or directory
Nov 01 22:36:58 trancart.eu backup-with-borg[17999]: do_known_hosts: hostkeys_foreach failed: No such file or directory
Nov 01 22:37:00 trancart.eu backup-with-borg[17999]: Script execution failed: /etc/yunohost/hooks.d/backup_method/05-borg_app
Nov 01 22:37:00 trancart.eu backup-with-borg[17999]: Custom backup method failure on 'backup' step
Nov 01 22:37:00 trancart.eu systemd[1]: borg.service: Main process exited, code=exited, status=1/FAILURE
Nov 01 22:37:00 trancart.eu systemd[1]: Failed to start Run backup borg.

thanks!

zamentur commented 4 years ago

You should not have borg service with borgserver. I think this ticket is not in the good repo.