J'ai trouvé, c'était tout simplement le config.php à modifier aussi.
Merci pour ce forum, c'est une mine d'or.
++
[Discussion] Installer ruTorrent sur Debian 9 {nginx & php-fpm}
- Modifié
Bonsoir
cela fait plusieurs fois que je lance le script mais il se bloque toujours à la même étape est-ce que vous savez d'où vient le problème ?
` ^
mv -f .deps/control.Tpo .deps/control.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -g -O2 -DNDEBUG -Wall -I/usr/local/include -pthread -I/usr/include/x86_64-linux-gnu -I/usr/local/include -MT globals.o -MD -MP -MF .deps/globals.Tpo -c -o globals.o globals.cc
In file included from globals.h:41,
from globals.cc:39:
../rak/priority_queue_default.h: In destructor ‘rak::priority_item::~priority_item()’:
../rak/priority_queue_default.h:56:95: warning: throw will always call terminate() [-Wterminate]
throw torrent::internal_error("priority_item::~priority_item() called on a queued item.");
^
../rak/priority_queue_default.h:56:95: note: in C++11 destructors default to noexcept
mv -f .deps/globals.Tpo .deps/globals.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -g -O2 -DNDEBUG -Wall -I/usr/local/include -pthread -I/usr/include/x86_64-linux-gnu -I/usr/local/include -MT option_parser.o -MD -MP -MF .deps/option_parser.Tpo -c -o option_parser.o option_parser.cc
mv -f .deps/option_parser.Tpo .deps/option_parser.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -g -O2 -DNDEBUG -Wall -I/usr/local/include -pthread -I/usr/include/x86_64-linux-gnu -I/usr/local/include -MT signal_handler.o -MD -MP -MF .deps/signal_handler.Tpo -c -o signal_handler.o signal_handler.cc
mv -f .deps/signal_handler.Tpo .deps/signal_handler.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -g -O2 -DNDEBUG -Wall -I/usr/local/include -pthread -I/usr/include/x86_64-linux-gnu -I/usr/local/include -MT thread_base.o -MD -MP -MF .deps/thread_base.Tpo -c -o thread_base.o thread_base.cc
In file included from thread_base.h:44,
from thread_base.cc:39:
../rak/priority_queue_default.h: In destructor ‘rak::priority_item::~priority_item()’:
../rak/priority_queue_default.h:56:95: warning: throw will always call terminate() [-Wterminate]
throw torrent::internal_error("priority_item::~priority_item() called on a queued item.");
^
../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
g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -g -O2 -DNDEBUG -Wall -I/usr/local/include -pthread -I/usr/include/x86_64-linux-gnu -I/usr/local/include -MT thread_worker.o -MD -MP -MF .deps/thread_worker.Tpo -c -o thread_worker.o thread_worker.cc
thread_base.cc: In constructor ‘ThreadBase::ThreadBase()’:
thread_base.cc:114:23: warning: ‘new’ of type ‘thread_queue_hack’ with extended alignment 128 [-Waligned-new=]
m_threadQueue = new thread_queue_hack;
^~~~~~~~~~~~~~~~~
thread_base.cc:114:23: note: uses ‘void* operator new(std::size_t)’, which does not have an alignment parameter
thread_base.cc:114:23: note: use ‘-faligned-new’ to enable C++17 over-aligned new support
In file included from thread_base.h:44,
from thread_worker.h:40,
from thread_worker.cc:39:
../rak/priority_queue_default.h: In destructor ‘rak::priority_item::~priority_item()’:
../rak/priority_queue_default.h:56:95: warning: throw will always call terminate() [-Wterminate]
throw torrent::internal_error("priority_item::~priority_item() called on a queued item.");
^
../rak/priority_queue_default.h:56:95: note: in C++11 destructors default to noexcept
mv -f .deps/thread_base.Tpo .deps/thread_base.Po
In file included from rpc/command.h:240,
from rpc/command_map.h:45,
from rpc/parse_commands.h:43,
from thread_worker.cc:52:
rpc/command_impl.h: In static member function ‘static void rpc::command_base::pop_stack(rpc::command_base::stack_type*, torrent::Object*)’:
rpc/command_impl.h:105:58: warning: ‘void* memset(void*, int, size_t)’ writing to an object of type ‘class torrent::Object’ with no trivial copy-assignment [-Wclass-memaccess]
std::memset(last_stack, 0xAA, sizeof(torrent::Object));
^
In file included from rpc/command_map.h:43,
from rpc/parse_commands.h:43,
from thread_worker.cc:52:
/usr/local/include/torrent/object.h:49:25: note: ‘class torrent::Object’ declared here
class LIBTORRENT_EXPORT Object {
^~~~~~
mv -f .deps/thread_worker.Tpo .deps/thread_worker.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
/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 !
/bin/mkdir: cannot create directory ‘/usr/share/scripts-perso’: File exists
fatal: destination path '/var/www/rutorrent' already exists and is not an empty directory.
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.80 MiB/s, done.
Resolving deltas: 100% (180/180), done.
Requirement already up-to-date: setuptools in /usr/local/lib/python2.7/dist-packages (41.2.0)
Requirement already satisfied: cloudscraper in /usr/local/lib/python2.7/dist-packages (1.1.41)
Requirement already satisfied: requests>=2.9.2 in /usr/local/lib/python2.7/dist-packages (from cloudscraper) (2.22.0)
Requirement already satisfied: brotli>=1.0.7 in /usr/local/lib/python2.7/dist-packages (from cloudscraper) (1.0.7)
Requirement already satisfied: pyopenssl>=17.0 in /usr/local/lib/python2.7/dist-packages (from cloudscraper) (19.0.0)
Requirement already satisfied: requests-toolbelt>=0.9.1 in /usr/local/lib/python2.7/dist-packages (from cloudscraper) (0.9.1)
Requirement already satisfied: js2py>=0.60 in /usr/local/lib/python2.7/dist-packages (from cloudscraper) (0.66)
Requirement already satisfied: idna<2.9,>=2.5 in /usr/local/lib/python2.7/dist-packages (from requests>=2.9.2->cloudscraper) (2.8)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /usr/local/lib/python2.7/dist-packages (from requests>=2.9.2->cloudscraper) (3.0.4)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python2.7/dist-packages (from requests>=2.9.2->cloudscraper) (2019.6.16)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /usr/local/lib/python2.7/dist-packages (from requests>=2.9.2->cloudscraper) (1.25.3)
Requirement already satisfied: six>=1.5.2 in /usr/lib/python2.7/dist-packages (from pyopenssl>=17.0->cloudscraper) (1.12.0)
Requirement already satisfied: cryptography>=2.3 in /usr/local/lib/python2.7/dist-packages (from pyopenssl>=17.0->cloudscraper) (2.7)
Requirement already satisfied: tzlocal>=1.2 in /usr/local/lib/python2.7/dist-packages (from js2py>=0.60->cloudscraper) (2.0.0)
Requirement already satisfied: pyjsparser>=2.5.1 in /usr/local/lib/python2.7/dist-packages (from js2py>=0.60->cloudscraper) (2.7.1)
Requirement already satisfied: cffi!=1.11.3,>=1.8 in /usr/local/lib/python2.7/dist-packages (from cryptography>=2.3->pyopenssl>=17.0->cloudscraper) (1.12.3)
Requirement already satisfied: ipaddress; python_version < "3" in /usr/lib/python2.7/dist-packages (from cryptography>=2.3->pyopenssl>=17.0->cloudscraper) (1.0.17)
Requirement already satisfied: enum34; python_version < "3" in /usr/lib/python2.7/dist-packages (from cryptography>=2.3->pyopenssl>=17.0->cloudscraper) (1.1.6)
Requirement already satisfied: asn1crypto>=0.21.0 in /usr/local/lib/python2.7/dist-packages (from cryptography>=2.3->pyopenssl>=17.0->cloudscraper) (0.24.0)
Requirement already satisfied: pytz in /usr/local/lib/python2.7/dist-packages (from tzlocal>=1.2->js2py>=0.60->cloudscraper) (2019.2)
Requirement already satisfied: pycparser in /usr/local/lib/python2.7/dist-packages (from cffi!=1.11.3,>=1.8->cryptography>=2.3->pyopenssl>=17.0->cloudscraper) (2.19)
--2019-09-10 18:25:23-- 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-10 18:25:23 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#
`
Salut
Déjà, il faut formater avant de relancer le script si ça plante, là ça ne peut pas gazer :
/bin/mkdir: cannot create directory ‘/usr/share/scripts-perso’: File exists
fatal: destination path '/var/www/rutorrent' already exists and is not an empty directory.
J'ai testé une install' debian 9 ce matin et pas de soucis avec geolite.maxmind.com de mon coté :
Résolution de geolite.maxmind.com (geolite.maxmind.com)… 104.17.201.89, 104.17.200.89, 2606:4700::6811:c959, ...
Connexion à geolite.maxmind.com (geolite.maxmind.com)|104.17.201.89|:443… connecté.
requête HTTP transmise, en attente de la réponse… 200 OK
Taille : 30044666 (29M) [application/gzip]
Sauvegarde en : « GeoLite2-City.tar.gz »
Retente le coup après avoir mis au propre, tu installes sur quoi / chez qui ?
Ex.
- Modifié
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.
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" ?
- Modifié
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.
- Modifié
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
- Modifié
Salut, c'est pas le bon topic.
Regarde ici, on a déjà vu passer ça, c'était un problème de cache chrome:
https://mondedie.fr/d/8717-discussion-ratxabox-rutorrent-avec-rtorrent-version-workflow/692
Ex.
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 ?
- Modifié
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
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
- Modifié
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