Page 1 of 1

Web interface not working

Posted: Thu Jun 18, 2009 11:38 am
by matt91
installed transmission-daemon with the web interface on Ubuntu and after altering the white list I can now login, however nothing on the interface works, uploading a torrent file does nothing and changing any of the settings doesn't alter settings.json and vice versa.

This is my settings.json

Code: Select all

{
    "alt-speed-down": 50, 
    "alt-speed-enabled": false, 
    "alt-speed-time-begin": 540, 
    "alt-speed-time-day": 127, 
    "alt-speed-time-enabled": false, 
    "alt-speed-time-end": 1020, 
    "alt-speed-up": 50, 
    "bind-address-ipv4": "0.0.0.0", 
    "bind-address-ipv6": "::", 
    "blocklist-enabled": false, 
    "download-dir": "\/data\/storage1\/transmission", 
    "download-limit": 100, 
    "download-limit-enabled": 0, 
    "encryption": 1, 
    "lazy-bitfield-enabled": true, 
    "max-peers-global": 200, 
    "message-level": 2, 
    "open-file-limit": 32, 
    "peer-limit-global": 240, 
    "peer-limit-per-torrent": 60, 
    "peer-port": 51413, 
    "peer-port-random-high": 65535, 
    "peer-port-random-low": 1024, 
    "peer-port-random-on-start": false, 
    "peer-socket-tos": 0, 
    "pex-enabled": true, 
    "port-forwarding-enabled": false, 
    "preallocation": 2, 
    "proxy": "", 
    "proxy-auth-enabled": false, 
    "proxy-auth-password": "", 
    "proxy-auth-username": "", 
    "proxy-enabled": false, 
    "proxy-port": 80, 
    "proxy-type": 0, 
    "ratio-limit": 2.000000, 
    "ratio-limit-enabled": false, 
    "rpc-authentication-required": false, 
    "rpc-bind-address": "0.0.0.0", 
    "rpc-enabled": true, 
    "rpc-password": "{8adb2a838d674585f8bcc93f4065b07b7734d58afOrIDIIQ", 
    "rpc-port": 9091, 
    "rpc-username": "transmission", 
    "rpc-whitelist": "127.0.0.1,192.168.*.*", 
    "rpc-whitelist-enabled": true, 
    "speed-limit-down": 100, 
    "speed-limit-down-enabled": false, 
    "speed-limit-up": 20, 
    "speed-limit-up-enabled": true, 
    "upload-limit": 100, 
    "upload-limit-enabled": 0, 
    "upload-slots-per-torrent": 14
}

Thanks, Matt.

Re: Web interface not working

Posted: Thu Jun 18, 2009 5:26 pm
by rb07
matt91 wrote:uploading a torrent file does nothing
You'll have to see the error message directly on the daemon (the Web interface doesn't show it). That's usually done by running 'transmission-daemon -f' and looking at the terminal output, but you could also redirect the output to a file.
and changing any of the settings doesn't alter settings.json and vice versa.
Changing any of the preferences on the Web client doesn't result in an immediate change on the file, the daemon stores the changes when it stops.

Changing the file when the daemon is running doesn't have any effect, the daemon will overwrite those changes when it stops. Any change to settings.jason has to be made with a stopped daemon.

Re: Web interface not working

Posted: Thu Jun 18, 2009 11:06 pm
by matt91
I ended the transmission-daemon from init.d and ran transmission-daemon -f, not sure if this looks like it is working, maybe the torrents were

Code: Select all

root@server:~# transmission-daemon -f
Transmission 1.21 (5898) started
Invalid metadata entry "announce-list"
Opened port 51413 to listen for incoming peer connections
Got 1 peers from tracker
Got 3 peers from tracker
Got 4 peers from tracker
Got 4 peers from tracker
Got 6 peers from tracker
Got 80 peers from tracker
Got 3 peers from tracker
Got 20 peers from tracker
Got 6 peers from tracker
Got 80 peers from tracker
Got 17 peers from tracker
Got 80 peers from tracker
Got 23 peers from tracker
Got 80 peers from tracker
Got 32 peers from tracker
Got 23 peers from tracker
Got 80 peers from tracker
Got 12 peers from tracker
Got 9 peers from tracker
Got 15 peers from tracker
Got 80 peers from tracker
Got 50 peers from tracker
Only other thing I can think of is something is messed up from an older installation of transmission where the web interface was started with the desktop GUI. Any recommendations on how to remove all traces of transmission on ubuntu so I can start from fresh, maybe that will be easier.

Re: Web interface not working

Posted: Thu Jun 18, 2009 11:48 pm
by rb07
Yes, it looks like its working... but version 1.21? Is that the one you installed?

If you installed a more recent version then my guess is the init.d script was not upgraded.

Anyway did you test the problem you reported: "uploading a torrent file does nothing"? The output doesn't show any problem.

Re: Web interface not working

Posted: Fri Jun 19, 2009 8:36 am
by matt91
Yes, 1.21 was still installed as it appeared at /usr/local/bin/transmission-daemon whereas the newer one was at /usr/bin/transmission-daemon. I purge-removed all the newer transmission packages and luckily i still had the make directory from the 1.21 version and i did a 'make remove' on that. Installed transmission-again and it's now working perfectly. :D

Thank you rb07