Mise à jour à Debian 11.4

Il me reste encore un problèmes avec les backups :

~$ sudo yunohost backup create -n auto_shaarli --method borg_app --apps shaarli
Info: Collecting files to be backed up for shaarli...
Info: Loading installation settings...
Info: Declaring files to be backed up...
Info: Backup script completed for shaarli. (YunoHost will then actually copy those files to the archive).
Info: Creating a backup archive from the collected files...
Info: The archive will contain about 152.1MiB of data.
Warning: Failed to format translated string 'backup_applying_method_custom': 'Calling the custom backup method '{method}'...' with arguments '()' and '{}, raising error: KeyError('method') (don't panic this is just a warning)
Warning: Failed to format translatable string 'backup_applying_method_custom': 'Calling the custom backup method '{method}'...' with arguments '()' and '{}', raising  error: KeyError('method') (don't panic this is just a warning)
Warning: /opt/borg-env/bin/python: can't open file '/opt/borg-env/bin/borg': [Errno 2] No such file or directory
Error: Could not run script: /etc/yunohost/hooks.d/backup_method/05-borg_app
Info: The operation 'Create a backup archive' could not be completed. Please share the full log of this operation using the command 'yunohost log share 20220921-111327-backup_create' to get help
Error: Custom backup method could not get past the 'backup' step

$ sudo yunohost log share 20220921-111327-backup_create
Info: This log is now available via https://paste.yunohost.org/raw/vupizawigo

Je vois que sur mon deuxième serveur, je n’ai pas la même chose dans /opt/borg-env/bin.

Serveur 1 :

$ ls -al /opt/borg-env/bin/
total 60
drwxr-xr-x 2 root root 4096 Sep 13 19:23 .
drwxr-xr-x 6 root root 4096 Sep 13 19:16 ..
-rw-r--r-- 1 root root 1892 Sep 13 19:16 activate
-rw-r--r-- 1 root root  841 Sep 13 19:16 activate.csh
-rw-r--r-- 1 root root 1981 Sep 13 19:16 activate.fish
-rw-r--r-- 1 root root 8834 Sep 13 19:16 Activate.ps1
-rwxr-xr-x 1 root root  396 Sep 13 19:23 borg
-rwxr-xr-x 1 root root  400 Sep 13 19:23 borgfs
-rwxr-xr-x 1 root root  238 Sep 13 19:16 easy_install
-rwxr-xr-x 1 root root  238 Sep 13 19:16 easy_install-3.9
-rwxr-xr-x 1 root root  229 Sep 13 19:16 pip
-rwxr-xr-x 1 root root  229 Sep 13 19:16 pip3
-rwxr-xr-x 1 root root  229 Sep 13 19:16 pip3.9
lrwxrwxrwx 1 root root   15 Sep 13 19:16 python -> /usr/bin/python
lrwxrwxrwx 1 root root    6 Sep 13 19:16 python3 -> python
lrwxrwxrwx 1 root root    6 Sep 13 19:16 python3.9 -> python

Serveur 2 :

$ ls -al /opt/borg-env/bin/
total 52
drwxr-xr-x 2 root root 4096 Sep 19 08:49 .
drwxr-xr-x 6 root root 4096 Sep 19 08:48 ..
-rw-r--r-- 1 root root 1892 Sep 19 08:49 activate
-rw-r--r-- 1 root root  841 Sep 19 08:49 activate.csh
-rw-r--r-- 1 root root 1981 Sep 19 08:49 activate.fish
-rw-r--r-- 1 root root 8834 Sep 19 08:49 Activate.ps1
-rwxr-xr-x 1 root root  238 Sep 19 08:49 easy_install
-rwxr-xr-x 1 root root  238 Sep 19 08:49 easy_install-3.9
-rwxr-xr-x 1 root root  229 Sep 19 08:49 pip
-rwxr-xr-x 1 root root  229 Sep 19 08:49 pip3
-rwxr-xr-x 1 root root  229 Sep 19 08:49 pip3.9
lrwxrwxrwx 1 root root   15 Sep 19 08:48 python -> /usr/bin/python
lrwxrwxrwx 1 root root    6 Sep 19 08:48 python3 -> python
lrwxrwxrwx 1 root root    6 Sep 19 08:48 python3.9 -> python

[edit: J’ai ouvert un post spécifique.