Webui oddity when accessed via Transdroid
Posted: Tue May 17, 2011 1:40 pm
Hi all.
I've previously had a headless Deluge setup running on Ubuntu 10.04 and had been able to add torrents from the Android app Transdroid without issue.
Recently I've switched to Debian Squeeze and am now having some odd issues. Everything runs fine, except for adding torrents from Transdroid's search function. I am able to use Transdroid to add a torrent if I've already downloaded the .torrent file. It's just adding from search results that doesn't work.
Not much changed when I moved to Debian. I'm no longer running deluged and deluge-webui as root, now they run as user "deluge". I've enabled logging. And I had to chown the deluge directory to the deluge user. Other than that, nothing else has changed (that I can think of).
Here is the relevant code from the logs when I try to add from search results:
/$logpath/web/warning.log-
/$logpath/daemon/warning.log-
That last line there is repeated about 15 times or so. Not sure if that matters, but I just didn't want to spam.
I've triple-checked and triple-chowned the /.config/deluge directory, verified everything in the init script (as best I can) as well as /etc/default/deluge
I've previously had a headless Deluge setup running on Ubuntu 10.04 and had been able to add torrents from the Android app Transdroid without issue.
Recently I've switched to Debian Squeeze and am now having some odd issues. Everything runs fine, except for adding torrents from Transdroid's search function. I am able to use Transdroid to add a torrent if I've already downloaded the .torrent file. It's just adding from search results that doesn't work.
Not much changed when I moved to Debian. I'm no longer running deluged and deluge-webui as root, now they run as user "deluge". I've enabled logging. And I had to chown the deluge directory to the deluge user. Other than that, nothing else has changed (that I can think of).
Here is the relevant code from the logs when I try to add from search results:
/$logpath/web/warning.log-
Code: Select all
IOError:
--------------------------------------------------------------------------------
[ERROR ] 08:45:42 client:375 RPCError Message Received!
--------------------------------------------------------------------------------
RPCRequest: core.add_torrent_url(http://btjunkie.org/torrent/$torrentname/download.torrent, [])
--------------------------------------------------------------------------------
File "/usr/lib/pymodules/python2.6/deluge/core/rpcserver.py", line 297, in on_fail
failure.raiseException()
File "/usr/lib/python2.6/dist-packages/twisted/web/client.py", line 415, in pageStart
self.file = self.openFile(partialContent)
File "/usr/lib/python2.6/dist-packages/twisted/web/client.py", line 402, in openFile
file = open(self.fileName, 'wb')
Code: Select all
[ERROR ] 08:45:42 core:246 Error occured downloading torrent from http://btjunkie.org/torrent/$torrentname/download.torrent
[ERROR ] 08:45:42 core:247 Reason: [Errno 13] Permission denied: 'download.torrent'
[WARNING ] 08:45:52 pluginmanager:100 Status field label is not registered with the PluginManager.
I've triple-checked and triple-chowned the /.config/deluge directory, verified everything in the init script (as best I can) as well as /etc/default/deluge