New installation, WebUI only shows a blank page

General support for problems installing or using Deluge
Post Reply
Se7en
Member
Member
Posts: 16
Joined: Thu Apr 21, 2011 9:30 am

New installation, WebUI only shows a blank page

Post by Se7en »

Hi all.

I recently installed Deluge daemon (deluged 1.3.1) and Deluge WebUI (deluge ui 1.3.1) on my Ubuntu Server (10.10 Maverick).

I'm using the initscript from the wiki http://dev.deluge-torrent.org/wiki/User ... ipt/Ubuntu , the daemon (deluged) starts automatically but the WebUI doesn't.

So I've tried to manually start the WebUI but when I'm trying to access the web page all I get is a blank page with the correct title bar, "Deluge: Web UI 1.3.1".

This is what I get from my WebUI-log:

Code: Select all

[INFO    ] 13:10:07 ui:101 Deluge ui 1.3.1
[DEBUG   ] 13:10:07 ui:102 options: {'fork': False, 'profile': False, 'loglevel': 'debug', 'quiet': False, 'ssl': False, 'base': None, 'logfile': '/var/log/deluge-web.log', 'config': None, 'port': None}
[DEBUG   ] 13:10:07 ui:103 args: []
[INFO    ] 13:10:07 ui:104 Starting ui..
[DEBUG   ] 13:10:07 configmanager:111 Getting config 'web.conf'
[DEBUG   ] 13:10:07 config:197 Setting 'sidebar_show_zero' to False of <type 'bool'>
[DEBUG   ] 13:10:07 config:197 Setting 'show_session_speed' to False of <type 'bool'>
[DEBUG   ] 13:10:07 config:197 Setting 'first_login' to True of <type 'bool'>
[DEBUG   ] 13:10:07 config:197 Setting 'https' to False of <type 'bool'>
[DEBUG   ] 13:10:07 config:197 Setting 'sessions' to {} of <type 'dict'>
[DEBUG   ] 13:10:07 config:197 Setting 'enabled_plugins' to [] of <type 'list'>
[DEBUG   ] 13:10:07 config:197 Setting 'pwd_sha1' to 2ce1a410bcdcc53064129b6d950f2e9fee4edc1e of <type 'str'>
[DEBUG   ] 13:10:07 config:197 Setting 'cert' to ssl/daemon.cert of <type 'str'>
[DEBUG   ] 13:10:07 config:197 Setting 'pkey' to ssl/daemon.pkey of <type 'str'>
[DEBUG   ] 13:10:07 config:197 Setting 'port' to 8112 of <type 'int'>
[DEBUG   ] 13:10:07 config:197 Setting 'theme' to gray of <type 'str'>
[DEBUG   ] 13:10:07 config:197 Setting 'session_timeout' to 3600 of <type 'int'>
[DEBUG   ] 13:10:07 config:197 Setting 'show_sidebar' to True of <type 'bool'>
[DEBUG   ] 13:10:07 config:197 Setting 'default_daemon' to  of <type 'str'>
[DEBUG   ] 13:10:07 config:197 Setting 'sidebar_multiple_filters' to True of <type 'bool'>
[DEBUG   ] 13:10:07 config:197 Setting 'pwd_salt' to c26ab3bbd8b137f99cd83c2c1c0963bcc1a35cad of <type 'str'>
[DEBUG   ] 13:10:07 config:197 Setting 'base' to / of <type 'str'>
[DEBUG   ] 13:10:07 config:388 Config /home/smbuser/.config/deluge/web.conf version: 1.1 loaded: {'port': 8112, 'enabled_plugins': [], 'pwd_sha1': u'2ce1a410bcdcc53064129b6d950f2e9fee4edc1e', 'theme': u'gray', 'show_sidebar': True, 'sidebar_show_zero': False, 'pkey': u'ssl/daemon.pkey', 'https': False, 'sessions': {}, 'base': u'/', 'pwd_salt': u'c26ab3bbd8b137f99cd83c2c1c0963bcc1a35cad', 'show_session_speed': False, 'first_login': True, 'cert': u'ssl/daemon.cert', 'session_timeout': 3600, 'default_daemon': u'', 'sidebar_multiple_filters': True}
[DEBUG   ] 13:10:07 server:253 Adding directory `/usr/lib/pymodules/python2.6/deluge/ui/web/css` with path ``
[DEBUG   ] 13:10:07 server:253 Adding directory `/usr/lib/pymodules/python2.6/deluge/ui/web/icons` with path ``
[DEBUG   ] 13:10:07 server:253 Adding directory `/usr/lib/pymodules/python2.6/deluge/ui/web/images` with path ``
[DEBUG   ] 13:10:07 json_api:310 Registering method: web.add_host
[DEBUG   ] 13:10:07 json_api:310 Registering method: web.add_torrents
[DEBUG   ] 13:10:07 json_api:310 Registering method: web.connect
[DEBUG   ] 13:10:07 json_api:310 Registering method: web.connected
[DEBUG   ] 13:10:07 json_api:310 Registering method: web.deregister_event_listener
[DEBUG   ] 13:10:07 json_api:310 Registering method: web.disconnect
[DEBUG   ] 13:10:07 json_api:310 Registering method: web.download_torrent_from_url
[DEBUG   ] 13:10:07 json_api:310 Registering method: web.get_config
[DEBUG   ] 13:10:07 json_api:310 Registering method: web.get_events
[DEBUG   ] 13:10:07 json_api:310 Registering method: web.get_host_status
[DEBUG   ] 13:10:07 json_api:310 Registering method: web.get_hosts
[DEBUG   ] 13:10:07 json_api:310 Registering method: web.get_plugin_info
[DEBUG   ] 13:10:07 json_api:310 Registering method: web.get_plugin_resources
[DEBUG   ] 13:10:07 json_api:310 Registering method: web.get_plugins
[DEBUG   ] 13:10:07 json_api:310 Registering method: web.get_torrent_files
[DEBUG   ] 13:10:07 json_api:310 Registering method: web.get_torrent_info
[DEBUG   ] 13:10:07 json_api:310 Registering method: web.get_torrent_status
[DEBUG   ] 13:10:07 json_api:310 Registering method: web.register_event_listener
[DEBUG   ] 13:10:07 json_api:310 Registering method: web.remove_host
[DEBUG   ] 13:10:07 json_api:310 Registering method: web.set_config
[DEBUG   ] 13:10:07 json_api:310 Registering method: web.start_daemon
[DEBUG   ] 13:10:07 json_api:310 Registering method: web.stop_daemon
[DEBUG   ] 13:10:07 json_api:310 Registering method: web.update_ui
[DEBUG   ] 13:10:07 json_api:310 Registering method: web.upload_plugin
[DEBUG   ] 13:10:07 configmanager:111 Getting config 'hostlist.conf.1.2'
[DEBUG   ] 13:10:07 config:197 Setting 'hosts' to [('bf2964a1f142e0a2e307b1576f617b3327d5c97b', '127.0.0.1', 58846, '', '')] of <type 'list'>
[WARNING ] 13:10:07 config:358 Unable to open config file /home/smbuser/.config/deluge/hostlist.conf.1.2: [Errno 2] No such file or directory: '/home/smbuser/.config/deluge/hostlist.conf.1.2'
[DEBUG   ] 13:10:07 coreconfig:43 CoreConfig init..
[DEBUG   ] 13:10:07 sessionproxy:55 SessionProxy init..
[DEBUG   ] 13:10:07 json_api:310 Registering method: auth.change_password
[DEBUG   ] 13:10:07 json_api:310 Registering method: auth.check_session
[DEBUG   ] 13:10:07 json_api:310 Registering method: auth.delete_session
[DEBUG   ] 13:10:07 json_api:310 Registering method: auth.login
[DEBUG   ] 13:10:07 configmanager:111 Getting config 'web.conf'
[DEBUG   ] 13:10:07 pluginmanagerbase:65 Plugin manager init..
[DEBUG   ] 13:10:07 configmanager:111 Getting config 'web.conf'
[DEBUG   ] 13:10:07 pluginmanagerbase:116 Found plugin: AutoAdd 1.02
[DEBUG   ] 13:10:07 pluginmanagerbase:116 Found plugin: Execute 1.2
[DEBUG   ] 13:10:07 pluginmanagerbase:116 Found plugin: Blocklist 1.2
[DEBUG   ] 13:10:07 pluginmanagerbase:116 Found plugin: Extractor 0.1
[DEBUG   ] 13:10:07 pluginmanagerbase:116 Found plugin: Label 0.1
[DEBUG   ] 13:10:07 pluginmanagerbase:116 Found plugin: Notifications 0.1
[DEBUG   ] 13:10:07 pluginmanagerbase:116 Found plugin: WebUi 0.1
[DEBUG   ] 13:10:07 pluginmanagerbase:116 Found plugin: Scheduler 0.2
[INFO    ] 13:10:07 server:656 Starting server in PID 1981.
[INFO    ] 13:10:07 server:670 serving on 0.0.0.0:8112 view at http://127.0.0.1:8112

Edit:

Restarted the deluge daemon and this is part of the deluged-log:

Code: Select all

[INFO    ] 13:44:42 daemon:129 Deluge daemon 1.3.1
[DEBUG   ] 13:44:42 daemon:130 options: {'profile': False, 'loglevel': 'debug', 'quiet': False, 'ui_interface': None, 'interface': None, 'logfile': '/var/log/deluged.log', 'config': None, 'port': None, 'pidfile': None, 'donot': True}
[DEBUG   ] 13:44:42 daemon:131 args: []
[DEBUG   ] 13:44:42 core:74 Core init..
[INFO    ] 13:44:42 core:78 Starting libtorrent 0.15.4.0 session..
[DEBUG   ] 13:44:42 configmanager:111 Getting config 'core.conf'

.....

[DEBUG   ] 13:44:42 config:197 Setting 'proxies' to {'peer': {'username': '', 'password': '', 'hostname': '', 'type': 0, 'port': 8080}, 'web_seed': {'username': '', 'password': '', 'hostname': '', 'type': 0, 'port': 8080}, 'tracker': {'username': '', 'password': '', 'hostname': '', 'type': 0, 'port': 8080}, 'dht': {'username': '', 'password': '', 'hostname': '', 'type': 0, 'port': 8080}} of <type 'dict'>
[DEBUG   ] 13:44:42 config:197 Setting 'add_paused' to False of <type 'bool'>
[DEBUG   ] 13:44:42 config:197 Setting 'max_connections_per_torrent' to -1 of <type 'int'>
[DEBUG   ] 13:44:42 config:197 Setting 'remove_seed_at_ratio' to False of <type 'bool'>
[DEBUG   ] 13:44:42 config:197 Setting 'autoadd_location' to /home/smbuser of <type 'str'>
[DEBUG   ] 13:44:42 config:197 Setting 'plugins_location' to /home/smbuser/.config/deluge/plugins of <type 'str'>
[DEBUG   ] 13:44:42 config:388 Config /home/smbuser/.config/deluge/core.conf version: 1.1 loaded: {'info_sent': 0.0, 'lsd': True, 'send_info': False, 'move_completed_path': u'/home/smbuser', 'enc_in_policy': 1, 'queue_new_to_top': False, 'ignore_limits_on_local_network': True, 'rate_limit_ip_overhead': True, 'daemon_port': 58846, 'natpmp': True, 'max_active_limit': 8, 'utpex': True, 'max_active_downloading': 3, 'max_active_seeding': 5, 'allow_remote': False, 'max_half_open_connections': 50, 'download_location': u'/home/smbuser', 'compact_allocation': False, 'max_upload_speed': -1.0, 'cache_expiry': 60, 'prioritize_first_last_pieces': False, 'auto_managed': True, 'enc_level': 2, 'max_connections_per_second': 20, 'dont_count_slow_torrents': False, 'random_outgoing_ports': True, 'max_upload_slots_per_torrent': -1, 'new_release_check': False, 'enc_out_policy': 1, 'outgoing_ports': [0, 0], 'seed_time_limit': 180, 'cache_size': 512, 'share_ratio_limit': 2.0, 'max_download_speed': -1.0, 'geoip_db_location': u'/usr/share/GeoIP/GeoIP.dat', 'torrentfiles_location': u'/home/smbuser', 'stop_seed_at_ratio': False, 'peer_tos': u'0x00', 'listen_interface': u'', 'upnp': True, 'max_download_speed_per_torrent': -1, 'max_upload_slots_global': 4, 'enabled_plugins': [], 'random_port': True, 'autoadd_enable': False, 'max_connections_global': 200, 'enc_prefer_rc4': True, 'listen_ports': [6881, 6891], 'dht': True, 'stop_seed_ratio': 2.0, 'seed_time_ratio_limit': 7.0, 'max_upload_speed_per_torrent': -1, 'copy_torrent_file': False, 'del_copy_torrent_file': False, 'move_completed': False, 'proxies': {u'peer': {u'username': u'', u'password': u'', u'type': 0, u'hostname': u'', u'port': 8080}, u'web_seed': {u'username': u'', u'password': u'', u'type': 0, u'hostname': u'', u'port': 8080}, u'tracker': {u'username': u'', u'password': u'', u'type': 0, u'hostname': u'', u'port': 8080}, u'dht': {u'username': u'', u'password': u'', u'type': 0, u'hostname': u'', u'port': 8080}}, 'add_paused': False, 'max_connections_per_torrent': -1, 'remove_seed_at_ratio': False, 'autoadd_location': u'/home/smbuser', 'plugins_location': u'/home/smbuser/.config/deluge/plugins'}

...............
Any suggestions?
mondalaci
New User
New User
Posts: 3
Joined: Sun Mar 27, 2011 6:27 am

Re: New installation, WebUI only shows a blank page

Post by mondalaci »

You may wanna nuke your config and retry.

I simply start up Deluge from a script this way:
deluged &&
deluge-web --ssl -f
Se7en
Member
Member
Posts: 16
Joined: Thu Apr 21, 2011 9:30 am

Re: New installation, WebUI only shows a blank page

Post by Se7en »

mondalaci wrote:You may wanna nuke your config and retry.

I simply start up Deluge from a script this way:
deluged &&
deluge-web --ssl -f
I did a complete removal and then reinstalled it again and now it's working, don't really now what I did wrong the first time. But now I have another problem, I cant upload torrents via the WebUI, after choosing my torrent-file the WebUI just keeps on loading and loading.
Post Reply