• Archive
  • [Discussion] Installer ruTorrent sur Debian 9 {nginx & php-fpm}

Peut-être ton ip blacklisté chez geolite, j'ai pas souvenir que ce soit déjà arrivé mais c'est possible...
Si vraiment ça veut pas, tu reformates et tu le lance par là:

apt update && apt upgrade -y
apt-get install git lsb-release -y

cd /tmp
wget https://...
tar xzfv rutorrent-bonobox.tar.gz
cd rutorrent-bonobox
chmod a+x bonobox.sh && ./bonobox.sh

J'ai supprimé vite fait le chargement de la base à problème + la mise à jour mensuelle,
c'est pas gênant pour la suite de toute façon.

Pis tu nous dit si ça marche 😉
Ex.

    ex_rat

    Alors, j'ai bien re tenté l'installation sur un serveur vierge, toujours la même erreur.

    ../rak/priority_queue_default.h:56:95: note: in C++11 destructors default to noexcept
    mv -f .deps/command_ui.Tpo .deps/command_ui.Po
    rm -f libsub_root.a
    ar cru libsub_root.a command_download.o command_dynamic.o command_events.o command_file.o command_ip.o command_helpers.o command_groups.o command_local.o command_logging.o command_network.o command_peer.o command_throttle.o command_tracker.o command_scheduler.o command_ui.o control.o globals.o option_parser.o signal_handler.o thread_base.o thread_worker.o
    ar: `u' modifier ignored since `D' is the default (see `U')
    ranlib libsub_root.a
    In file included from rpc/command_map.h:45:0,
                     from rpc/parse_commands.h:43,
                     from main.cc:73:
    rpc/command.h: In instantiation of ‘tmpl& rpc::command_base::_pod() [with tmpl = std::function<torrent::Object(rpc::rt_triple<int, void*, void*>, const torrent::Object&)>]’:
    rpc/command.h:163:46:   required from here
    rpc/command.h:193:50: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
       template <typename tmpl> tmpl& _pod() { return reinterpret_cast<tmpl&>(t_pod); }
                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    rpc/command.h: In instantiation of ‘const tmpl& rpc::command_base::_pod() const [with tmpl = std::function<torrent::Object(rpc::rt_triple<int, void*, void*>, const torrent::Object&)>]’:
    rpc/command.h:164:110:   required from here
    rpc/command.h:194:62: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
       template <typename tmpl> const tmpl& _pod() const { return reinterpret_cast<const tmpl&>(t_pod); }
                                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    mv -f .deps/main.Tpo .deps/main.Po
    /bin/bash ../libtool  --tag=CXX   --mode=link g++  -g -O2 -DNDEBUG -Wall -I/usr/local/include  -pthread   -I/usr/include/x86_64-linux-gnu -I/usr/local/include    -o rtorrent main.o libsub_root.a ui/libsub_ui.a core/libsub_core.a display/libsub_display.a input/libsub_input.a rpc/libsub_rpc.a utils/libsub_utils.a  -lncursesw -ltinfo  -lcppunit  -lcurl -L/usr/local/lib -ltorrent  -L/usr/local/lib   -lxmlrpc_server -lxmlrpc  -lxmlrpc_xmlparse -lxmlrpc_xmltok -lxmlrpc_util -lpthread
    libtool: link: g++ -g -O2 -DNDEBUG -Wall -I/usr/local/include -pthread -I/usr/include/x86_64-linux-gnu -I/usr/local/include -o rtorrent main.o  libsub_root.a ui/libsub_ui.a core/libsub_core.a display/libsub_display.a input/libsub_input.a rpc/libsub_rpc.a utils/libsub_utils.a -lncursesw -ltinfo -lcppunit /usr/lib/x86_64-linux-gnu/libcurl.so -L/usr/local/lib /usr/local/lib/libtorrent.so -lxmlrpc_server -lxmlrpc -lxmlrpc_xmlparse -lxmlrpc_xmltok -lxmlrpc_util -lpthread -pthread
    make[3]: Leaving directory '/tmp/rtorrent/src'
    make[2]: Leaving directory '/tmp/rtorrent/src'
    Making all in test
    make[2]: Entering directory '/tmp/rtorrent/test'
    make[2]: Nothing to be done for 'all'.
    make[2]: Leaving directory '/tmp/rtorrent/test'
    make[2]: Entering directory '/tmp/rtorrent'
    make[2]: Leaving directory '/tmp/rtorrent'
    make[1]: Leaving directory '/tmp/rtorrent'
    Making install in doc
    make[1]: Entering directory '/tmp/rtorrent/doc'
    make[2]: Entering directory '/tmp/rtorrent/doc'
    make[2]: Nothing to be done for 'install-exec-am'.
    make[2]: Nothing to be done for 'install-data-am'.
    make[2]: Leaving directory '/tmp/rtorrent/doc'
    make[1]: Leaving directory '/tmp/rtorrent/doc'
    Making install in src
    make[1]: Entering directory '/tmp/rtorrent/src'
    Making install in core
    make[2]: Entering directory '/tmp/rtorrent/src/core'
    make[3]: Entering directory '/tmp/rtorrent/src/core'
    make[3]: Nothing to be done for 'install-exec-am'.
    make[3]: Nothing to be done for 'install-data-am'.
    make[3]: Leaving directory '/tmp/rtorrent/src/core'
    make[2]: Leaving directory '/tmp/rtorrent/src/core'
    Making install in display
    make[2]: Entering directory '/tmp/rtorrent/src/display'
    make[3]: Entering directory '/tmp/rtorrent/src/display'
    make[3]: Nothing to be done for 'install-exec-am'.
    make[3]: Nothing to be done for 'install-data-am'.
    make[3]: Leaving directory '/tmp/rtorrent/src/display'
    make[2]: Leaving directory '/tmp/rtorrent/src/display'
    Making install in input
    make[2]: Entering directory '/tmp/rtorrent/src/input'
    make[3]: Entering directory '/tmp/rtorrent/src/input'
    make[3]: Nothing to be done for 'install-exec-am'.
    make[3]: Nothing to be done for 'install-data-am'.
    make[3]: Leaving directory '/tmp/rtorrent/src/input'
    make[2]: Leaving directory '/tmp/rtorrent/src/input'
    Making install in rpc
    make[2]: Entering directory '/tmp/rtorrent/src/rpc'
    make[3]: Entering directory '/tmp/rtorrent/src/rpc'
    make[3]: Nothing to be done for 'install-exec-am'.
    make[3]: Nothing to be done for 'install-data-am'.
    make[3]: Leaving directory '/tmp/rtorrent/src/rpc'
    make[2]: Leaving directory '/tmp/rtorrent/src/rpc'
    Making install in ui
    make[2]: Entering directory '/tmp/rtorrent/src/ui'
    make[3]: Entering directory '/tmp/rtorrent/src/ui'
    make[3]: Nothing to be done for 'install-exec-am'.
    make[3]: Nothing to be done for 'install-data-am'.
    make[3]: Leaving directory '/tmp/rtorrent/src/ui'
    make[2]: Leaving directory '/tmp/rtorrent/src/ui'
    Making install in utils
    make[2]: Entering directory '/tmp/rtorrent/src/utils'
    make[3]: Entering directory '/tmp/rtorrent/src/utils'
    make[3]: Nothing to be done for 'install-exec-am'.
    make[3]: Nothing to be done for 'install-data-am'.
    make[3]: Leaving directory '/tmp/rtorrent/src/utils'
    make[2]: Leaving directory '/tmp/rtorrent/src/utils'
    make[2]: Entering directory '/tmp/rtorrent/src'
    make[3]: Entering directory '/tmp/rtorrent/src'
     /bin/mkdir -p '/usr/local/bin'
      /bin/bash ../libtool   --mode=install /usr/bin/install -c rtorrent '/usr/local/bin'
    libtool: install: /usr/bin/install -c rtorrent /usr/local/bin/rtorrent
    make[3]: Nothing to be done for 'install-data-am'.
    make[3]: Leaving directory '/tmp/rtorrent/src'
    make[2]: Leaving directory '/tmp/rtorrent/src'
    make[1]: Leaving directory '/tmp/rtorrent/src'
    Making install in test
    make[1]: Entering directory '/tmp/rtorrent/test'
    make[2]: Entering directory '/tmp/rtorrent/test'
    make[2]: Nothing to be done for 'install-exec-am'.
    make[2]: Nothing to be done for 'install-data-am'.
    make[2]: Leaving directory '/tmp/rtorrent/test'
    make[1]: Leaving directory '/tmp/rtorrent/test'
    make[1]: Entering directory '/tmp/rtorrent'
    make[2]: Entering directory '/tmp/rtorrent'
    make[2]: Nothing to be done for 'install-exec-am'.
    make[2]: Nothing to be done for 'install-data-am'.
    make[2]: Leaving directory '/tmp/rtorrent'
    make[1]: Leaving directory '/tmp/rtorrent'
    
    Installing rTorrent v0.9.8     Done !
    
    Cloning into '/var/www/rutorrent'...
    remote: Enumerating objects: 70, done.
    remote: Counting objects: 100% (70/70), done.
    remote: Compressing objects: 100% (60/60), done.
    remote: Total 26688 (delta 35), reused 24 (delta 10), pack-reused 26618
    Receiving objects: 100% (26688/26688), 7.90 MiB | 7.67 MiB/s, done.
    Resolving deltas: 100% (17861/17861), done.
    
    Installing ruTorrent     Done !
    
    Cloning into 'rutorrent-plugins-pack'...
    remote: Enumerating objects: 910, done.
    remote: Counting objects: 100% (910/910), done.
    remote: Compressing objects: 100% (749/749), done.
    remote: Total 910 (delta 180), reused 879 (delta 154), pack-reused 0
    Receiving objects: 100% (910/910), 2.39 MiB | 3.70 MiB/s, done.
    Resolving deltas: 100% (180/180), done.
    Collecting setuptools
      Downloading https://files.pythonhosted.org/packages/b2/86/095d2f7829badc207c893dd4ac767e871f6cd547145df797ea26baea4e2e/setuptools-41.2.0-py2.py3-none-any.whl (576kB)
    Installing collected packages: setuptools
      Found existing installation: setuptools 33.1.1
        Not uninstalling setuptools at /usr/lib/python2.7/dist-packages, outside environment /usr
    Successfully installed setuptools-41.2.0
    Collecting cloudscraper
      Downloading https://files.pythonhosted.org/packages/e1/6f/1aee5d80c4cc28a75bb56481d1c432307366e7b2724d052f46f69a2b9bfe/cloudscraper-1.1.42-py2.py3-none-any.whl (101kB)
    Collecting pyopenssl>=17.0 (from cloudscraper)
      Downloading https://files.pythonhosted.org/packages/01/c8/ceb170d81bd3941cbeb9940fc6cc2ef2ca4288d0ca8929ea4db5905d904d/pyOpenSSL-19.0.0-py2.py3-none-any.whl (53kB)
    Collecting requests-toolbelt>=0.9.1 (from cloudscraper)
      Downloading https://files.pythonhosted.org/packages/60/ef/7681134338fc097acef8d9b2f8abe0458e4d87559c689a8c306d0957ece5/requests_toolbelt-0.9.1-py2.py3-none-any.whl (54kB)
    Collecting requests>=2.9.2 (from cloudscraper)
      Downloading https://files.pythonhosted.org/packages/51/bd/23c926cd341ea6b7dd0b2a00aba99ae0f828be89d72b2190f27c11d4b7fb/requests-2.22.0-py2.py3-none-any.whl (57kB)
    Collecting brotli>=1.0.7 (from cloudscraper)
      Downloading https://files.pythonhosted.org/packages/c8/86/eaa80fbbee07e269b8eb3d26ae4e073f25d78ccd02397ce35ae229d40487/Brotli-1.0.7-cp27-cp27mu-manylinux1_x86_64.whl (352kB)
    Collecting js2py>=0.60 (from cloudscraper)
      Downloading https://files.pythonhosted.org/packages/7b/27/7b149ea4a6233fe26ba1d739304b495524146027ff017d80e44dbfbae8b1/Js2Py-0.66-py2-none-any.whl (1.0MB)
    Collecting cryptography>=2.3 (from pyopenssl>=17.0->cloudscraper)
      Downloading https://files.pythonhosted.org/packages/e6/68/50698ce24c61db7d44d93a5043c621a0ca7839d4ef9dff913e6ab465fc92/cryptography-2.7-cp27-cp27mu-manylinux1_x86_64.whl (2.3MB)
    Requirement already satisfied: six>=1.5.2 in /usr/lib/python2.7/dist-packages (from pyopenssl>=17.0->cloudscraper)
    Collecting idna<2.9,>=2.5 (from requests>=2.9.2->cloudscraper)
      Downloading https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl (58kB)
    Collecting chardet<3.1.0,>=3.0.2 (from requests>=2.9.2->cloudscraper)
      Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)
    Collecting certifi>=2017.4.17 (from requests>=2.9.2->cloudscraper)
      Downloading https://files.pythonhosted.org/packages/18/b0/8146a4f8dd402f60744fa380bc73ca47303cccf8b9190fd16a827281eac2/certifi-2019.9.11-py2.py3-none-any.whl (154kB)
    Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 (from requests>=2.9.2->cloudscraper)
      Downloading https://files.pythonhosted.org/packages/e6/60/247f23a7121ae632d62811ba7f273d0e58972d75e58a94d329d51550a47d/urllib3-1.25.3-py2.py3-none-any.whl (150kB)
    Collecting tzlocal>=1.2 (from js2py>=0.60->cloudscraper)
      Downloading https://files.pythonhosted.org/packages/ef/99/53bd1ac9349262f59c1c421d8fcc2559ae8a5eeffed9202684756b648d33/tzlocal-2.0.0-py2.py3-none-any.whl
    Collecting pyjsparser>=2.5.1 (from js2py>=0.60->cloudscraper)
      Downloading https://files.pythonhosted.org/packages/60/55/e12bac7066b7eaa4a2f5297d6c9d3b69954bfc4c785d5d9001384d910db6/pyjsparser-2.7.1-py2-none-any.whl
    Requirement already satisfied: enum34; python_version < "3" in /usr/lib/python2.7/dist-packages (from cryptography>=2.3->pyopenssl>=17.0->cloudscraper)
    Collecting asn1crypto>=0.21.0 (from cryptography>=2.3->pyopenssl>=17.0->cloudscraper)
      Downloading https://files.pythonhosted.org/packages/ea/cd/35485615f45f30a510576f1a56d1e0a7ad7bd8ab5ed7cdc600ef7cd06222/asn1crypto-0.24.0-py2.py3-none-any.whl (101kB)
    Collecting cffi!=1.11.3,>=1.8 (from cryptography>=2.3->pyopenssl>=17.0->cloudscraper)
      Downloading https://files.pythonhosted.org/packages/8d/e9/0c8afd1579e5cf7bc0f06fbcd7cdb954cbc0baadd505973949a99337da1c/cffi-1.12.3-cp27-cp27mu-manylinux1_x86_64.whl (415kB)
    Requirement already satisfied: ipaddress; python_version < "3" in /usr/lib/python2.7/dist-packages (from cryptography>=2.3->pyopenssl>=17.0->cloudscraper)
    Collecting pytz (from tzlocal>=1.2->js2py>=0.60->cloudscraper)
      Downloading https://files.pythonhosted.org/packages/87/76/46d697698a143e05f77bec5a526bf4e56a0be61d63425b68f4ba553b51f2/pytz-2019.2-py2.py3-none-any.whl (508kB)
    Collecting pycparser (from cffi!=1.11.3,>=1.8->cryptography>=2.3->pyopenssl>=17.0->cloudscraper)
      Downloading https://files.pythonhosted.org/packages/68/9e/49196946aee219aead1290e00d1e7fdeab8567783e83e1b9ab5585e6206a/pycparser-2.19.tar.gz (158kB)
    Building wheels for collected packages: pycparser
      Running setup.py bdist_wheel for pycparser: started
      Running setup.py bdist_wheel for pycparser: finished with status 'done'
      Stored in directory: /root/.cache/pip/wheels/f2/9a/90/de94f8556265ddc9d9c8b271b0f63e57b26fb1d67a45564511
    Successfully built pycparser
    Installing collected packages: asn1crypto, pycparser, cffi, cryptography, pyopenssl, idna, chardet, certifi, urllib3, requests, requests-toolbelt, brotli, pytz, tzlocal, pyjsparser, js2py, cloudscraper
      Found existing installation: cryptography 1.7.1
        Not uninstalling cryptography at /usr/lib/python2.7/dist-packages, outside environment /usr
      Found existing installation: idna 2.2
        Not uninstalling idna at /usr/lib/python2.7/dist-packages, outside environment /usr
    Successfully installed asn1crypto-0.24.0 brotli-1.0.7 certifi-2019.9.11 cffi-1.12.3 chardet-3.0.4 cloudscraper-1.1.42 cryptography-2.7 idna-2.8 js2py-0.66 pycparser-2.19 pyjsparser-2.7.1 pyopenssl-19.0.0 pytz-2019.2 requests-2.22.0 requests-toolbelt-0.9.1 tzlocal-2.0.0 urllib3-1.25.3
    --2019-09-11 22:17:53--  https://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz
    Resolving geolite.maxmind.com (geolite.maxmind.com)... 104.17.200.89, 104.17.201.89, 2606:4700::6811:c959, ...
    Connecting to geolite.maxmind.com (geolite.maxmind.com)|104.17.200.89|:443... connected.
    HTTP request sent, awaiting response... 403 Forbidden
    2019-09-11 22:17:53 ERROR 403: Forbidden.
    
    tar (child): GeoLite2-City.tar.gz: Cannot open: No such file or directory
    tar (child): Error is not recoverable: exiting now
    /bin/tar: Child returned status 2
    /bin/tar: Error is not recoverable: exiting now
    bash: cd: /tmp/GeoLite2-City_*: No such file or directory
    root@PAR-152791:/tmp/rutorrent-bonobox#

    Est-ce qu'il y aurait pas moyen de récupérer le fichier mais sans passer par une requête HTTP. Car ça bloque de là non ? Ou alors une source externe ?

    Je viens de lancer le script que tu viens d'écrire, et il fonctionne bien. Merci ! Est-ce que l'absence de geobase est "grave" ?

    Salut, tant mieux si ça a fonctionné avec le script modifié.
    Non, c'est pas important pour geoip. Mais si tu veux tenter le coup je viens de la mettre chez moi:

    On download la db en /tmp :

    cd /tmp
    wget http://...

    On décompresse et on colle ça dans le bon dossier du plugin :

    tar xzfv GeoLite2-City.tar.gz
    cd /tmp/GeoLite2-City_*
    mv GeoLite2-City.mmdb /var/www/rutorrent/plugins/geoip2/database/GeoLite2-City.mmdb
    chown -R www-data:www-data /var/www/rutorrent/plugins/geoip2/

    Ex.

      19 jours plus tard

      salut je rencontre un soucis dans les paramètres rutorrent quand je clic sur pignon pour les paramètres j’ai sa comme erreur
      d'avance merci
      01.10.2019 21:16:09] WebUI started.
      [01.10.2019 21:16:14] XMLRPC Error: Method 'network.listen.is_open' not defined [getsettings]
      [01.10.2019 21:16:14] XMLRPC Error: Method 'network.port.randomize' not defined [getsettings]
      [01.10.2019 21:16:14] XMLRPC Error: Method 'network.port.range' not defined [getsettings]
      [01.10.2019 21:20:32] XMLRPC Error: Method 'network.listen.is_open' not defined [getsettings]
      [01.10.2019 21:20:32] XMLRPC Error: Method 'network.port.randomize' not defined [getsettings]
      [01.10.2019 21:20:32] XMLRPC Error: Method 'network.port.range' not defined [getsettings]

      version installee par ce lien
      https://github.com/xavier84/RatXaBox

      13 jours plus tard

      bonjour j'ai suivi le tuto manuel, je suis sur debian 9, j'ai lu et relu le tuto et je ne trouve pas mon erreur quand je me co sur ndd/rutorrent j'ai un "unable to connect" j'ai regarde si les service etait bien lances et tout est ok pour username-rtorrent et nginx donc je ne vois pas. merci d'avance

      dans ton vhost /etc/nginx/sites-enable/rutorrent.conf à la ligne server_name tu as mis quoi ?

      un simple 's' manquant a "sites-enabled"! par contre j'ai un user qui fonctionne et l'autre j'ai ce message :
      Lien incorrect avec rTorrent. Vérifiez qu'il soit bien en cours d'exécution. Vérifiez la configuration de $scgi_port et de $scgi_host dans config.php et de scgi_port dans le fichier de configuration de rTorrent.

      pourtant sur mon autre user tout marche

      edit : j'ai fais :
      service user-rtorrent restart
      ps -ef | grep rtorrent

      et je ne trouve que le processus de mon autre user

      de plus avec nmap je vois que mon port n'est pas ouvert

      6 jours plus tard

      ex_rat Bonjour, je rencontre le même problème. j'ai essayé de faire la manip "pip install cloudscrapper"mais ça me renvoie toujours le même message d'erreur.
      peux tu me filer un petit coup de main ? merci.

        tanguy voici mon message d'erreur : _cloudflare plugin: Le module cloudscraper ne peut pas être chargé dans Python

        Salut,

        Voilà ce que dit ton erreur:
        https://github.com/Novik/ruTorrent/issues/1875
        Issue qui redirige vers se poste : https://github.com/Novik/ruTorrent/issues/1870#issuecomment-480913560

        Un forum qui parle de se sujet aussi : https://pgblitz.com/threads/rutorrent-cloudflare-cant-load-cfscrape-python.4279/

        Vu ton erreur, tu dois avoir un problème avec python mal renseigné ou mal configurer.
        Je dit ça au pif vu que j'ai jamais connu cette erreur est les autres, on l'aire de partir sur une erreur de python mal config

        #C'est pas le bon chemin faut adapter a la config de Mondedie
        /opt/appdata/rutorrent/rutorrent/settings/config.php
        ###############
        
        $pathToExternals = array(
        "php" => '/usr/bin/php7', // Something like /usr/bin/php. If empty, will be found in PATH.
        "pgrep" => '/usr/bin/pgrep', // Something like /usr/bin/pgrep. If empty, will be found in PATH.
        "python" => '/usr/bin/python3', // Something like /usr/bin/python3. If empty, will be found in PATH.
        "curl" => '/usr/bin/curl', // Something like /usr/bin/curl. If empty, will be found in PATH.
        "gzip" => '/usr/bin/gzip', // Something like /usr/bin/gzip. If empty, will be found in PATH.
        "id" => '/usr/bin/id', // Something like /usr/bin/id. If empty, will be found in PATH.
        "stat" => '/bin/stat', // Something like /usr/bin/stat. If empty, will be found in PATH.
        );
        

        Bon courage il aura sûrement un autre membre qui pourra te répondre patiente un peu 🙂

        Salut
        Ton config.php user est ok pour python ?

        On édite le fichier de configuration : 1 <username> à remplacer

        nano /var/www/rutorrent/conf/users/<username>/config.php

        On colle les valeurs : 1 <username> 1 <USERNAME> à remplacer et indiquer le bon port 500x

        <?php
        
        $pathToExternals = array(
            "curl"  => '/usr/bin/curl',
            "stat"  => '/usr/bin/stat',
            "php"    => '/usr/bin/php7.3',
            "pgrep"  => '/usr/bin/pgrep',
            "python" => '/usr/bin/python2.7'
            );
        
        $topDirectory = '/home/<username>';
        $scgi_port = 500x;
        $scgi_host = '127.0.0.1';
        $XMLRPCMountPoint = '/<USERNAME>';
        

        Ex.

        mon config.php est exactement le meme a par la ligne ("php" => '/usr/bin/php7.3',) moi j'ai ("php" => '/usr/bin/php5',)
        l'erreur pourrait venir de ca ?

        Salut,

        Hum que dis ?

        php -v
        python -v
        

        et

        where is python

        fait pareil pour php.

        si tu remarque des chemins différant tu les remplace par tes nouveau chemin

          tanguy pour php ca me donne: PHP 5.6.40-0+deb8u6 (cli)
          pour python: /usr/lib/python2.7

          bien que je trouve bien python dans /usr/bin...

          where is python ????

          Re désolé c'est

          where python
          Ou
          whereis python
          

          cela permet d'avoir le chemin absolue du fichier et voir si dans ton fichier de config.php est cohérent. en tout cas ton chemin php a l'air bon. Pour python il est bon aussi ? si sais ok je vois pas faudra patienter avec les pro.

          Après si je te dit pas de connerie si tu a utiliser le script d'install tu devrait être en php7 et non en 5
          Mais j'ai aucune certitude patiente un peu 🙂

          La commande where : http://www.linux-france.org/article/man-fr/man1/whereis-1.html

            tanguy vola ce que me donne le whereis python:

            python: /usr/bin/python3.4 /usr/bin/python3.4m /usr/bin/python2.7 /usr/bin/python /usr/lib/python3.4 /usr/lib/python2.7 /usr/lib/python2.6 /etc/python3.4 /etc/python2.7 /etc/python /usr/local/lib/python3.4 /usr/local/lib/python2.7 /usr/include/python2.7 /usr/share/python /usr/share/man/man1/python.1.gz

            pour la version php je tourne sur un debian 8 donc l'ancien tuto auto je pense...
            je me suis renseigner avec l’hébergeur du dédié apparemment ils ont des problèmes techniques pour passer en 9, je ne parle même pas du 10...

              Alors tente de remplacer ton chemin du python par :

              /usr/bin/python3.4

              CF le poste de @ex_rat .
              Tu a l'air d'avoir plusieurs version de python ...

              Par contre je te conseille de changer de fournisseur xD