Impossible d'installer neutrinet_ynh

Bonsoir,

Je n’arrive pas à installer l’application et je ne comprends pas pourquoi. En dehors d’un «installation failed» à la fin, je n’ai aucune info sur l’origine du problème.

root@stemy:~# yunohost app install https://github.com/Neutrinet/neutrinet_ynh --debug
977  DEBUG loading actions map namespace 'yunohost'
1109 DEBUG extra parameter classes loaded: ['ask', 'password', 'required', 'pattern']
1111 DEBUG initializing base actions map parser for cli
1119 DEBUG registering new callback action 'yunohost.utils.packages.ynh_packages_version' to ['-v', '--version']
1752 DEBUG initialize authenticator 'ldap-anonymous' with: uri='ldap://localhost:389', base_dn='dc=yunohost,dc=org', user_rdn='None'
1771 DEBUG lock has been acquired
1968 DEBUG loading python module yunohost.app took 0.195s
1970 INFO processing action [27327.1]: yunohost.app.install with args={'app': 'https://github.com/Neutrinet/neutrinet_ynh', 'args': None, 'auth': <moulinette.authenticators.ldap.Authenticator object at 0xb65c8c90>, 'label': None, 'no_remove_on_failure': False}
2005 DEBUG Downloading...
3512 DEBUG Extracting...
3565 DEBUG Done
Choose a domain for Neutrinet application: stemy.me
Choose a path for Neutrinet application (default: /neutrinet): 
16277 DEBUG Executing command 'sh -c YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/neutrinet_ynh-master/scripts YNH_APP_INSTANCE_NAME=neutrinet YNH_APP_ID=neutrinet YNH_APP_ARG_PATH=/neutrinet YNH_APP_ARG_DOMAIN=stemy.me BASH_XTRACEFD=7 /bin/bash -x "./install" stemy.me /neutrinet neutrinet 7>&1'...
16397 DEBUG + set -e
16402 DEBUG + source ./commons
16404 DEBUG ++ RENEW_CERT_PATH=/opt/neutrinet/renew_cert
16406 DEBUG + domain=stemy.me
16408 DEBUG + path=/neutrinet
16409 DEBUG + path=/neutrinet
16411 DEBUG + sudo yunohost app checkurl stemy.me/neutrinet -a neutrinet
18262 WARNING 'yunohost app checkurl' is deprecated and will be removed in the future
18604 WARNING Packagers /!\ 'app checkurl' is deprecated ! Please use 'app register-url' instead !
19079 DEBUG + [[ ! 0 -eq 0 ]]
19084 DEBUG + sudo yunohost app setting neutrinet version -v 0.2
21379 DEBUG + install_neutrinet_apps_list
21384 DEBUG + sudo yunohost app listlists
21387 DEBUG + grep -q neutrinet:
23619 DEBUG + install_labriqueinternet_apps_list
23621 DEBUG + grep -q labriqueinternet:
23626 DEBUG + sudo yunohost app listlists
25859 DEBUG + get_out_of_testing
25862 DEBUG + set -e
25865 DEBUG + '[' -e /etc/apt/sources.list.d/yunohost.list ']'
25868 DEBUG + sudo sed -ri 's#^(deb http://repo\.yunohost\.org/debian[/]? jessie) (stable )?testing#\1 stable#g' /etc/apt/sources.list.d/yunohost.list
25958 DEBUG + install_static_file
25962 DEBUG + set -e
25965 DEBUG + final_path=/var/www/neutrinet/
25967 DEBUG + sudo mkdir -p /var/www/neutrinet/
26055 DEBUG + sudo cp -a ../sources/. /var/www/neutrinet/
26162 DEBUG + sudo chown -R www-data: /var/www/neutrinet/
26265 DEBUG + [[ /neutrinet == '' ]]
26268 DEBUG + sed -i s@PATHTOCHANGE@/neutrinet@g ../conf/nginx.conf
26280 DEBUG + sed -i s@ALIASTOCHANGE@/var/www/neutrinet/@g ../conf/nginx.conf
26292 DEBUG + sudo cp ../conf/nginx.conf /etc/nginx/conf.d/stemy.me.d/neutrinet.conf
26384 DEBUG + sudo service nginx reload
26996 DEBUG + install_renew_cert
26999 DEBUG + set -e
27010 DEBUG ++ pwd
27013 DEBUG + install_dir=/var/cache/yunohost/from_file/neutrinet_ynh-master/scripts
27020 DEBUG + '[' -e /opt/neutrinet/renew_cert ']'
27030 DEBUG + sudo apt-get update
28062 DEBUG Hit:1 http://security.debian.org stretch/updates InRelease
28337 DEBUG Get:6 http://repo.yunohost.org/debian jessie InRelease [19.1 kB]
28447 DEBUG Ign:2 http://cdn-fastly.deb.debian.org/debian stretch InRelease
28485 DEBUG Hit:3 http://cdn-fastly.deb.debian.org/debian stretch-updates InRelease
28512 DEBUG Hit:4 http://cdn-fastly.deb.debian.org/debian stretch-backports InRelease
28540 DEBUG Hit:7 http://cdn-fastly.deb.debian.org/debian stretch Release
29838 DEBUG Hit:5 https://apt.armbian.com stretch InRelease
30094 DEBUG Ign:6 http://repo.yunohost.org/debian jessie InRelease
33691 DEBUG Fetched 19.1 kB in 5s (3,291 B/s)
42260 DEBUG Reading package lists...
42561 WARNING W: GPG error: http://repo.yunohost.org/debian jessie InRelease: The following signatures were invalid: 1904C5B42E4856DCD4E9CF96360AAF3259A3E6FF
42567 WARNING W: The repository 'http://repo.yunohost.org/debian jessie InRelease' is not signed.
42682 DEBUG + sudo apt-get install -y python-virtualenv
43413 DEBUG Reading package lists...
44899 DEBUG Building dependency tree...
47593 DEBUG Reading state information...
47843 DEBUG You might want to run 'apt --fix-broken install' to correct these.
47846 DEBUG The following packages have unmet dependencies:
48664 DEBUG  firmware-linux-nonfree : Depends: firmware-misc-nonfree (= 20161130-4) but it is not going to be installed
48667 DEBUG  firmware-ralink : Depends: firmware-misc-nonfree but it is not going to be installed
48685 DEBUG  python-virtualenv : Depends: python-pip-whl (>= 8.1.1-2) but it is not going to be installed
48813 WARNING E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
48903 DEBUG Executing command 'sh -c YNH_APP_INSTANCE_NUMBER=1 YNH_APP_ID=neutrinet YNH_CWD=/var/cache/yunohost/from_file/neutrinet_ynh-master/scripts YNH_APP_INSTANCE_NAME=neutrinet BASH_XTRACEFD=7 /bin/bash -x "./remove" neutrinet 7>&1'...
48990 DEBUG + source ./commons
48999 DEBUG ++ RENEW_CERT_PATH=/opt/neutrinet/renew_cert
49001 DEBUG ++ sudo yunohost app setting neutrinet domain
51285 DEBUG + domain=stemy.me
51289 DEBUG + sudo rm -rf /opt/neutrinet/renew_cert
51374 DEBUG + sudo rm -rf /var/www/neutrinet/
51465 DEBUG + sudo rm -f /etc/nginx/conf.d/stemy.me.d/neutrinet.conf
51984 SUCCESS The SSOwat configuration has been generated
51987 DEBUG action [27327.1] executed in 50.014s
51989 DEBUG lock has been released
51990 ERROR Installation failed

neutrinet_ynh ne semble pas compatible avec Yunohost 3.x (stretch)

Du coup, je vais devoir m’en passer ? Ça risque pas de poser problème ?

Pour en savoir plus il te faudrait te renseigner auprès de neutrinet … L’équipe de YunoHost ne gère pas cette app … (ni tout ce qui est spécifique aux briques, théoriquement)

Étant de Neutrinet je confirme que je n’ai pas encore pris le temps de tester « notre » script d’installation sur une Yunohost 3 (stretch).

Je sais qu’historiquement pour le VPN le choix avait été fait pour un login/pass+certificat personnel et que c’était pas compatible « à l’époque » avec l’outil d’installation automatique de Labriqueinter.net.

Ça fait partie des chose de « nous » (au moins chez Neutrinet) devrions tester, faire, documenter,etc.

Pour faire court, je pars d’une 2.7 (en commentant dans notre script le upgrade_system ) dans les dernières lignes du fichier. Et ensuite je fais les mises à jours et la migration vers Yunohost 3.

Il y a quelques ressources aussi sur le Wiki de Neutrinet: