Deluge failing to move torrent when finished

General support for problems installing or using Deluge
Post Reply
Metroshica

Deluge failing to move torrent when finished

Post by Metroshica »

I currently have my Deluge setup to move my torrents from the download folder "/mnt/storage/deluge/download" to "/mnt/storage/deluge/sickrage/completed". This setting is set in the label options for the label sickrage. However, when the torrent completes, I'm getting the following error output to the terminal window:

Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/deluge/main.py", line 226, in start_daemon
Daemon(options, args)
File "/usr/lib/python2.6/site-packages/deluge/core/daemon.py", line 176, in __init__
reactor.run()
File "/usr/lib64/python2.6/site-packages/twisted/internet/base.py", line 1128, in run
self.mainLoop()
File "/usr/lib64/python2.6/site-packages/twisted/internet/base.py", line 1137, in mainLoop
self.runUntilCurrent()
--- <exception caught here> ---
File "/usr/lib64/python2.6/site-packages/twisted/internet/base.py", line 757, in runUntilCurrent
call.func(*call.args, **call.kw)
File "/usr/lib/python2.6/site-packages/deluge/core/torrentmanager.py", line 888, in on_alert_torrent_finished
torrent.move_storage(move_path)
File "/usr/lib/python2.6/site-packages/deluge/core/torrent.py", line 848, in move_storage
os.makedirs(dest_u)
File "/usr/lib64/python2.6/os.py", line 150, in makedirs
makedirs(head, mode)
File "/usr/lib64/python2.6/os.py", line 150, in makedirs
makedirs(head, mode)
File "/usr/lib64/python2.6/os.py", line 150, in makedirs
makedirs(head, mode)
File "/usr/lib64/python2.6/os.py", line 150, in makedirs
makedirs(head, mode)
File "/usr/lib64/python2.6/os.py", line 150, in makedirs
makedirs(head, mode)
File "/usr/lib64/python2.6/os.py", line 157, in makedirs
mkdir(name, mode)
exceptions.OSError: [Errno 13] Permission denied: ' '

I've checked and the permissions of /mnt/storage/deluge/sickrage/completed are correct. Also, if I right-click on the torrent in the webui and I select Move Storage, I'm able to move the torrent to /mnt/storage/deluge/sickrage/completed successfully. Any idea what could be going on here? For reference I'm running Deluge 1.3.5 on CentOS 6.
Cas
Top Bloke
Top Bloke
Posts: 3681
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Deluge failing to move torrent when finished

Post by Cas »

Permission denied is self explanatory, there is nothing more to it so you must be missing the permission to allow creation of sub-directories for the Deluge user.
Post Reply