CP constantly deleting stuff it isn't supposed to

Get help with Couchpotato
samnaut
Junior Member
Posts: 1
Joined: 14 Mar 2018 01:43
Status: Offline

CP constantly deleting stuff it isn't supposed to

Postby samnaut » 14 Mar 2018 01:46

Example: It finds files in /mnt/download/upload/ (which is just a hard link from a file already in my library!!!)

However, I have set "Ignored File Patterns" to both "*/upload/*" and "/upload/" in neither case these files are ignored.

Code: Select all

03-14 01:38:35 DEBUG ESC[36m[hpotato.core.plugins.base] Acquiring lock: media.get.a38ed941d0ab411e87aecfe38f996838ESC[0m
03-14 01:38:35 DEBUG ESC[36m[hpotato.core.plugins.base] Waiting for TheMovieDb, 1 secondsESC[0m
03-14 01:38:35 INFO ESC[0m[hpotato.core.plugins.base] Opening url: get https://api.couchpota.to/info/tt0086567/?ignore=1, data: []ESC[0m
03-14 01:38:35 INFO ESC[0m[hpotato.core.plugins.base] Opening url: get https://www.omdbapi.com/?apikey=xxx&type=movie&i=tt0086567, data: []ESC[0m
03-14 01:38:35 INFO ESC[0m[hpotato.core.plugins.base] Opening url: get https://api.themoviedb.org/3/movie/tt0086567?api_key=xxx&append_to_response=alternative_titles&language=en, data: []ESC[0m
03-14 01:38:35 DEBUG ESC[36m[hpotato.core.plugins.base] Setting cache omdbapi.cache.tt0086567ESC[0m
03-14 01:38:35 INFO ESC[0m[ie.providers.info.omdbapi] Found: WarGames (1983)ESC[0m
03-14 01:38:35 DEBUG ESC[36m[hpotato.core.plugins.base] Setting cache 1086bf6bc737cda890cfc191f74a20dbESC[0m
03-14 01:38:35 DEBUG ESC[36m[providers.info.themoviedb] Movie not found: movie/tt0086567, append_to_response=alternative_titles&language=enESC[0m
03-14 01:38:35 DEBUG ESC[36m[   couchpotato.core.event] Return modified results for movie.infoESC[0m
03-14 01:38:35 DEBUG ESC[36m[to.core.media.movie._base] Adding titles: [u'WarGames', u'War Games', u'Wargames - Giochi di guerra', u'Jeux de guerre', u'Juegos de guerra', u'Jogos de Guerra']ESC[0m
03-14 01:38:35 DEBUG ESC[36m[hpotato.core.plugins.base] Releasing lock: media.get.a38ed941d0ab411e87aecfe38f996838ESC[0m
03-14 01:38:35 DEBUG ESC[36m[ato.core.plugins.subtitle] Searching for subtitles for: [u'/mnt/downloads/upload/WarGames.1983.1080p.BluRay.X264-AMIABLE.mkv']ESC[0m
03-14 01:38:39 DEBUG ESC[36m[tato.core.plugins.renamer] Media has no quality profile: WarGamesESC[0m
03-14 01:38:39 INFO ESC[0m[tato.core.plugins.renamer] Same quality release already exists for WarGames, with quality 1080p. Assuming repack.ESC[0m
03-14 01:38:39 DEBUG ESC[36m[tato.core.plugins.renamer] Removing leftover filesESC[0m
03-14 01:38:39 INFO ESC[0m[tato.core.plugins.renamer] Removing "/mnt/movies/WarGames (1983)/WarGames.1983.1080p.BluRay.X264-AMIABLE.mkv"ESC[0m
03-14 01:38:39 INFO ESC[0m[tato.core.plugins.renamer] Moving "/mnt/downloads/upload/WarGames.1983.1080p.BluRay.X264-AMIABLE.mkv" to "/mnt/movies/WarGames (1983)/WarGames.1983.1080p.BluRay.X264-AMIABLE.mkv"ESC[0m
03-14 01:38:39 DEBUG ESC[36m[tato.core.plugins.renamer] Failed setting permissions for file: /mnt/movies/WarGames (1983)/WarGames.1983.1080p.BluRay.X264-AMIABLE.mkv, Traceback (most recent call last):
  File "/usr/local/share/couchpotato/CouchPotatoServer/couchpotato/core/plugins/renamer.py", line 878, in moveFile
    os.chmod(dest, Env.getPermission('file'))
OSError: [Errno 1] Operation not permitted: '/mnt/movies/WarGames (1983)/WarGames.1983.1080p.BluRay.X264-AMIABLE.mkv'
ESC[0m
03-14 01:38:39 DEBUG ESC[36m[tato.core.plugins.renamer] Removing release tt0086567.DTS.1080pESC[0m
03-14 01:38:39 INFO ESC[0m[tato.core.plugins.renamer] Deleting folder: /mnt/downloads/uploadESC[0m


Also, why the **** is it trying to delete the whole /mnt/downloads/upload/ directory? WTF?

Return to “Support”