I have a problem since I updated to jaunty yesterday, and was wondering if I was the only one, and if someone out there would have a clue about where this problem comes from.
Here are the details. I run Ubuntu and deluge for months, in a headless configuration.
So I have a daemon running all the time on my machine, and this daemon is accessed by clients (gtk or webui).
The daemon runs fine, The gtk client as well. My problem is the webui that is broken.
I have a script /etc/init.d/deluge that does (only kept the interesting part)
Code: Select all
#!/bin/bash
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
NAME="Deluge Daemon"
DAEMON="/usr/bin/deluged"
CLIENT="/usr/bin/deluge"
USER="deluge"
function do_start()
{
echo -n "Starting $NAME"
start-stop-daemon --start --exec $DAEMON --oknodo --chuid $USER --umask 0007 -- -l /var/lib/deluge/.config/deluge/deluged.log -L debug
start-stop-daemon --start --oknodo --chuid $USER --umask 0007 --background --exec "$CLIENT" -- -u web -l /var/lib/deluge/.config/deluge/deluge-webui.log -L debug
echo "."
}
....
Code: Select all
[INFO ] 19:29:15 main:117 Deluge ui 1.1.7
[DEBUG ] 19:29:15 main:118 options: {'loglevel': 'debug', 'default_ui': None, 'args': None, 'quiet': False, 'ui': 'web', 'logfile': '/var/lib/deluge/.config/deluge/deluge-webui.log', 'config': None}
[DEBUG ] 19:29:15 main:119 args: []
[DEBUG ] 19:29:15 main:120 ui_args: []
[INFO ] 19:29:15 main:123 Starting ui..
[DEBUG ] 19:29:15 ui:47 UI init..
[DEBUG ] 19:29:15 configmanager:91 Getting config 'ui.conf'
[DEBUG ] 19:29:15 config:253 Config /var/lib/deluge/.config/deluge/ui.conf loaded: {'default_ui': 'gtk'}
[INFO ] 19:29:15 ui:68 Starting WebUI..
Code: Select all
[INFO ] 18:49:07 main:117 Deluge ui 1.1.7
[DEBUG ] 18:49:07 main:118 options: {'loglevel': 'debug', 'default_ui': None, 'args': None, 'quiet': False, 'ui': 'web', 'logfile': '/var/lib/deluge/.config/deluge/deluge-webui.log', 'config': None}
[DEBUG ] 18:49:07 main:119 args: []
[DEBUG ] 18:49:07 main:120 ui_args: []
[INFO ] 18:49:07 main:123 Starting ui..
[DEBUG ] 18:49:07 ui:47 UI init..
[DEBUG ] 18:49:07 configmanager:91 Getting config 'ui.conf'
[DEBUG ] 18:49:07 config:253 Config /var/lib/deluge/.config/deluge/ui.conf loaded: {'default_ui': 'gtk'}
[INFO ] 18:49:07 ui:68 Starting WebUI..
[DEBUG ] 18:49:07 client:113 CoreProxy init..
[DEBUG ] 18:49:07 configmanager:91 Getting config 'webui06.conf'
[DEBUG ] 18:49:07 config:253 Config /var/lib/deluge/.config/deluge/webui06.conf loaded: {'show_keyword_search': False, 'port': 8112, 'refresh_secs': 10, 'template': u'classic', 'enabled_plugins': [], 'button_style': 0, 'cache_templates': True, 'https': False, 'sidebar_show_zero': False, 'show_sidebar': True, 'sessions': ['0.4134377713', '0.912015006305', '0.476752593378', '0.267630073864', '0.0986467538895', '0.557289081494', '0.147215681874', '0.304045939177', '0.64466293335'], 'auto_refresh': False, 'disallow': {}, 'base': '', 'auto_refresh_secs': 10, 'pwd_salt': '2\xe8\xc7\xa6(n\x81_\x8f\xfc\xdf\x8b\xd1\x1e\xd5\x90', 'daemon': 'http://localhost:58846', 'sidebar_show_trackers': False, 'pwd_md5': '.\xe8w\\+\xec\xdb\xf2id4F\xdb\rUc'}
[DEBUG ] 18:49:07 component:106 Registered PageManager with ComponentRegistry..
[DEBUG ] 18:49:07 component:106 Registered WebPluginManager with ComponentRegistry..
[DEBUG ] 18:49:07 configmanager:91 Getting config 'webui06.conf'
[DEBUG ] 18:49:07 pluginmanagerbase:64 Plugin manager init..
[DEBUG ] 18:49:07 configmanager:91 Getting config 'webui06.conf'
[DEBUG ] 18:49:07 pluginmanagerbase:115 Found plugin: Blocklist 1.0
[DEBUG ] 18:49:07 pluginmanagerbase:115 Found plugin: Label 0.1
[DEBUG ] 18:49:07 component:106 Registered MenuManager with ComponentRegistry..
[DEBUG ] 18:49:07 configmanager:91 Getting config 'webui06.conf'
[DEBUG ] 18:49:07 configmanager:91 Getting config 'webui06.conf'
[DEBUG ] 18:49:07 component:106 Registered ConfigPageManager with ComponentRegistry..
[DEBUG ] 18:49:07 component:106 Registered WebPluginApi with ComponentRegistry..
[DEBUG ] 18:49:08 configmanager:91 Getting config 'webui06.conf'
[DEBUG ] 18:49:08 configmanager:91 Getting config 'webui06.conf'
[INFO ] 18:49:08 client:172 Setting core uri as http://localclient:d4d46143f8bded3af7e9a3f8b0ec090d197a7897@127.0.0.1:58846
[DEBUG ] 18:49:08 client:204 Creating ServerProxy..
[DEBUG ] 18:49:08 components:150 start webui plugin manager
[DEBUG ] 18:49:08 components:160 ..Webui has these plugins enabled: []
[DEBUG ] 18:49:08 components:162 abababab
[DEBUG ] 18:49:08 components:163 <deluge.config.Config object at 0x9f7ba2c>
[DEBUG ] 18:49:08 components:168 <bound method PluginManager.enable_plugins of <deluge.ui.webui.components.PluginManager instance at 0xa00b86c>>
[INFO ] 18:49:08 deluge_webserver:139 http://0.0.0.0:8112/
One thing: I remarked that if I allow the deluge user to login (/bin/bash in passwd) and then do
Code: Select all
su deluge
deluge -u web
Someone would know in which direction I should look at to solve this annoying thing ??
Thanks for your help.
Guillaume.