Client/Server setup issues

General support for problems installing or using Deluge
Post Reply
DemonSpawn
New User
New User
Posts: 2
Joined: Thu Mar 28, 2013 11:54 pm

Client/Server setup issues

Post by DemonSpawn »

Hi

I resently created a server/client setup (on 2 virtual servers) but Im encountered a few problems which I didnt have when both client and server were on the same server

1) when restarting the client all torrents seems to seen as new torrents and its begins downloading them from the beginning even tho data already exists. Manually doing a forced recheck fixes this but should it not do that automatically (or remember status)

2) Autoadd plugin is not enabled after reboot on client and dont work until enabled in settings (is enabled on server) (likely related to section 3)

3) Client web.conf is overwritten on restart so any changes like default_deamon are lost on restart

Im only using the backend and webui

core.conf (server)

Code: Select all

{
  "file": 1,
  "format": 1
}{
  "info_sent": 0.0,
  "lsd": true,
  "send_info": false,
  "move_completed_path": "/var/lib/deluge/torrent/complete",
  "enc_in_policy": 1,
  "queue_new_to_top": true,
  "ignore_limits_on_local_network": true,
  "rate_limit_ip_overhead": true,
  "daemon_port": 58846,
  "natpmp": true,
  "max_active_limit": 20,
  "utpex": true,
  "max_active_downloading": 20,
  "max_active_seeding": 10,
  "allow_remote": true,
  "max_half_open_connections": 100,
  "download_location": "/var/lib/deluge/torrent/incomming",
  "compact_allocation": false,
  "max_upload_speed": 400.0,
  "cache_expiry": 60,
  "prioritize_first_last_pieces": false,
  "auto_managed": true,
  "enc_level": 2,
  "max_connections_per_second": 50,
  "dont_count_slow_torrents": true,
  "random_outgoing_ports": true,
  "max_upload_slots_per_torrent": -1,
  "new_release_check": false,
  "enc_out_policy": 1,
  "outgoing_ports": [
    0,
    0
  ],
  "seed_time_limit": 180,
  "cache_size": 512,
  "share_ratio_limit": 5.0,
  "max_download_speed": -1.0,
  "geoip_db_location": "/usr/share/GeoIP/GeoIP.dat",
  "torrentfiles_location": "/var/lib/deluge",
  "stop_seed_at_ratio": true,
  "peer_tos": "0x00",
  "listen_interface": "",
  "upnp": true,
  "max_download_speed_per_torrent": -1,
  "max_upload_slots_global": 50,
  "enabled_plugins": [
    "Scheduler",
    "Execute",
    "Blocklist",
    "AutoAdd"
  ],
  "random_port": false,
  "autoadd_enable": false,
  "max_connections_global": 100,
  "enc_prefer_rc4": true,
  "listen_ports": [
    49500,
    49525
  ],
  "dht": true,
  "stop_seed_ratio": 5.0,
  "seed_time_ratio_limit": 7.0,
  "max_upload_speed_per_torrent": -1,
  "copy_torrent_file": false,
  "del_copy_torrent_file": false,
  "move_completed": true,
  "proxies": {
    "peer": {
      "username": "",
      "password": "",
      "type": 0,
      "hostname": "",
      "port": 8080
    },
    "web_seed": {
      "username": "",
      "password": "",
      "type": 0,
      "hostname": "",
      "port": 8080
    },
    "tracker": {
      "username": "",
      "password": "",
      "type": 0,
      "hostname": "",
      "port": 8080
    },
    "dht": {
      "username": "",
      "password": "",
      "type": 0,
      "hostname": "",
      "port": 8080
    }
  },
  "add_paused": false,
  "max_connections_per_torrent": -1,
  "remove_seed_at_ratio": true,
  "autoadd_location": "/var/lib/deluge/torrent/incomming",
  "plugins_location": "/var/lib/deluge/.config/deluge/plugins"

web.conf (client)

Code: Select all

{
  "file": 1,
  "format": 1
}{
  "port": 8112,
  "enabled_plugins": [],
  "pwd_sha1": "b5713ef127cb7cc5a599d800aed53a6aa7e23e15",
  "theme": "gray",
  "show_sidebar": true,
  "sidebar_show_zero": false,
  "pkey": "ssl/daemon.pkey",
  "https": false,
  "sessions": {
    "60b11ea63b35317fc533ff12e236f15e": {
      "login": "admin",
      "expires": 1364515022.0,
      "level": 10
    },
    "0aa40417a1abdc06fc626d979cb6e257": {
      "login": "admin",
      "expires": 1364515497.0,
      "level": 10
    }
  },
  "base": "/",
  "pwd_salt": "0b6b37411ee14399c069f682220964aa1f3b3cd9",
  "show_session_speed": false,
  "first_login": false,
  "cert": "ssl/daemon.cert",
  "session_timeout": 3600,
  "default_daemon": "",
  "sidebar_multiple_filters": true
Ive searched the forum but havent found an answer to this
Cas
Top Bloke
Top Bloke
Posts: 3681
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Client/Server setup issues

Post by Cas »

Restarting what clients? Restarting any client would have no effect on the daemon and the files it was downloading, there is some other issue at play.

There is no autoadd webui page for the plugin. Are you using Deluge 1.3.6?

You can only edit conf files when deluge is shutdown.
DemonSpawn
New User
New User
Posts: 2
Joined: Thu Mar 28, 2013 11:54 pm

Re: Client/Server setup issues

Post by DemonSpawn »

sorry missed some information in part 1 shoutl have been

when restarting client and server VM's ..... (restarting deamon and/or webui dont reproduce the problem it only happens when the servers are rebooted)

yes Im using 1.3.6 (fedora 17 repo) and AudoAdd is included in the default installation of the server deamon so not sure why there aint a page for it ?
This seems to be a "server" issue tho as restaring the deluged deamon will reset AutoAdd plugin
just to clarify the problem lies in the check of "Autoadd .torrent files from:" in Perferences->Download it is enabled in the plugin list but not in the download section (path is there)

editing web.conf after shutdown of deluge client helped remember config but it still dont connect to deamon could it be a password issue ? manually connecting web UI dont require password and work everytime

web.conf entry
"default_daemon": "10.0.0.40:58846",

autoadd.conf (server side)

Code: Select all

{
  "file": 1,
  "format": 1
}{
  "watchdirs": {
    "1": {
      "path": "/var/lib/deluge/torrent/incomming",
      "abspath": "/var/lib/deluge/torrent/incomming",
      "enabled": true
    }
  },
  "next_id": 2
Cas
Top Bloke
Top Bloke
Posts: 3681
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Client/Server setup issues

Post by Cas »

DemonSpawn wrote:when restarting client and server VM's ..... (restarting deamon and/or webui dont reproduce the problem it only happens when the servers are rebooted)
It sounds like the daemon is not shutting down properly, check your logs to verify.
DemonSpawn wrote:yes Im using 1.3.6 (fedora 17 repo) and AudoAdd is included in the default installation of the server deamon so not sure why there aint a page for it ?
Some plugins do not have webui pages because it's not python code. You could setup a gtk thinclient to change the plugin prefs.
DemonSpawn wrote:just to clarify the problem lies in the check of "Autoadd .torrent files from:" in Perferences->Download it is enabled in the plugin list but not in the download section (path is there)
"Autoadd .torrent files from:" is not the same as the AutoAdd plugin.
DemonSpawn wrote:editing web.conf after shutdown of deluge client helped remember config but it still dont connect to deamon could it be a password issue ? manually connecting web UI dont require password and work everytime
It will look for the daemon specified in the connection manager list.
Post Reply