As a test, I deleted the file in one of the movie folders added by CouchPotato (which signifies not to do anything further with the movie). I let it do it's thing (looks like 1 hour is the smallest increment you can choose for the renaming function). I came back and the movie file itself is gone and there is another CP "failed_rename" file, yet the movie file was not moved or copied, seems it was totally deleted. I checked the CP log file again and find the following two entries.
12-05 16:45:18 ERROR [tato.core.plugins.renamer] Couldn't move file "/media/downloads/Ghost and the Darkness, The (1996)/The Ghost and the Darkness.mkv" to "/media/movies/Ghost and the Darkness, The (1996)/The Ghost and the Darkness_720p.mkv": Traceback (most recent call last):
File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/couchpotato/core/plugins/renamer.py", line 842, in moveFile
shutil.copy(old, dest)
File "/usr/pbi/couchpotato-amd64/lib/python2.7/shutil.py", line 119, in copy
copyfile(src, dst)
File "/usr/pbi/couchpotato-amd64/lib/python2.7/shutil.py", line 82, in copyfile
with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: '/media/downloads/Ghost and the Darkness, The (1996)/The Ghost and the Darkness.mkv'
12-05 16:45:18 ERROR [tato.core.plugins.renamer] Failed renaming the file "The Ghost and the Darkness.mkv" : Traceback (most recent call last):
File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/couchpotato/core/plugins/renamer.py", line 625, in scan
self.moveFile(src, dst, use_default = not is_torrent or self.fileIsAdded(src, group))
File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/couchpotato/core/plugins/renamer.py", line 842, in moveFile
shutil.copy(old, dest)
File "/usr/pbi/couchpotato-amd64/lib/python2.7/shutil.py", line 119, in copy
copyfile(src, dst)
File "/usr/pbi/couchpotato-amd64/lib/python2.7/shutil.py", line 82, in copyfile
with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: '/media/downloads/Ghost and the Darkness, The (1996)/The Ghost and the Darkness.mkv'
I am not sure if this is a file/folder permission issue or something else. Currently, all the relevant folders use the "nobody:nogroup" ownership (not those in the jails, but those in the main dataset).