Can't find gui files

Discussion of the Web Interface for Transmission, formerly known as Clutch. This applies to all version of Transmission
Post Reply
ssss25
Posts: 14
Joined: Wed Jan 18, 2012 12:06 am

Can't find gui files

Post by ssss25 »

Hi,
It looks like I have everything configured except the web gui. Everything is working ok, but when I go to web gui it fails saying It can't find index.html.

I looked at all other ports and here is what I Tried:

1- I removed transmission-daemon and installed again, still same.
2- I cannot find where index.html is for transmission. I did locate transmission/web, I looked for all index.html but nothing related to transmission.
3- I really believe I just don't have teh web directory anywhere.

How do I Get the web dir? Shoudln't it be with Transmission-daemon?

I am on ubuntu 10.04 (lucid).

I think, the source I am getting from is:

deb http://ppa.launchpad.net/andreas-noteng ... ion/ubuntu

as it gives me 2.42 for lucid, I couldn't a better source for lucid.

Any help?

Thanks,
gunzip
Posts: 272
Joined: Wed May 05, 2010 2:12 am

Re: Can't find gui files

Post by gunzip »

ssss25 wrote:How do I Get the web dir? Shoudln't it be with Transmission-daemon?
no, you also need transmission-cli

$ apt-get install transmission-cli transmission-common

that will give you transmission-remote, tools, and the common files (transmission-common) for the web interface
ssss25
Posts: 14
Joined: Wed Jan 18, 2012 12:06 am

Re: Can't find gui files

Post by ssss25 »

Hi,

Thanks for the reply. I do have it:

root@xxx:/home/xxxxx# dpkg -l | grep transmission
ii transmission-cli 2.42-0ubuntu0.10.04.2 lightweight BitTorrent client (command line programs)
ii transmission-common 2.42-0ubuntu0.10.04.2 lightweight BitTorrent client (common files)
ii transmission-daemon 2.42-0ubuntu0.10.04.2 lightweight BitTorrent client (daemon)
rc transmission-gtk 1.93-0ubuntu0.10.04.1 lightweight BitTorrent client (GTK interface)


Thanks,
gunzip
Posts: 272
Joined: Wed May 05, 2010 2:12 am

Re: Can't find gui files

Post by gunzip »

i took a look at the the contents of transmission-common_2.42-0ubuntu0.10.04.2_all.deb from your link

http://ppa.launchpad.net/andreas-noteng ... nsmission/

and you're right it's missing the web interface files

Code: Select all

$ dpkg --contents transmission-common_2.42-0ubuntu0.10.04.2_all.deb 
drwxr-xr-x root/root         0 2012-01-31 15:03 ./
drwxr-xr-x root/root         0 2012-01-31 15:03 ./usr/
drwxr-xr-x root/root         0 2012-01-31 15:03 ./usr/share/
drwxr-xr-x root/root         0 2012-01-31 15:03 ./usr/share/doc/
drwxr-xr-x root/root         0 2012-01-31 15:03 ./usr/share/doc/transmission-common/
-rw-r--r-- root/root      2244 2011-10-19 21:57 ./usr/share/doc/transmission-common/AUTHORS
-rw-r--r-- root/root      5158 2012-01-31 12:02 ./usr/share/doc/transmission-common/copyright
-rw-r--r-- root/root       236 2012-01-31 12:02 ./usr/share/doc/transmission-common/NEWS.Debian.gz
drwxr-xr-x root/root         0 2012-01-31 15:03 ./usr/share/doc/transmission-common/examples/
-rwxr-xr-x root/root      2362 2011-10-19 21:57 ./usr/share/doc/transmission-common/examples/send-email-when-torrent-done.sh
-rw-r--r-- root/root       431 2012-01-31 12:02 ./usr/share/doc/transmission-common/README.Debian
-rw-r--r-- root/root     18066 2011-10-19 21:57 ./usr/share/doc/transmission-common/changelog.gz
-rw-r--r-- root/root      1561 2011-10-19 21:57 ./usr/share/doc/transmission-common/README
-rw-r--r-- root/root     12920 2012-01-31 12:02 ./usr/share/doc/transmission-common/changelog.Debian.gz
drwxr-xr-x root/root         0 2012-01-31 15:03 ./usr/share/pixmaps/
-rw-r--r-- root/root      6288 2012-01-31 12:02 ./usr/share/pixmaps/transmission.xpm
this looks like a packaging error. there's nothing in there but a few READMEs and changelog, also the size is much smaller than the other transmission-common packages.

by comparison transmission-common_2.42-0ubuntu0.11.10.1_all.deb (at same link) has it all:

Code: Select all

$ dpkg --contents transmission-common_2.42-0ubuntu0.11.10.1_all.deb
drwxr-xr-x root/root         0 2011-10-23 20:55 ./
drwxr-xr-x root/root         0 2011-10-23 20:55 ./usr/
drwxr-xr-x root/root         0 2011-10-23 20:55 ./usr/share/
drwxr-xr-x root/root         0 2011-10-23 20:55 ./usr/share/doc/
drwxr-xr-x root/root         0 2011-10-23 20:55 ./usr/share/doc/transmission-common/
-rw-r--r-- root/root       431 2011-10-23 06:01 ./usr/share/doc/transmission-common/README.Debian
-rw-r--r-- root/root     18066 2011-10-19 21:57 ./usr/share/doc/transmission-common/changelog.gz
-rw-r--r-- root/root     12846 2011-10-23 06:01 ./usr/share/doc/transmission-common/changelog.Debian.gz
-rw-r--r-- root/root      1561 2011-10-19 21:57 ./usr/share/doc/transmission-common/README
drwxr-xr-x root/root         0 2011-10-23 20:55 ./usr/share/doc/transmission-common/examples/
-rwxr-xr-x root/root      2362 2011-10-19 21:57 ./usr/share/doc/transmission-common/examples/send-email-when-torrent-done.sh
-rw-r--r-- root/root      5158 2011-10-23 06:01 ./usr/share/doc/transmission-common/copyright
-rw-r--r-- root/root      2244 2011-10-19 21:57 ./usr/share/doc/transmission-common/AUTHORS
-rw-r--r-- root/root       236 2011-10-23 06:01 ./usr/share/doc/transmission-common/NEWS.Debian.gz
drwxr-xr-x root/root         0 2011-10-23 20:55 ./usr/share/icons/
drwxr-xr-x root/root         0 2011-10-23 20:55 ./usr/share/icons/hicolor/
drwxr-xr-x root/root         0 2011-10-23 20:55 ./usr/share/icons/hicolor/48x48/
drwxr-xr-x root/root         0 2011-10-23 20:55 ./usr/share/icons/hicolor/48x48/apps/
-rw-r--r-- root/root      3479 2011-10-23 20:55 ./usr/share/icons/hicolor/48x48/apps/transmission.png
drwxr-xr-x root/root         0 2011-10-23 20:55 ./usr/share/icons/hicolor/256x256/
drwxr-xr-x root/root         0 2011-10-23 20:55 ./usr/share/icons/hicolor/256x256/apps/
-rw-r--r-- root/root     31595 2011-10-23 20:55 ./usr/share/icons/hicolor/256x256/apps/transmission.png
drwxr-xr-x root/root         0 2011-10-23 20:55 ./usr/share/icons/hicolor/22x22/
drwxr-xr-x root/root         0 2011-10-23 20:55 ./usr/share/icons/hicolor/22x22/apps/
-rw-r--r-- root/root      1436 2011-10-23 20:55 ./usr/share/icons/hicolor/22x22/apps/transmission.png
drwxr-xr-x root/root         0 2011-10-23 20:55 ./usr/share/icons/hicolor/24x24/
drwxr-xr-x root/root         0 2011-10-23 20:55 ./usr/share/icons/hicolor/24x24/apps/
-rw-r--r-- root/root      1468 2011-10-23 20:55 ./usr/share/icons/hicolor/24x24/apps/transmission.png
drwxr-xr-x root/root         0 2011-10-23 20:55 ./usr/share/icons/hicolor/scalable/
drwxr-xr-x root/root         0 2011-10-23 20:55 ./usr/share/icons/hicolor/scalable/apps/
-rw-r--r-- root/root     16896 2011-10-23 20:55 ./usr/share/icons/hicolor/scalable/apps/transmission.svg
drwxr-xr-x root/root         0 2011-10-23 20:55 ./usr/share/icons/hicolor/16x16/
drwxr-xr-x root/root         0 2011-10-23 20:55 ./usr/share/icons/hicolor/16x16/apps/
-rw-r--r-- root/root       934 2011-10-23 20:55 ./usr/share/icons/hicolor/16x16/apps/transmission.png
drwxr-xr-x root/root         0 2011-10-23 20:55 ./usr/share/icons/hicolor/32x32/
drwxr-xr-x root/root         0 2011-10-23 20:55 ./usr/share/icons/hicolor/32x32/apps/
-rw-r--r-- root/root      2204 2011-10-23 20:55 ./usr/share/icons/hicolor/32x32/apps/transmission.png
drwxr-xr-x root/root         0 2011-10-23 20:55 ./usr/share/pixmaps/
-rw-r--r-- root/root      2683 2011-10-23 20:55 ./usr/share/pixmaps/transmission.png
-rw-r--r-- root/root      6288 2011-10-23 06:01 ./usr/share/pixmaps/transmission.xpm
drwxr-xr-x root/root         0 2011-10-23 20:55 ./usr/share/transmission/
drwxr-xr-x root/root         0 2011-10-23 20:55 ./usr/share/transmission/web/
drwxr-xr-x root/root         0 2011-10-23 20:55 ./usr/share/transmission/web/javascript/
-rw-r--r-- root/root     44236 2011-10-23 20:55 ./usr/share/transmission/web/javascript/transmission.js
-rw-r--r-- root/root     13053 2011-10-23 20:55 ./usr/share/transmission/web/javascript/torrent.js
-rw-r--r-- root/root      2959 2011-10-23 20:55 ./usr/share/transmission/web/javascript/dialog.js
-rw-r--r-- root/root      6665 2011-10-23 20:55 ./usr/share/transmission/web/javascript/remote.js
-rw-r--r-- root/root      7524 2011-10-23 20:55 ./usr/share/transmission/web/javascript/formatter.js
drwxr-xr-x root/root         0 2011-10-23 20:55 ./usr/share/transmission/web/javascript/jquery/
-rw-r--r-- root/root      5010 2011-10-23 20:55 ./usr/share/transmission/web/javascript/jquery/jquery.transmenu.min.js
-rw-r--r-- root/root     26751 2011-10-23 20:55 ./usr/share/transmission/web/javascript/jquery/jquery.form.js
-rw-r--r-- root/root      2957 2011-10-23 20:55 ./usr/share/transmission/web/javascript/jquery/json2.min.js
-rw-r--r-- root/root     11843 2011-10-23 20:55 ./usr/share/transmission/web/javascript/jquery/jquery.form.min.js
-rw-r--r-- root/root      2251 2011-10-23 20:55 ./usr/share/transmission/web/javascript/jquery/jquery.contextmenu.min.js
-rw-r--r-- root/root      9891 2011-10-23 20:55 ./usr/share/transmission/web/javascript/torrent-row.js
-rw-r--r-- root/root      4311 2011-10-23 20:55 ./usr/share/transmission/web/javascript/file-row.js
-rw-r--r-- root/root     19950 2011-10-23 20:55 ./usr/share/transmission/web/javascript/inspector.js
-rw-r--r-- root/root      8558 2011-10-23 20:55 ./usr/share/transmission/web/javascript/prefs-dialog.js
-rw-r--r-- root/root      8131 2011-10-23 20:55 ./usr/share/transmission/web/javascript/common.js
drwxr-xr-x root/root         0 2011-10-23 20:55 ./usr/share/transmission/web/stylesheets/
-rw-r--r-- root/root     26208 2011-10-23 20:55 ./usr/share/transmission/web/stylesheets/common.css
-rw-r--r-- root/root      1274 2011-10-23 20:55 ./usr/share/transmission/web/stylesheets/ie7.css
-rw-r--r-- root/root     20119 2011-10-23 20:55 ./usr/share/transmission/web/stylesheets/mobile.css
-rw-r--r-- root/root       291 2011-10-23 20:55 ./usr/share/transmission/web/stylesheets/ieAll.css
-rw-r--r-- root/root     25387 2011-10-23 20:55 ./usr/share/transmission/web/index.html
drwxr-xr-x root/root         0 2011-10-23 20:55 ./usr/share/transmission/web/images/
-rw-r--r-- root/root     21100 2011-10-23 20:55 ./usr/share/transmission/web/images/webclip-icon.png
drwxr-xr-x root/root         0 2011-10-23 20:55 ./usr/share/transmission/web/images/graphics/
-rw-r--r-- root/root       446 2011-10-23 20:55 ./usr/share/transmission/web/images/graphics/filter_icon.png
-rw-r--r-- root/root      5875 2011-10-23 20:55 ./usr/share/transmission/web/images/graphics/logo.png
-rw-r--r-- root/root      3009 2011-10-23 20:55 ./usr/share/transmission/web/images/graphics/blue-turtle.png
-rw-r--r-- root/root       942 2011-10-23 20:55 ./usr/share/transmission/web/images/graphics/filter_bar.png
-rw-r--r-- root/root       362 2011-10-23 20:55 ./usr/share/transmission/web/images/graphics/iphone_chrome.png
-rw-r--r-- root/root      6624 2011-10-23 20:55 ./usr/share/transmission/web/images/graphics/chrome.png
-rw-r--r-- root/root       456 2011-10-23 20:55 ./usr/share/transmission/web/images/graphics/lock_icon.png
drwxr-xr-x root/root         0 2011-10-23 20:55 ./usr/share/transmission/web/images/buttons/
-rw-r--r-- root/root       369 2011-10-23 20:55 ./usr/share/transmission/web/images/buttons/tab_backgrounds.png
-rw-r--r-- root/root      3769 2011-10-23 20:55 ./usr/share/transmission/web/images/buttons/file_priority_buttons.png
-rw-r--r-- root/root       332 2011-10-23 20:55 ./usr/share/transmission/web/images/buttons/info_files.png
-rw-r--r-- root/root       425 2011-10-23 20:55 ./usr/share/transmission/web/images/buttons/info_peers.png
-rw-r--r-- root/root       553 2011-10-23 20:55 ./usr/share/transmission/web/images/buttons/tab_backgrounds_highlight.png
-rw-r--r-- root/root       516 2011-10-23 20:55 ./usr/share/transmission/web/images/buttons/info_trackers.png
-rw-r--r-- root/root      1074 2011-10-23 20:55 ./usr/share/transmission/web/images/buttons/info_activity.png
-rw-r--r-- root/root      1488 2011-10-23 20:55 ./usr/share/transmission/web/images/buttons/file_wanted_buttons.png
-rw-r--r-- root/root      1390 2011-10-23 20:55 ./usr/share/transmission/web/images/buttons/torrent_buttons.png
-rw-r--r-- root/root     18859 2011-10-23 20:55 ./usr/share/transmission/web/images/buttons/toolbar_buttons.png
-rw-r--r-- root/root       813 2011-10-23 20:55 ./usr/share/transmission/web/images/buttons/info_general.png
-rw-r--r-- root/root       426 2011-10-23 20:55 ./usr/share/transmission/web/images/buttons/cancel.png
-rw-r--r-- root/root       838 2011-10-23 20:55 ./usr/share/transmission/web/images/favicon.png
drwxr-xr-x root/root         0 2011-10-23 20:55 ./usr/share/transmission/web/images/progress/
-rw-r--r-- root/root       938 2011-10-23 20:55 ./usr/share/transmission/web/images/progress/progress.png
-rw-r--r-- root/root      1406 2011-10-23 20:55 ./usr/share/transmission/web/images/favicon.ico
i think you need to find a better source
ssss25
Posts: 14
Joined: Wed Jan 18, 2012 12:06 am

Re: Can't find gui files

Post by ssss25 »

Hmm. Thanks for the info gunzip. I had difficulty finding a source for ubuntu 10.04 which has a relatively recent release..

Any ideas for a different source? Or is there I can get a pkg to install manually that would work on Lucid? I just don't know how to compile myself.

Thanks,
gunzip
Posts: 272
Joined: Wed May 05, 2010 2:12 am

Re: Can't find gui files

Post by gunzip »

ssss25 wrote:I had difficulty finding a source for ubuntu 10.04 which has a relatively recent release.

i don't run Ubuntu but i see Lucid is a 2-year old release so it's not surprising getting a recent Transmission version would be a problem. As a workaround you could try getting the web files from the other .deb and manually copying the files over. Normally this is not good practice but since transmission-common has no binaries it might work:

Code: Select all

wget "http://ppa.launchpad.net/andreas-noteng/transmission/ubuntu/pool/main/t/transmission/transmission-common_2.42-0ubuntu0.11.10.1_all.deb"
dpkg --extract transmission-common_2.42-0ubuntu0.11.10.1_all.deb ./
sudo cp -r ./usr/share/transmission/web/ /usr/share/transmission/
the first line downloads the transmission-common package, the second line extracts all files to current directory, and third line manually copies the web files to desired location.
ssss25
Posts: 14
Joined: Wed Jan 18, 2012 12:06 am

Re: Can't find gui files

Post by ssss25 »

Thanks for the info.

I did what you suggested, I still get the error:

Code: Select all

404: Not Found

Couldn't find Transmission's web interface files!

Users: to tell Transmission where to look, set the TRANSMISSION_WEB_HOME environment variable to the folder where the web interface's index.html is located.

Package Builders: to set a custom default at compile time, #define PACKAGE_DATA_DIR in libtransmission/platform.c or tweak tr_getClutchDir() by hand.
I then did "set | grep TRANSMISSION_WEB_HOME"

I didn't see any TRANSMISSION_WEB_HOME

I tried:

Code: Select all

set TRANSMISSION_WEB_HOME /usr/share/transmission
but that didn't help.

How do I know where is transmission looking for the web files?

What permissions and owner? Is it the same userI have setup in the transmission-daemon script?

Thanks
Post Reply