Je me suis mal exprimé, le message ci-dessus c'est le raport des fichiers qui n'ont pu être copiés par Filezilla. Je ne comprends pas pourquoi ils ne peuvent pas être copiés.
Il faut router sur le pi pour ne pas passer par le vpn mais par l'interface réseau (réelle) reliée à la box quand tu accèdes aux machines connectées au réseau local depuis le pi ou les machines connectées au réseau wifi du pi.
Moi j'essaierais un truc du genre :
ip route add 192.168.1.0/24 via 192.168.1.1 dev eth0
à exécuter sur le pi (adapter le nom de l'interface et les adresses).
Est-ce que cela ne risque pas de compromettre le vpn ?
et bien tente de comprendre avant d'aller bidouiller la configuration des interfaces réseau au pif ou depuis je ne sais quel site obscur.
Ah ! ok, merci. Comme indiqué plus haut
je suis débutant.
Je n'ai pas de grandes connaissances. Je viens ici pour trouver de l'aide et pour que l'on m'explique comment faire, pas pour que l'on me dise d'aller chercher des tutos sur d'autres forums.
Si vous ne pouvez pas m'expliquer comment je peux faire apparaître mon nas (branché à la box orange) sur le réseau wifi diffusé par le Pi (lui-même branché à la box) je ne vois pas bien l'utilité du commentaire.
Je ne pensais pas que mon problème allait être si compliqué.
En conservant le réseau tel que tu l'as configuré, branche le NAS sur la box. Pour éviter les problèmes, il faudra aller dans l'interface de config de ta box pour donner une IP fixe à ton NAS. Tu pourras ensuite accéder au NAS depuis n'importe quel PC de ton réseau avec son adresse IP.
Marche pas.
C'est d'ailleurs pour cela qu'ils peuvent aussi accéder au Net: si l'adresse demandée n'est pas dans le réseau du PC, le PC va demander à passer par la passerelle par défaut (le routeur, le Pi dans ce cas)
La config réseau que tu as faite est vraiment voulue, ou tu l'a faite un peu par hasard? Parce que tu pourrais très bien accéder au Pi en Wifi en utilisant le Wifi de ta box.
Oui, c'est fait exprès. Je me suis mal exprimé. Sur mon Pi il y a le serveur avec l'application qui diffuse le wifi via l'antenne adéquate branchée au Pi. Je fais cela car le Pi se connecte à un vpn de l'association franciliens, vpn qui me permet aussi d'avoir une IP fixe et d'héberger mon blog, nuage, etc.
il faut voir comment ton Pi connecte les autres appareils à internet.
soit tu as un mode "routage",
- tu as alors un reseau coté LAN(RJ45) avec une adresse IP du style 192.168.1.x/24
- tu as un reseau wifi (Pi) avec une IP du style 192.168.2.x/24
Cela marche bien, et diffuse un réseau wifi chez moi auquel je me connecte.
ton nas sera alors sur le reseau LAN et visiblement tu arrives deja à te connecter dessus vu que tu fournis une image de sa configuration
Pour m'y connecter et faire la capture d'écran, j'ai switché sur le réseau créé par la box d'orange, box à laquelles est branchée le NAS.
soit tu as un mode bridge entre le RJ45 du Pi, et le Wifi du Pi,
toutes les machines sont alors sur le meme reseau, il n'y a donc rien à faire de special
donc tu as une box internet orange, qui fournit internet, du lan et du wifi
et tu as un Pi, qui fait aussi hotspot wifi (sur lequel tu connectes tes ordis)
C'est ça. Le Pi fait hotspot wifi, il est relié à la box d'orange par ethernet. Je connecte mes appareils au wifi du Pi (ordi,smartphone).
Le NAS, je ne peux le connecter au Pi puisqu'il n'a qu'une connection en ethernet et que le Pi n'a pas de prise ethernet pour cela (en dehors de celle qui relie le Pi à la box d'orange).
Si je connecte le nas en RJ45 à la box d'orange, comment puis-je me connecter au NAS à partir d'un appareil qui est sur le réseau wifi du Pi ? Est-ce possible ?
On m'a parlé d'une histoire de passerelles mais je n'y comprends pas grand chose.
Quand je vais dans les réglages réseau du NAS voilà ce que j'ai (capture d'écran) :
Posté par arnauld .
En réponse au message Weechat, Pi, couleurs..
Évalué à 1.
Dernière modification le 03 août 2018 à 14:33.
Malheureusement, au re-démarrage du Pi, le problème est revenu. J'ai du ré-entrer "export TERM=xterm-256color" dans le terminal connecté en ssh à une session screen/weechat. Comment faire pour que export TERM=xterm-256color soit persistant ?
Merci. J'ai finalement installé Psensor https://wpitchoune.net/psensor/ qui, dans son onglet "détails" m'a donné plus d'indications. Par exemple "Package id 0" était en fait le cpu, etc…
C'est un Raspberry, couplé à un petit disque dur externe. J'ai tout transféré sur le disque dur externe en ne gardant que le boot sur la carte SD du Pi.
Tu as plus de logs ? Parce que tu as l'air d'en avoir omis une bonne partie.
Voici :
```
yunohost app install transmission --debug
231 DEBUG loading actions map namespace 'yunohost'
298 DEBUG extra parameter classes loaded: ['ask', 'password', 'required', 'pattern']
299 DEBUG initializing base actions map parser for cli
303 DEBUG registering new callback action 'yunohost.utils.packages.ynh_packages_version' to ['-v', '--version']
583 DEBUG initialize authenticator 'ldap-anonymous' with: uri='ldap://localhost:389', base_dn='dc=yunohost,dc=org', user_rdn='None'
588 DEBUG lock has been acquired
677 DEBUG loading python module yunohost.app took 0.088s
678 INFO processing action [15031.1]: yunohost.app.install with args={'app': 'transmission', 'args': None, 'auth': , 'label': None, 'no_remove_on_failure': False}
699 INFO Downloading…
2132 INFO Extracting…
2170 INFO Done
2175 INFO Checking required packages for transmission…
Available domains:
- arnauld.org
- arnauld.noho.st
Choose a domain for Transmission (default: arnauld.org):
Choose a path for Transmission (default: /torrent):
8327 INFO Executing command 'sh -c YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/transmission_ynh-2687c4b3c405eb98171a938f8c08c23351fb2715/scripts YNH_APP_INSTANCE_NAME=transmission YNH_APP_ID=transmission YNH_APP_ARG_PATH=/torrent YNH_APP_ARG_DOMAIN=arnauld.org BASH_XTRACEFD=7 /bin/bash -x "./install" arnauld.org /torrent transmission 7>&1'…
8351 INFO + source common.sh
8356 INFO + source /usr/share/yunohost/helpers
8357 INFO +++ run-parts --list /usr/share/yunohost/helpers.d
8362 INFO ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
8363 INFO ++ '[' -r /usr/share/yunohost/helpers.d/backend ']'
8364 INFO ++ . /usr/share/yunohost/helpers.d/backend
8368 INFO ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
8369 INFO ++ '[' -r /usr/share/yunohost/helpers.d/filesystem ']'
8370 INFO ++ . /usr/share/yunohost/helpers.d/filesystem
8371 INFO +++ CAN_BIND=1
8377 INFO ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
8378 INFO ++ '[' -r /usr/share/yunohost/helpers.d/ip ']'
8379 INFO ++ . /usr/share/yunohost/helpers.d/ip
8380 INFO ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
8381 INFO ++ '[' -r /usr/share/yunohost/helpers.d/mysql ']'
8382 INFO ++ . /usr/share/yunohost/helpers.d/mysql
8383 INFO +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
8384 INFO ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
8386 INFO ++ '[' -r /usr/share/yunohost/helpers.d/network ']'
8387 INFO ++ . /usr/share/yunohost/helpers.d/network
8388 INFO ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
8388 INFO ++ '[' -r /usr/share/yunohost/helpers.d/nodejs ']'
8389 INFO ++ . /usr/share/yunohost/helpers.d/nodejs
8390 INFO +++ n_install_dir=/opt/node_n
8391 INFO +++ node_version_path=/opt/node_n/n/versions/node
8392 INFO +++ export N_PREFIX=/opt/node_n
8393 INFO +++ N_PREFIX=/opt/node_n
8393 INFO ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
8394 INFO ++ '[' -r /usr/share/yunohost/helpers.d/package ']'
8395 INFO ++ . /usr/share/yunohost/helpers.d/package
8396 INFO ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
8397 INFO ++ '[' -r /usr/share/yunohost/helpers.d/print ']'
8397 INFO ++ . /usr/share/yunohost/helpers.d/print
8398 INFO ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
8399 INFO ++ '[' -r /usr/share/yunohost/helpers.d/setting ']'
8400 INFO ++ . /usr/share/yunohost/helpers.d/setting
8401 INFO ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
8402 INFO ++ '[' -r /usr/share/yunohost/helpers.d/string ']'
8403 INFO ++ . /usr/share/yunohost/helpers.d/string
8404 INFO ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
8405 INFO ++ '[' -r /usr/share/yunohost/helpers.d/system ']'
8405 INFO ++ . /usr/share/yunohost/helpers.d/system
8406 INFO ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
8407 INFO ++ '[' -r /usr/share/yunohost/helpers.d/user ']'
8408 INFO ++ . /usr/share/yunohost/helpers.d/user
8408 INFO ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
8409 INFO ++ '[' -r /usr/share/yunohost/helpers.d/utils ']'
8410 INFO ++ . /usr/share/yunohost/helpers.d/utils
8411 INFO + ynh_abort_if_errors
8412 INFO + set -eu
8413 INFO + trap ynh_exit_properly EXIT
8414 INFO + domain=arnauld.org
8415 INFO + path_url=/torrent
8416 INFO + app=transmission
8417 INFO ++ ynh_normalize_url_path /torrent
8418 INFO ++ local path_url=/torrent
8419 INFO ++ test -n /torrent
8420 INFO ++ '[' / '!=' / ']'
8421 INFO ++ '[' t == / ']'
8422 INFO ++ echo /torrent
8423 INFO + path_url=/torrent
8424 INFO + ynh_webpath_available arnauld.org /torrent
8425 INFO + local domain=arnauld.org
8426 INFO + local path=/torrent
8428 INFO + sudo yunohost domain url-available arnauld.org /torrent
9606 INFO True
9675 INFO + ynh_webpath_register transmission arnauld.org /torrent
9676 INFO + local app=transmission
9676 INFO + local domain=arnauld.org
9677 INFO + local path=/torrent
9677 INFO + sudo yunohost app register-url transmission arnauld.org /torrent
10991 INFO + ynh_app_setting_set transmission domain arnauld.org
10992 INFO + sudo yunohost app setting transmission domain --value=arnauld.org --quiet
11816 INFO + ynh_app_setting_set transmission path /torrent
11817 INFO + sudo yunohost app setting transmission path --value=/torrent --quiet
12649 INFO ++ ynh_find_port 9091
12649 INFO ++ local port=9091
12651 INFO ++ test -n 9091
12652 INFO ++ netcat -z 127.0.0.1 9091
12655 INFO ++ echo 9091
12657 INFO + port=9091
12658 INFO + yunohost firewall allow --no-upnp TCP 9091
33784 INFO + ynh_app_setting_set transmission port 9091
33785 INFO + sudo yunohost app setting transmission port --value=9091 --quiet
34719 INFO ++ ynh_find_port 51413
34720 INFO ++ local port=51413
34721 INFO ++ test -n 51413
34721 INFO ++ netcat -z 127.0.0.1 51413
34728 INFO ++ echo 51413
34729 INFO + peer_port=51413
34730 INFO + yunohost firewall allow Both 51413
48610 INFO + ynh_app_setting_set transmission peer_port 51413
48611 INFO + sudo yunohost app setting transmission peer_port --value=51413 --quiet
49571 INFO + ynh_install_app_dependencies transmission-daemon acl
49572 INFO + local 'dependencies=transmission-daemon acl'
49572 INFO + local 'dependencies=transmission-daemon, acl'
49573 INFO + local 'dependencies=transmission-daemon, acl'
49574 INFO + local manifest_path=../manifest.json
49575 INFO + '[' '!' -e ../manifest.json ']'
49576 INFO ++ grep '\"version\": ' ../manifest.json
49577 INFO ++ cut -d '"' -f 4
49589 INFO + local version=1.0
49590 INFO + '[' 3 -eq 0 ']'
49590 INFO + local dep_app=transmission
49591 INFO + cat
49598 INFO + ynh_package_install_from_equivs /tmp/transmission-ynh-deps.control
49599 INFO + local controlfile=/tmp/transmission-ynh-deps.control
49600 INFO + ynh_package_is_installed equivs
49601 INFO + dpkg-query -W -f '${Status}' equivs
49602 INFO + grep -c 'ok installed'
49696 INFO ++ grep 'Package: ' /tmp/transmission-ynh-deps.control
49697 INFO ++ cut '-d ' -f 2
49701 INFO + local pkgname=transmission-ynh-deps
49704 INFO ++ grep 'Version: ' /tmp/transmission-ynh-deps.control
49705 INFO ++ cut '-d ' -f 2
49713 INFO + local pkgversion=1.0
49715 INFO + -z transmission-ynh-deps
49716 INFO + -z 1.0
49719 INFO + ynh_package_update
49720 INFO + ynh_apt update
49722 INFO + DEBIAN_FRONTEND=noninteractive
49723 INFO + sudo apt-get -y -qq update
68989 WARNING W: GPG error: http://http.debian.net jessie-backports InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010
69006 INFO ++ mktemp -d
69010 INFO + local TMPDIR=/tmp/tmp.OLjdSwyJUT
69013 INFO + cp /tmp/transmission-ynh-deps.control /tmp/tmp.OLjdSwyJUT/control
69018 INFO + cd /tmp/tmp.OLjdSwyJUT
69019 INFO + equivs-build ./control
70015 WARNING dh_install: Compatibility levels before 9 are deprecated (level 7 in use)
70156 WARNING dh_installdocs: Compatibility levels before 9 are deprecated (level 7 in use)
71616 WARNING dh_installdeb: Compatibility levels before 9 are deprecated (level 7 in use)
73134 INFO + sudo dpkg --force-depends -i ./transmission-ynh-deps_1.0_all.deb
73348 INFO Selecting previously unselected package transmission-ynh-deps.
73450 INFO (Reading database … 56740 files and directories currently installed.)
73465 INFO Preparing to unpack …/transmission-ynh-deps_1.0_all.deb …
73471 INFO Unpacking transmission-ynh-deps (1.0) …
73530 INFO Setting up transmission-ynh-deps (1.0) …
73646 INFO + ynh_package_install -f
73647 INFO + ynh_apt --no-remove -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install -f
73648 INFO + DEBIAN_FRONTEND=noninteractive
73649 INFO + sudo apt-get -y -qq --no-remove -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install -f
77154 INFO + -n /tmp/tmp.OLjdSwyJUT
77155 INFO + rm -rf /tmp/tmp.OLjdSwyJUT
77161 INFO + ynh_package_is_installed transmission-ynh-deps
77163 INFO + grep -c 'ok installed'
77164 INFO + dpkg-query -W -f '${Status}' transmission-ynh-deps
77275 INFO + rm /tmp/transmission-ynh-deps.control
77279 INFO + ynh_app_setting_set transmission apt_dependencies transmission-daemon, acl
77280 INFO + sudo yunohost app setting transmission apt_dependencies --value=transmission-daemon, --quiet
78320 INFO + '[' /torrent = / ']'
78321 INFO + path_url=/torrent/
78322 INFO + ynh_add_nginx_config
78323 INFO + finalnginxconf=/etc/nginx/conf.d/arnauld.org.d/transmission.conf
78324 INFO + ynh_backup_if_checksum_is_different /etc/nginx/conf.d/arnauld.org.d/transmission.conf
78326 INFO + local file=/etc/nginx/conf.d/arnauld.org.d/transmission.conf
78327 INFO + local checksum_setting_name=checksumetc_nginx_conf.d_arnauld.org.d_transmission.conf
78329 INFO ++ ynh_app_setting_get transmission checksumetc_nginx_conf.d_arnauld.org.d_transmission.conf
78331 INFO ++ sudo yunohost app setting transmission checksumetc_nginx_conf.d_arnauld.org.d_transmission.conf --output-as plain --quiet
79338 INFO + local checksum_value=
79340 INFO + '[' -n '' ']'
79342 INFO + sudo cp ../conf/nginx.conf /etc/nginx/conf.d/arnauld.org.d/transmission.conf
79403 INFO + test -n /torrent/
79403 INFO + local path_url_slash_less=/torrent
79404 INFO + ynh_replace_string __PATH/ /torrent/ /etc/nginx/conf.d/arnauld.org.d/transmission.conf
79405 INFO + local delimit=@
79405 INFO + local match_string=PATH/
79405 INFO + local replace_string=/torrent/
79406 INFO + local workfile=/etc/nginx/conf.d/arnauld.org.d/transmission.conf
79406 INFO + match_string=PATH/
79407 INFO + replace_string=/torrent/
79408 INFO + sudo sed --in-place s@PATH/@/torrent/@g /etc/nginx/conf.d/arnauld.org.d/transmission.conf
79479 INFO + ynh_replace_string __PATH_ /torrent/ /etc/nginx/conf.d/arnauld.org.d/transmission.conf
79480 INFO + local delimit=@
79481 INFO + local match_string=PATH
79482 INFO + local replace_string=/torrent/
79484 INFO + local workfile=/etc/nginx/conf.d/arnauld.org.d/transmission.conf
79485 INFO + match_string=PATH
79486 INFO + replace_string=/torrent/
79486 INFO + sudo sed --in-place s@PATH@/torrent/@g /etc/nginx/conf.d/arnauld.org.d/transmission.conf
79555 INFO + test -n arnauld.org
79556 INFO + ynh_replace_string DOMAIN arnauld.org /etc/nginx/conf.d/arnauld.org.d/transmission.conf
79557 INFO + local delimit=@
79559 INFO + local match_string=DOMAIN
79560 INFO + local replace_string=arnauld.org
79560 INFO + local workfile=/etc/nginx/conf.d/arnauld.org.d/transmission.conf
79562 INFO + match_string=DOMAIN
79564 INFO + replace_string=arnauld.org
79566 INFO + sudo sed --in-place s@DOMAIN@arnauld.org@g /etc/nginx/conf.d/arnauld.org.d/transmission.conf
79630 INFO + test -n 9091
79632 INFO + ynh_replace_string PORT 9091 /etc/nginx/conf.d/arnauld.org.d/transmission.conf
79635 INFO + local delimit=@
79636 INFO + local match_string=PORT
79637 INFO + local replace_string=9091
79638 INFO + local workfile=/etc/nginx/conf.d/arnauld.org.d/transmission.conf
79642 INFO + match_string=PORT
79642 INFO + replace_string=9091
79643 INFO + sudo sed --in-place s@PORT@9091@g /etc/nginx/conf.d/arnauld.org.d/transmission.conf
79698 INFO + test -n transmission
79699 INFO + ynh_replace_string NAME transmission /etc/nginx/conf.d/arnauld.org.d/transmission.conf
79700 INFO + local delimit=@
79701 INFO + local match_string=NAME
79702 INFO + local replace_string=transmission
79703 INFO + local workfile=/etc/nginx/conf.d/arnauld.org.d/transmission.conf
79704 INFO + match_string=NAME
79706 INFO + replace_string=transmission
79707 INFO + sudo sed --in-place s@NAME@transmission@g /etc/nginx/conf.d/arnauld.org.d/transmission.conf
79765 INFO + test -n ''
79766 INFO + ynh_store_file_checksum /etc/nginx/conf.d/arnauld.org.d/transmission.conf
79767 INFO + local checksum_setting_name=checksum_etc_nginx_conf.d_arnauld.org.d_transmission.conf
79769 INFO ++ sudo md5sum /etc/nginx/conf.d/arnauld.org.d/transmission.conf
79770 INFO ++ cut '-d ' -f1
79844 INFO + ynh_app_setting_set transmission checksumetc_nginx_conf.d_arnauld.org.d_transmission.conf c3ec654ac7496b6004ca69071388e987
79845 INFO + sudo yunohost app setting transmission checksum_etc_nginx_conf.d_arnauld.org.d_transmission.conf --value=c3ec654ac7496b6004ca69071388e987 --quiet
80833 INFO + sudo systemctl reload nginx
81109 INFO + mkdir -p /home/yunohost.transmission/progress /home/yunohost.transmission/completed /home/yunohost.transmission/watched
81115 INFO + chown -R debian-transmission:www-data /home/yunohost.transmission/
81120 WARNING chown: invalid user: ‘debian-transmission:www-data’
81121 INFO + ynh_exit_properly
81122 INFO + local exit_code=1
81122 WARNING !!
81123 INFO + '[' 1 -eq 0 ']'
81123 WARNING transmission's script has encountered an error. Its execution was cancelled.
81124 INFO + trap '' EXIT
81124 WARNING !!
81124 WARNING
81124 INFO + set +eu
81125 INFO + echo -e '!!\n transmission'\''s script has encountered an error. Its execution was cancelled.\n!!'
81126 INFO + type -t ynh_clean_setup
81126 INFO + ynh_die
81127 INFO + echo ''
81128 INFO + exit 1
81140 INFO Executing command 'sh -c YNH_APP_INSTANCE_NUMBER=1 YNH_APP_ID=transmission YNH_CWD=/var/cache/yunohost/from_file/transmission_ynh-2687c4b3c405eb98171a938f8c08c23351fb2715/scripts YNH_APP_INSTANCE_NAME=transmission BASH_XTRACEFD=7 /bin/bash -x "./remove" transmission 7>&1'…
81178 INFO + source _common.sh
81192 INFO + source /usr/share/yunohost/helpers
81193 INFO +++ run-parts --list /usr/share/yunohost/helpers.d
81202 INFO ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
81202 INFO ++ '[' -r /usr/share/yunohost/helpers.d/backend ']'
81203 INFO ++ . /usr/share/yunohost/helpers.d/backend
81206 INFO ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
81206 INFO ++ '[' -r /usr/share/yunohost/helpers.d/filesystem ']'
81207 INFO ++ . /usr/share/yunohost/helpers.d/filesystem
81208 INFO +++ CAN_BIND=1
81215 INFO ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
81216 INFO ++ '[' -r /usr/share/yunohost/helpers.d/ip ']'
81218 INFO ++ . /usr/share/yunohost/helpers.d/ip
81219 INFO ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
81220 INFO ++ '[' -r /usr/share/yunohost/helpers.d/mysql ']'
81221 INFO ++ . /usr/share/yunohost/helpers.d/mysql
81223 INFO +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
81224 INFO ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
81226 INFO ++ '[' -r /usr/share/yunohost/helpers.d/network ']'
81232 INFO ++ . /usr/share/yunohost/helpers.d/network
81233 INFO ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
81238 INFO ++ '[' -r /usr/share/yunohost/helpers.d/nodejs ']'
81239 INFO ++ . /usr/share/yunohost/helpers.d/nodejs
81241 INFO +++ n_install_dir=/opt/node_n
81242 INFO +++ node_version_path=/opt/node_n/n/versions/node
81243 INFO +++ export N_PREFIX=/opt/node_n
81244 INFO +++ N_PREFIX=/opt/node_n
81245 INFO ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
81246 INFO ++ '[' -r /usr/share/yunohost/helpers.d/package ']'
81248 INFO ++ . /usr/share/yunohost/helpers.d/package
81251 INFO ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
81255 INFO ++ '[' -r /usr/share/yunohost/helpers.d/print ']'
81256 INFO ++ . /usr/share/yunohost/helpers.d/print
81257 INFO ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
81258 INFO ++ '[' -r /usr/share/yunohost/helpers.d/setting ']'
81260 INFO ++ . /usr/share/yunohost/helpers.d/setting
81262 INFO ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
81264 INFO ++ '[' -r /usr/share/yunohost/helpers.d/string ']'
81265 INFO ++ . /usr/share/yunohost/helpers.d/string
81267 INFO ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
81268 INFO ++ '[' -r /usr/share/yunohost/helpers.d/system ']'
81270 INFO ++ . /usr/share/yunohost/helpers.d/system
81273 INFO ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
81274 INFO ++ '[' -r /usr/share/yunohost/helpers.d/user ']'
81275 INFO ++ . /usr/share/yunohost/helpers.d/user
81276 INFO ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
81277 INFO ++ '[' -r /usr/share/yunohost/helpers.d/utils ']'
81279 INFO ++ . /usr/share/yunohost/helpers.d/utils
81280 INFO + app=transmission
81281 INFO ++ ynh_app_setting_get transmission domain
81282 INFO ++ sudo yunohost app setting transmission domain --output-as plain --quiet
82213 INFO + domain=arnauld.org
82214 INFO ++ ynh_app_setting_get transmission port
82215 INFO ++ sudo yunohost app setting transmission port --output-as plain --quiet
83148 INFO + port=9091
83149 INFO ++ ynh_app_setting_get transmission peer_port
83150 INFO ++ sudo yunohost app setting transmission peer_port --output-as plain --quiet
84198 INFO + peer_port=51413
84199 INFO + ynh_remove_app_dependencies
84200 INFO + local dep_app=transmission
84201 INFO + ynh_package_autopurge transmission-ynh-deps
84201 INFO + ynh_apt autoremove --purge transmission-ynh-deps
84202 INFO + DEBIAN_FRONTEND=noninteractive
84203 INFO + sudo apt-get -y -qq autoremove --purge transmission-ynh-deps
(Reading database … 56743 files and directories currently installed.)
89418 INFO Removing transmission-ynh-deps (1.0) …
91237 INFO + yunohost service status
91238 INFO + grep -q transmission-daemon
93051 INFO + yunohost firewall list
93052 INFO + grep -q '- 9091$'
93865 INFO + echo 'Close port 9091'
93866 INFO Close port 9091
93867 INFO + yunohost firewall disallow TCP 9091
112457 INFO The firewall has been reloaded
112535 INFO opened_ports:
112536 INFO - 22
112537 INFO - 25
112537 INFO - 53
112538 INFO - 67
112538 INFO - 80
112538 INFO - 443
112539 INFO - 465
112539 INFO - 547
112540 INFO - 587
112541 INFO - 993
112541 INFO - 4253
112542 INFO - 4280
112543 INFO - 5222
112546 INFO - 5269
112547 INFO - 5353
112548 INFO - 8095
112550 INFO - 9040
112551 INFO - 9053
112552 INFO - 51413
112589 INFO + yunohost firewall list
112590 INFO + grep -q '- 51413$'
113404 INFO + echo 'Close port 51413'
113405 INFO Close port 51413
113406 INFO + yunohost firewall disallow Both 51413
127348 INFO The firewall has been reloaded
127383 INFO opened_ports:
127383 INFO - 22
127384 INFO - 25
127385 INFO - 53
127386 INFO - 67
127386 INFO - 80
127387 INFO - 443
127387 INFO - 465
127388 INFO - 547
127389 INFO - 587
127389 INFO - 993
127390 INFO - 4253
127391 INFO - 4280
127391 INFO - 5222
127393 INFO - 5269
127394 INFO - 5353
127395 INFO - 8095
127396 INFO - 9040
127397 INFO - 9053
127433 INFO + ynh_remove_nginx_config
127434 INFO + ynh_secure_remove /etc/nginx/conf.d/arnauld.org.d/transmission.conf
127435 INFO + local path_to_remove=/etc/nginx/conf.d/arnauld.org.d/transmission.conf
127436 INFO + local 'forbidden_path= /var/www /home/yunohost.app'
127436 INFO + [[ /var/www /home/yunohost.app =~ /etc/nginx/conf.d/arnauld.org.d/transmission.conf ]]
127437 INFO + [[ /etc/nginx/conf.d/arnauld.org.d/transmission.conf =~ /:alnum+$ ]]
127438 INFO + [[ f = \/ ]]
127438 INFO + '[' -e /etc/nginx/conf.d/arnauld.org.d/transmission.conf ']'
127439 INFO + sudo rm -R /etc/nginx/conf.d/arnauld.org.d/transmission.conf
127492 INFO + sudo systemctl reload nginx
127792 INFO ++ ynh_app_setting_get transmission backup_core_only
127794 INFO ++ sudo yunohost app setting transmission backup_core_only --output-as plain --quiet
128746 INFO + backup_core_only=
128747 INFO + '[' -z ']'
128748 INFO + ynh_secure_remove /home/yunohost.transmission
128749 INFO + local path_to_remove=/home/yunohost.transmission
128749 INFO + local 'forbidden_path= /var/www /home/yunohost.app'
128750 INFO + [[ /var/www /home/yunohost.app =~ /home/yunohost.transmission ]]
128751 INFO + [[ /home/yunohost.transmission =~ /:alnum+$ ]]
128752 INFO + [[ n = \/ ]]
128752 INFO + '[' -e /home/yunohost.transmission ']'
128753 INFO + sudo rm -R /home/yunohost.transmission
128811 INFO + rm /home/yunohost.multimedia/share/Torrents
128817 WARNING rm: cannot remove ‘/home/yunohost.multimedia/share/Torrents’: No such file or directory
128820 INFO + rm '/home/yunohost.multimedia/share/Torrent to download'
128821 WARNING rm: cannot remove ‘/home/yunohost.multimedia/share/Torrent to download’: No such file or directory
128822 INFO + ynh_secure_remove /usr/share/transmission
128823 INFO + local path_to_remove=/usr/share/transmission
128824 INFO + local 'forbidden_path= /var/www /home/yunohost.app'
128822 WARNING /usr/share/transmission wasn't deleted because it doesn't exist.
128825 INFO + [[ /var/www /home/yunohost.app =~ /usr/share/transmission ]]
128827 WARNING /var/lib/transmission-daemon wasn't deleted because it doesn't exist.
128829 INFO + [[ /usr/share/transmission =~ /:alnum+$ ]]
128833 WARNING The user debian-transmission was not found
128834 INFO + [[ n = \/ ]]
128835 INFO + '[' -e /usr/share/transmission ']'
128836 INFO + echo '/usr/share/transmission wasn'\''t deleted because it doesn'\''t exist.'
128836 INFO + ynh_secure_remove /var/lib/transmission-daemon
128837 INFO + local path_to_remove=/var/lib/transmission-daemon
128838 INFO + local 'forbidden_path= /var/www /home/yunohost.app'
128839 INFO + [[ /var/www /home/yunohost.app =~ /var/lib/transmission-daemon ]]
128839 INFO + [[ /var/lib/transmission-daemon =~ /:alnum+$ ]]
128840 INFO + [[ n = \/ ]]
128841 INFO + '[' -e /var/lib/transmission-daemon ']'
128842 INFO + echo '/var/lib/transmission-daemon wasn'\''t deleted because it doesn'\''t exist.'
128842 INFO + ynh_system_user_delete debian-transmission
128843 INFO + ynh_system_user_exists debian-transmission
128843 INFO + getent passwd debian-transmission
128844 INFO + echo 'The user debian-transmission was not found'
130813 SUCCESS The SSOwat configuration has been generated
130814 DEBUG action [15031.1] executed in 130.136s
130815 DEBUG lock has been released
130816 ERROR Installation failed
```
Quand je fais une image d'une carte sd insérée dans mon ordinateur principal, avec la commande :
sudo dd if=/dev/mmcblk0 of=~/image-of-sd-card.img mmcblk0 (la carte sd avec mmcblk0p1 & mmcblk0p2) doit-elle être montée ou démontée ?
Et surtout, est que mmcblk0p2 est bien démonté avant d'entreprendre l'opération?
Non, le Pi est en marche.Avec le disque dur externe branché dessus. Je ssh le Pi depuis mon ordinateur principal et copie mmcblk0p2 vers le hdd qui est connecté au Pi.
Sinon, c'est normal d'avoir un système de fichier corrompu (et potentiellement irrécupérable) après copie.
Donc, ce que je dois faire c'est ??? :
-Enlever la carte sd du Pi et la mettre dans mon lecteur sd de mon ordinateur principal.
-S'assurer que la carte sd insérée dans l'ordinateur principal n'est pas montée.
-Brancher mon disque dur externe sur l'ordinateur principal.
-Copier mmcblk0p2 de la sd vers mon disque dur externe avec :
dd if=/dev/mmcblk0p2 of=/dev/sda1 bs=32M conv=noerror,sync
Parceque dans le tuto que je suis cela semble être différent :
"
Prérequis
Ben il faut pas grand chose : Un Raspberry avec sa carte SD, Yunohost installé dessus (qui fonctionne, c’est toujours mieux), et un disque dur USB.
Pour ma part, j’ai pris un Maxtor de 1 To en 3,5 pouces, ce qui comblera largement mes besoins.
Préparation du disque dur
Prenez un disque dur USB, branchez le sur un système UNIX et créez 2 partitions :
– Une partition en EXT4 de la place que vous voulez
– Une seconde partition de 1Go en SWAP.
Je ne détaille pas ici, mais perso je le fais si possible en mode graphique avec Gparted :
Puis branchez le sur le Raspberry, connectez vous en SSH dessus, en root.
Lancez la commande suivante :
Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 * 8192 137215 129024 63M c W95 FAT32 (LBA)
/dev/mmcblk0p2 137216 61747199 61609984 29.4G 83 Linux
Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xf47cfc3f
Device Boot Start End Sectors Size Id Type
/dev/sda1 2048 1951426559 1951424512 930.5G 83 Linux
/dev/sda2 1951426560 1953523711 2097152 1G 82 Linux swap / Solari
4 partitions :
– /dev/mmcblk0p1 : Partition de boot de 63Mo sur la carte SD, qui ne sera pas touchée
– /dev/mmcblk0p2 : Partition root, sur laquelle est installée Debian et Yunohost
– /dev/sda1 : Partition de mon disque dur (930Go), où je souhaite transférer Yunohost
– /dev/sda2 : Partition Swap
Si ce n’est pas les mêmes, notez bien les noms des partitions, afin de ne pas vous perdre ou planter tout le bordel
Copie des fichiers
A présent, nous allons copier l’intégralité de la partition sur laquelle est installée Yunohost sur la partition du disque externe :
[^] # Re: Message?
Posté par arnauld . En réponse au message Erreur de transfert fichiers entre mon ordinateur et un NAS.. Évalué à 1. Dernière modification le 08 septembre 2018 à 20:55.
Je me suis mal exprimé, le message ci-dessus c'est le raport des fichiers qui n'ont pu être copiés par Filezilla. Je ne comprends pas pourquoi ils ne peuvent pas être copiés.
Voir capture d'écran ci-après :
arnauld
[^] # Re: box
Posté par arnauld . En réponse au message Relier un NAS au réseau wifi domestique. Évalué à 0.
Merci Craig77 pour ton aide.
Malheureusement cela n'a pas marché, j'ai tenté :
ip route add 192.168.1.0/24 via 10.0.242.1 dev eth0
ip route add 192.168.1.0 netmask 255.255.255.0 via 10.0.242.1 dev eth0
Quand j'aurai plus de temps je suivrai les conseils de M. Méchant et de xev et lirai un peu plus de documentation.
arnauld
[^] # Re: box
Posté par arnauld . En réponse au message Relier un NAS au réseau wifi domestique. Évalué à 0.
Merci Craig77.
Je vais essayer demain.
Est-ce que cela ne risque pas de compromettre le vpn ?
arnauld
[^] # Re: manual et pas dhcp
Posté par arnauld . En réponse au message Relier un NAS au réseau wifi domestique. Évalué à 0.
Bien. Malheureusement je n'ai pas le temps de rechercher maintenant. Tant pis. Merci en tout cas d'avoir pris le temps de me répondre.
arnauld
[^] # Re: box
Posté par arnauld . En réponse au message Relier un NAS au réseau wifi domestique. Évalué à 1.
Non, je ne peux pas accéder à la box depuis le réseau du Pi.
arnauld
[^] # Re: manual et pas dhcp
Posté par arnauld . En réponse au message Relier un NAS au réseau wifi domestique. Évalué à 0.
Ah ! ok, merci. Comme indiqué plus haut
Je n'ai pas de grandes connaissances. Je viens ici pour trouver de l'aide et pour que l'on m'explique comment faire, pas pour que l'on me dise d'aller chercher des tutos sur d'autres forums.
Si vous ne pouvez pas m'expliquer comment je peux faire apparaître mon nas (branché à la box orange) sur le réseau wifi diffusé par le Pi (lui-même branché à la box) je ne vois pas bien l'utilité du commentaire.
Je ne pensais pas que mon problème allait être si compliqué.
arnauld
[^] # Re: manual et pas dhcp
Posté par arnauld . En réponse au message Relier un NAS au réseau wifi domestique. Évalué à 0.
Je n'ai pas compris.
arnauld
[^] # Re: Config réseau
Posté par arnauld . En réponse au message Relier un NAS au réseau wifi domestique. Évalué à 0.
Marche pas.
Il faut donc changer quelque chose dans le Pi?
arnauld
[^] # Re: Config réseau
Posté par arnauld . En réponse au message Relier un NAS au réseau wifi domestique. Évalué à 1.
Je viens d'essayer. J'ai donné une IP fixe au NAS mais je ne peux m'y connecter depuis un PC du résau wifi du Pi.
arnauld
[^] # Re: Config réseau
Posté par arnauld . En réponse au message Relier un NAS au réseau wifi domestique. Évalué à 1.
Merci, je me penche sur ta réponse demain.
Oui, c'est fait exprès. Je me suis mal exprimé. Sur mon Pi il y a le serveur avec l'application qui diffuse le wifi via l'antenne adéquate branchée au Pi. Je fais cela car le Pi se connecte à un vpn de l'association franciliens, vpn qui me permet aussi d'avoir une IP fixe et d'héberger mon blog, nuage, etc.
arnauld
[^] # Re: lan, wifi, et nas
Posté par arnauld . En réponse au message Relier un NAS au réseau wifi domestique. Évalué à 1.
Je n'en sais rien, je suis débutant. J'ai un Pi connecté à la box d'orange. Sur ce Pi j'ai mis un serveur Yunohost https://yunohost.org/#/index_fr avec l'application wifi https://github.com/labriqueinternet/hotspot_ynh et une antenne wifi connectée à un port usb du Pi.
Cela marche bien, et diffuse un réseau wifi chez moi auquel je me connecte.
Pour m'y connecter et faire la capture d'écran, j'ai switché sur le réseau créé par la box d'orange, box à laquelles est branchée le NAS.
C'est ce que je souhaite à priori :-)
arnauld
[^] # Re: lan, wifi, et nas
Posté par arnauld . En réponse au message Relier un NAS au réseau wifi domestique. Évalué à 1.
Bref, y-a-t-il des réglages à faire dans le NAS ou la Box orange ou le Pi pour faire apparaître le NAS sur le réseau wifi du Pi ?
arnauld
[^] # Re: lan, wifi, et nas
Posté par arnauld . En réponse au message Relier un NAS au réseau wifi domestique. Évalué à 1. Dernière modification le 25 août 2018 à 14:23.
C'est ça. Le Pi fait hotspot wifi, il est relié à la box d'orange par ethernet. Je connecte mes appareils au wifi du Pi (ordi,smartphone).
Le NAS, je ne peux le connecter au Pi puisqu'il n'a qu'une connection en ethernet et que le Pi n'a pas de prise ethernet pour cela (en dehors de celle qui relie le Pi à la box d'orange).
Si je connecte le nas en RJ45 à la box d'orange, comment puis-je me connecter au NAS à partir d'un appareil qui est sur le réseau wifi du Pi ? Est-ce possible ?
On m'a parlé d'une histoire de passerelles mais je n'y comprends pas grand chose.
Quand je vais dans les réglages réseau du NAS voilà ce que j'ai (capture d'écran) :
http://nimb.ws/jTCP5a
Merci.
arnauld
[^] # Re: Si ton terminal le supporte :
Posté par arnauld . En réponse au message Weechat, Pi, couleurs.. Évalué à 1. Dernière modification le 03 août 2018 à 14:33.
Malheureusement, au re-démarrage du Pi, le problème est revenu. J'ai du ré-entrer "export TERM=xterm-256color" dans le terminal connecté en ssh à une session screen/weechat. Comment faire pour que export TERM=xterm-256color soit persistant ?
Merci.
arnauld
[^] # Re: Si ton terminal le supporte :
Posté par arnauld . En réponse au message Weechat, Pi, couleurs.. Évalué à 1.
Merci ! C'est bon.
arnauld
[^] # Re: mais ?
Posté par arnauld . En réponse au message Interprétation des températures.. Évalué à 1.
Merci. J'ai finalement installé Psensor https://wpitchoune.net/psensor/ qui, dans son onglet "détails" m'a donné plus d'indications. Par exemple "Package id 0" était en fait le cpu, etc…
arnauld
# mais ?
Posté par arnauld . En réponse au message Interprétation des températures.. Évalué à 1.
Mais à quoi correspond "Package ID 0" ?
et pourquoi deux "GPU core" et deux "temp1" et à quoi correspond "temp1" ?
Merci.
arnauld
[^] # Re: CPU + GPU.
Posté par arnauld . En réponse au message Interprétation des températures.. Évalué à 1.
Merci.
arnauld
[^] # Re: pour faire quoi ?
Posté par arnauld . En réponse au message Add `/home/arnauld/.cargo/bin` to your PATH.. Évalué à 1.
Merci.
arnauld
[^] # Re: Variable d'environnement
Posté par arnauld . En réponse au message Add `/home/arnauld/.cargo/bin` to your PATH.. Évalué à 1.
Merci Sacha Trémoureux, explications limpides. J'ai donc ajouté à mon .bashrc .
arnauld
# Merci.
Posté par arnauld . En réponse au message Isolation virtualbox / android. Évalué à 1.
Merci pour vos réponses.
arnauld
[^] # Re: Installation du paquet
Posté par arnauld . En réponse au message Impossible d'installer Transmission.. Évalué à 1. Dernière modification le 23 mai 2018 à 16:15.
Sommaire
C'est un Raspberry, couplé à un petit disque dur externe. J'ai tout transféré sur le disque dur externe en ne gardant que le boot sur la carte SD du Pi.
Voici :
```
yunohost app install transmission --debug
231 DEBUG loading actions map namespace 'yunohost'
298 DEBUG extra parameter classes loaded: ['ask', 'password', 'required', 'pattern']
299 DEBUG initializing base actions map parser for cli
303 DEBUG registering new callback action 'yunohost.utils.packages.ynh_packages_version' to ['-v', '--version']
583 DEBUG initialize authenticator 'ldap-anonymous' with: uri='ldap://localhost:389', base_dn='dc=yunohost,dc=org', user_rdn='None'
588 DEBUG lock has been acquired
677 DEBUG loading python module yunohost.app took 0.088s
678 INFO processing action [15031.1]: yunohost.app.install with args={'app': 'transmission', 'args': None, 'auth': , 'label': None, 'no_remove_on_failure': False}
699 INFO Downloading…
2132 INFO Extracting…
2170 INFO Done
2175 INFO Checking required packages for transmission…
Available domains:
- arnauld.org
- arnauld.noho.st
Choose a domain for Transmission (default: arnauld.org):
Choose a path for Transmission (default: /torrent):
8327 INFO Executing command 'sh -c YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/transmission_ynh-2687c4b3c405eb98171a938f8c08c23351fb2715/scripts YNH_APP_INSTANCE_NAME=transmission YNH_APP_ID=transmission YNH_APP_ARG_PATH=/torrent YNH_APP_ARG_DOMAIN=arnauld.org BASH_XTRACEFD=7 /bin/bash -x "./install" arnauld.org /torrent transmission 7>&1'…
8351 INFO + source common.sh
8356 INFO + source /usr/share/yunohost/helpers
8357 INFO +++ run-parts --list /usr/share/yunohost/helpers.d
8362 INFO ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
8363 INFO ++ '[' -r /usr/share/yunohost/helpers.d/backend ']'
8364 INFO ++ . /usr/share/yunohost/helpers.d/backend
8368 INFO ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
8369 INFO ++ '[' -r /usr/share/yunohost/helpers.d/filesystem ']'
8370 INFO ++ . /usr/share/yunohost/helpers.d/filesystem
8371 INFO +++ CAN_BIND=1
8377 INFO ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
8378 INFO ++ '[' -r /usr/share/yunohost/helpers.d/ip ']'
8379 INFO ++ . /usr/share/yunohost/helpers.d/ip
8380 INFO ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
8381 INFO ++ '[' -r /usr/share/yunohost/helpers.d/mysql ']'
8382 INFO ++ . /usr/share/yunohost/helpers.d/mysql
8383 INFO +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
8384 INFO ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
8386 INFO ++ '[' -r /usr/share/yunohost/helpers.d/network ']'
8387 INFO ++ . /usr/share/yunohost/helpers.d/network
8388 INFO ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
8388 INFO ++ '[' -r /usr/share/yunohost/helpers.d/nodejs ']'
8389 INFO ++ . /usr/share/yunohost/helpers.d/nodejs
8390 INFO +++ n_install_dir=/opt/node_n
8391 INFO +++ node_version_path=/opt/node_n/n/versions/node
8392 INFO +++ export N_PREFIX=/opt/node_n
8393 INFO +++ N_PREFIX=/opt/node_n
8393 INFO ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
8394 INFO ++ '[' -r /usr/share/yunohost/helpers.d/package ']'
8395 INFO ++ . /usr/share/yunohost/helpers.d/package
8396 INFO ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
8397 INFO ++ '[' -r /usr/share/yunohost/helpers.d/print ']'
8397 INFO ++ . /usr/share/yunohost/helpers.d/print
8398 INFO ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
8399 INFO ++ '[' -r /usr/share/yunohost/helpers.d/setting ']'
8400 INFO ++ . /usr/share/yunohost/helpers.d/setting
8401 INFO ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
8402 INFO ++ '[' -r /usr/share/yunohost/helpers.d/string ']'
8403 INFO ++ . /usr/share/yunohost/helpers.d/string
8404 INFO ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
8405 INFO ++ '[' -r /usr/share/yunohost/helpers.d/system ']'
8405 INFO ++ . /usr/share/yunohost/helpers.d/system
8406 INFO ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
8407 INFO ++ '[' -r /usr/share/yunohost/helpers.d/user ']'
8408 INFO ++ . /usr/share/yunohost/helpers.d/user
8408 INFO ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
8409 INFO ++ '[' -r /usr/share/yunohost/helpers.d/utils ']'
8410 INFO ++ . /usr/share/yunohost/helpers.d/utils
8411 INFO + ynh_abort_if_errors
8412 INFO + set -eu
8413 INFO + trap ynh_exit_properly EXIT
8414 INFO + domain=arnauld.org
8415 INFO + path_url=/torrent
8416 INFO + app=transmission
8417 INFO ++ ynh_normalize_url_path /torrent
8418 INFO ++ local path_url=/torrent
8419 INFO ++ test -n /torrent
8420 INFO ++ '[' / '!=' / ']'
8421 INFO ++ '[' t == / ']'
8422 INFO ++ echo /torrent
8423 INFO + path_url=/torrent
8424 INFO + ynh_webpath_available arnauld.org /torrent
8425 INFO + local domain=arnauld.org
8426 INFO + local path=/torrent
8428 INFO + sudo yunohost domain url-available arnauld.org /torrent
9606 INFO True
9675 INFO + ynh_webpath_register transmission arnauld.org /torrent
9676 INFO + local app=transmission
9676 INFO + local domain=arnauld.org
9677 INFO + local path=/torrent
9677 INFO + sudo yunohost app register-url transmission arnauld.org /torrent
10991 INFO + ynh_app_setting_set transmission domain arnauld.org
10992 INFO + sudo yunohost app setting transmission domain --value=arnauld.org --quiet
11816 INFO + ynh_app_setting_set transmission path /torrent
11817 INFO + sudo yunohost app setting transmission path --value=/torrent --quiet
12649 INFO ++ ynh_find_port 9091
12649 INFO ++ local port=9091
12651 INFO ++ test -n 9091
12652 INFO ++ netcat -z 127.0.0.1 9091
12655 INFO ++ echo 9091
12657 INFO + port=9091
12658 INFO + yunohost firewall allow --no-upnp TCP 9091
33784 INFO + ynh_app_setting_set transmission port 9091
33785 INFO + sudo yunohost app setting transmission port --value=9091 --quiet
34719 INFO ++ ynh_find_port 51413
34720 INFO ++ local port=51413
34721 INFO ++ test -n 51413
34721 INFO ++ netcat -z 127.0.0.1 51413
34728 INFO ++ echo 51413
34729 INFO + peer_port=51413
34730 INFO + yunohost firewall allow Both 51413
48610 INFO + ynh_app_setting_set transmission peer_port 51413
48611 INFO + sudo yunohost app setting transmission peer_port --value=51413 --quiet
49571 INFO + ynh_install_app_dependencies transmission-daemon acl
49572 INFO + local 'dependencies=transmission-daemon acl'
49572 INFO + local 'dependencies=transmission-daemon, acl'
49573 INFO + local 'dependencies=transmission-daemon, acl'
49574 INFO + local manifest_path=../manifest.json
49575 INFO + '[' '!' -e ../manifest.json ']'
49576 INFO ++ grep '\"version\": ' ../manifest.json
49577 INFO ++ cut -d '"' -f 4
49589 INFO + local version=1.0
49590 INFO + '[' 3 -eq 0 ']'
49590 INFO + local dep_app=transmission
49591 INFO + cat
49598 INFO + ynh_package_install_from_equivs /tmp/transmission-ynh-deps.control
49599 INFO + local controlfile=/tmp/transmission-ynh-deps.control
49600 INFO + ynh_package_is_installed equivs
49601 INFO + dpkg-query -W -f '${Status}' equivs
49602 INFO + grep -c 'ok installed'
49696 INFO ++ grep 'Package: ' /tmp/transmission-ynh-deps.control
49697 INFO ++ cut '-d ' -f 2
49701 INFO + local pkgname=transmission-ynh-deps
49704 INFO ++ grep 'Version: ' /tmp/transmission-ynh-deps.control
49705 INFO ++ cut '-d ' -f 2
49713 INFO + local pkgversion=1.0
49715 INFO + -z transmission-ynh-deps
49716 INFO + -z 1.0
49719 INFO + ynh_package_update
49720 INFO + ynh_apt update
49722 INFO + DEBIAN_FRONTEND=noninteractive
49723 INFO + sudo apt-get -y -qq update
68989 WARNING W: GPG error: http://http.debian.net jessie-backports InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010
69006 INFO ++ mktemp -d
69010 INFO + local TMPDIR=/tmp/tmp.OLjdSwyJUT
69013 INFO + cp /tmp/transmission-ynh-deps.control /tmp/tmp.OLjdSwyJUT/control
69018 INFO + cd /tmp/tmp.OLjdSwyJUT
69019 INFO + equivs-build ./control
70015 WARNING dh_install: Compatibility levels before 9 are deprecated (level 7 in use)
70156 WARNING dh_installdocs: Compatibility levels before 9 are deprecated (level 7 in use)
71616 WARNING dh_installdeb: Compatibility levels before 9 are deprecated (level 7 in use)
73134 INFO + sudo dpkg --force-depends -i ./transmission-ynh-deps_1.0_all.deb
73348 INFO Selecting previously unselected package transmission-ynh-deps.
73450 INFO (Reading database … 56740 files and directories currently installed.)
73465 INFO Preparing to unpack …/transmission-ynh-deps_1.0_all.deb …
73471 INFO Unpacking transmission-ynh-deps (1.0) …
73530 INFO Setting up transmission-ynh-deps (1.0) …
73646 INFO + ynh_package_install -f
73647 INFO + ynh_apt --no-remove -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install -f
73648 INFO + DEBIAN_FRONTEND=noninteractive
73649 INFO + sudo apt-get -y -qq --no-remove -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install -f
77154 INFO + -n /tmp/tmp.OLjdSwyJUT
77155 INFO + rm -rf /tmp/tmp.OLjdSwyJUT
77161 INFO + ynh_package_is_installed transmission-ynh-deps
77163 INFO + grep -c 'ok installed'
77164 INFO + dpkg-query -W -f '${Status}' transmission-ynh-deps
77275 INFO + rm /tmp/transmission-ynh-deps.control
77279 INFO + ynh_app_setting_set transmission apt_dependencies transmission-daemon, acl
77280 INFO + sudo yunohost app setting transmission apt_dependencies --value=transmission-daemon, --quiet
78320 INFO + '[' /torrent = / ']'
78321 INFO + path_url=/torrent/
78322 INFO + ynh_add_nginx_config
78323 INFO + finalnginxconf=/etc/nginx/conf.d/arnauld.org.d/transmission.conf
78324 INFO + ynh_backup_if_checksum_is_different /etc/nginx/conf.d/arnauld.org.d/transmission.conf
78326 INFO + local file=/etc/nginx/conf.d/arnauld.org.d/transmission.conf
78327 INFO + local checksum_setting_name=checksumetc_nginx_conf.d_arnauld.org.d_transmission.conf
78329 INFO ++ ynh_app_setting_get transmission checksumetc_nginx_conf.d_arnauld.org.d_transmission.conf
78331 INFO ++ sudo yunohost app setting transmission checksumetc_nginx_conf.d_arnauld.org.d_transmission.conf --output-as plain --quiet
79338 INFO + local checksum_value=
79340 INFO + '[' -n '' ']'
79342 INFO + sudo cp ../conf/nginx.conf /etc/nginx/conf.d/arnauld.org.d/transmission.conf
79403 INFO + test -n /torrent/
79403 INFO + local path_url_slash_less=/torrent
79404 INFO + ynh_replace_string __PATH/ /torrent/ /etc/nginx/conf.d/arnauld.org.d/transmission.conf
79405 INFO + local delimit=@
79405 INFO + local match_string=PATH/
79405 INFO + local replace_string=/torrent/
79406 INFO + local workfile=/etc/nginx/conf.d/arnauld.org.d/transmission.conf
79406 INFO + match_string=PATH/
79407 INFO + replace_string=/torrent/
79408 INFO + sudo sed --in-place s@PATH/@/torrent/@g /etc/nginx/conf.d/arnauld.org.d/transmission.conf
79479 INFO + ynh_replace_string __PATH_ /torrent/ /etc/nginx/conf.d/arnauld.org.d/transmission.conf
79480 INFO + local delimit=@
79481 INFO + local match_string=PATH
79482 INFO + local replace_string=/torrent/
79484 INFO + local workfile=/etc/nginx/conf.d/arnauld.org.d/transmission.conf
79485 INFO + match_string=PATH
79486 INFO + replace_string=/torrent/
79486 INFO + sudo sed --in-place s@PATH@/torrent/@g /etc/nginx/conf.d/arnauld.org.d/transmission.conf
79555 INFO + test -n arnauld.org
79556 INFO + ynh_replace_string DOMAIN arnauld.org /etc/nginx/conf.d/arnauld.org.d/transmission.conf
79557 INFO + local delimit=@
79559 INFO + local match_string=DOMAIN
79560 INFO + local replace_string=arnauld.org
79560 INFO + local workfile=/etc/nginx/conf.d/arnauld.org.d/transmission.conf
79562 INFO + match_string=DOMAIN
79564 INFO + replace_string=arnauld.org
79566 INFO + sudo sed --in-place s@DOMAIN@arnauld.org@g /etc/nginx/conf.d/arnauld.org.d/transmission.conf
79630 INFO + test -n 9091
79632 INFO + ynh_replace_string PORT 9091 /etc/nginx/conf.d/arnauld.org.d/transmission.conf
79635 INFO + local delimit=@
79636 INFO + local match_string=PORT
79637 INFO + local replace_string=9091
79638 INFO + local workfile=/etc/nginx/conf.d/arnauld.org.d/transmission.conf
79642 INFO + match_string=PORT
79642 INFO + replace_string=9091
79643 INFO + sudo sed --in-place s@PORT@9091@g /etc/nginx/conf.d/arnauld.org.d/transmission.conf
79698 INFO + test -n transmission
79699 INFO + ynh_replace_string NAME transmission /etc/nginx/conf.d/arnauld.org.d/transmission.conf
79700 INFO + local delimit=@
79701 INFO + local match_string=NAME
79702 INFO + local replace_string=transmission
79703 INFO + local workfile=/etc/nginx/conf.d/arnauld.org.d/transmission.conf
79704 INFO + match_string=NAME
79706 INFO + replace_string=transmission
79707 INFO + sudo sed --in-place s@NAME@transmission@g /etc/nginx/conf.d/arnauld.org.d/transmission.conf
79765 INFO + test -n ''
79766 INFO + ynh_store_file_checksum /etc/nginx/conf.d/arnauld.org.d/transmission.conf
79767 INFO + local checksum_setting_name=checksum_etc_nginx_conf.d_arnauld.org.d_transmission.conf
79769 INFO ++ sudo md5sum /etc/nginx/conf.d/arnauld.org.d/transmission.conf
79770 INFO ++ cut '-d ' -f1
79844 INFO + ynh_app_setting_set transmission checksumetc_nginx_conf.d_arnauld.org.d_transmission.conf c3ec654ac7496b6004ca69071388e987
79845 INFO + sudo yunohost app setting transmission checksum_etc_nginx_conf.d_arnauld.org.d_transmission.conf --value=c3ec654ac7496b6004ca69071388e987 --quiet
80833 INFO + sudo systemctl reload nginx
81109 INFO + mkdir -p /home/yunohost.transmission/progress /home/yunohost.transmission/completed /home/yunohost.transmission/watched
81115 INFO + chown -R debian-transmission:www-data /home/yunohost.transmission/
81120 WARNING chown: invalid user: ‘debian-transmission:www-data’
81121 INFO + ynh_exit_properly
81122 INFO + local exit_code=1
81122 WARNING !!
81123 INFO + '[' 1 -eq 0 ']'
81123 WARNING transmission's script has encountered an error. Its execution was cancelled.
81124 INFO + trap '' EXIT
81124 WARNING !!
81124 WARNING
81124 INFO + set +eu
81125 INFO + echo -e '!!\n transmission'\''s script has encountered an error. Its execution was cancelled.\n!!'
81126 INFO + type -t ynh_clean_setup
81126 INFO + ynh_die
81127 INFO + echo ''
81128 INFO + exit 1
81140 INFO Executing command 'sh -c YNH_APP_INSTANCE_NUMBER=1 YNH_APP_ID=transmission YNH_CWD=/var/cache/yunohost/from_file/transmission_ynh-2687c4b3c405eb98171a938f8c08c23351fb2715/scripts YNH_APP_INSTANCE_NAME=transmission BASH_XTRACEFD=7 /bin/bash -x "./remove" transmission 7>&1'…
81178 INFO + source _common.sh
81192 INFO + source /usr/share/yunohost/helpers
81193 INFO +++ run-parts --list /usr/share/yunohost/helpers.d
81202 INFO ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
81202 INFO ++ '[' -r /usr/share/yunohost/helpers.d/backend ']'
81203 INFO ++ . /usr/share/yunohost/helpers.d/backend
81206 INFO ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
81206 INFO ++ '[' -r /usr/share/yunohost/helpers.d/filesystem ']'
81207 INFO ++ . /usr/share/yunohost/helpers.d/filesystem
81208 INFO +++ CAN_BIND=1
81215 INFO ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
81216 INFO ++ '[' -r /usr/share/yunohost/helpers.d/ip ']'
81218 INFO ++ . /usr/share/yunohost/helpers.d/ip
81219 INFO ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
81220 INFO ++ '[' -r /usr/share/yunohost/helpers.d/mysql ']'
81221 INFO ++ . /usr/share/yunohost/helpers.d/mysql
81223 INFO +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
81224 INFO ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
81226 INFO ++ '[' -r /usr/share/yunohost/helpers.d/network ']'
81232 INFO ++ . /usr/share/yunohost/helpers.d/network
81233 INFO ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
81238 INFO ++ '[' -r /usr/share/yunohost/helpers.d/nodejs ']'
81239 INFO ++ . /usr/share/yunohost/helpers.d/nodejs
81241 INFO +++ n_install_dir=/opt/node_n
81242 INFO +++ node_version_path=/opt/node_n/n/versions/node
81243 INFO +++ export N_PREFIX=/opt/node_n
81244 INFO +++ N_PREFIX=/opt/node_n
81245 INFO ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
81246 INFO ++ '[' -r /usr/share/yunohost/helpers.d/package ']'
81248 INFO ++ . /usr/share/yunohost/helpers.d/package
81251 INFO ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
81255 INFO ++ '[' -r /usr/share/yunohost/helpers.d/print ']'
81256 INFO ++ . /usr/share/yunohost/helpers.d/print
81257 INFO ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
81258 INFO ++ '[' -r /usr/share/yunohost/helpers.d/setting ']'
81260 INFO ++ . /usr/share/yunohost/helpers.d/setting
81262 INFO ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
81264 INFO ++ '[' -r /usr/share/yunohost/helpers.d/string ']'
81265 INFO ++ . /usr/share/yunohost/helpers.d/string
81267 INFO ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
81268 INFO ++ '[' -r /usr/share/yunohost/helpers.d/system ']'
81270 INFO ++ . /usr/share/yunohost/helpers.d/system
81273 INFO ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
81274 INFO ++ '[' -r /usr/share/yunohost/helpers.d/user ']'
81275 INFO ++ . /usr/share/yunohost/helpers.d/user
81276 INFO ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
81277 INFO ++ '[' -r /usr/share/yunohost/helpers.d/utils ']'
81279 INFO ++ . /usr/share/yunohost/helpers.d/utils
81280 INFO + app=transmission
81281 INFO ++ ynh_app_setting_get transmission domain
81282 INFO ++ sudo yunohost app setting transmission domain --output-as plain --quiet
82213 INFO + domain=arnauld.org
82214 INFO ++ ynh_app_setting_get transmission port
82215 INFO ++ sudo yunohost app setting transmission port --output-as plain --quiet
83148 INFO + port=9091
83149 INFO ++ ynh_app_setting_get transmission peer_port
83150 INFO ++ sudo yunohost app setting transmission peer_port --output-as plain --quiet
84198 INFO + peer_port=51413
84199 INFO + ynh_remove_app_dependencies
84200 INFO + local dep_app=transmission
84201 INFO + ynh_package_autopurge transmission-ynh-deps
84201 INFO + ynh_apt autoremove --purge transmission-ynh-deps
84202 INFO + DEBIAN_FRONTEND=noninteractive
84203 INFO + sudo apt-get -y -qq autoremove --purge transmission-ynh-deps
(Reading database … 56743 files and directories currently installed.)
89418 INFO Removing transmission-ynh-deps (1.0) …
91237 INFO + yunohost service status
91238 INFO + grep -q transmission-daemon
93051 INFO + yunohost firewall list
93052 INFO + grep -q '- 9091$'
93865 INFO + echo 'Close port 9091'
93866 INFO Close port 9091
93867 INFO + yunohost firewall disallow TCP 9091
112457 INFO The firewall has been reloaded
112535 INFO opened_ports:
112536 INFO - 22
112537 INFO - 25
112537 INFO - 53
112538 INFO - 67
112538 INFO - 80
112538 INFO - 443
112539 INFO - 465
112539 INFO - 547
112540 INFO - 587
112541 INFO - 993
112541 INFO - 4253
112542 INFO - 4280
112543 INFO - 5222
112546 INFO - 5269
112547 INFO - 5353
112548 INFO - 8095
112550 INFO - 9040
112551 INFO - 9053
112552 INFO - 51413
112589 INFO + yunohost firewall list
112590 INFO + grep -q '- 51413$'
113404 INFO + echo 'Close port 51413'
113405 INFO Close port 51413
113406 INFO + yunohost firewall disallow Both 51413
127348 INFO The firewall has been reloaded
127383 INFO opened_ports:
127383 INFO - 22
127384 INFO - 25
127385 INFO - 53
127386 INFO - 67
127386 INFO - 80
127387 INFO - 443
127387 INFO - 465
127388 INFO - 547
127389 INFO - 587
127389 INFO - 993
127390 INFO - 4253
127391 INFO - 4280
127391 INFO - 5222
127393 INFO - 5269
127394 INFO - 5353
127395 INFO - 8095
127396 INFO - 9040
127397 INFO - 9053
127433 INFO + ynh_remove_nginx_config
127434 INFO + ynh_secure_remove /etc/nginx/conf.d/arnauld.org.d/transmission.conf
127435 INFO + local path_to_remove=/etc/nginx/conf.d/arnauld.org.d/transmission.conf
127436 INFO + local 'forbidden_path= /var/www /home/yunohost.app'
127436 INFO + [[ /var/www /home/yunohost.app =~ /etc/nginx/conf.d/arnauld.org.d/transmission.conf ]]
127437 INFO + [[ /etc/nginx/conf.d/arnauld.org.d/transmission.conf =~ /:alnum+$ ]]
127438 INFO + [[ f = \/ ]]
127438 INFO + '[' -e /etc/nginx/conf.d/arnauld.org.d/transmission.conf ']'
127439 INFO + sudo rm -R /etc/nginx/conf.d/arnauld.org.d/transmission.conf
127492 INFO + sudo systemctl reload nginx
127792 INFO ++ ynh_app_setting_get transmission backup_core_only
127794 INFO ++ sudo yunohost app setting transmission backup_core_only --output-as plain --quiet
128746 INFO + backup_core_only=
128747 INFO + '[' -z ']'
128748 INFO + ynh_secure_remove /home/yunohost.transmission
128749 INFO + local path_to_remove=/home/yunohost.transmission
128749 INFO + local 'forbidden_path= /var/www /home/yunohost.app'
128750 INFO + [[ /var/www /home/yunohost.app =~ /home/yunohost.transmission ]]
128751 INFO + [[ /home/yunohost.transmission =~ /:alnum+$ ]]
128752 INFO + [[ n = \/ ]]
128752 INFO + '[' -e /home/yunohost.transmission ']'
128753 INFO + sudo rm -R /home/yunohost.transmission
128811 INFO + rm /home/yunohost.multimedia/share/Torrents
128817 WARNING rm: cannot remove ‘/home/yunohost.multimedia/share/Torrents’: No such file or directory
128820 INFO + rm '/home/yunohost.multimedia/share/Torrent to download'
128821 WARNING rm: cannot remove ‘/home/yunohost.multimedia/share/Torrent to download’: No such file or directory
128822 INFO + ynh_secure_remove /usr/share/transmission
128823 INFO + local path_to_remove=/usr/share/transmission
128824 INFO + local 'forbidden_path= /var/www /home/yunohost.app'
128822 WARNING /usr/share/transmission wasn't deleted because it doesn't exist.
128825 INFO + [[ /var/www /home/yunohost.app =~ /usr/share/transmission ]]
128827 WARNING /var/lib/transmission-daemon wasn't deleted because it doesn't exist.
128829 INFO + [[ /usr/share/transmission =~ /:alnum+$ ]]
128833 WARNING The user debian-transmission was not found
128834 INFO + [[ n = \/ ]]
128835 INFO + '[' -e /usr/share/transmission ']'
128836 INFO + echo '/usr/share/transmission wasn'\''t deleted because it doesn'\''t exist.'
128836 INFO + ynh_secure_remove /var/lib/transmission-daemon
128837 INFO + local path_to_remove=/var/lib/transmission-daemon
128838 INFO + local 'forbidden_path= /var/www /home/yunohost.app'
128839 INFO + [[ /var/www /home/yunohost.app =~ /var/lib/transmission-daemon ]]
128839 INFO + [[ /var/lib/transmission-daemon =~ /:alnum+$ ]]
128840 INFO + [[ n = \/ ]]
128841 INFO + '[' -e /var/lib/transmission-daemon ']'
128842 INFO + echo '/var/lib/transmission-daemon wasn'\''t deleted because it doesn'\''t exist.'
128842 INFO + ynh_system_user_delete debian-transmission
128843 INFO + ynh_system_user_exists debian-transmission
128843 INFO + getent passwd debian-transmission
128844 INFO + echo 'The user debian-transmission was not found'
130813 SUCCESS The SSOwat configuration has been generated
130814 DEBUG action [15031.1] executed in 130.136s
130815 DEBUG lock has been released
130816 ERROR Installation failed
```
arnauld
[^] # Re: forum yunohost
Posté par arnauld . En réponse au message Impossible d'installer Transmission.. Évalué à 1.
Justement, je poste ici car chez Yunohost ils n'ont pas su m'aider : https://forum.yunohost.org/t/impossible-dinstaller-transmission/4849/3
arnauld
# autre question
Posté par arnauld . En réponse au message Partitionement disque dur externe.. Évalué à 1.
J'ai une autre question aussi.
Quand je fais une image d'une carte sd insérée dans mon ordinateur principal, avec la commande :
mmcblk0 (la carte sd avec mmcblk0p1 & mmcblk0p2) doit-elle être montée ou démontée ?sudo dd if=/dev/mmcblk0 of=~/image-of-sd-card.img
Merci.
arnauld
[^] # Re: partitionement ok mais erreurs.
Posté par arnauld . En réponse au message Partitionement disque dur externe.. Évalué à 1.
Merci @wismerhill .
Non, le Pi est en marche.Avec le disque dur externe branché dessus. Je ssh le Pi depuis mon ordinateur principal et copie mmcblk0p2 vers le hdd qui est connecté au Pi.
Donc, ce que je dois faire c'est ??? :
-Enlever la carte sd du Pi et la mettre dans mon lecteur sd de mon ordinateur principal.
-S'assurer que la carte sd insérée dans l'ordinateur principal n'est pas montée.
-Brancher mon disque dur externe sur l'ordinateur principal.
-Copier mmcblk0p2 de la sd vers mon disque dur externe avec :
dd if=/dev/mmcblk0p2 of=/dev/sda1 bs=32M conv=noerror,sync
Parceque dans le tuto que je suis cela semble être différent :
"
Prérequis
Ben il faut pas grand chose : Un Raspberry avec sa carte SD, Yunohost installé dessus (qui fonctionne, c’est toujours mieux), et un disque dur USB.
Pour ma part, j’ai pris un Maxtor de 1 To en 3,5 pouces, ce qui comblera largement mes besoins.
Préparation du disque dur
Prenez un disque dur USB, branchez le sur un système UNIX et créez 2 partitions :
– Une partition en EXT4 de la place que vous voulez
– Une seconde partition de 1Go en SWAP.
Je ne détaille pas ici, mais perso je le fais si possible en mode graphique avec Gparted :
Puis branchez le sur le Raspberry, connectez vous en SSH dessus, en root.
Lancez la commande suivante :
fdisk -l
Disk /dev/mmcblk0: 29.5 GiB, 31614566400 bytes, 61747200 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x34edcb80
Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 * 8192 137215 129024 63M c W95 FAT32 (LBA)
/dev/mmcblk0p2 137216 61747199 61609984 29.4G 83 Linux
Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xf47cfc3f
Device Boot Start End Sectors Size Id Type
/dev/sda1 2048 1951426559 1951424512 930.5G 83 Linux
/dev/sda2 1951426560 1953523711 2097152 1G 82 Linux swap / Solari
4 partitions :
– /dev/mmcblk0p1 : Partition de boot de 63Mo sur la carte SD, qui ne sera pas touchée
– /dev/mmcblk0p2 : Partition root, sur laquelle est installée Debian et Yunohost
– /dev/sda1 : Partition de mon disque dur (930Go), où je souhaite transférer Yunohost
– /dev/sda2 : Partition Swap
Si ce n’est pas les mêmes, notez bien les noms des partitions, afin de ne pas vous perdre ou planter tout le bordel
Copie des fichiers
A présent, nous allons copier l’intégralité de la partition sur laquelle est installée Yunohost sur la partition du disque externe :
dd if=/dev/mmcblk0p2 of=/dev/sda1 bs=32M conv=noerror,sync
"
source : http://www.planet-libre.org/?post_id=21555
arnauld