Page 1 of 2

deluge 1.1.9 webui script (ubuntu 9.10)

Posted: Sat Feb 20, 2010 5:28 am
by rflores2323
OK I have set up the webui and its working when I try it in my local network. I now want it to start up with the webui script so that I can always login.

I have seen this tutorial http://dev.deluge-torrent.org/wiki/UserGuide/InitScript I have logged in as nautilus to be able to add files and then made both files (deluge-daemon) and put then in their respective places below

/etc/default/deluge-daemon
/etc/init.d/deluge-daemon

I however get the below output

Code: Select all

xbmc@xbmc-desktop:~$ sudo chmod 755 /etc/init.d/deluge-daemon
xbmc@xbmc-desktop:~$ sudo update-rc.d deluge-daemon defaults
 System start/stop links for /etc/init.d/deluge-daemon already exist.
xbmc@xbmc-desktop:~$ sudo /etc/init.d/deluge-daemon start
sudo: unable to execute /etc/init.d/deluge-daemon: No such file or directory
xbmc@xbmc-desktop:~$ 
the last command to Start the daemon gives me a no suck file or directory.. why is that??

also just confirming that what Im doing here is putting this script so that I just start up the deluge gui and then the script runs automatically and I wont have to put any commands in to run the webui and leave it running.

Re: deluge 1.1.9 webui script (ubuntu 9.10)

Posted: Sat Feb 20, 2010 5:33 am
by rflores2323
if I run a command line on my ubuntu machine deluge -u web

I can then enter the webui by http://myip:8112

what did I do wrong on the script??

Re: deluge 1.1.9 webui script (ubuntu 9.10)

Posted: Sat Feb 20, 2010 11:12 pm
by rflores2323
any help?

Re: deluge 1.1.9 webui script (ubuntu 9.10)

Posted: Sat Feb 20, 2010 11:48 pm
by DuBistKomisch
Same thing happened to me. To fix it I had to remove the first line in /etc/init.d/deluge-daemon so that instead of the start reading:

Code: Select all

#!sh
#!/bin/sh
### BEGIN INIT INFO
It now reads:

Code: Select all

#!/bin/sh
### BEGIN INIT INFO
Seems it doesn't like that sort of interpreter reference for some reason. Anyway, hope that helps you get your daemon running.

Re: deluge 1.1.9 webui script (ubuntu 9.10)

Posted: Sat Feb 20, 2010 11:55 pm
by DuBistKomisch
Just to let you know, this script will make the daemon and web interface load when your computer starts up, so that you don't have to open Deluge manually at all. You can just go to localhost:8112 straight away and it will work.

Re: deluge 1.1.9 webui script (ubuntu 9.10)

Posted: Mon Feb 22, 2010 2:45 am
by rflores2323
looks like it is working. great.

I however tried to add a torrent and nothing happens? i tried to upload a file and when I click on browse the box closes. I also tried to add a url and it doesnt show anything and I click on ok and the torrent does not get added.

does this function work?

Re: deluge 1.1.9 webui script (ubuntu 9.10)

Posted: Mon Feb 22, 2010 6:59 am
by DuBistKomisch
Adding a torrent via the browse for file thing works fine for me.
You could try using a different browser; I'm using Opera.
Also check to see if the .torrent file you're trying to add is actually valid, maybe by adding it through the normal Deluge program first.

Re: deluge 1.1.9 webui script (ubuntu 9.10)

Posted: Mon Feb 22, 2010 4:32 pm
by rflores2323
I am using firefox 3.5.8

the box pops up to add it via a file however when I try to add it it just dissapears.

Tried it on explorer 8 and the page doesnt even load.

Re: deluge 1.1.9 webui script (ubuntu 9.10)

Posted: Thu Feb 25, 2010 11:01 am
by DuBistKomisch
Works for me in the same version of Firefox.
Like I said in my last post, try seeing if adding the torrent even works in Deluge, could just be a dodgy torrent.
You could try reinstalling the deluge-webui package.
Other than that, I don't know how else I can help you, sorry.

Re: deluge 1.1.9 webui script (ubuntu 9.10)

Posted: Fri Mar 05, 2010 6:58 am
by loki
webui is, at best, not supported in IE at this time.