# Erreur installation app transmission sur lxc

**URL:** <https://forum.yunohost.org/t/erreur-installation-app-transmission-sur-lxc/10333>\
**Category:** Support\
**Tags:** lxc, french, english\
**Created:** [February 21, 2020, 5:19pm UTC](https://forum.yunohost.org/t/erreur-installation-app-transmission-sur-lxc/10333 "2020-02-21T17:19:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Murnor](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/m/a698b9/32.png) [@Murnor](https://forum.yunohost.org/u/Murnor)\
**Post date:** [February 21, 2020, 5:19pm UTC](https://forum.yunohost.org/t/erreur-installation-app-transmission-sur-lxc/10333/1 "2020-02-21T17:19:28Z")

</div>

### Mon serveur YunoHost

**Matériel:** LXC Debian 9.12 64bit (Linux 4.15.18-24-pve)  
**Version de YunoHost:** 3.6.5.3  
**J’ai accès à mon serveur :** En SSH | Par la webadmin  
**Êtes-vous dans un contexte particulier ou avez-vous effectué des modifications particulières sur votre instance ?** : non

### Description du problème

Bonjour,

En tant qu’administrateur de mon instance Yunohost, je souhaiterais installer l’application Transmission afin de pouvoir gérer simplement mes torrents via une IHM Web.

Cependant du fait d’être dans un container LXC, certaines commandes ne fonctionnent pas sur lxc et le script d’installation n’a pas prévu ce cas de figure.

L’erreur se produit quand le script install execute ceci :  
`sysctl --load=/etc/sysctl.d/90-transmission.conf`

et peut être plus précisément :  
`sysctl: cannot stat /proc/sys/net/core/rmem_max: No such file or directory `

Ci-dessous la log d’erreur car le forum n’a pas voulu que je mette un lien.

> ```
> 2020-02-21 16:18:48,779: INFO - Installation de l'application transmission …
> 2020-02-21 16:18:48,847: DEBUG - Exécution de la commande 'sh -c YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/transmission_ynh-3937754ccf18478958907cc93f441259da1ce024/scripts YNH_STDINFO=/tmp/tmpUL2lfT/stdinfo YNH_APP_INSTANCE_NAME=transmission YNH_INTERFACE=api YNH_APP_ID=transmission YNH_APP_ARG_PATH=/torrent YNH_STDRETURN=/tmp/tmpakKAOy/stdreturn YNH_APP_ARG_DOMAIN=nomdedomaine.pw BASH_XTRACEFD=7 /bin/bash -x "./install" nomdedomaine.pw /torrent transmission 7>&1' …
> 2020-02-21 16:18:48,847: DEBUG - About to run the command '['sh', '-c', 'YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/transmission_ynh-3937754ccf18478958907cc93f441259da1ce024/scripts YNH_STDINFO=/tmp/tmpUL2lfT/stdinfo YNH_APP_INSTANCE_NAME=transmission YNH_INTERFACE=api YNH_APP_ID=transmission YNH_APP_ARG_PATH=/torrent YNH_STDRETURN=/tmp/tmpakKAOy/stdreturn YNH_APP_ARG_DOMAIN=nomdedomaine.pw BASH_XTRACEFD=7 /bin/bash -x "./install" nomdedomaine.pw /torrent transmission 7>&1']'
> 2020-02-21 16:18:48,957: DEBUG - + source _common.sh
> 2020-02-21 16:18:48,957: DEBUG - ++ pkg_dependencies='transmission-daemon transmission-cli transmission-common acl'
> 2020-02-21 16:18:48,957: DEBUG - + source /usr/share/yunohost/helpers
> 2020-02-21 16:18:48,957: DEBUG - +++ run-parts --list /usr/share/yunohost/helpers.d
> 2020-02-21 16:18:48,958: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
> 2020-02-21 16:18:48,958: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/apt ']'
> 2020-02-21 16:18:48,958: DEBUG - ++ . /usr/share/yunohost/helpers.d/apt
> 2020-02-21 16:18:48,958: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
> 2020-02-21 16:18:48,958: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/backup ']'
> 2020-02-21 16:18:48,958: DEBUG - ++ . /usr/share/yunohost/helpers.d/backup
> 2020-02-21 16:18:48,958: DEBUG - +++ CAN_BIND=1
> 2020-02-21 16:18:48,958: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
> 2020-02-21 16:18:48,958: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/fail2ban ']'
> 2020-02-21 16:18:48,958: DEBUG - ++ . /usr/share/yunohost/helpers.d/fail2ban
> 2020-02-21 16:18:48,958: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
> 2020-02-21 16:18:48,959: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/getopts ']'
> 2020-02-21 16:18:48,959: DEBUG - ++ . /usr/share/yunohost/helpers.d/getopts
> 2020-02-21 16:18:48,959: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
> 2020-02-21 16:18:48,959: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/logging ']'
> 2020-02-21 16:18:48,959: DEBUG - ++ . /usr/share/yunohost/helpers.d/logging
> 2020-02-21 16:18:48,959: DEBUG - +++ increment_progression=0
> 2020-02-21 16:18:48,959: DEBUG - +++ previous_weight=0
> 2020-02-21 16:18:48,959: DEBUG - +++ max_progression=-1
> 2020-02-21 16:18:48,959: DEBUG - +++ progress_scale=20
> 2020-02-21 16:18:48,959: DEBUG - +++ progress_string2='####################'
> 2020-02-21 16:18:48,959: DEBUG - +++ progress_string1=++++++++++++++++++++
> 2020-02-21 16:18:48,959: DEBUG - +++ progress_string0=....................
> 2020-02-21 16:18:48,960: DEBUG - ++++ date +%s
> 2020-02-21 16:18:48,960: DEBUG - +++ base_time=1582301928
> 2020-02-21 16:18:48,960: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
> 2020-02-21 16:18:48,960: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/logrotate ']'
> 2020-02-21 16:18:48,960: DEBUG - ++ . /usr/share/yunohost/helpers.d/logrotate
> 2020-02-21 16:18:48,960: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
> 2020-02-21 16:18:48,960: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/mysql ']'
> 2020-02-21 16:18:48,960: DEBUG - ++ . /usr/share/yunohost/helpers.d/mysql
> 2020-02-21 16:18:48,960: DEBUG - +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
> 2020-02-21 16:18:48,960: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
> 2020-02-21 16:18:48,960: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/network ']'
> 2020-02-21 16:18:48,960: DEBUG - ++ . /usr/share/yunohost/helpers.d/network
> 2020-02-21 16:18:48,961: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
> 2020-02-21 16:18:48,961: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nginx ']'
> 2020-02-21 16:18:48,961: DEBUG - ++ . /usr/share/yunohost/helpers.d/nginx
> 2020-02-21 16:18:48,961: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
> 2020-02-21 16:18:48,961: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nodejs ']'
> 2020-02-21 16:18:48,961: DEBUG - ++ . /usr/share/yunohost/helpers.d/nodejs
> 2020-02-21 16:18:48,961: DEBUG - +++ n_install_dir=/opt/node_n
> 2020-02-21 16:18:48,961: DEBUG - +++ node_version_path=/opt/node_n/n/versions/node
> 2020-02-21 16:18:48,961: DEBUG - +++ export N_PREFIX=/opt/node_n
> 2020-02-21 16:18:48,961: DEBUG - +++ N_PREFIX=/opt/node_n
> 2020-02-21 16:18:48,961: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
> 2020-02-21 16:18:48,961: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/php ']'
> 2020-02-21 16:18:48,962: DEBUG - ++ . /usr/share/yunohost/helpers.d/php
> 2020-02-21 16:18:48,962: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
> 2020-02-21 16:18:48,962: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/postgresql ']'
> 2020-02-21 16:18:48,962: DEBUG - ++ . /usr/share/yunohost/helpers.d/postgresql
> 2020-02-21 16:18:48,962: DEBUG - +++ PSQL_ROOT_PWD_FILE=/etc/yunohost/psql
> 2020-02-21 16:18:48,962: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
> 2020-02-21 16:18:48,962: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/setting ']'
> 2020-02-21 16:18:48,962: DEBUG - ++ . /usr/share/yunohost/helpers.d/setting
> 2020-02-21 16:18:48,962: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
> 2020-02-21 16:18:48,962: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/string ']'
> 2020-02-21 16:18:48,962: DEBUG - ++ . /usr/share/yunohost/helpers.d/string
> 2020-02-21 16:18:48,962: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
> 2020-02-21 16:18:48,962: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/systemd ']'
> 2020-02-21 16:18:48,963: DEBUG - ++ . /usr/share/yunohost/helpers.d/systemd
> 2020-02-21 16:18:48,963: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
> 2020-02-21 16:18:48,963: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/user ']'
> 2020-02-21 16:18:48,963: DEBUG - ++ . /usr/share/yunohost/helpers.d/user
> 2020-02-21 16:18:48,963: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
> 2020-02-21 16:18:48,963: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/utils ']'
> 2020-02-21 16:18:48,963: DEBUG - ++ . /usr/share/yunohost/helpers.d/utils
> 2020-02-21 16:18:48,963: DEBUG - + ynh_abort_if_errors
> 2020-02-21 16:18:48,963: DEBUG - + set -eu
> 2020-02-21 16:18:48,963: DEBUG - + trap ynh_exit_properly EXIT
> 2020-02-21 16:18:48,963: DEBUG - + domain=nomdedomaine.pw
> 2020-02-21 16:18:48,963: DEBUG - + path_url=/torrent
> 2020-02-21 16:18:48,964: DEBUG - + app=transmission
> 2020-02-21 16:18:48,964: DEBUG - + ynh_script_progression '--message=Validating installation parameters...'
> 2020-02-21 16:18:48,964: DEBUG - + set +x
> 2020-02-21 16:18:48,964: DEBUG - + set +x
> 2020-02-21 16:18:48,964: DEBUG - + echo '! Helper used in legacy mode !'
> 2020-02-21 16:18:48,964: DEBUG - + set +x
> 2020-02-21 16:18:48,964: DEBUG - + echo '[....................] > Validating installation parameters...'
> 2020-02-21 16:18:48,970: DEBUG - + set -x
> 2020-02-21 16:18:48,971: INFO - [....................] > Validating installation parameters...
> 2020-02-21 16:18:48,972: DEBUG - ++ ynh_normalize_url_path /torrent
> 2020-02-21 16:18:48,972: DEBUG - ++ local legacy_args=p
> 2020-02-21 16:18:48,972: DEBUG - ++ args_array=([p]=path_url=)
> 2020-02-21 16:18:48,972: DEBUG - ++ declare -Ar args_array
> 2020-02-21 16:18:48,972: DEBUG - ++ local path_url
> 2020-02-21 16:18:48,972: DEBUG - ++ ynh_handle_getopts_args /torrent
> 2020-02-21 16:18:48,972: DEBUG - ++ set +x
> 2020-02-21 16:18:48,972: DEBUG - ++ echo '! Helper used in legacy mode !'
> 2020-02-21 16:18:48,972: DEBUG - ++ set +x
> 2020-02-21 16:18:48,972: DEBUG - ++ test -n /torrent
> 2020-02-21 16:18:48,973: DEBUG - ++ '[' / '!=' / ']'
> 2020-02-21 16:18:48,973: DEBUG - ++ '[' t == / ']'
> 2020-02-21 16:18:48,973: DEBUG - ++ echo /torrent
> 2020-02-21 16:18:48,973: DEBUG - + path_url=/torrent
> 2020-02-21 16:18:48,973: DEBUG - + ynh_webpath_register --app=transmission --domain=nomdedomaine.pw --path_url=/torrent
> 2020-02-21 16:18:48,973: DEBUG - + local legacy_args=adp
> 2020-02-21 16:18:48,973: DEBUG - + args_array=([a]=app= [d]=domain= [p]=path_url=)
> 2020-02-21 16:18:48,973: DEBUG - + declare -Ar args_array
> 2020-02-21 16:18:48,973: DEBUG - + local app
> 2020-02-21 16:18:48,973: DEBUG - + local domain
> 2020-02-21 16:18:48,973: DEBUG - + local path_url
> 2020-02-21 16:18:48,973: DEBUG - + ynh_handle_getopts_args --app=transmission --domain=nomdedomaine.pw --path_url=/torrent
> 2020-02-21 16:18:48,974: DEBUG - + set +x
> 2020-02-21 16:18:48,974: DEBUG - + sudo yunohost app register-url transmission nomdedomaine.pw /torrent
> 2020-02-21 16:18:49,174: DEBUG - + ynh_script_progression '--message=Storing installation settings...' --weight=2
> 2020-02-21 16:18:49,174: DEBUG - + set +x
> 2020-02-21 16:18:49,174: DEBUG - + set +x
> 2020-02-21 16:18:49,175: DEBUG - + echo '! Helper used in legacy mode !'
> 2020-02-21 16:18:49,175: DEBUG - + set +x
> 2020-02-21 16:18:49,175: DEBUG - + echo '[+...................] > Storing installation settings...'
> 2020-02-21 16:18:49,175: DEBUG - + set -x
> 2020-02-21 16:18:49,175: DEBUG - + ynh_app_setting_set --app=transmission --key=domain --value=nomdedomaine.pw
> 2020-02-21 16:18:49,175: DEBUG - + local legacy_args=akv
> 2020-02-21 16:18:49,175: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
> 2020-02-21 16:18:49,175: DEBUG - + declare -Ar args_array
> 2020-02-21 16:18:49,175: DEBUG - + local app
> 2020-02-21 16:18:49,175: DEBUG - + local key
> 2020-02-21 16:18:49,175: DEBUG - + local value
> 2020-02-21 16:18:49,175: DEBUG - + ynh_handle_getopts_args --app=transmission --key=domain --value=nomdedomaine.pw
> 2020-02-21 16:18:49,176: DEBUG - + set +x
> 2020-02-21 16:18:49,176: DEBUG - + ynh_app_setting set transmission domain nomdedomaine.pw
> 2020-02-21 16:18:49,176: DEBUG - + ACTION=set
> 2020-02-21 16:18:49,176: DEBUG - + APP=transmission
> 2020-02-21 16:18:49,176: DEBUG - + KEY=domain
> 2020-02-21 16:18:49,176: DEBUG - + VALUE=nomdedomaine.pw
> 2020-02-21 16:18:49,176: DEBUG - + python -
> 2020-02-21 16:18:49,276: DEBUG - + ynh_app_setting_set --app=transmission --key=path --value=/torrent
> 2020-02-21 16:18:49,277: INFO - [+...................] > Storing installation settings...
> 2020-02-21 16:18:49,277: DEBUG - + local legacy_args=akv
> 2020-02-21 16:18:49,277: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
> 2020-02-21 16:18:49,277: DEBUG - + declare -Ar args_array
> 2020-02-21 16:18:49,277: DEBUG - + local app
> 2020-02-21 16:18:49,277: DEBUG - + local key
> 2020-02-21 16:18:49,277: DEBUG - + local value
> 2020-02-21 16:18:49,277: DEBUG - + ynh_handle_getopts_args --app=transmission --key=path --value=/torrent
> 2020-02-21 16:18:49,278: DEBUG - + set +x
> 2020-02-21 16:18:49,278: DEBUG - + ynh_app_setting set transmission path /torrent
> 2020-02-21 16:18:49,278: DEBUG - + ACTION=set
> 2020-02-21 16:18:49,278: DEBUG - + APP=transmission
> 2020-02-21 16:18:49,278: DEBUG - + KEY=path
> 2020-02-21 16:18:49,278: DEBUG - + VALUE=/torrent
> 2020-02-21 16:18:49,278: DEBUG - + python -
> 2020-02-21 16:18:49,378: DEBUG - + ynh_script_progression '--message=Configuring firewall...' --weight=16
> 2020-02-21 16:18:49,378: INFO - [#+++++++............] > Configuring firewall...
> 2020-02-21 16:18:49,379: DEBUG - + set +x
> 2020-02-21 16:18:49,379: DEBUG - + set +x
> 2020-02-21 16:18:49,379: DEBUG - + echo '! Helper used in legacy mode !'
> 2020-02-21 16:18:49,379: DEBUG - + set +x
> 2020-02-21 16:18:49,379: DEBUG - + echo '[#+++++++............] > Configuring firewall...'
> 2020-02-21 16:18:49,379: DEBUG - + set -x
> 2020-02-21 16:18:49,379: DEBUG - ++ ynh_find_port --port=9091
> 2020-02-21 16:18:49,379: DEBUG - ++ local legacy_args=p
> 2020-02-21 16:18:49,379: DEBUG - ++ args_array=([p]=port=)
> 2020-02-21 16:18:49,379: DEBUG - ++ declare -Ar args_array
> 2020-02-21 16:18:49,380: DEBUG - ++ local port
> 2020-02-21 16:18:49,380: DEBUG - ++ ynh_handle_getopts_args --port=9091
> 2020-02-21 16:18:49,380: DEBUG - ++ set +x
> 2020-02-21 16:18:49,380: DEBUG - ++ test -n 9091
> 2020-02-21 16:18:49,380: DEBUG - ++ netcat -z 127.0.0.1 9091
> 2020-02-21 16:18:49,380: DEBUG - ++ echo 9091
> 2020-02-21 16:18:49,380: DEBUG - + port=9091
> 2020-02-21 16:18:49,380: DEBUG - + ynh_exec_warn_less yunohost firewall allow --no-upnp TCP 9091
> 2020-02-21 16:18:49,380: DEBUG - + eval yunohost firewall allow --no-upnp TCP 9091
> 2020-02-21 16:18:49,380: DEBUG - ++ yunohost firewall allow --no-upnp TCP 9091
> 2020-02-21 16:18:54,592: DEBUG - The firewall has been reloaded
> 2020-02-21 16:18:54,592: DEBUG - opened_ports:
> 2020-02-21 16:18:54,592: DEBUG - - 22
> 2020-02-21 16:18:54,592: DEBUG - - 25
> 2020-02-21 16:18:54,592: DEBUG - - 53
> 2020-02-21 16:18:54,592: DEBUG - - 80
> 2020-02-21 16:18:54,593: DEBUG - - 443
> 2020-02-21 16:18:54,593: DEBUG - - 587
> 2020-02-21 16:18:54,593: DEBUG - - 993
> 2020-02-21 16:18:54,593: DEBUG - - 5222
> 2020-02-21 16:18:54,593: DEBUG - - 5269
> 2020-02-21 16:18:54,593: DEBUG - - 5353
> 2020-02-21 16:18:54,593: DEBUG - - 9091
> 2020-02-21 16:18:54,593: DEBUG - + ynh_app_setting_set --app=transmission --key=port --value=9091
> 2020-02-21 16:18:54,593: DEBUG - + local legacy_args=akv
> 2020-02-21 16:18:54,593: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
> 2020-02-21 16:18:54,593: DEBUG - + declare -Ar args_array
> 2020-02-21 16:18:54,594: DEBUG - + local app
> 2020-02-21 16:18:54,594: DEBUG - + local key
> 2020-02-21 16:18:54,594: DEBUG - + local value
> 2020-02-21 16:18:54,594: DEBUG - + ynh_handle_getopts_args --app=transmission --key=port --value=9091
> 2020-02-21 16:18:54,594: DEBUG - + set +x
> 2020-02-21 16:18:54,594: DEBUG - + ynh_app_setting set transmission port 9091
> 2020-02-21 16:18:54,594: DEBUG - + ACTION=set
> 2020-02-21 16:18:54,594: DEBUG - + APP=transmission
> 2020-02-21 16:18:54,594: DEBUG - + KEY=port
> 2020-02-21 16:18:54,594: DEBUG - + VALUE=9091
> 2020-02-21 16:18:54,594: DEBUG - + python -
> 2020-02-21 16:18:54,695: DEBUG - ++ ynh_find_port --port=51413
> 2020-02-21 16:18:54,695: DEBUG - ++ local legacy_args=p
> 2020-02-21 16:18:54,695: DEBUG - ++ args_array=([p]=port=)
> 2020-02-21 16:18:54,695: DEBUG - ++ declare -Ar args_array
> 2020-02-21 16:18:54,695: DEBUG - ++ local port
> 2020-02-21 16:18:54,695: DEBUG - ++ ynh_handle_getopts_args --port=51413
> 2020-02-21 16:18:54,695: DEBUG - ++ set +x
> 2020-02-21 16:18:54,695: DEBUG - ++ test -n 51413
> 2020-02-21 16:18:54,695: DEBUG - ++ netcat -z 127.0.0.1 51413
> 2020-02-21 16:18:54,695: DEBUG - ++ echo 51413
> 2020-02-21 16:18:54,696: DEBUG - + peer_port=51413
> 2020-02-21 16:18:54,696: DEBUG - + ynh_exec_warn_less yunohost firewall allow Both 51413
> 2020-02-21 16:18:54,696: DEBUG - + eval yunohost firewall allow Both 51413
> 2020-02-21 16:18:54,696: DEBUG - ++ yunohost firewall allow Both 51413
> 2020-02-21 16:19:00,907: DEBUG - The firewall has been reloaded
> 2020-02-21 16:19:00,907: DEBUG - opened_ports:
> 2020-02-21 16:19:00,907: DEBUG - - 22
> 2020-02-21 16:19:00,907: DEBUG - - 25
> 2020-02-21 16:19:00,907: DEBUG - - 53
> 2020-02-21 16:19:00,907: DEBUG - - 80
> 2020-02-21 16:19:00,907: DEBUG - - 443
> 2020-02-21 16:19:00,907: DEBUG - - 587
> 2020-02-21 16:19:00,907: DEBUG - - 993
> 2020-02-21 16:19:00,907: DEBUG - - 5222
> 2020-02-21 16:19:00,908: DEBUG - - 5269
> 2020-02-21 16:19:00,908: DEBUG - - 5353
> 2020-02-21 16:19:00,908: DEBUG - - 9091
> 2020-02-21 16:19:00,908: DEBUG - - 51413
> 2020-02-21 16:19:00,908: DEBUG - + ynh_app_setting_set --app=transmission --key=peer_port --value=51413
> 2020-02-21 16:19:00,908: DEBUG - + local legacy_args=akv
> 2020-02-21 16:19:00,908: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
> 2020-02-21 16:19:00,908: DEBUG - + declare -Ar args_array
> 2020-02-21 16:19:00,908: DEBUG - + local app
> 2020-02-21 16:19:00,908: DEBUG - + local key
> 2020-02-21 16:19:00,908: DEBUG - + local value
> 2020-02-21 16:19:00,908: DEBUG - + ynh_handle_getopts_args --app=transmission --key=peer_port --value=51413
> 2020-02-21 16:19:00,909: DEBUG - + set +x
> 2020-02-21 16:19:00,909: DEBUG - + ynh_app_setting set transmission peer_port 51413
> 2020-02-21 16:19:00,909: DEBUG - + ACTION=set
> 2020-02-21 16:19:00,909: DEBUG - + APP=transmission
> 2020-02-21 16:19:00,909: DEBUG - + KEY=peer_port
> 2020-02-21 16:19:00,909: DEBUG - + VALUE=51413
> 2020-02-21 16:19:00,909: DEBUG - + python -
> 2020-02-21 16:19:01,009: DEBUG - + ynh_script_progression '--message=Installing transmission...' --weight=16
> 2020-02-21 16:19:01,010: INFO - [########+++++++.....] > Installing transmission...
> 2020-02-21 16:19:01,010: DEBUG - + set +x
> 2020-02-21 16:19:01,010: DEBUG - + set +x
> 2020-02-21 16:19:01,010: DEBUG - + echo '! Helper used in legacy mode !'
> 2020-02-21 16:19:01,010: DEBUG - + set +x
> 2020-02-21 16:19:01,010: DEBUG - + echo '[########+++++++.....] > Installing transmission...'
> 2020-02-21 16:19:01,010: DEBUG - + set -x
> 2020-02-21 16:19:01,010: DEBUG - + ynh_install_app_dependencies transmission-daemon transmission-cli transmission-common acl
> 2020-02-21 16:19:01,010: DEBUG - + local 'dependencies=transmission-daemon transmission-cli transmission-common acl'
> 2020-02-21 16:19:01,011: DEBUG - + local 'dependencies=transmission-daemon, transmission-cli, transmission-common, acl'
> 2020-02-21 16:19:01,011: DEBUG - + local 'dependencies=transmission-daemon, transmission-cli, transmission-common, acl'
> 2020-02-21 16:19:01,011: DEBUG - + local manifest_path=../manifest.json
> 2020-02-21 16:19:01,011: DEBUG - + '[' '!' -e ../manifest.json ']'
> 2020-02-21 16:19:01,011: DEBUG - ++ cut -d '"' -f 4
> 2020-02-21 16:19:01,011: DEBUG - ++ grep '\"version\": ' ../manifest.json
> 2020-02-21 16:19:01,011: DEBUG - + local version=1.0~ynh2
> 2020-02-21 16:19:01,011: DEBUG - + '[' 8 -eq 0 ']'
> 2020-02-21 16:19:01,011: DEBUG - + local dep_app=transmission
> 2020-02-21 16:19:01,011: DEBUG - + grep -q php
> 2020-02-21 16:19:01,012: DEBUG - + echo transmission-daemon, transmission-cli, transmission-common, acl
> 2020-02-21 16:19:01,012: DEBUG - + cat
> 2020-02-21 16:19:01,012: DEBUG - + ynh_package_install_from_equivs /tmp/transmission-ynh-deps.control
> 2020-02-21 16:19:01,012: DEBUG - + local controlfile=/tmp/transmission-ynh-deps.control
> 2020-02-21 16:19:01,012: DEBUG - ++ cut '-d ' -f 2
> 2020-02-21 16:19:01,012: DEBUG - ++ grep '^Package: ' /tmp/transmission-ynh-deps.control
> 2020-02-21 16:19:01,012: DEBUG - + local pkgname=transmission-ynh-deps
> 2020-02-21 16:19:01,012: DEBUG - ++ cut '-d ' -f 2
> 2020-02-21 16:19:01,012: DEBUG - ++ grep '^Version: ' /tmp/transmission-ynh-deps.control
> 2020-02-21 16:19:01,012: DEBUG - + local pkgversion=1.0~ynh2
> 2020-02-21 16:19:01,013: DEBUG - + [[-z transmission-ynh-deps]]
> 2020-02-21 16:19:01,013: DEBUG - + [[-z 1.0~ynh2]]
> 2020-02-21 16:19:01,013: DEBUG - + ynh_package_update
> 2020-02-21 16:19:01,013: DEBUG - + ynh_apt update
> 2020-02-21 16:19:01,017: DEBUG - + ynh_wait_dpkg_free
> 2020-02-21 16:19:01,018: DEBUG - + local try
> 2020-02-21 16:19:01,018: DEBUG - ++ seq 1 17
> 2020-02-21 16:19:01,018: DEBUG - + for try in `seq 1 17`
> 2020-02-21 16:19:01,018: DEBUG - + sudo lsof /var/lib/dpkg/lock
> 2020-02-21 16:19:01,118: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
> 2020-02-21 16:19:01,118: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
> 2020-02-21 16:19:01,118: DEBUG - + read dpkg_file
> 2020-02-21 16:19:01,118: DEBUG - + grep -Pq '^[[:digit:]]+$'
> 2020-02-21 16:19:01,119: DEBUG - + echo ''
> 2020-02-21 16:19:01,119: DEBUG - + read dpkg_file
> 2020-02-21 16:19:01,119: DEBUG - + return 0
> 2020-02-21 16:19:01,119: DEBUG - + DEBIAN_FRONTEND=noninteractive
> 2020-02-21 16:19:01,119: DEBUG - + apt-get -y update
> 2020-02-21 16:19:01,219: DEBUG - Hit:1 http://forge.yunohost.org/debian stretch InRelease
> 2020-02-21 16:19:01,219: DEBUG - Ign:2 http://ftp.debian.org/debian stretch InRelease
> 2020-02-21 16:19:01,219: DEBUG - Hit:3 http://ftp.debian.org/debian stretch-updates InRelease
> 2020-02-21 16:19:01,220: DEBUG - Hit:4 http://security.debian.org stretch/updates InRelease
> 2020-02-21 16:19:01,220: DEBUG - Hit:5 http://ftp.debian.org/debian stretch Release
> 2020-02-21 16:19:02,327: DEBUG - Reading package lists...
> 2020-02-21 16:19:02,327: DEBUG - ++ mktemp -d
> 2020-02-21 16:19:02,328: DEBUG - + local TMPDIR=/tmp/tmp.skpY288fhi
> 2020-02-21 16:19:02,328: DEBUG - + echo 10
> 2020-02-21 16:19:02,328: DEBUG - + ynh_wait_dpkg_free
> 2020-02-21 16:19:02,328: DEBUG - + local try
> 2020-02-21 16:19:02,328: DEBUG - ++ seq 1 17
> 2020-02-21 16:19:02,328: DEBUG - + for try in `seq 1 17`
> 2020-02-21 16:19:02,328: DEBUG - + sudo lsof /var/lib/dpkg/lock
> 2020-02-21 16:19:02,428: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
> 2020-02-21 16:19:02,429: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
> 2020-02-21 16:19:02,429: DEBUG - + read dpkg_file
> 2020-02-21 16:19:02,429: DEBUG - + echo ''
> 2020-02-21 16:19:02,429: DEBUG - + grep -Pq '^[[:digit:]]+$'
> 2020-02-21 16:19:02,429: DEBUG - + read dpkg_file
> 2020-02-21 16:19:02,429: DEBUG - + return 0
> 2020-02-21 16:19:02,429: DEBUG - + cp /tmp/transmission-ynh-deps.control /tmp/tmp.skpY288fhi/control
> 2020-02-21 16:19:02,429: DEBUG - + cd /tmp/tmp.skpY288fhi
> 2020-02-21 16:19:02,429: DEBUG - + equivs-build ./control
> 2020-02-21 16:19:03,134: DEBUG - + dpkg --force-depends -i ./transmission-ynh-deps_1.0~ynh2_all.deb
> 2020-02-21 16:19:03,134: DEBUG - Selecting previously unselected package transmission-ynh-deps.
> 2020-02-21 16:19:03,134: DEBUG - (Reading database ... 45921 files and directories currently installed.)
> 2020-02-21 16:19:03,134: DEBUG - Preparing to unpack .../transmission-ynh-deps_1.0~ynh2_all.deb ...
> 2020-02-21 16:19:03,134: DEBUG - Unpacking transmission-ynh-deps (1.0~ynh2) ...
> 2020-02-21 16:19:03,236: DEBUG - dpkg: transmission-ynh-deps: dependency problems, but configuring anyway as you requested:
> 2020-02-21 16:19:03,237: DEBUG - transmission-ynh-deps depends on transmission-daemon; however:
> 2020-02-21 16:19:03,237: DEBUG - Package transmission-daemon is not installed.
> 2020-02-21 16:19:03,237: DEBUG - transmission-ynh-deps depends on transmission-cli; however:
> 2020-02-21 16:19:03,237: DEBUG - Package transmission-cli is not installed.
> 2020-02-21 16:19:03,237: DEBUG - transmission-ynh-deps depends on transmission-common; however:
> 2020-02-21 16:19:03,237: DEBUG - Package transmission-common is not installed.
> 2020-02-21 16:19:03,237: DEBUG - 
> 2020-02-21 16:19:03,237: DEBUG - Setting up transmission-ynh-deps (1.0~ynh2) ...
> 2020-02-21 16:19:03,237: DEBUG - + ynh_package_install -f
> 2020-02-21 16:19:03,237: DEBUG - + ynh_apt --no-remove -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install -f
> 2020-02-21 16:19:03,237: DEBUG - + ynh_wait_dpkg_free
> 2020-02-21 16:19:03,237: DEBUG - + local try
> 2020-02-21 16:19:03,238: DEBUG - ++ seq 1 17
> 2020-02-21 16:19:03,238: DEBUG - + for try in `seq 1 17`
> 2020-02-21 16:19:03,238: DEBUG - + sudo lsof /var/lib/dpkg/lock
> 2020-02-21 16:19:03,338: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
> 2020-02-21 16:19:03,338: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
> 2020-02-21 16:19:03,338: DEBUG - + read dpkg_file
> 2020-02-21 16:19:03,338: DEBUG - + echo ''
> 2020-02-21 16:19:03,339: DEBUG - + grep -Pq '^[[:digit:]]+$'
> 2020-02-21 16:19:03,339: DEBUG - + read dpkg_file
> 2020-02-21 16:19:03,339: DEBUG - + return 0
> 2020-02-21 16:19:03,339: DEBUG - + DEBIAN_FRONTEND=noninteractive
> 2020-02-21 16:19:03,339: DEBUG - + apt-get -y --no-remove -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install -f
> 2020-02-21 16:19:03,439: DEBUG - Reading package lists...
> 2020-02-21 16:19:03,540: DEBUG - Building dependency tree...
> 2020-02-21 16:19:03,540: DEBUG - Reading state information...
> 2020-02-21 16:19:03,640: DEBUG - Correcting dependencies... Done
> 2020-02-21 16:19:03,740: DEBUG - The following additional packages will be installed:
> 2020-02-21 16:19:03,741: DEBUG - libminiupnpc10 libnatpmp1 minissdpd transmission-cli transmission-common
> 2020-02-21 16:19:03,741: DEBUG - transmission-daemon
> 2020-02-21 16:19:03,741: DEBUG - Suggested packages:
> 2020-02-21 16:19:03,741: DEBUG - natpmp-utils transmission-gtk
> 2020-02-21 16:19:03,741: DEBUG - The following NEW packages will be installed:
> 2020-02-21 16:19:03,741: DEBUG - libminiupnpc10 libnatpmp1 minissdpd transmission-cli transmission-common
> 2020-02-21 16:19:03,741: DEBUG - transmission-daemon
> 2020-02-21 16:19:04,547: DEBUG - 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
> 2020-02-21 16:19:04,547: DEBUG - Need to get 0 B/970 kB of archives.
> 2020-02-21 16:19:04,547: DEBUG - After this operation, 4251 kB of additional disk space will be used.
> 2020-02-21 16:19:04,647: DEBUG - Selecting previously unselected package transmission-common.
> 2020-02-21 16:19:04,647: DEBUG - (Reading database ... 
> (Reading database ... 5%
> (Reading database ... 10%
> (Reading database ... 15%
> (Reading database ... 20%
> (Reading database ... 25%
> (Reading database ... 30%
> (Reading database ... 35%
> (Reading database ... 40%
> (Reading database ... 45%
> (Reading database ... 50%
> (Reading database ... 55%
> (Reading database ... 60%
> (Reading database ... 65%
> (Reading database ... 70%
> (Reading database ... 75%
> (Reading database ... 80%
> (Reading database ... 85%
> (Reading database ... 90%
> (Reading database ... 95%
> (Reading database ... 100%
> (Reading database ... 45925 files and directories currently installed.)
> 2020-02-21 16:19:04,647: DEBUG - Preparing to unpack .../0-transmission-common_2.92-2+deb9u1_all.deb ...
> 2020-02-21 16:19:04,647: DEBUG - Unpacking transmission-common (2.92-2+deb9u1) ...
> 2020-02-21 16:19:04,748: DEBUG - Selecting previously unselected package libminiupnpc10:amd64.
> 2020-02-21 16:19:04,748: DEBUG - Preparing to unpack .../1-libminiupnpc10_1.9.20140610-4_amd64.deb ...
> 2020-02-21 16:19:04,748: DEBUG - Unpacking libminiupnpc10:amd64 (1.9.20140610-4) ...
> 2020-02-21 16:19:04,848: DEBUG - Selecting previously unselected package libnatpmp1:amd64.
> 2020-02-21 16:19:04,849: DEBUG - Preparing to unpack .../2-libnatpmp1_20110808-4+b1_amd64.deb ...
> 2020-02-21 16:19:04,849: DEBUG - Unpacking libnatpmp1:amd64 (20110808-4+b1) ...
> 2020-02-21 16:19:04,849: DEBUG - Selecting previously unselected package transmission-daemon.
> 2020-02-21 16:19:04,849: DEBUG - Preparing to unpack .../3-transmission-daemon_2.92-2+deb9u1_amd64.deb ...
> 2020-02-21 16:19:04,849: DEBUG - Unpacking transmission-daemon (2.92-2+deb9u1) ...
> 2020-02-21 16:19:04,952: DEBUG - Selecting previously unselected package minissdpd.
> 2020-02-21 16:19:04,952: DEBUG - Preparing to unpack .../4-minissdpd_1.2.20130907-4.1+deb9u1_amd64.deb ...
> 2020-02-21 16:19:04,952: DEBUG - Unpacking minissdpd (1.2.20130907-4.1+deb9u1) ...
> 2020-02-21 16:19:04,953: DEBUG - Selecting previously unselected package transmission-cli.
> 2020-02-21 16:19:04,953: DEBUG - Preparing to unpack .../5-transmission-cli_2.92-2+deb9u1_amd64.deb ...
> 2020-02-21 16:19:04,953: DEBUG - Unpacking transmission-cli (2.92-2+deb9u1) ...
> 2020-02-21 16:19:05,053: DEBUG - Setting up minissdpd (1.2.20130907-4.1+deb9u1) ...
> 2020-02-21 16:19:05,254: DEBUG - Created symlink /etc/systemd/system/multi-user.target.wants/minissdpd.service -> /lib/systemd/system/minissdpd.service.
> 2020-02-21 16:19:05,555: DEBUG - Setting up libminiupnpc10:amd64 (1.9.20140610-4) ...
> 2020-02-21 16:19:05,555: DEBUG - Setting up libnatpmp1:amd64 (20110808-4+b1) ...
> 2020-02-21 16:19:05,555: DEBUG - Setting up transmission-common (2.92-2+deb9u1) ...
> 2020-02-21 16:19:05,555: DEBUG - Processing triggers for libc-bin (2.24-11+deb9u4) ...
> 2020-02-21 16:19:05,555: DEBUG - Processing triggers for systemd (232-25+deb9u12) ...
> 2020-02-21 16:19:05,655: DEBUG - Processing triggers for man-db (2.7.6.1-2) ...
> 2020-02-21 16:19:05,856: DEBUG - Processing triggers for hicolor-icon-theme (0.15-1) ...
> 2020-02-21 16:19:05,856: DEBUG - Setting up transmission-daemon (2.92-2+deb9u1) ...
> 2020-02-21 16:19:06,258: DEBUG - Created symlink /etc/systemd/system/multi-user.target.wants/transmission-daemon.service -> /lib/systemd/system/transmission-daemon.service.
> 2020-02-21 16:19:06,760: DEBUG - Setting up transmission-cli (2.92-2+deb9u1) ...
> 2020-02-21 16:19:06,760: DEBUG - Processing triggers for systemd (232-25+deb9u12) ...
> 2020-02-21 16:19:07,261: DEBUG - + [[-n /tmp/tmp.skpY288fhi]]
> 2020-02-21 16:19:07,261: DEBUG - + rm -rf /tmp/tmp.skpY288fhi
> 2020-02-21 16:19:07,262: DEBUG - + ynh_package_is_installed transmission-ynh-deps
> 2020-02-21 16:19:07,262: DEBUG - + local legacy_args=p
> 2020-02-21 16:19:07,262: DEBUG - + args_array=([p]=package=)
> 2020-02-21 16:19:07,262: DEBUG - + declare -Ar args_array
> 2020-02-21 16:19:07,262: DEBUG - + local package
> 2020-02-21 16:19:07,262: DEBUG - + ynh_handle_getopts_args transmission-ynh-deps
> 2020-02-21 16:19:07,262: DEBUG - + set +x
> 2020-02-21 16:19:07,262: DEBUG - + echo '! Helper used in legacy mode !'
> 2020-02-21 16:19:07,262: DEBUG - + set +x
> 2020-02-21 16:19:07,262: DEBUG - + ynh_wait_dpkg_free
> 2020-02-21 16:19:07,263: DEBUG - + local try
> 2020-02-21 16:19:07,263: DEBUG - ++ seq 1 17
> 2020-02-21 16:19:07,263: DEBUG - + for try in `seq 1 17`
> 2020-02-21 16:19:07,263: DEBUG - + sudo lsof /var/lib/dpkg/lock
> 2020-02-21 16:19:07,364: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
> 2020-02-21 16:19:07,364: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
> 2020-02-21 16:19:07,364: DEBUG - + read dpkg_file
> 2020-02-21 16:19:07,364: DEBUG - + echo ''
> 2020-02-21 16:19:07,364: DEBUG - + grep -Pq '^[[:digit:]]+$'
> 2020-02-21 16:19:07,364: DEBUG - + read dpkg_file
> 2020-02-21 16:19:07,364: DEBUG - + return 0
> 2020-02-21 16:19:07,364: DEBUG - + grep -c 'ok installed'
> 2020-02-21 16:19:07,364: DEBUG - + dpkg-query -W -f '${Status}' transmission-ynh-deps
> 2020-02-21 16:19:07,465: DEBUG - + rm /tmp/transmission-ynh-deps.control
> 2020-02-21 16:19:07,465: DEBUG - + ynh_app_setting_set --app=transmission --key=apt_dependencies '--value=transmission-daemon, transmission-cli, transmission-common, acl'
> 2020-02-21 16:19:07,465: DEBUG - + local legacy_args=akv
> 2020-02-21 16:19:07,465: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
> 2020-02-21 16:19:07,465: DEBUG - + declare -Ar args_array
> 2020-02-21 16:19:07,465: DEBUG - + local app
> 2020-02-21 16:19:07,465: DEBUG - + local key
> 2020-02-21 16:19:07,465: DEBUG - + local value
> 2020-02-21 16:19:07,465: DEBUG - + ynh_handle_getopts_args --app=transmission --key=apt_dependencies '--value=transmission-daemon, transmission-cli, transmission-common, acl'
> 2020-02-21 16:19:07,466: DEBUG - + set +x
> 2020-02-21 16:19:07,466: DEBUG - + ynh_app_setting set transmission apt_dependencies 'transmission-daemon, transmission-cli, transmission-common, acl'
> 2020-02-21 16:19:07,466: DEBUG - + ACTION=set
> 2020-02-21 16:19:07,466: DEBUG - + APP=transmission
> 2020-02-21 16:19:07,466: DEBUG - + KEY=apt_dependencies
> 2020-02-21 16:19:07,466: DEBUG - + VALUE='transmission-daemon, transmission-cli, transmission-common, acl'
> 2020-02-21 16:19:07,466: DEBUG - + python -
> 2020-02-21 16:19:07,566: DEBUG - + '[' '!' -d /usr/share/transmission/ ']'
> 2020-02-21 16:19:07,567: INFO - [###############+....] > Configuring nginx web server...
> 2020-02-21 16:19:07,567: DEBUG - + ynh_script_progression '--message=Configuring nginx web server...' --weight=2
> 2020-02-21 16:19:07,567: DEBUG - + set +x
> 2020-02-21 16:19:07,567: DEBUG - + set +x
> 2020-02-21 16:19:07,567: DEBUG - + echo '! Helper used in legacy mode !'
> 2020-02-21 16:19:07,567: DEBUG - + set +x
> 2020-02-21 16:19:07,567: DEBUG - + echo '[###############+....] > Configuring nginx web server...'
> 2020-02-21 16:19:07,567: DEBUG - + set -x
> 2020-02-21 16:19:07,568: DEBUG - + ynh_add_nginx_config
> 2020-02-21 16:19:07,568: DEBUG - + finalnginxconf=/etc/nginx/conf.d/nomdedomaine.pw.d/transmission.conf
> 2020-02-21 16:19:07,568: DEBUG - + local others_var=
> 2020-02-21 16:19:07,568: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/nginx/conf.d/nomdedomaine.pw.d/transmission.conf
> 2020-02-21 16:19:07,568: DEBUG - + local legacy_args=f
> 2020-02-21 16:19:07,568: DEBUG - + args_array=([f]=file=)
> 2020-02-21 16:19:07,568: DEBUG - + declare -Ar args_array
> 2020-02-21 16:19:07,568: DEBUG - + local file
> 2020-02-21 16:19:07,568: DEBUG - + ynh_handle_getopts_args --file=/etc/nginx/conf.d/nomdedomaine.pw.d/transmission.conf
> 2020-02-21 16:19:07,568: DEBUG - + set +x
> 2020-02-21 16:19:07,568: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_nomdedomaine.pw.d_transmission.conf
> 2020-02-21 16:19:07,568: DEBUG - ++ ynh_app_setting_get --app=transmission --key= **********
> 2020-02-21 16:19:07,569: DEBUG - ++ local legacy_args=ak
> 2020-02-21 16:19:07,569: DEBUG - ++ args_array=([a]=app= [k]=key=)
> 2020-02-21 16:19:07,569: DEBUG - ++ declare -Ar args_array
> 2020-02-21 16:19:07,569: DEBUG - ++ local app
> 2020-02-21 16:19:07,569: DEBUG - ++ local key
> 2020-02-21 16:19:07,569: DEBUG - ++ ynh_handle_getopts_args --app=transmission --key= **********
> 2020-02-21 16:19:07,569: DEBUG - ++ set +x
> 2020-02-21 16:19:07,569: DEBUG - ++ ynh_app_setting get transmission **********
> 2020-02-21 16:19:07,569: DEBUG - ++ ACTION=get
> 2020-02-21 16:19:07,569: DEBUG - ++ APP=transmission
> 2020-02-21 16:19:07,569: DEBUG - ++ KEY= **********
> 2020-02-21 16:19:07,569: DEBUG - ++ VALUE=
> 2020-02-21 16:19:07,569: DEBUG - ++ python -
> 2020-02-21 16:19:07,676: DEBUG - + local checksum_value=
> 2020-02-21 16:19:07,676: DEBUG - + backup_file_checksum=
> 2020-02-21 16:19:07,677: DEBUG - + '[' -n '' ']'
> 2020-02-21 16:19:07,677: DEBUG - + sudo cp ../conf/nginx.conf /etc/nginx/conf.d/nomdedomaine.pw.d/transmission.conf
> 2020-02-21 16:19:07,677: DEBUG - + test -n /torrent
> 2020-02-21 16:19:07,677: DEBUG - + local path_url_slash_less=/torrent
> 2020-02-21 16:19:07,677: DEBUG - + ynh_replace_string --match_string= __PATH__ / --replace_string=/torrent/ --target_file=/etc/nginx/conf.d/nomdedomaine.pw.d/transmission.conf
> 2020-02-21 16:19:07,677: DEBUG - + local legacy_args=mrf
> 2020-02-21 16:19:07,677: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
> 2020-02-21 16:19:07,677: DEBUG - + declare -Ar args_array
> 2020-02-21 16:19:07,677: DEBUG - + local match_string
> 2020-02-21 16:19:07,677: DEBUG - + local replace_string
> 2020-02-21 16:19:07,677: DEBUG - + local target_file
> 2020-02-21 16:19:07,677: DEBUG - + ynh_handle_getopts_args --match_string= __PATH__ / --replace_string=/torrent/ --target_file=/etc/nginx/conf.d/nomdedomaine.pw.d/transmission.conf
> 2020-02-21 16:19:07,678: DEBUG - + set +x
> 2020-02-21 16:19:07,678: DEBUG - + local delimit=@
> 2020-02-21 16:19:07,678: DEBUG - + match_string= __PATH__ /
> 2020-02-21 16:19:07,678: DEBUG - + replace_string=/torrent/
> 2020-02-21 16:19:07,678: DEBUG - + sudo sed --in-place s@ __PATH__ /@/torrent/@g /etc/nginx/conf.d/nomdedomaine.pw.d/transmission.conf
> 2020-02-21 16:19:07,678: DEBUG - + ynh_replace_string --match_string= __PATH__ --replace_string=/torrent --target_file=/etc/nginx/conf.d/nomdedomaine.pw.d/transmission.conf
> 2020-02-21 16:19:07,678: DEBUG - + local legacy_args=mrf
> 2020-02-21 16:19:07,678: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
> 2020-02-21 16:19:07,678: DEBUG - + declare -Ar args_array
> 2020-02-21 16:19:07,678: DEBUG - + local match_string
> 2020-02-21 16:19:07,678: DEBUG - + local replace_string
> 2020-02-21 16:19:07,678: DEBUG - + local target_file
> 2020-02-21 16:19:07,678: DEBUG - + ynh_handle_getopts_args --match_string= __PATH__ --replace_string=/torrent --target_file=/etc/nginx/conf.d/nomdedomaine.pw.d/transmission.conf
> 2020-02-21 16:19:07,679: DEBUG - + set +x
> 2020-02-21 16:19:07,679: DEBUG - + local delimit=@
> 2020-02-21 16:19:07,679: DEBUG - + match_string= __PATH__
> 2020-02-21 16:19:07,679: DEBUG - + replace_string=/torrent
> 2020-02-21 16:19:07,679: DEBUG - + sudo sed --in-place s@ __PATH__ @/torrent@g /etc/nginx/conf.d/nomdedomaine.pw.d/transmission.conf
> 2020-02-21 16:19:07,679: DEBUG - + test -n nomdedomaine.pw
> 2020-02-21 16:19:07,679: DEBUG - + ynh_replace_string --match_string= __DOMAIN__ --replace_string=nomdedomaine.pw --target_file=/etc/nginx/conf.d/nomdedomaine.pw.d/transmission.conf
> 2020-02-21 16:19:07,679: DEBUG - + local legacy_args=mrf
> 2020-02-21 16:19:07,679: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
> 2020-02-21 16:19:07,679: DEBUG - + declare -Ar args_array
> 2020-02-21 16:19:07,679: DEBUG - + local match_string
> 2020-02-21 16:19:07,679: DEBUG - + local replace_string
> 2020-02-21 16:19:07,679: DEBUG - + local target_file
> 2020-02-21 16:19:07,680: DEBUG - + ynh_handle_getopts_args --match_string= __DOMAIN__ --replace_string=nomdedomaine.pw --target_file=/etc/nginx/conf.d/nomdedomaine.pw.d/transmission.conf
> 2020-02-21 16:19:07,680: DEBUG - + set +x
> 2020-02-21 16:19:07,680: DEBUG - + local delimit=@
> 2020-02-21 16:19:07,680: DEBUG - + match_string= __DOMAIN__
> 2020-02-21 16:19:07,680: DEBUG - + replace_string=nomdedomaine.pw
> 2020-02-21 16:19:07,680: DEBUG - + sudo sed --in-place s@ __DOMAIN__ @nomdedomaine.pw@g /etc/nginx/conf.d/nomdedomaine.pw.d/transmission.conf
> 2020-02-21 16:19:07,780: DEBUG - + test -n 9091
> 2020-02-21 16:19:07,780: DEBUG - + ynh_replace_string --match_string= __PORT__ --replace_string=9091 --target_file=/etc/nginx/conf.d/nomdedomaine.pw.d/transmission.conf
> 2020-02-21 16:19:07,780: DEBUG - + local legacy_args=mrf
> 2020-02-21 16:19:07,781: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
> 2020-02-21 16:19:07,781: DEBUG - + declare -Ar args_array
> 2020-02-21 16:19:07,781: DEBUG - + local match_string
> 2020-02-21 16:19:07,781: DEBUG - + local replace_string
> 2020-02-21 16:19:07,781: DEBUG - + local target_file
> 2020-02-21 16:19:07,781: DEBUG - + ynh_handle_getopts_args --match_string= __PORT__ --replace_string=9091 --target_file=/etc/nginx/conf.d/nomdedomaine.pw.d/transmission.conf
> 2020-02-21 16:19:07,782: DEBUG - + set +x
> 2020-02-21 16:19:07,782: DEBUG - + local delimit=@
> 2020-02-21 16:19:07,782: DEBUG - + match_string= __PORT__
> 2020-02-21 16:19:07,782: DEBUG - + replace_string=9091
> 2020-02-21 16:19:07,782: DEBUG - + sudo sed --in-place s@ __PORT__ @9091@g /etc/nginx/conf.d/nomdedomaine.pw.d/transmission.conf
> 2020-02-21 16:19:07,782: DEBUG - + test -n transmission
> 2020-02-21 16:19:07,782: DEBUG - + ynh_replace_string --match_string= __NAME__ --replace_string=transmission --target_file=/etc/nginx/conf.d/nomdedomaine.pw.d/transmission.conf
> 2020-02-21 16:19:07,782: DEBUG - + local legacy_args=mrf
> 2020-02-21 16:19:07,783: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
> 2020-02-21 16:19:07,783: DEBUG - + declare -Ar args_array
> 2020-02-21 16:19:07,783: DEBUG - + local match_string
> 2020-02-21 16:19:07,783: DEBUG - + local replace_string
> 2020-02-21 16:19:07,783: DEBUG - + local target_file
> 2020-02-21 16:19:07,783: DEBUG - + ynh_handle_getopts_args --match_string= __NAME__ --replace_string=transmission --target_file=/etc/nginx/conf.d/nomdedomaine.pw.d/transmission.conf
> 2020-02-21 16:19:07,783: DEBUG - + set +x
> 2020-02-21 16:19:07,783: DEBUG - + local delimit=@
> 2020-02-21 16:19:07,783: DEBUG - + match_string= __NAME__
> 2020-02-21 16:19:07,783: DEBUG - + replace_string=transmission
> 2020-02-21 16:19:07,783: DEBUG - + sudo sed --in-place s@ __NAME__ @transmission@g /etc/nginx/conf.d/nomdedomaine.pw.d/transmission.conf
> 2020-02-21 16:19:07,783: DEBUG - + test -n ''
> 2020-02-21 16:19:07,784: DEBUG - + '[' /torrent '!=' / ']'
> 2020-02-21 16:19:07,784: DEBUG - + ynh_replace_string '--match_string=^#sub_path_only' --replace_string= --target_file=/etc/nginx/conf.d/nomdedomaine.pw.d/transmission.conf
> 2020-02-21 16:19:07,784: DEBUG - + local legacy_args=mrf
> 2020-02-21 16:19:07,784: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
> 2020-02-21 16:19:07,784: DEBUG - + declare -Ar args_array
> 2020-02-21 16:19:07,784: DEBUG - + local match_string
> 2020-02-21 16:19:07,784: DEBUG - + local replace_string
> 2020-02-21 16:19:07,784: DEBUG - + local target_file
> 2020-02-21 16:19:07,784: DEBUG - + ynh_handle_getopts_args '--match_string=^#sub_path_only' --replace_string= --target_file=/etc/nginx/conf.d/nomdedomaine.pw.d/transmission.conf
> 2020-02-21 16:19:07,784: DEBUG - + set +x
> 2020-02-21 16:19:07,784: DEBUG - + local delimit=@
> 2020-02-21 16:19:07,784: DEBUG - + match_string='^#sub_path_only'
> 2020-02-21 16:19:07,784: DEBUG - + replace_string=
> 2020-02-21 16:19:07,785: DEBUG - + sudo sed --in-place 's@^#sub_path_only@@g' /etc/nginx/conf.d/nomdedomaine.pw.d/transmission.conf
> 2020-02-21 16:19:07,885: DEBUG - + ynh_store_file_checksum --file=/etc/nginx/conf.d/nomdedomaine.pw.d/transmission.conf
> 2020-02-21 16:19:07,885: DEBUG - + local legacy_args=f
> 2020-02-21 16:19:07,885: DEBUG - + args_array=([f]=file=)
> 2020-02-21 16:19:07,885: DEBUG - + declare -Ar args_array
> 2020-02-21 16:19:07,885: DEBUG - + local file
> 2020-02-21 16:19:07,885: DEBUG - + ynh_handle_getopts_args --file=/etc/nginx/conf.d/nomdedomaine.pw.d/transmission.conf
> 2020-02-21 16:19:07,885: DEBUG - + set +x
> 2020-02-21 16:19:07,886: DEBUG - + local checksum_setting_name= **********
> 2020-02-21 16:19:07,886: DEBUG - ++ cut '-d ' -f1
> 2020-02-21 16:19:07,886: DEBUG - ++ sudo md5sum /etc/nginx/conf.d/nomdedomaine.pw.d/transmission.conf
> 2020-02-21 16:19:07,886: DEBUG - + ynh_app_setting_set --app=transmission --key= ********** --value=9a02ab764c9b00d6792128254f54fb87
> 2020-02-21 16:19:07,886: DEBUG - + local legacy_args=akv
> 2020-02-21 16:19:07,886: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
> 2020-02-21 16:19:07,886: DEBUG - + declare -Ar args_array
> 2020-02-21 16:19:07,886: DEBUG - + local app
> 2020-02-21 16:19:07,886: DEBUG - + local key
> 2020-02-21 16:19:07,886: DEBUG - + local value
> 2020-02-21 16:19:07,886: DEBUG - + ynh_handle_getopts_args --app=transmission --key= ********** --value=9a02ab764c9b00d6792128254f54fb87
> 2020-02-21 16:19:07,886: DEBUG - + set +x
> 2020-02-21 16:19:07,887: DEBUG - + ynh_app_setting set transmission ********** 9a02ab764c9b00d6792128254f54fb87
> 2020-02-21 16:19:07,887: DEBUG - + ACTION=set
> 2020-02-21 16:19:07,887: DEBUG - + APP=transmission
> 2020-02-21 16:19:07,887: DEBUG - + KEY= **********
> 2020-02-21 16:19:07,887: DEBUG - + VALUE=9a02ab764c9b00d6792128254f54fb87
> 2020-02-21 16:19:07,887: DEBUG - + python -
> 2020-02-21 16:19:07,887: DEBUG - + '[' -n '' ']'
> 2020-02-21 16:19:07,887: DEBUG - + unset backup_file_checksum
> 2020-02-21 16:19:07,887: DEBUG - + ynh_systemd_action --service_name=nginx --action=reload
> 2020-02-21 16:19:07,887: DEBUG - + local legacy_args=nalpte
> 2020-02-21 16:19:07,887: DEBUG - + args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
> 2020-02-21 16:19:07,887: DEBUG - + declare -Ar args_array
> 2020-02-21 16:19:07,887: DEBUG - + local service_name
> 2020-02-21 16:19:07,888: DEBUG - + local action
> 2020-02-21 16:19:07,888: DEBUG - + local line_match
> 2020-02-21 16:19:07,888: DEBUG - + local length
> 2020-02-21 16:19:07,888: DEBUG - + local log_path
> 2020-02-21 16:19:07,888: DEBUG - + local timeout
> 2020-02-21 16:19:07,888: DEBUG - + ynh_handle_getopts_args --service_name=nginx --action=reload
> 2020-02-21 16:19:07,888: DEBUG - + set +x
> 2020-02-21 16:19:07,888: DEBUG - + local service_name=nginx
> 2020-02-21 16:19:07,888: DEBUG - + local action=reload
> 2020-02-21 16:19:07,888: DEBUG - + local log_path=/var/log/nginx/nginx.log
> 2020-02-21 16:19:07,888: DEBUG - + local length=20
> 2020-02-21 16:19:07,888: DEBUG - + local timeout=300
> 2020-02-21 16:19:07,888: DEBUG - + [[-n '']]
> 2020-02-21 16:19:07,889: DEBUG - + '[' reload == reload ']'
> 2020-02-21 16:19:07,889: DEBUG - + action=reload-or-restart
> 2020-02-21 16:19:07,889: DEBUG - + systemctl reload-or-restart nginx
> 2020-02-21 16:19:07,990: DEBUG - + [[-n '']]
> 2020-02-21 16:19:07,990: DEBUG - + mkdir -p /home/yunohost.transmission/progress /home/yunohost.transmission/completed /home/yunohost.transmission/watched
> 2020-02-21 16:19:07,990: DEBUG - + chown -R debian-transmission:www-data /home/yunohost.transmission/
> 2020-02-21 16:19:07,990: DEBUG - + chown -R debian-transmission: /home/yunohost.transmission/progress /home/yunohost.transmission/watched
> 2020-02-21 16:19:07,990: DEBUG - + chmod -R 764 /home/yunohost.transmission
> 2020-02-21 16:19:07,990: DEBUG - + chmod -R 777 /home/yunohost.transmission/watched
> 2020-02-21 16:19:07,991: DEBUG - + ynh_script_progression '--message=Configuring transmission...' --weight=2
> 2020-02-21 16:19:07,991: DEBUG - + set +x
> 2020-02-21 16:19:07,991: DEBUG - + set +x
> 2020-02-21 16:19:07,991: DEBUG - + echo '! Helper used in legacy mode !'
> 2020-02-21 16:19:07,991: DEBUG - + set +x
> 2020-02-21 16:19:07,991: DEBUG - + echo '[################....] > Configuring transmission...'
> 2020-02-21 16:19:07,991: DEBUG - + set -x
> 2020-02-21 16:19:07,991: DEBUG - + ynh_systemd_action --service_name=transmission-daemon --action=stop
> 2020-02-21 16:19:07,991: DEBUG - + local legacy_args=nalpte
> 2020-02-21 16:19:07,991: DEBUG - + args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
> 2020-02-21 16:19:07,991: DEBUG - + declare -Ar args_array
> 2020-02-21 16:19:07,991: DEBUG - + local service_name
> 2020-02-21 16:19:07,992: DEBUG - + local action
> 2020-02-21 16:19:07,992: DEBUG - + local line_match
> 2020-02-21 16:19:07,992: DEBUG - + local length
> 2020-02-21 16:19:07,992: DEBUG - + local log_path
> 2020-02-21 16:19:07,992: DEBUG - + local timeout
> 2020-02-21 16:19:07,992: DEBUG - + ynh_handle_getopts_args --service_name=transmission-daemon --action=stop
> 2020-02-21 16:19:07,992: DEBUG - + set +x
> 2020-02-21 16:19:07,992: DEBUG - + local service_name=transmission-daemon
> 2020-02-21 16:19:07,992: DEBUG - + local action=stop
> 2020-02-21 16:19:07,992: DEBUG - + local log_path=/var/log/transmission-daemon/transmission-daemon.log
> 2020-02-21 16:19:07,992: DEBUG - + local length=20
> 2020-02-21 16:19:07,992: DEBUG - + local timeout=300
> 2020-02-21 16:19:07,992: DEBUG - + [[-n '']]
> 2020-02-21 16:19:07,993: DEBUG - + '[' stop == reload ']'
> 2020-02-21 16:19:07,993: DEBUG - + systemctl stop transmission-daemon
> 2020-02-21 16:19:08,996: DEBUG - + [[-n '']]
> 2020-02-21 16:19:08,997: INFO - [################....] > Configuring transmission...
> 2020-02-21 16:19:08,997: DEBUG - ++ ynh_string_random
> 2020-02-21 16:19:08,997: DEBUG - ++ local legacy_args=l
> 2020-02-21 16:19:08,997: DEBUG - ++ args_array=([l]=length=)
> 2020-02-21 16:19:08,997: DEBUG - ++ declare -Ar args_array
> 2020-02-21 16:19:08,997: DEBUG - ++ local length
> 2020-02-21 16:19:08,997: DEBUG - ++ ynh_handle_getopts_args
> 2020-02-21 16:19:08,997: DEBUG - ++ set +x
> 2020-02-21 16:19:08,997: DEBUG - ++ length=24
> 2020-02-21 16:19:08,998: DEBUG - ++ sed -n 's/\(.\{24\}\).*/\1/p'
> 2020-02-21 16:19:08,998: DEBUG - ++ tr -c -d A-Za-z0-9
> 2020-02-21 16:19:08,998: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000
> 2020-02-21 16:19:08,998: DEBUG - + rpcpassword= **********
> 2020-02-21 16:19:08,998: DEBUG - + ynh_app_setting_set --app=transmission --key=rpcpassword --value= **********
> 2020-02-21 16:19:08,998: DEBUG - + local legacy_args=akv
> 2020-02-21 16:19:08,998: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
> 2020-02-21 16:19:08,998: DEBUG - + declare -Ar args_array
> 2020-02-21 16:19:08,998: DEBUG - + local app
> 2020-02-21 16:19:08,998: DEBUG - + local key
> 2020-02-21 16:19:08,998: DEBUG - + local value
> 2020-02-21 16:19:08,998: DEBUG - + ynh_handle_getopts_args --app=transmission --key=rpcpassword --value= **********
> 2020-02-21 16:19:08,999: DEBUG - + set +x
> 2020-02-21 16:19:08,999: DEBUG - + ynh_app_setting set transmission rpcpassword **********
> 2020-02-21 16:19:08,999: DEBUG - + ACTION=set
> 2020-02-21 16:19:08,999: DEBUG - + APP=transmission
> 2020-02-21 16:19:08,999: DEBUG - + KEY=rpcpassword
> 2020-02-21 16:19:08,999: DEBUG - + VALUE= **********
> 2020-02-21 16:19:08,999: DEBUG - + python -
> 2020-02-21 16:19:09,099: DEBUG - + ynh_replace_string --match_string= __RPC_PASSWORD_TO_CHANGE__ --replace_string= ********** --target_file=../conf/settings.json
> 2020-02-21 16:19:09,099: DEBUG - + local legacy_args=mrf
> 2020-02-21 16:19:09,100: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
> 2020-02-21 16:19:09,100: DEBUG - + declare -Ar args_array
> 2020-02-21 16:19:09,100: DEBUG - + local match_string
> 2020-02-21 16:19:09,100: DEBUG - + local replace_string
> 2020-02-21 16:19:09,100: DEBUG - + local target_file
> 2020-02-21 16:19:09,100: DEBUG - + ynh_handle_getopts_args --match_string= __RPC_PASSWORD_TO_CHANGE__ --replace_string= ********** --target_file=../conf/settings.json
> 2020-02-21 16:19:09,100: DEBUG - + set +x
> 2020-02-21 16:19:09,100: DEBUG - + local delimit=@
> 2020-02-21 16:19:09,100: DEBUG - + match_string= __RPC_PASSWORD_TO_CHANGE__
> 2020-02-21 16:19:09,100: DEBUG - + replace_string= **********
> 2020-02-21 16:19:09,100: DEBUG - + sudo sed --in-place s@ __RPC_PASSWORD_TO_CHANGE__ @ ********** @g ../conf/settings.json
> 2020-02-21 16:19:09,101: DEBUG - + '[' /torrent '!=' / ']'
> 2020-02-21 16:19:09,101: DEBUG - + ynh_replace_string --match_string= __PATH__ --replace_string=/torrent/ --target_file=../conf/settings.json
> 2020-02-21 16:19:09,101: DEBUG - + local legacy_args=mrf
> 2020-02-21 16:19:09,101: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
> 2020-02-21 16:19:09,101: DEBUG - + declare -Ar args_array
> 2020-02-21 16:19:09,101: DEBUG - + local match_string
> 2020-02-21 16:19:09,101: DEBUG - + local replace_string
> 2020-02-21 16:19:09,101: DEBUG - + local target_file
> 2020-02-21 16:19:09,101: DEBUG - + ynh_handle_getopts_args --match_string= __PATH__ --replace_string=/torrent/ --target_file=../conf/settings.json
> 2020-02-21 16:19:09,101: DEBUG - + set +x
> 2020-02-21 16:19:09,101: DEBUG - + local delimit=@
> 2020-02-21 16:19:09,101: DEBUG - + match_string= __PATH__
> 2020-02-21 16:19:09,101: DEBUG - + replace_string=/torrent/
> 2020-02-21 16:19:09,102: DEBUG - + sudo sed --in-place s@ __PATH__ @/torrent/@g ../conf/settings.json
> 2020-02-21 16:19:09,102: DEBUG - + ynh_replace_string --match_string= __PEER_PORT__ --replace_string=51413 --target_file=../conf/settings.json
> 2020-02-21 16:19:09,102: DEBUG - + local legacy_args=mrf
> 2020-02-21 16:19:09,102: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
> 2020-02-21 16:19:09,102: DEBUG - + declare -Ar args_array
> 2020-02-21 16:19:09,102: DEBUG - + local match_string
> 2020-02-21 16:19:09,102: DEBUG - + local replace_string
> 2020-02-21 16:19:09,102: DEBUG - + local target_file
> 2020-02-21 16:19:09,102: DEBUG - + ynh_handle_getopts_args --match_string= __PEER_PORT__ --replace_string=51413 --target_file=../conf/settings.json
> 2020-02-21 16:19:09,102: DEBUG - + set +x
> 2020-02-21 16:19:09,103: DEBUG - + local delimit=@
> 2020-02-21 16:19:09,103: DEBUG - + match_string= __PEER_PORT__
> 2020-02-21 16:19:09,103: DEBUG - + replace_string=51413
> 2020-02-21 16:19:09,103: DEBUG - + sudo sed --in-place s@ __PEER_PORT__ @51413@g ../conf/settings.json
> 2020-02-21 16:19:09,103: DEBUG - + ynh_replace_string --match_string= __PORT__ --replace_string=9091 --target_file=../conf/settings.json
> 2020-02-21 16:19:09,103: DEBUG - + local legacy_args=mrf
> 2020-02-21 16:19:09,103: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
> 2020-02-21 16:19:09,103: DEBUG - + declare -Ar args_array
> 2020-02-21 16:19:09,103: DEBUG - + local match_string
> 2020-02-21 16:19:09,103: DEBUG - + local replace_string
> 2020-02-21 16:19:09,103: DEBUG - + local target_file
> 2020-02-21 16:19:09,103: DEBUG - + ynh_handle_getopts_args --match_string= __PORT__ --replace_string=9091 --target_file=../conf/settings.json
> 2020-02-21 16:19:09,103: DEBUG - + set +x
> 2020-02-21 16:19:09,104: DEBUG - + local delimit=@
> 2020-02-21 16:19:09,104: DEBUG - + match_string= __PORT__
> 2020-02-21 16:19:09,104: DEBUG - + replace_string=9091
> 2020-02-21 16:19:09,104: DEBUG - + sudo sed --in-place s@ __PORT__ @9091@g ../conf/settings.json
> 2020-02-21 16:19:09,204: DEBUG - + cp ../conf/settings.json /etc/transmission-daemon/settings.json
> 2020-02-21 16:19:09,204: WARNING - sysctl: cannot stat /proc/sys/net/core/rmem_max: No such file or directory
> 2020-02-21 16:19:09,205: DEBUG - + cp ../conf/90-transmission.conf /etc/sysctl.d/90-transmission.conf
> 2020-02-21 16:19:09,205: WARNING - sysctl: cannot stat /proc/sys/net/core/wmem_max: No such file or directory
> 2020-02-21 16:19:09,205: DEBUG - + '[' 0 -eq 0 ']'
> 2020-02-21 16:19:09,205: DEBUG - + sysctl --load=/etc/sysctl.d/90-transmission.conf
> 2020-02-21 16:19:09,205: DEBUG - + ynh_exit_properly
> 2020-02-21 16:19:09,205: DEBUG - + local exit_code=255
> 2020-02-21 16:19:09,205: DEBUG - + '[' 255 -eq 0 ']'
> 2020-02-21 16:19:09,205: DEBUG - + trap '' EXIT
> 2020-02-21 16:19:09,205: DEBUG - + set +eu
> 2020-02-21 16:19:09,205: DEBUG - + sleep 0.5
> 2020-02-21 16:19:09,706: DEBUG - + ynh_print_err '--message=!!\n transmission'\''s script has encountered an error. Its execution was cancelled.\n!!'
> 2020-02-21 16:19:09,707: WARNING - e[91me[1m[ERR]e[0m !!
> 2020-02-21 16:19:09,707: DEBUG - + local legacy_args=m
> 2020-02-21 16:19:09,707: WARNING - transmission's script has encountered an error. Its execution was cancelled.
> 2020-02-21 16:19:09,707: DEBUG - + args_array=([m]=message=)
> 2020-02-21 16:19:09,707: WARNING - !!
> 2020-02-21 16:19:09,707: DEBUG - + declare -Ar args_array
> 2020-02-21 16:19:09,708: WARNING - 
> 2020-02-21 16:19:09,708: DEBUG - + local message
> 2020-02-21 16:19:09,708: DEBUG - + ynh_handle_getopts_args '--message=!!\n transmission'\''s script has encountered an error. Its execution was cancelled.\n!!'
> 2020-02-21 16:19:09,708: DEBUG - + set +x
> 2020-02-21 16:19:09,708: DEBUG - + ynh_print_log '\e[91m\e[1m[ERR]\e[0m !!\n transmission'\''s script has encountered an error. Its execution was cancelled.\n!!'
> 2020-02-21 16:19:09,708: DEBUG - + echo -e '\e[91m\e[1m[ERR]\e[0m !!\n transmission'\''s script has encountered an error. Its execution was cancelled.\n!!'
> 2020-02-21 16:19:09,708: DEBUG - + '[' api == cli ']'
> 2020-02-21 16:19:09,708: DEBUG - + type -t ynh_clean_setup
> 2020-02-21 16:19:09,708: DEBUG - + ynh_die
> 2020-02-21 16:19:09,708: DEBUG - + local legacy_args=mc
> 2020-02-21 16:19:09,709: DEBUG - + args_array=([m]=message= [c]=ret_code=)
> 2020-02-21 16:19:09,709: DEBUG - + declare -Ar args_array
> 2020-02-21 16:19:09,709: DEBUG - + local message
> 2020-02-21 16:19:09,709: DEBUG - + local ret_code
> 2020-02-21 16:19:09,709: DEBUG - + ynh_handle_getopts_args
> 2020-02-21 16:19:09,709: DEBUG - + set +x
> 2020-02-21 16:19:09,709: DEBUG - + echo ''
> 2020-02-21 16:19:09,709: DEBUG - + exit 1
> 
> ```

---

<div class="post-metadata">

**Author:** ![Maniack\_Crudelis](https://forum.yunohost.org/user_avatar/forum.yunohost.org/maniack_crudelis/32/13_2.png) [@Maniack\_Crudelis](https://forum.yunohost.org/u/Maniack_Crudelis)\
**Post date:** [February 21, 2020, 7:41pm UTC](https://forum.yunohost.org/t/erreur-installation-app-transmission-sur-lxc/10333/2 "2020-02-21T19:41:01Z")

</div>

> <https://github.com/YunoHost-Apps/transmission_ynh/pull/66>

---

<div class="post-metadata">

**Author:** ![Murnor](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/m/a698b9/32.png) [@Murnor](https://forum.yunohost.org/u/Murnor)\
**Post date:** [February 22, 2020, 4:01pm UTC](https://forum.yunohost.org/t/erreur-installation-app-transmission-sur-lxc/10333/3 "2020-02-22T16:01:50Z")

</div>

unless I’m mistaken, I don’t see a correction on this ticket.  
What workaround could I apply?

---

<div class="post-metadata">

**Author:** ![Maniack\_Crudelis](https://forum.yunohost.org/user_avatar/forum.yunohost.org/maniack_crudelis/32/13_2.png) [@Maniack\_Crudelis](https://forum.yunohost.org/u/Maniack_Crudelis)\
**Post date:** [February 22, 2020, 4:26pm UTC](https://forum.yunohost.org/t/erreur-installation-app-transmission-sur-lxc/10333/4 "2020-02-22T16:26:38Z")

</div>

Yet the PR is not huge.

Instead of using the env variable `$PACKAGE_CHECK_EXEC`, AlexAubin suggest to check the file `/proc/sys/net/core/rmem_max` to modify or not the kernel.  
As discussed, to not modify the kernel should not alter the way transmission is working.

You can try to install from this branch if you’re in a hurry, or wait for it to be merged and released officially.

---

<div class="post-metadata">

**Author:** ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)\
**Post date:** [March 8, 2020, 4:26pm UTC](https://forum.yunohost.org/t/erreur-installation-app-transmission-sur-lxc/10333/5 "2020-03-08T16:26:41Z")

</div>

Closed on March 8, 2020, 4:26pm UTC

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