# \[borg\] Backup failed from

**URL:** <https://forum.yunohost.org/t/borg-backup-failed-from/21698>\
**Category:** Support apps\
**Tags:** raspberrypi, migration, borg, french\
**Created:** [October 15, 2022, 10:33pm UTC](https://forum.yunohost.org/t/borg-backup-failed-from/21698 "2022-10-15T22:33:49Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![pti-jean](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/p/57b2e6/32.png) [@pti-jean](https://forum.yunohost.org/u/pti-jean)\
**Post date:** [October 15, 2022, 10:33pm UTC](https://forum.yunohost.org/t/borg-backup-failed-from/21698/1 "2022-10-15T22:33:49Z")

</div>

Bonsoir,

**Matériel:** RaspBerry PI 4B 8Go  
**Version de YunoHost:** 11.0.9.15 (stable)  
**J’ai accès à mon serveur :** En SSH et par la webadmin  
Je viens de faire la migration vers YunoHost 11 qui c’est bien passé…

J’ai un autre problème depuis la migration… J’ai BorgBackup qui ne fait plus les sauvegardes… Il m’envoie un mail d’erreur:  
[https://paste.chapril.org/?e550b1851dc9bd26#EfbiNA2DptKwobbPjhTFuBG6VQfvqigWUoqn4vGtEVmu](https://paste.chapril.org/?e550b1851dc9bd26#EfbiNA2DptKwobbPjhTFuBG6VQfvqigWUoqn4vGtEVmu)

J’ai un autre problème encours:  
[Pb metronome après migration 11](https://forum.yunohost.org/t/pb-metronome-apres-migration-11/21697)  
Et je me demandais si les deux problèmes n’était pas lié avec comme point commun le langage Python ??

Par contre cela serait bien si Borg pouvait fonctionnait pour faire mes backup!

JM

---

<div class="post-metadata">

**Author:** ![rodinux](https://forum.yunohost.org/user_avatar/forum.yunohost.org/rodinux/32/7029_2.png) [@rodinux](https://forum.yunohost.org/u/rodinux)\
**Post date:** [October 16, 2022, 7:38am UTC](https://forum.yunohost.org/t/borg-backup-failed-from/21698/2 "2022-10-16T07:38:19Z")

</div>

Bonjour, il me semble avoir forcer la mise à jour après la migration avec un `yunohost app borg update -F`, mais ce n’est peut-être pas conseillé, car je reçois depuis plusieurs semaines ce message de Diagnosis (ce qui ne vient pas de la mise à jour exécutée bien en amont).

Ceci dit: «All python apps need to be force updated after the upgrade (it will be explain in the docs) It was already like this for stretch → buster»

```auto
[WARNING] An issue was found for app Borg Backup
  - This application is currently flagged as broken on YunoHost's application catalog. This may be a temporary issue while the maintainers attempt to fix the issue. In the meantime, upgrading this app is disabled.

[WARNING] An issue was found for app Borg Local Backup
  - This application is currently flagged as broken on YunoHost's application catalog. This may be a temporary issue while the maintainers attempt to fix the issue. In the meantime, upgrading this app is disabled.

```

---

<div class="post-metadata">

**Author:** ![ljf](https://forum.yunohost.org/user_avatar/forum.yunohost.org/ljf/32/58_2.png) [@ljf](https://forum.yunohost.org/u/ljf)\
**Post date:** [October 16, 2022, 8:55am UTC](https://forum.yunohost.org/t/borg-backup-failed-from/21698/3 "2022-10-16T08:55:15Z")

</div>

See [Borg is currently flagged as broken on YunoHost's application - #2 by ljf](https://forum.yunohost.org/t/borg-is-currently-flagged-as-broken-on-yunohosts-application/21699/2)

---

<div class="post-metadata">

**Author:** ![rodinux](https://forum.yunohost.org/user_avatar/forum.yunohost.org/rodinux/32/7029_2.png) [@rodinux](https://forum.yunohost.org/u/rodinux)\
**Post date:** [October 16, 2022, 9:06am UTC](https://forum.yunohost.org/t/borg-backup-failed-from/21698/4 "2022-10-16T09:06:56Z")

</div>

Du coup je pense que tu dois pouvoir faire un  
`sudo yunohost app upgrade borg -F` sans soucis.  
Pour metronome pareil…  
`sudo yunohost app upgrade metronome -F`

---

<div class="post-metadata">

**Author:** ![pti-jean](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/p/57b2e6/32.png) [@pti-jean](https://forum.yunohost.org/u/pti-jean)\
**Post date:** [October 16, 2022, 1:22pm UTC](https://forum.yunohost.org/t/borg-backup-failed-from/21698/5 "2022-10-16T13:22:03Z")

</div>

Bonjour,

Du coup les mises à jour forcé n’ont pas fonctionné…

```auto
$ sudo yunohost app upgrade metronome -F
Error: Could not find metronome in the list of installed apps:
 * borg
 * keeweb
 * my_webapp
 * nextcloud
 * rainloop
 * roundcube
 * thelounge
 * vaultwarden
 * vpnclient

```

Et pour:

```auto
$ sudo yunohost app upgrade borg -F

```

[https://paste.yunohost.org/burimosuqi.sql](https://paste.yunohost.org/burimosuqi.sql)

```auto
$ sudo yunohost log share 20221016-130036-app_upgrade-borg
Info: This log is now available via https://paste.yunohost.org/raw/laferogero

```

[https://paste.yunohost.org/raw/laferogero](https://paste.yunohost.org/raw/laferogero)

Pour metronome, cela ne semble pas être la bonne méthode…  
Et pour borg, y a t-il encore un problème de dépendance cassé ??

JM

---

<div class="post-metadata">

**Author:** ![rodinux](https://forum.yunohost.org/user_avatar/forum.yunohost.org/rodinux/32/7029_2.png) [@rodinux](https://forum.yunohost.org/u/rodinux)\
**Post date:** [October 16, 2022, 1:27pm UTC](https://forum.yunohost.org/t/borg-backup-failed-from/21698/6 "2022-10-16T13:27:17Z")

</div>

Est-ce que les migrations ont bien été effectuées ??

```auto
sudo apt update && sudo apt upgrade --fix-missing
sudo yunohost tools migrations run 0021_migrate_to_bullseye --skip

```

et  
`sudo yunohost tools migrations list --pending`  
puis  
`sudo yunohost tools migrations run --accept-disclaimer`

---

<div class="post-metadata">

**Author:** ![pti-jean](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/p/57b2e6/32.png) [@pti-jean](https://forum.yunohost.org/u/pti-jean)\
**Post date:** [October 16, 2022, 1:31pm UTC](https://forum.yunohost.org/t/borg-backup-failed-from/21698/7 "2022-10-16T13:31:17Z")

</div>

```auto
$ sudo apt update && sudo apt upgrade --fix-missing
Hit:1 http://forge.yunohost.org/debian bullseye InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease                                      
Hit:3 http://archive.raspberrypi.org/debian bullseye InRelease                                         
Hit:4 https://packages.sury.org/php bullseye InRelease                                                 
Reading package lists... Done                              
Building dependency tree... Done
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
W: Skipping acquire of configured file 'ui/binary-armhf/Packages' as repository 'http://archive.raspberrypi.org/debian bullseye InRelease' doesn't have the component 'ui' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'ui/i18n/Translation-en' as repository 'http://archive.raspberrypi.org/debian bullseye InRelease' doesn't have the component 'ui' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'ui/i18n/Translation-en_US' as repository 'http://archive.raspberrypi.org/debian bullseye InRelease' doesn't have the component 'ui' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'ui/Contents-armhf' as repository 'http://archive.raspberrypi.org/debian bullseye InRelease' doesn't have the component 'ui' (component misspelt in sources.list?)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  gcc-8-base
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

```

---

<div class="post-metadata">

**Author:** ![pti-jean](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/p/57b2e6/32.png) [@pti-jean](https://forum.yunohost.org/u/pti-jean)\
**Post date:** [October 16, 2022, 1:32pm UTC](https://forum.yunohost.org/t/borg-backup-failed-from/21698/8 "2022-10-16T13:32:57Z")

</div>

```auto
$ sudo yunohost tools migrations run 0021_migrate_to_bullseye --skip
Error: These migrations are not pending, so cannot be skipped: 0021_migrate_to_bullseye

```

---

<div class="post-metadata">

**Author:** ![pti-jean](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/p/57b2e6/32.png) [@pti-jean](https://forum.yunohost.org/u/pti-jean)\
**Post date:** [October 16, 2022, 1:34pm UTC](https://forum.yunohost.org/t/borg-backup-failed-from/21698/9 "2022-10-16T13:34:37Z")

</div>

```auto
$ sudo yunohost tools migrations list --pending
migrations:

```

```auto
$ sudo yunohost tools migrations run --accept-disclaimer
Info: No migrations to run

```

---

<div class="post-metadata">

**Author:** ![rodinux](https://forum.yunohost.org/user_avatar/forum.yunohost.org/rodinux/32/7029_2.png) [@rodinux](https://forum.yunohost.org/u/rodinux)\
**Post date:** [October 16, 2022, 1:35pm UTC](https://forum.yunohost.org/t/borg-backup-failed-from/21698/10 "2022-10-16T13:35:10Z")

</div>

Par contre c’est peut-être là le soucis…

```auto
1 package can be upgraded. Run 'apt list --upgradable' to see it.
W: Skipping acquire of configured file 'ui/binary-armhf/Packages' as repository 'http://archive.raspberrypi.org/debian bullseye InRelease' doesn't have the component 'ui' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'ui/i18n/Translation-en' as repository 'http://archive.raspberrypi.org/debian bullseye InRelease' doesn't have the component 'ui' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'ui/i18n/Translation-en_US' as repository 'http://archive.raspberrypi.org/debian bullseye InRelease' doesn't have the component 'ui' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'ui/Contents-armhf' as repository 'http://archive.raspberrypi.org/debian bullseye InRelease' doesn't have the component 'ui' (component misspelt in sources.list?)

```

---

<div class="post-metadata">

**Author:** ![pti-jean](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/p/57b2e6/32.png) [@pti-jean](https://forum.yunohost.org/u/pti-jean)\
**Post date:** [October 16, 2022, 1:47pm UTC](https://forum.yunohost.org/t/borg-backup-failed-from/21698/11 "2022-10-16T13:47:12Z")

</div>

Dois-je créer un fil de discussion exprès sur le forum pour ce warning ?

Par-contre maintenant, j’ai borg qui n’est plus installé sur mon YunoHost, et il refuse de me restaurer le backup…  
Comme j’ai quand-même pris des précautions, et fait un clone avec rpi-clone, je vais donc redémarrer sur le clone!

JM

---

<div class="post-metadata">

**Author:** ![pti-jean](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/p/57b2e6/32.png) [@pti-jean](https://forum.yunohost.org/u/pti-jean)\
**Post date:** [October 16, 2022, 2:03pm UTC](https://forum.yunohost.org/t/borg-backup-failed-from/21698/12 "2022-10-16T14:03:00Z")

</div>

```auto
$ cat /etc/apt/sources.list
deb http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-free rpi
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-free rpi
$ cat /etc/apt/sources.list.d/extra_php_version.list 
deb https://packages.sury.org/php/ bullseye main
$ cat /etc/apt/sources.list.d/raspi.list 
deb http://archive.raspberrypi.org/debian/ bullseye main ui
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://archive.raspberrypi.org/debian/ bullseye main ui
$ cat /etc/apt/sources.list.d/yunohost.list 
deb http://forge.yunohost.org/debian/ bullseye stable

```

Dois-je rajouter quelque chose dans ces fichiers ??

JM

---

<div class="post-metadata">

**Author:** ![ljf](https://forum.yunohost.org/user_avatar/forum.yunohost.org/ljf/32/58_2.png) [@ljf](https://forum.yunohost.org/u/ljf)\
**Post date:** [October 16, 2022, 2:06pm UTC](https://forum.yunohost.org/t/borg-backup-failed-from/21698/13 "2022-10-16T14:06:50Z")

</div>

Pour borg, essaie de faire `apt install cython` avant le “force upgrade” de borg

---

<div class="post-metadata">

**Author:** ![rodinux](https://forum.yunohost.org/user_avatar/forum.yunohost.org/rodinux/32/7029_2.png) [@rodinux](https://forum.yunohost.org/u/rodinux)\
**Post date:** [October 16, 2022, 2:15pm UTC](https://forum.yunohost.org/t/borg-backup-failed-from/21698/14 "2022-10-16T14:15:33Z")

</div>

`python` ?

---

<div class="post-metadata">

**Author:** ![ljf](https://forum.yunohost.org/user_avatar/forum.yunohost.org/ljf/32/58_2.png) [@ljf](https://forum.yunohost.org/u/ljf)\
**Post date:** [October 16, 2022, 2:19pm UTC](https://forum.yunohost.org/t/borg-backup-failed-from/21698/15 "2022-10-16T14:19:06Z")

</div>

Non cython, l’erreur dans le log de borg dit

```auto
The GIT version of Borg needs Cython. Install Cython or use a released version.

```

---

<div class="post-metadata">

**Author:** ![pti-jean](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/p/57b2e6/32.png) [@pti-jean](https://forum.yunohost.org/u/pti-jean)\
**Post date:** [October 16, 2022, 2:27pm UTC](https://forum.yunohost.org/t/borg-backup-failed-from/21698/16 "2022-10-16T14:27:38Z")

</div>

Dans tous les cas l’installation de Cython ne se fait pas et revoit une erreur:

```auto
$ sudo apt install cython
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package cython is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'cython' has no installation candidate

```

JM

---

<div class="post-metadata">

**Author:** ![ljf](https://forum.yunohost.org/user_avatar/forum.yunohost.org/ljf/32/58_2.png) [@ljf](https://forum.yunohost.org/u/ljf)\
**Post date:** [October 16, 2022, 2:57pm UTC](https://forum.yunohost.org/t/borg-backup-failed-from/21698/17 "2022-10-16T14:57:19Z")

</div>

```auto
apt install cython3

```

---

<div class="post-metadata">

**Author:** ![pti-jean](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/p/57b2e6/32.png) [@pti-jean](https://forum.yunohost.org/u/pti-jean)\
**Post date:** [October 16, 2022, 3:15pm UTC](https://forum.yunohost.org/t/borg-backup-failed-from/21698/18 "2022-10-16T15:15:04Z")

</div>

Ça a bien installé cython3 mais la maj forcé de Borg a planté…

```auto
$ sudo apt install cython3
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  bind9-utils bind9utils php-gettext php7.3-apcu php7.3-bcmath php7.3-bz2 php7.3-curl php7.3-fpm php7.3-gmp php7.3-igbinary php7.3-imagick php7.3-imap php7.3-intl php7.3-ldap php7.3-mysql php7.3-redis php7.3-zip python3-ply
  python3-publicsuffix
Use 'sudo apt autoremove' to remove them.
Suggested packages:
  cython-doc
The following NEW packages will be installed:
  cython3
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 1,234 kB of archives.
After this operation, 6,215 kB of additional disk space will be used.
Get:1 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf cython3 armhf 0.29.21-3+b1 [1,234 kB]
Fetched 1,234 kB in 1s (1,746 kB/s)
Selecting previously unselected package cython3.
(Reading database ... 73225 files and directories currently installed.)
Preparing to unpack .../cython3_0.29.21-3+b1_armhf.deb ...
Unpacking cython3 (0.29.21-3+b1) ...
Setting up cython3 (0.29.21-3+b1) ...

```

```auto
$ sudo yunohost app upgrade borg -F

```

[https://paste.yunohost.org/uduzocitol.sql](https://paste.yunohost.org/uduzocitol.sql)

```auto
sudo yunohost log share 20221016-145952-app_upgrade-borg
Info: This log is now available via https://paste.yunohost.org/raw/fajoceniru

```

[https://paste.yunohost.org/raw/fajoceniru](https://paste.yunohost.org/raw/fajoceniru)

Et je pense que je ne peux plus restaurer Borg, je vais donc être obligé de redémarrer sur le clone!

JM

---

<div class="post-metadata">

**Author:** ![ljf](https://forum.yunohost.org/user_avatar/forum.yunohost.org/ljf/32/58_2.png) [@ljf](https://forum.yunohost.org/u/ljf)\
**Post date:** [October 16, 2022, 3:43pm UTC](https://forum.yunohost.org/t/borg-backup-failed-from/21698/19 "2022-10-16T15:43:38Z")

</div>

Bon ben ça fait la même erreur à propos de cython, ce qui est étonnant c’est que les autres n’ont pas cette erreur !

peut être que c’est lié au fait d’utiliser un rpi ?

---

<div class="post-metadata">

**Author:** ![pti-jean](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/p/57b2e6/32.png) [@pti-jean](https://forum.yunohost.org/u/pti-jean)\
**Post date:** [October 16, 2022, 3:44pm UTC](https://forum.yunohost.org/t/borg-backup-failed-from/21698/20 "2022-10-16T15:44:08Z")

</div>

Vu que la maj de Borg ne se fait pas, j’ai donc tenté une réinstallation, qui a échoué:  
[https://paste.yunohost.org/raw/iwelidibis](https://paste.yunohost.org/raw/iwelidibis)

JM

[Next page](https://forum.yunohost.org/t/borg-backup-failed-from/21698.md?page=2)
