我想从Webui连接到Deluge守护程序,但是它根本不起作用。
我的防洪安装脚本
#!/bin/bash
rpm --import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro
yum -y install epel-release && rpm -Uvh http://li.nux.ro/download/nux/dextop/el6/x86_64/nux-dextop-release-0-2.el6.nux.noarch.rpm
yum install deluge -y
/etc/init.d/deluge-daemon start
这是连接请求:
我得到的答复:
我检查了一切是否都在ps aux | grep deluge
上运行
我正在CentOS 6.10上运行它
core.conf
{
"file": 1,
"format": 1
}{
"info_sent": 0.0,
"lsd": true,
"max_download_speed": -1.0,
"send_info": false,
"natpmp": true,
"move_completed_path": "/home/mat5",
"peer_tos": "0x00",
"enc_in_policy": 1,
"queue_new_to_top": false,
"ignore_limits_on_local_network": true,
"rate_limit_ip_overhead": true,
"daemon_port": 8159,
"torrentfiles_location": "/home/mat5",
"max_active_limit": 8,
"geoip_db_location": "/usr/share/GeoIP/GeoIP.dat",
"upnp": true,
"utpex": true,
"max_active_downloading": 3,
"max_active_seeding": 5,
"allow_remote": true,
"outgoing_ports": [
0,
0
],
"enabled_plugins": [],
"max_half_open_connections": 50,
"download_location": "/home/mat5",
"compact_allocation": false,
"max_upload_speed": -1.0,
"plugins_location": "/home/mat5/.config/deluge/plugins",
"max_connections_global": 200,
"enc_prefer_rc4": true,
"cache_expiry": 60,
"dht": true,
"stop_seed_at_ratio": false,
"stop_seed_ratio": 2.0,
"max_download_speed_per_torrent": -1,
"prioritize_first_last_pieces": false,
"max_upload_speed_per_torrent": -1,
"auto_managed": true,
"enc_level": 2,
"copy_torrent_file": false,
"max_connections_per_second": 20,
"listen_ports": [
6881,
6891
],
"max_connections_per_torrent": -1,
"del_copy_torrent_file": false,
"move_completed": false,
"autoadd_enable": false,
"proxies": {
"peer": {
"username": "",
"password": "",
"hostname": "",
"type": 0,
"port": 8080
},
"web_seed": {
"username": "",
"password": "",
"hostname": "",
"type": 0,
"port": 8080
},
"tracker": {
"username": "",
"password": "",
"hostname": "",
"type": 0,
"port": 8080
},
"dht": {
"username": "",
"password": "",
"hostname": "",
"type": 0,
"port": 8080
}
},
"dont_count_slow_torrents": false,
"add_paused": false,
"random_outgoing_ports": true,
"max_upload_slots_per_torrent": -1,
"new_release_check": true,
"enc_out_policy": 1,
"seed_time_ratio_limit": 7.0,
"remove_seed_at_ratio": false,
"autoadd_location": "/home/mat5",
"max_upload_slots_global": 4,
"seed_time_limit": 180,
"cache_size": 512,
"share_ratio_limit": 2.0,
"random_port": true,
"listen_interface": ""
}
web.conf
{
"file": 1,
"format": 1
}{
"port": 8158,
"enabled_plugins": [],
"pwd_sha1": "d3cce2b30bb5d399ae9be6beddb77c0b1c4p9592",
"theme": "gray",
"show_sidebar": true,
"sidebar_show_zero": false,
"pkey": "ssl/daemon.pkey",
"https": false,
"sessions": {
"8e81ab960021n960f816ea338f437d61": {
"login": "admin",
"expires": 1545299166.0,
"level": 10
}
},
"base": "/",
"pwd_salt": "065e6352c19536326d24c361m1448535e7046a7d",
"show_session_speed": false,
"first_login": false,
"cert": "ssl/daemon.cert",
"session_timeout": 3600,
"default_daemon": 8159,
"sidebar_multiple_filters": true
}
我在CentOS 7上测试了相同的配置,并且运行良好。我还尝试通过deluge控制台连接到守护程序,但是没有在线守护程序。
我在官方论坛https://forum.deluge-torrent.org/viewtopic.php?t=49589上发现了类似的问题。我想知道是否是因为我正在使用2.6版的Python。
答案 0 :(得分:0)
解决方案是使用较旧版本的Deluge。 CentOS 6.10支持的最新版本是deluge-1.3.10-1
。
这是Deluge的更新的安装脚本:
#!/bin/bash
rpm --import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro
yum -y install epel-release && rpm -Uvh http://li.nux.ro/download/nux/dextop/el6/x86_64/nux-dextop-release-0-2.el6.nux.noarch.rpm
yum install deluge-1.3.10-1.el6.nux -y
yum install python-requests -y