Page 4 of 5
Re: 1.0 WebUi
Posted: Sat Nov 01, 2008 1:40 pm
by mvoncken
The install script is broken.
Open delugew2.cmd
Find:
"%CD%\deluge.exe -u web"
And replace with:
"%CD%\deluge.exe" -u web
Re: 1.0 WebUi
Posted: Sat Nov 01, 2008 7:50 pm
by hordak
mvoncken,
The edit worked like a charm.
Thank you.
Re: 1.0 WebUi
Posted: Mon Jan 19, 2009 10:42 pm
by De-Munt
Dear Mvoncken,
I am trying to run Deluge 1.0.5 behind Apache 2.2 with your deluge_apache_config.py approach on a Fedora Core 9.
Would this actually work with version 1.0.5? Where should deluge_apache_config.py be put? And regarding the line WSGIScriptAliasMatch ^/deluge/(.*) /home/martijn/prj/WebUi/scripts/deluge_apache_config.py/$1 , where should this point at, as I have no home/username/prj/WebUi/scripts/directory.
Thanks and kind regards,
Paul
Re: 1.0 WebUi
Posted: Fri Jan 30, 2009 11:19 am
by noahhomsky
How to change columns width in WebUI?
Re: 1.0 WebUi
Posted: Tue Feb 10, 2009 4:04 pm
by lenwar
Trying to start the client in the current svn (revision 4643):
Code: Select all
[INFO ] 17:01:45 main:113 Deluge ui 1.2.0-dev
[DEBUG ] 17:01:45 main:114 options: {'loglevel': 'debug', 'default_ui': None, 'args': None, 'quiet': False, 'ui': 'web', 'logfile': '/var/log/deluge/deluge', 'config': None}
[DEBUG ] 17:01:45 main:115 args: []
[DEBUG ] 17:01:45 main:116 ui_args: []
[INFO ] 17:01:45 main:119 Starting ui..
[DEBUG ] 17:01:45 ui:36 UI init..
[DEBUG ] 17:01:45 configmanager:79 Getting config 'ui.conf'
[DEBUG ] 17:01:45 config:245 Config /home/samba/normaal/torrent/.config/deluge/ui.conf loaded: {'default_ui': 'web', 'selected_ui': 'web'}
[INFO ] 17:01:45 ui:57 Starting WebUI..
[ERROR ] 17:01:45 ui:65 cannot import name sclient
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/deluge-1.2.0_dev-py2.5-linux-x86_64.egg/deluge/ui/ui.py", line 59, in __init__
ui = WebUI(args)
File "/usr/lib/python2.5/site-packages/deluge-1.2.0_dev-py2.5-linux-x86_64.egg/deluge/ui/webui/webui.py", line 28, in __init__
import deluge_webserver
File "/usr/lib/python2.5/site-packages/deluge-1.2.0_dev-py2.5-linux-x86_64.egg/deluge/ui/webui/deluge_webserver.py", line 29, in <module>
from deluge.ui.client import sclient
ImportError: cannot import name sclient
[ERROR ] 17:01:45 ui:66 Unable to find the requested UI: web. Please select a different UI with the '-u' option or alternatively use the '-s' option to select a different default UI.
Re: 1.0 WebUi
Posted: Tue Feb 10, 2009 11:11 pm
by johnnyg
lenwar wrote:Trying to start the client in the current svn (revision 4643):
Code: Select all
[INFO ] 17:01:45 main:113 Deluge ui 1.2.0-dev
[DEBUG ] 17:01:45 main:114 options: {'loglevel': 'debug', 'default_ui': None, 'args': None, 'quiet': False, 'ui': 'web', 'logfile': '/var/log/deluge/deluge', 'config': None}
[DEBUG ] 17:01:45 main:115 args: []
[DEBUG ] 17:01:45 main:116 ui_args: []
[INFO ] 17:01:45 main:119 Starting ui..
[DEBUG ] 17:01:45 ui:36 UI init..
[DEBUG ] 17:01:45 configmanager:79 Getting config 'ui.conf'
[DEBUG ] 17:01:45 config:245 Config /home/samba/normaal/torrent/.config/deluge/ui.conf loaded: {'default_ui': 'web', 'selected_ui': 'web'}
[INFO ] 17:01:45 ui:57 Starting WebUI..
[ERROR ] 17:01:45 ui:65 cannot import name sclient
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/deluge-1.2.0_dev-py2.5-linux-x86_64.egg/deluge/ui/ui.py", line 59, in __init__
ui = WebUI(args)
File "/usr/lib/python2.5/site-packages/deluge-1.2.0_dev-py2.5-linux-x86_64.egg/deluge/ui/webui/webui.py", line 28, in __init__
import deluge_webserver
File "/usr/lib/python2.5/site-packages/deluge-1.2.0_dev-py2.5-linux-x86_64.egg/deluge/ui/webui/deluge_webserver.py", line 29, in <module>
from deluge.ui.client import sclient
ImportError: cannot import name sclient
[ERROR ] 17:01:45 ui:66 Unable to find the requested UI: web. Please select a different UI with the '-u' option or alternatively use the '-s' option to select a different default UI.
trunk is using twisted now, I wouldn't recommend using it unless you are developing for it.
Re: 1.0 WebUi
Posted: Fri Mar 20, 2009 9:05 pm
by porszem
Re: 0.6 WebUi
Posted: Fri Mar 20, 2009 10:01 pm
by porszem
mvoncken wrote:Webserver integration.
By default deluge uses it's builtin webserver, but it's possible to use another webserver.
This setup depends on apache2 and mod_wsgi.
It serves the webui on the /deluge directory on your webserver.
Other wsgi-capable webservers should be able to run deluge too.
deluge_apache_config.py
Code: Select all
#!/usr/bin/env python
#config ; EDIT THIS
CONFIG_DIR = '/home/martijn/.config/deluge' #No trailing slashes.
BASE_URL = '/deluge' #the apache url /No trailing slashes.
#/config
#Do not edit this:
from deluge.ui.webui import apache
application = apache.get_wsgi_application(BASE_URL, CONFIG_DIR)
/etc/apache2/apache2.conf
Code: Select all
### deluge
# WSGIRestrictStdout must be Off , this will be fixed, eventually...
# deluge only supports 1 process, but you are free to configure the number of threads.
# more info:
# http://code.google.com/p/modwsgi/wiki/ConfigurationDirectives
WSGIRestrictStdout Off
WSGIProcessGroup deluge
WSGIDaemonProcess deluge processes=1 threads=25
Alias /deluge/static/ /usr/lib/python2.5/site-packages/deluge-0.6.0.0-py2.5-linux-i686.egg/deluge/ui/webui/static/
WSGIScriptAliasMatch ^/deluge/(.*) /home/martijn/prj/WebUi/scripts/deluge_apache_config.py/$1
Note: make sure that the config-dir is writable by the webserver-process (configuring the wsgi daemon user is left as an exersize to the reader)
tail /var/log/apache2/error.log when you're encountering problems.
Please try to put somewhere else other then "/deluge" it is very confusing.
Re: 1.0 WebUi
Posted: Tue Sep 22, 2009 12:16 pm
by Golork
Hi, I have a question :
When I was with µTorrent I can connect to the WebUI (from µTorrent) at any computer which be connected to internet.
With Deluge I can only connect with a computer on my local area network.
Is there a way to connect to Deluge WebUI by using my Public IP ?
Re: 1.0 WebUi
Posted: Tue Sep 22, 2009 1:40 pm
by damoxc
You can if you forward the port (8112 is the default) on your router to your pc.