Page 1 of 1

How to setup web interface for transmission-daemon?

Posted: Fri Jan 16, 2009 12:35 pm
by chorlya
I downloaded Transmission1.50 Beta 1 and compiled via Xcode project transmission-daemon. I can start the daemon just fine in the foreground and I can access it via transmission-remote that I also compiled form that Xcode project.
However, when I go to http://localhost:9091/ I get redirected to http://localhost:9091/transmission/web/ and get a 404 Not Found error there. I guess that means web interface files can't be found by transmission-daemon's web server?
Are the any extra steps that I need to do to make web interface work on transmission daemon? In sources I see there is a web folder that seems to have all the needed files, but I don't know where should I put it so transmission-daemon can find them?

Thanks

Re: How to setup web interface for transmission-daemon?

Posted: Fri Jan 16, 2009 6:44 pm
by Jordan
chorlya wrote:I downloaded Transmission1.50 Beta 1 and compiled via Xcode project transmission-daemon. I can start the daemon just fine in the foreground and I can access it via transmission-remote that I also compiled form that Xcode project.
However, when I go to http://localhost:9091/ I get redirected to http://localhost:9091/transmission/web/ and get a 404 Not Found error there. I guess that means web interface files can't be found by transmission-daemon's web server?
Are the any extra steps that I need to do to make web interface work on transmission daemon? In sources I see there is a web folder that seems to have all the needed files, but I don't know where should I put it so transmission-daemon can find them?

Thanks
The 404 error should give you instructions on how to solve the problem...?

Re: How to setup web interface for transmission-daemon?

Posted: Fri Jan 16, 2009 11:43 pm
by chorlya
Jordan wrote:The 404 error should give you instructions on how to solve the problem...?
Not the case here. The only thing on the screen was "404: Not found".
However, Waldorf on IRC solved my problem with this patch and added this page to the wiki. Though that wiki page will need some updating once his patch is applied, since I have Web UI files in ~/Appliaction Support/transmission-daemon/web and don't have TRANSMISSION_WEB_HOME environment variable set at all.

Thanks

Re: How to setup web interface for transmission-daemon?

Posted: Sun Apr 19, 2009 4:11 pm
by propeller4
very useful information, thank

Re: How to setup web interface for transmission-daemon?

Posted: Sun May 17, 2009 2:04 am
by Astro6312
Same problem here, but the wiki or search on the web does not help.

I think my problem is that I do not have a web folder for transmission, a locate does not find anything.

History: I am on ubuntu 8.4 LTS server. I am setup for headless server. Everything was working ok for months, but after a apt-get update,upgrade, transmission stopped working. So after 5 hours of debug, I managed to clean-up the mess, reinstall everything and get the web interface to respond only to get a page not found 404.

What I did is
apt-get install transmission-daemon transmission

Did my changes in /var/lib/transmission-daemon/info/settings.json

Here's a locate output of everything transmission:

Code: Select all

root@linux:/var/lib/transmission-daemon/info# locate transmission
/data/backup/transmission.tgz
/etc/transmission-daemon
/etc/default/transmission-daemon
/etc/init.d/transmission-daemon
/etc/rc0.d/K20transmission-daemon
/etc/rc1.d/K20transmission-daemon
/etc/rc2.d/S20transmission-daemon
/etc/rc3.d/S20transmission-daemon
/etc/rc4.d/S20transmission-daemon
/etc/rc5.d/S20transmission-daemon
/etc/rc6.d/K20transmission-daemon
/etc/transmission-daemon/settings.json
/usr/bin/transmission
/usr/bin/transmission-daemon
/usr/bin/transmission-remote
/usr/bin/transmissioncli
/usr/lib/mime/packages/transmission-gtk
/usr/share/applications/transmission.desktop
/usr/share/doc/transmission
/usr/share/doc/transmission-cli
/usr/share/doc/transmission-daemon
/usr/share/doc/transmission-gtk
/usr/share/icons/hicolor/16x16/apps/transmission.png
/usr/share/icons/hicolor/22x22/apps/transmission.png
/usr/share/icons/hicolor/24x24/apps/transmission.png
/usr/share/icons/hicolor/32x32/apps/transmission.png
/usr/share/icons/hicolor/48x48/apps/transmission.png
/usr/share/icons/hicolor/scalable/apps/transmission.svg
/usr/share/locale/ar/LC_MESSAGES/transmission.mo
/usr/share/locale/ast/LC_MESSAGES/transmission.mo
/usr/share/locale/be@latin/LC_MESSAGES/transmission.mo
/usr/share/locale/bg/LC_MESSAGES/transmission.mo
/usr/share/locale/br/LC_MESSAGES/transmission.mo
/usr/share/locale/bs/LC_MESSAGES/transmission.mo
/usr/share/locale/ca/LC_MESSAGES/transmission.mo
/usr/share/locale/ckb/LC_MESSAGES/transmission.mo
/usr/share/locale/cs/LC_MESSAGES/transmission.mo
/usr/share/locale/da/LC_MESSAGES/transmission.mo
/usr/share/locale/de/LC_MESSAGES/transmission.mo
/usr/share/locale/el/LC_MESSAGES/transmission.mo
/usr/share/locale/en_AU/LC_MESSAGES/transmission.mo
/usr/share/locale/en_CA/LC_MESSAGES/transmission.mo
/usr/share/locale/en_GB/LC_MESSAGES/transmission.mo
/usr/share/locale/eo/LC_MESSAGES/transmission.mo
/usr/share/locale/es/LC_MESSAGES/transmission.mo
/usr/share/locale/et/LC_MESSAGES/transmission.mo
/usr/share/locale/eu/LC_MESSAGES/transmission.mo
/usr/share/locale/fa/LC_MESSAGES/transmission.mo
/usr/share/locale/fi/LC_MESSAGES/transmission.mo
/usr/share/locale/fr/LC_MESSAGES/transmission.mo
/usr/share/locale/ga/LC_MESSAGES/transmission.mo
/usr/share/locale/gl/LC_MESSAGES/transmission.mo
/usr/share/locale/he/LC_MESSAGES/transmission.mo
/usr/share/locale/hu/LC_MESSAGES/transmission.mo
/usr/share/locale/id/LC_MESSAGES/transmission.mo
/usr/share/locale/is/LC_MESSAGES/transmission.mo
/usr/share/locale/it/LC_MESSAGES/transmission.mo
/usr/share/locale/ja/LC_MESSAGES/transmission.mo
/usr/share/locale/ka/LC_MESSAGES/transmission.mo
/usr/share/locale/kk/LC_MESSAGES/transmission.mo
/usr/share/locale/ko/LC_MESSAGES/transmission.mo
/usr/share/locale/ku/LC_MESSAGES/transmission.mo
/usr/share/locale/li/LC_MESSAGES/transmission.mo
/usr/share/locale/lt/LC_MESSAGES/transmission.mo
/usr/share/locale/lv/LC_MESSAGES/transmission.mo
/usr/share/locale/mk/LC_MESSAGES/transmission.mo
/usr/share/locale/ml/LC_MESSAGES/transmission.mo
/usr/share/locale/ms/LC_MESSAGES/transmission.mo
/usr/share/locale/mt/LC_MESSAGES/transmission.mo
/usr/share/locale/nb/LC_MESSAGES/transmission.mo
/usr/share/locale/nl/LC_MESSAGES/transmission.mo
/usr/share/locale/nn/LC_MESSAGES/transmission.mo
/usr/share/locale/pl/LC_MESSAGES/transmission.mo
/usr/share/locale/pt/LC_MESSAGES/transmission.mo
/usr/share/locale/pt_BR/LC_MESSAGES/transmission.mo
/usr/share/locale/ro/LC_MESSAGES/transmission.mo
/usr/share/locale/ru/LC_MESSAGES/transmission.mo
/usr/share/locale/sk/LC_MESSAGES/transmission.mo
/usr/share/locale/sl/LC_MESSAGES/transmission.mo
/usr/share/locale/sq/LC_MESSAGES/transmission.mo
/usr/share/locale/sr/LC_MESSAGES/transmission.mo
/usr/share/locale/sv/LC_MESSAGES/transmission.mo
/usr/share/locale/te/LC_MESSAGES/transmission.mo
/usr/share/locale/th/LC_MESSAGES/transmission.mo
/usr/share/locale/tr/LC_MESSAGES/transmission.mo
/usr/share/locale/uk/LC_MESSAGES/transmission.mo
/usr/share/locale/vi/LC_MESSAGES/transmission.mo
/usr/share/locale/zh_CN/LC_MESSAGES/transmission.mo
/usr/share/locale/zh_TW/LC_MESSAGES/transmission.mo
/usr/share/man/man1/transmission-daemon.1.gz
/usr/share/man/man1/transmission-remote.1.gz
/usr/share/man/man1/transmission.1.gz
/usr/share/man/man1/transmissioncli.1.gz
/usr/share/menu/transmission-gtk
/usr/share/pixmaps/transmission.png
/usr/share/pixmaps/transmission.xpm
/var/cache/apt/archives/transmission-cli_1.61-0ubuntu0~hardy0_i386.deb
/var/cache/apt/archives/transmission-daemon_1.61-0ubuntu0~hardy0_i386.deb
/var/cache/apt/archives/transmission-gtk_1.61-0ubuntu0~hardy0_i386.deb
/var/cache/apt/archives/transmission_1.61-0ubuntu0~hardy0_all.deb
/var/lib/transmission-daemon
/var/lib/dpkg/info/transmission-cli.list
/var/lib/dpkg/info/transmission-cli.md5sums
/var/lib/dpkg/info/transmission-daemon.conffiles
/var/lib/dpkg/info/transmission-daemon.list
/var/lib/dpkg/info/transmission-daemon.md5sums
/var/lib/dpkg/info/transmission-daemon.postinst
/var/lib/dpkg/info/transmission-daemon.postrm
/var/lib/dpkg/info/transmission-daemon.preinst
/var/lib/dpkg/info/transmission-daemon.prerm
/var/lib/dpkg/info/transmission-gtk.list
/var/lib/dpkg/info/transmission-gtk.md5sums
/var/lib/dpkg/info/transmission-gtk.postinst
/var/lib/dpkg/info/transmission-gtk.postrm
/var/lib/dpkg/info/transmission.list
/var/lib/transmission-daemon/downloads
/var/lib/transmission-daemon/info
/var/lib/transmission-daemon/info/blocklists
/var/lib/transmission-daemon/info/resume
/var/lib/transmission-daemon/info/settings.json
/var/lib/transmission-daemon/info/stats.json
/var/lib/transmission-daemon/info/torrents
Here's the ps output
/usr/bin/transmission-daemon --auth --config-dir /var/lib/transmission-daemon/info

Here's the settings.json file

Code: Select all

root@linux:/var/lib/transmission-daemon/info# more settings.json 
{
    "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": "\/var\/lib\/transmission-daemon\/downloads", 
    "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": "{b04c3cbb224333a487baacc33d36c027b81f3e58tWhYYb6m", 
    "rpc-port": 9091, 
    "rpc-username": "transmission", 
    "rpc-whitelist": "127.0.0.1,192.168.2.*", 
    "rpc-whitelist-enabled": true, 
    "speed-limit-down": 100, 
    "speed-limit-down-enabled": false, 
    "speed-limit-up": 100, 
    "speed-limit-up-enabled": false, 
    "upload-limit": 100, 
    "upload-limit-enabled": 0, 
    "upload-slots-per-torrent": 14
}
Any hints would help...

Thanks,

Re: How to setup web interface for transmission-daemon?

Posted: Sun May 17, 2009 2:21 am
by Astro6312
Ok I solved it...

I downloaded the source code, extracted the web folder and copied it to /usr/local/share under transmission. Played around with permissions and voila...

I don't understand why the apt-get install transmission-daemon would not do that in the first place or why the apt-get update,upgrade broke everything.

If this need to be entered as a bug, let me know.

Thanks for any comments.

Re: How to setup web interface for transmission-daemon?

Posted: Wed Sep 23, 2020 9:20 am
by bigdong
Can you please share the solution ?