Bonjour à vous tous,
J’essaie d’installer Borg serveur sur une seconde instance de ynh afin de m’en service comme serveur de backup mais l’installation de l’application échoue avec les logs suivants :
args:
app: https://github.com/YunoHost-Apps/borgserver_ynh
args: ssh_user=&public_key=ssh-ed25519 *****************************
root@*******.fr
force: false
label: null
no_remove_on_failure: false
ended_at: 2021-12-27 16:06:21.843557
env:
YNH_APP_ARG_ALERT_DELAY: '1'
YNH_APP_ARG_ALERT_MAILS: backup@*****.fr
YNH_APP_ARG_PUBLIC_KEY: ssh-ed25519 ****************************
root@*******.fr
YNH_APP_ARG_QUOTA: 250G
YNH_APP_ARG_SSH_USER: admin
YNH_APP_BASEDIR: /var/cache/yunohost/app_tmp_work_dirs/app_r6u0a73h
YNH_APP_ID: borgserver
YNH_APP_INSTANCE_NAME: borgserver
YNH_APP_INSTANCE_NUMBER: '1'
YNH_APP_MANIFEST_VERSION: 1.1.16~ynh9
YNH_ARCH: armhf
error: An error occurred inside the app installation script
interface: cli
operation: app_install
parent: null
related_to:
- - app
- borgserver
started_at: 2021-12-27 16:06:18.141775
success: false
yunohost_version: 4.3.4.2
============
2021-12-27 16:06:18,194: INFO - Installing borgserver...
2021-12-27 16:06:18,793: DEBUG - initializing ldap interface
2021-12-27 16:06:18,942: DEBUG - Nothing to update in LDAP
2021-12-27 16:06:18,946: DEBUG - Permission 'borgserver.main' updated
2021-12-27 16:06:18,999: DEBUG - To view the log of the operation 'Update URL related to permission 'borgserver'', use the command 'yunohost log show 20211227-160618-permission_url-borgserver'
2021-12-27 16:06:19,091: DEBUG - The permission database has been resynchronized
2021-12-27 16:06:19,160: DEBUG - SSOwat configuration regenerated
2021-12-27 16:06:19,242: DEBUG - Permission 'borgserver.main' created
2021-12-27 16:06:19,247: DEBUG - To view the log of the operation 'Create permission 'borgserver'', use the command 'yunohost log show 20211227-160618-permission_create-borgserver'
2021-12-27 16:06:19,381: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./install" 7>&1']'
2021-12-27 16:06:19,425: DEBUG - + source _common.sh
2021-12-27 16:06:19,432: DEBUG - +++ cd ../
2021-12-27 16:06:19,434: DEBUG - +++ pwd
2021-12-27 16:06:19,438: DEBUG - ++ PKG_DIR=/var/cache/yunohost/app_tmp_work_dirs/app_r6u0a73h
2021-12-27 16:06:19,441: DEBUG - ++ BORG_VERSION=1.1.16
2021-12-27 16:06:19,445: DEBUG - ++ pkg_dependencies='python3-pip python3-dev libacl1-dev libssl-dev liblz4-dev python3-jinja2 python3-setuptools python3-venv virtualenv libfuse-dev pkg-config'
2021-12-27 16:06:19,450: DEBUG - + source /usr/share/yunohost/helpers
2021-12-27 16:06:19,455: DEBUG - +++ grep xtrace
2021-12-27 16:06:19,458: DEBUG - +++ set +o
2021-12-27 16:06:19,470: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2021-12-27 16:06:19,473: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2021-12-27 16:06:19,761: DEBUG - + ynh_abort_if_errors
2021-12-27 16:06:19,776: DEBUG - + trap ynh_exit_properly EXIT
2021-12-27 16:06:19,779: DEBUG - + export app=borgserver
2021-12-27 16:06:19,784: DEBUG - + app=borgserver
2021-12-27 16:06:19,787: DEBUG - + ynh_export ssh_user public_key quota alert_delay alert_mails
2021-12-27 16:06:19,790: DEBUG - + local ynh_arg=
2021-12-27 16:06:19,793: DEBUG - + for var in $@
2021-12-27 16:06:19,796: DEBUG - ++ echo ssh_user
2021-12-27 16:06:19,799: DEBUG - ++ awk '{print toupper($0)}'
2021-12-27 16:06:19,808: DEBUG - + ynh_arg=SSH_USER
2021-12-27 16:06:19,812: DEBUG - + '[' ssh_user == path_url ']'
2021-12-27 16:06:19,817: DEBUG - + ynh_arg=YNH_APP_ARG_SSH_USER
2021-12-27 16:06:19,820: DEBUG - + export ssh_user=admin
2021-12-27 16:06:19,824: DEBUG - + ssh_user=admin
2021-12-27 16:06:19,828: DEBUG - + for var in $@
2021-12-27 16:06:19,831: DEBUG - ++ echo public_key
2021-12-27 16:06:19,834: DEBUG - ++ awk '{print toupper($0)}'
2021-12-27 16:06:19,850: DEBUG - + ynh_arg=PUBLIC_KEY
2021-12-27 16:06:19,854: DEBUG - + '[' public_key == path_url ']'
2021-12-27 16:06:19,859: DEBUG - + ynh_arg=YNH_APP_ARG_PUBLIC_KEY
2021-12-27 16:06:19,863: DEBUG - + export 'public_key=ssh-ed25519 **************************** root@*******.fr
2021-12-27 16:06:19,869: DEBUG - + public_key='ssh-ed25519 **************************** root@*******.fr
2021-12-27 16:06:19,873: DEBUG - + for var in $@
2021-12-27 16:06:19,876: DEBUG - ++ echo quota
2021-12-27 16:06:19,879: DEBUG - ++ awk '{print toupper($0)}'
2021-12-27 16:06:19,896: DEBUG - + ynh_arg=QUOTA
2021-12-27 16:06:19,901: DEBUG - + '[' quota == path_url ']'
2021-12-27 16:06:19,905: DEBUG - + ynh_arg=YNH_APP_ARG_QUOTA
2021-12-27 16:06:19,908: DEBUG - + export quota=250G
2021-12-27 16:06:19,913: DEBUG - + quota=250G
2021-12-27 16:06:19,916: DEBUG - + for var in $@
2021-12-27 16:06:19,919: DEBUG - ++ awk '{print toupper($0)}'
2021-12-27 16:06:19,922: DEBUG - ++ echo alert_delay
2021-12-27 16:06:19,940: DEBUG - + ynh_arg=ALERT_DELAY
2021-12-27 16:06:19,944: DEBUG - + '[' alert_delay == path_url ']'
2021-12-27 16:06:19,948: DEBUG - + ynh_arg=YNH_APP_ARG_ALERT_DELAY
2021-12-27 16:06:19,952: DEBUG - + export alert_delay=1
2021-12-27 16:06:19,956: DEBUG - + alert_delay=1
2021-12-27 16:06:19,960: DEBUG - + for var in $@
2021-12-27 16:06:19,963: DEBUG - ++ echo alert_mails
2021-12-27 16:06:19,966: DEBUG - ++ awk '{print toupper($0)}'
2021-12-27 16:06:19,983: DEBUG - + ynh_arg=ALERT_MAILS
2021-12-27 16:06:19,986: DEBUG - + '[' alert_mails == path_url ']'
2021-12-27 16:06:19,989: DEBUG - + ynh_arg=YNH_APP_ARG_ALERT_MAILS
2021-12-27 16:06:19,993: DEBUG - + export alert_mails=backup@*******.fr
2021-12-27 16:06:19,997: DEBUG - + alert_mails=backup@*********.fr
2021-12-27 16:06:20,000: DEBUG - + [[ '' = \1 ]]
2021-12-27 16:06:20,003: DEBUG - + ynh_system_user_exists --username=admin
2021-12-27 16:06:20,081: DEBUG - + getent passwd admin
2021-12-27 16:06:20,110: DEBUG - + ynh_die '--message=This user already exists'
2021-12-27 16:06:20,289: WARNING - This user already exists
2021-12-27 16:06:20,294: DEBUG - + ynh_exit_properly
2021-12-27 16:06:21,841: ERROR - Unable to install borgserver: An error occurred inside the app installation script
Cela vous dirait-il quelque-chose ?
Merci de votre aide !