Custom Query (2449 matches)
Results (103 - 105 of 2449)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #2677 | Fixed | webui returns 404 error when used with --base | ||
| Description |
I'm trying to use the webui under a subdirectory "/deluge/" instead of at the root "/". However, the --base option (or "base" in web.conf) seems to not be working properly and the webui's server doesn't seem to serve proper files under subdirectory. Please note that this is not a reverse proxy; this is just plain deluge-web running its own twisted server. In this case, I'm trying to access the webui at /deluge/ subdirectory. deluge version: $ deluge-web --version deluge-web: 1.3.10 libtorrent: 0.16.17.0 web.conf {
"file": 1,
"format": 1
}{
"port": 8826,
"enabled_plugins": [],
"pwd_sha1": "xxxxxxxx",
"theme": "gray",
"show_sidebar": true,
"sidebar_show_zero": false,
"pkey": "ssl/daemon.pkey",
"https": true,
"sessions": {
"xxxxxxxx": {
"login": "xxxxxxxx",
"expires": xxxxxxxx,
"level": 10
}
},
"base": "/deluge/",
"pwd_salt": "xxxxxxxx",
"show_session_speed": false,
"first_login": false,
"cert": "ssl/daemon.cert",
"session_timeout": 3600,
"default_daemon": "",
"sidebar_multiple_filters": true
}
deluge-web output: $ deluge-web --base "/deluge/" --loglevel=debug [INFO ] 20:47:04 ui:121 Deluge ui 1.3.10
[DEBUG ] 20:47:04 ui:122 options: {'fork': False, 'profile': False, 'loglevel': 'debug', 'quiet': False, 'ssl': False, 'base': '/deluge/', 'logfile': None, 'config': None, 'port': None}
[DEBUG ] 20:47:04 ui:123 args: []
[INFO ] 20:47:04 ui:124 Starting web ui..
[DEBUG ] 20:47:05 configmanager:111 Getting config 'web.conf'
[DEBUG ] 20:47:05 config:197 Setting 'sidebar_show_zero' to False of <type 'bool'>
[DEBUG ] 20:47:05 config:197 Setting 'show_session_speed' to False of <type 'bool'>
[DEBUG ] 20:47:05 config:197 Setting 'first_login' to True of <type 'bool'>
[DEBUG ] 20:47:05 config:197 Setting 'https' to False of <type 'bool'>
[DEBUG ] 20:47:05 config:197 Setting 'sessions' to {} of <type 'dict'>
[DEBUG ] 20:47:05 config:197 Setting 'enabled_plugins' to [] of <type 'list'>
[DEBUG ] 20:47:05 config:197 Setting 'pwd_sha1' to xxxxxx of <type 'str'>
[DEBUG ] 20:47:05 config:197 Setting 'cert' to ssl/daemon.cert of <type 'str'>
[DEBUG ] 20:47:05 config:197 Setting 'pkey' to ssl/daemon.pkey of <type 'str'>
[DEBUG ] 20:47:05 config:197 Setting 'port' to 8112 of <type 'int'>
[DEBUG ] 20:47:05 config:197 Setting 'theme' to gray of <type 'str'>
[DEBUG ] 20:47:05 config:197 Setting 'session_timeout' to 3600 of <type 'int'>
[DEBUG ] 20:47:05 config:197 Setting 'show_sidebar' to True of <type 'bool'>
[DEBUG ] 20:47:05 config:197 Setting 'default_daemon' to of <type 'str'>
[DEBUG ] 20:47:05 config:197 Setting 'sidebar_multiple_filters' to True of <type 'bool'>
[DEBUG ] 20:47:05 config:197 Setting 'pwd_salt' to xxxxxxx of <type 'str'>
[DEBUG ] 20:47:05 config:197 Setting 'base' to / of <type 'str'>
[DEBUG ] 20:47:05 config:391 Config /srv/deluge/.config/deluge/web.conf version: 1.1 loaded: {'port': 8826, 'enabled_plugins': [], 'pwd_sha1': u'xxxxxx', 'theme': u'gray', 'show_sidebar': True, 'sidebar_show_zero': False, 'pkey': u'ssl/daemon.pkey', 'https': True, 'sessions': {u'xxxxxxx': {u'login': u'admin', u'expires': 1415482586.0, u'level': 10}}, 'base': u'/deluge/', 'pwd_salt': u'xxxxxxxxx', 'show_session_speed': False, 'first_login': False, 'cert': u'ssl/daemon.cert', 'session_timeout': 3600, 'default_daemon': u'', 'sidebar_multiple_filters': True}
[DEBUG ] 20:47:05 server:253 Adding directory `/usr/lib/python2.7/site-packages/deluge/ui/web/css` with path ``
[DEBUG ] 20:47:05 server:253 Adding directory `/usr/lib/python2.7/site-packages/deluge/ui/web/icons` with path ``
[DEBUG ] 20:47:05 server:253 Adding directory `/usr/lib/python2.7/site-packages/deluge/ui/web/images` with path ``
[DEBUG ] 20:47:05 json_api:315 Registering method: web.add_host
[DEBUG ] 20:47:05 json_api:315 Registering method: web.add_torrents
[DEBUG ] 20:47:05 json_api:315 Registering method: web.connect
[DEBUG ] 20:47:05 json_api:315 Registering method: web.connected
[DEBUG ] 20:47:05 json_api:315 Registering method: web.deregister_event_listener
[DEBUG ] 20:47:05 json_api:315 Registering method: web.disconnect
[DEBUG ] 20:47:05 json_api:315 Registering method: web.download_torrent_from_url
[DEBUG ] 20:47:05 json_api:315 Registering method: web.get_config
[DEBUG ] 20:47:05 json_api:315 Registering method: web.get_events
[DEBUG ] 20:47:05 json_api:315 Registering method: web.get_host_status
[DEBUG ] 20:47:05 json_api:315 Registering method: web.get_hosts
[DEBUG ] 20:47:05 json_api:315 Registering method: web.get_magnet_info
[DEBUG ] 20:47:05 json_api:315 Registering method: web.get_plugin_info
[DEBUG ] 20:47:05 json_api:315 Registering method: web.get_plugin_resources
[DEBUG ] 20:47:05 json_api:315 Registering method: web.get_plugins
[DEBUG ] 20:47:05 json_api:315 Registering method: web.get_torrent_files
[DEBUG ] 20:47:05 json_api:315 Registering method: web.get_torrent_info
[DEBUG ] 20:47:05 json_api:315 Registering method: web.get_torrent_status
[DEBUG ] 20:47:05 json_api:315 Registering method: web.register_event_listener
[DEBUG ] 20:47:05 json_api:315 Registering method: web.remove_host
[DEBUG ] 20:47:05 json_api:315 Registering method: web.set_config
[DEBUG ] 20:47:05 json_api:315 Registering method: web.start_daemon
[DEBUG ] 20:47:05 json_api:315 Registering method: web.stop_daemon
[DEBUG ] 20:47:05 json_api:315 Registering method: web.update_ui
[DEBUG ] 20:47:05 json_api:315 Registering method: web.upload_plugin
[DEBUG ] 20:47:05 configmanager:111 Getting config 'hostlist.conf.1.2'
[DEBUG ] 20:47:05 config:197 Setting 'hosts' to [('xxxxxxxxx', '127.0.0.1', 58846, '', '')] of <type 'list'>
[WARNING ] 20:47:05 config:361 Unable to open config file /srv/deluge/.config/deluge/hostlist.conf.1.2: [Errno 2] No such file or directory: '/srv/deluge/.config/deluge/hostlist.conf.1.2'
[DEBUG ] 20:47:05 coreconfig:43 CoreConfig init..
[DEBUG ] 20:47:05 sessionproxy:55 SessionProxy init..
[DEBUG ] 20:47:05 json_api:315 Registering method: auth.change_password
[DEBUG ] 20:47:05 json_api:315 Registering method: auth.check_session
[DEBUG ] 20:47:05 json_api:315 Registering method: auth.delete_session
[DEBUG ] 20:47:05 json_api:315 Registering method: auth.login
[DEBUG ] 20:47:05 configmanager:111 Getting config 'web.conf'
[DEBUG ] 20:47:05 pluginmanagerbase:65 Plugin manager init..
[DEBUG ] 20:47:05 configmanager:111 Getting config 'web.conf'
[DEBUG ] 20:47:05 pluginmanagerbase:124 Found plugin: AutoAdd 1.04 at /usr/lib/python2.7/site-packages/deluge/plugins/AutoAdd-1.04-py2.7.egg
[DEBUG ] 20:47:05 pluginmanagerbase:124 Found plugin: Execute 1.3 at /usr/lib/python2.7/site-packages/deluge/plugins/Execute-1.3-py2.7.egg
[DEBUG ] 20:47:05 pluginmanagerbase:124 Found plugin: Blocklist 1.3 at /usr/lib/python2.7/site-packages/deluge/plugins/Blocklist-1.3-py2.7.egg
[DEBUG ] 20:47:05 pluginmanagerbase:124 Found plugin: Extractor 0.4 at /usr/lib/python2.7/site-packages/deluge/plugins/Extractor-0.4-py2.7.egg
[DEBUG ] 20:47:05 pluginmanagerbase:124 Found plugin: Label 0.2 at /usr/lib/python2.7/site-packages/deluge/plugins/Label-0.2-py2.7.egg
[DEBUG ] 20:47:05 pluginmanagerbase:124 Found plugin: Notifications 0.2 at /usr/lib/python2.7/site-packages/deluge/plugins/Notifications-0.2-py2.7.egg
[DEBUG ] 20:47:05 pluginmanagerbase:124 Found plugin: WebUi 0.1 at /usr/lib/python2.7/site-packages/deluge/plugins/WebUi-0.1-py2.7.egg
[DEBUG ] 20:47:05 pluginmanagerbase:124 Found plugin: Scheduler 0.2 at /usr/lib/python2.7/site-packages/deluge/plugins/Scheduler-0.2-py2.7.egg
[INFO ] 20:47:05 server:661 Starting server in PID 17110.
[DEBUG ] 20:47:05 server:589 Enabling SSL using:
[DEBUG ] 20:47:05 server:590 Pkey: ssl/daemon.pkey
[DEBUG ] 20:47:05 server:591 Cert: ssl/daemon.cert
[INFO ] 20:47:05 server:681 serving on 0.0.0.0:8826 view at https://127.0.0.1:8826
--- this is where I navigated to https://127.0.0.1:8826/deluge/ and got "No such response"
[DEBUG ] 20:47:06 server:589 Enabling SSL using:
[DEBUG ] 20:47:06 server:590 Pkey: ssl/daemon.pkey
[DEBUG ] 20:47:06 server:591 Cert: ssl/daemon.cert
--- this is where I shut down deluge-web
[INFO ] 20:47:08 server:684 Shutting down webserver
[DEBUG ] 20:47:08 server:688 Saving configuration file
[DEBUG ] 20:47:08 server:704 Reactor not running
Output I get from webui when accessing /deluge/ <html>
<head><title>404 - No Such Resource</title></head>
<body>
<h1>No Such Resource</h1>
<p>No such child resource.</p>
</body>
</html>
Accessing "/" returns this page, but it looks blank in the browser: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Deluge: Web UI 1.3.10</title>
<link rel="shortcut icon" href="/deluge/icons/deluge.png" type="image/png" />
<link rel="icon" href="/deluge/icons/deluge.png" type="image/png" />
<link rel="apple-touch-icon-precomposed" media="screen and (resolution: 163dpi)" href="/deluge/icons/apple-pre-57.png" />
<link rel="apple-touch-icon-precomposed" media="screen and (resolution: 132dpi)" href="/deluge/icons/apple-pre-72.png" />
<link rel="apple-touch-icon-precomposed" media="screen and (resolution: 326dpi)" href="/deluge/icons/apple-pre-114.png" />
<!-- Stylesheets -->
<link rel="stylesheet" type="text/css" href="/deluge/css/ext-all-notheme.css" />
<link rel="stylesheet" type="text/css" href="/deluge/themes/css/xtheme-gray.css" />
<link rel="stylesheet" type="text/css" href="/deluge/css/ext-extensions.css" />
<link rel="stylesheet" type="text/css" href="/deluge/css/deluge.css" />
<script type="text/javascript">
deluge = {
author: 'Damien Churchill <damoxc@gmail.com>',
version: '1.3.10',
config: {"sidebar_show_zero": false, "show_session_speed": false, "first_login": false, "theme": "gray", "base": "/deluge/", "sidebar_multiple_filters": true}
}
</script>
<!-- Javascript -->
<script type="text/javascript" src="/deluge/gettext.js"></script>
<script type="text/javascript" src="/deluge/js/ext-base.js"></script>
<script type="text/javascript" src="/deluge/js/ext-all.js"></script>
<script type="text/javascript" src="/deluge/js/ext-extensions.js"></script>
<script type="text/javascript" src="/deluge/js/deluge-all.js"></script>
<script type="text/javascript">
Deluge.debug = false;
</script>
</head>
<body>
<div style="background-image: url('/deluge/themes/images/default/tree/loading.gif');"></div>
<!-- Preload icon classes -->
<div class="ext-mb-error"></div>
<div class="icon-ok"></div>
</body>
</html>
I think the problem may be that the twisted server ignores the --base option and so cannot serve static files under /deluge/ which it thinks does not exist. |
|||
| #691 | Fixed | WebUI - Resume/Pause buttons don't work if previously "Pause All" via hard client | ||
| Description |
I was using Deluge (Windows).. latest version for the first time. I added a torrent, started it.. and used the "Pause All" torrents feature in the systray.. Then I began trying to use my WebUI to Resume All.. I tried all the templates but it refused to resume. I then resumed via the hard client... THEN I could Pause/Resume via the WebUI.... Seems if it's already paused, the WebUI was confused?? |
|||
| #488 | Fixed | webui : rename unregister to deregister | ||
| Description |
rename unregister to deregister |
|||
