Failed to unpack sub folder: refusing to overwrite existing file
nguyentritai2906 opened this issue · 1 comments
nguyentritai2906 commented
I got this error when unpackerr tries to extract sub folder and I'm not sure how to fix it so hopefully you can help me out. Below are some infos that I think might be useful to debug it. Thank you
unpackerr_1 | 2023/06/27 09:48:14 [Radarr] Extract failed 5m4s ago, triggering restart (1/3): Brooklyn.2015.1080p.BluRay.X264-AMIABLE
unpackerr_1 | 2023/06/27 09:48:14 [Radarr] Extract failed 5m4s ago, triggering restart (1/3): Brooklyn.2015.1080p.BluRay.X264-AMIABLE
unpackerr_1 | 2023/06/27 09:48:34 [Radarr] Updated (http://radarr:7878): 1 Items Queued, 1 Retrieved
unpackerr_1 | 2023/06/27 09:48:34 [Radarr] Updated (http://radarr:7878): 1 Items Queued, 1 Retrieved
unpackerr_1 | 2023/06/27 09:48:34 [Sonarr] Updated (http://sonarr:8989): 0 Items Queued, 0 Retrieved
unpackerr_1 | 2023/06/27 09:48:34 [Sonarr] Updated (http://sonarr:8989): 0 Items Queued, 0 Retrieved
unpackerr_1 | 2023/06/27 09:48:34 [Radarr] Waiting for Start Delay: Brooklyn.2015.1080p.BluRay.X264-AMIABLE (40s remains)
unpackerr_1 | 2023/06/27 09:48:34 [Radarr] Waiting for Start Delay: Brooklyn.2015.1080p.BluRay.X264-AMIABLE (40s remains)
unpackerr_1 | 2023/06/27 09:48:34 [Unpackerr] Queue: [1 waiting] [0 queued] [0 extracting] [0 extracted] [0 imported] [0 failed] [0 deleted]
unpackerr_1 | 2023/06/27 09:48:34 [Unpackerr] Queue: [1 waiting] [0 queued] [0 extracting] [0 extracted] [0 imported] [0 failed] [0 deleted]
unpackerr_1 | 2023/06/27 09:48:34 [Unpackerr] Totals: [1 retries] [0 finished] [0|0 webhooks] [0|0 cmdhooks] [stacks; event:0, hook:0, del:0]
unpackerr_1 | 2023/06/27 09:48:34 [Unpackerr] Totals: [1 retries] [0 finished] [0|0 webhooks] [0|0 cmdhooks] [stacks; event:0, hook:0, del:0]
unpackerr_1 | 2023/06/27 09:49:34 [Unpackerr] Queue: [1 waiting] [0 queued] [0 extracting] [0 extracted] [0 imported] [0 failed] [0 deleted]
unpackerr_1 | 2023/06/27 09:49:34 [Unpackerr] Queue: [1 waiting] [0 queued] [0 extracting] [0 extracted] [0 imported] [0 failed] [0 deleted]
unpackerr_1 | 2023/06/27 09:49:34 [Unpackerr] Totals: [1 retries] [0 finished] [0|0 webhooks] [0|0 cmdhooks] [stacks; event:0, hook:0, del:0]
unpackerr_1 | 2023/06/27 09:49:34 [Unpackerr] Totals: [1 retries] [0 finished] [0|0 webhooks] [0|0 cmdhooks] [stacks; event:0, hook:0, del:0]
unpackerr_1 | 2023/06/27 09:50:34 [Radarr] Updated (http://radarr:7878): 1 Items Queued, 1 Retrieved
unpackerr_1 | 2023/06/27 09:50:34 [Radarr] Updated (http://radarr:7878): 1 Items Queued, 1 Retrieved
unpackerr_1 | 2023/06/27 09:50:34 [Sonarr] Updated (http://sonarr:8989): 0 Items Queued, 0 Retrieved
unpackerr_1 | 2023/06/27 09:50:34 [Sonarr] Updated (http://sonarr:8989): 0 Items Queued, 0 Retrieved
unpackerr_1 | 2023/06/27 09:50:34 [Radarr] Extraction Queued: /data/downloads/movies/Brooklyn.2015.1080p.BluRay.X264-AMIABLE, extractable files: 2, delete orig: false, items in queue: 1
unpackerr_1 | 2023/06/27 09:50:34 [Radarr] Extraction Queued: /data/downloads/movies/Brooklyn.2015.1080p.BluRay.X264-AMIABLE, extractable files: 2, delete orig: false, items in queue: 1
unpackerr_1 | 2023/06/27 09:50:34 [Unpackerr] Queue: [0 waiting] [1 queued] [0 extracting] [0 extracted] [0 imported] [0 failed] [0 deleted]
unpackerr_1 | 2023/06/27 09:50:34 [Unpackerr] Queue: [0 waiting] [1 queued] [0 extracting] [0 extracted] [0 imported] [0 failed] [0 deleted]
unpackerr_1 | 2023/06/27 09:50:34 [Unpackerr] Totals: [1 retries] [0 finished] [0|0 webhooks] [0|0 cmdhooks] [stacks; event:0, hook:0, del:0]
unpackerr_1 | 2023/06/27 09:50:34 [Unpackerr] Totals: [1 retries] [0 finished] [0|0 webhooks] [0|0 cmdhooks] [stacks; event:0, hook:0, del:0]
unpackerr_1 | 2023/06/27 09:50:34 Extraction Started: Brooklyn.2015.1080p.BluRay.X264-AMIABLE, items in queue: 0
unpackerr_1 | 2023/06/27 09:50:34 Extraction Started: Brooklyn.2015.1080p.BluRay.X264-AMIABLE, items in queue: 0
unpackerr_1 | 2023/06/27 09:50:34 Error: Renaming Temp File: /data/downloads/movies/Brooklyn.2015.1080p.BluRay.X264-AMIABLE_unpackerred/Subs/Brooklyn.2015.1080p.BluRay.X264-AMIABLE.idx to /data/downloads/movies/Brooklyn.2015.1080p.BluRay.X264-AMIABLE/Subs/Brooklyn.2015.1080p.BluRay.X264-AMIABLE.idx: (refusing to overwrite existing file)
unpackerr_1 | 2023/06/27 09:50:34 Error: Renaming Temp File: /data/downloads/movies/Brooklyn.2015.1080p.BluRay.X264-AMIABLE_unpackerred/Subs/Brooklyn.2015.1080p.BluRay.X264-AMIABLE.idx to /data/downloads/movies/Brooklyn.2015.1080p.BluRay.X264-AMIABLE/Subs/Brooklyn.2015.1080p.BluRay.X264-AMIABLE.idx: (refusing to overwrite existing file)
unpackerr_1 | 2023/06/27 09:50:34 Error: Renaming Temp File: /data/downloads/movies/Brooklyn.2015.1080p.BluRay.X264-AMIABLE_unpackerred/Subs/Brooklyn.2015.1080p.BluRay.X264-AMIABLE.rar to /data/downloads/movies/Brooklyn.2015.1080p.BluRay.X264-AMIABLE/Subs/Brooklyn.2015.1080p.BluRay.X264-AMIABLE.rar: (refusing to overwrite existing file)
unpackerr_1 | 2023/06/27 09:50:34 Error: Renaming Temp File: /data/downloads/movies/Brooklyn.2015.1080p.BluRay.X264-AMIABLE_unpackerred/Subs/Brooklyn.2015.1080p.BluRay.X264-AMIABLE.rar to /data/downloads/movies/Brooklyn.2015.1080p.BluRay.X264-AMIABLE/Subs/Brooklyn.2015.1080p.BluRay.X264-AMIABLE.rar: (refusing to overwrite existing file)
unpackerr_1 | 2023/06/27 09:50:34 Error: Renaming Temp File: /data/downloads/movies/Brooklyn.2015.1080p.BluRay.X264-AMIABLE_unpackerred/Subs/Brooklyn.2015.1080p.BluRay.X264-AMIABLE.sub to /data/downloads/movies/Brooklyn.2015.1080p.BluRay.X264-AMIABLE/Subs/Brooklyn.2015.1080p.BluRay.X264-AMIABLE.sub: (refusing to overwrite existing file)
unpackerr_1 | 2023/06/27 09:50:34 Error: Renaming Temp File: /data/downloads/movies/Brooklyn.2015.1080p.BluRay.X264-AMIABLE_unpackerred/Subs/Brooklyn.2015.1080p.BluRay.X264-AMIABLE.sub to /data/downloads/movies/Brooklyn.2015.1080p.BluRay.X264-AMIABLE/Subs/Brooklyn.2015.1080p.BluRay.X264-AMIABLE.sub: (refusing to overwrite existing file)
unpackerr_1 | 2023/06/27 09:50:34 Deleted (recursively): /data/downloads/movies/Brooklyn.2015.1080p.BluRay.X264-AMIABLE_unpackerred/Subs
unpackerr_1 | 2023/06/27 09:50:34 Deleted (recursively): /data/downloads/movies/Brooklyn.2015.1080p.BluRay.X264-AMIABLE_unpackerred/Subs
unpackerr_1 | 2023/06/27 09:51:34 [Unpackerr] Queue: [0 waiting] [0 queued] [1 extracting] [0 extracted] [0 imported] [0 failed] [0 deleted]
unpackerr_1 | 2023/06/27 09:51:34 [Unpackerr] Queue: [0 waiting] [0 queued] [1 extracting] [0 extracted] [0 imported] [0 failed] [0 deleted]
unpackerr_1 | 2023/06/27 09:51:34 [Unpackerr] Totals: [1 retries] [0 finished] [0|0 webhooks] [0|0 cmdhooks] [stacks; event:0, hook:0, del:0]
unpackerr_1 | 2023/06/27 09:51:34 [Unpackerr] Totals: [1 retries] [0 finished] [0|0 webhooks] [0|0 cmdhooks] [stacks; event:0, hook:0, del:0]
unpackerr_1 | 2023/06/27 09:52:34 [Radarr] Updated (http://radarr:7878): 1 Items Queued, 1 Retrieved
unpackerr_1 | 2023/06/27 09:52:34 [Radarr] Updated (http://radarr:7878): 1 Items Queued, 1 Retrieved
unpackerr_1 | 2023/06/27 09:52:34 [Sonarr] Updated (http://sonarr:8989): 0 Items Queued, 0 Retrieved
unpackerr_1 | 2023/06/27 09:52:34 [Sonarr] Updated (http://sonarr:8989): 0 Items Queued, 0 Retrieved
unpackerr_1 | 2023/06/27 09:52:34 [Unpackerr] Queue: [0 waiting] [0 queued] [1 extracting] [0 extracted] [0 imported] [0 failed] [0 deleted]
unpackerr_1 | 2023/06/27 09:52:34 [Unpackerr] Queue: [0 waiting] [0 queued] [1 extracting] [0 extracted] [0 imported] [0 failed] [0 deleted]
unpackerr_1 | 2023/06/27 09:52:34 [Unpackerr] Totals: [1 retries] [0 finished] [0|0 webhooks] [0|0 cmdhooks] [stacks; event:0, hook:0, del:0]
unpackerr_1 | 2023/06/27 09:52:34 [Unpackerr] Totals: [1 retries] [0 finished] [0|0 webhooks] [0|0 cmdhooks] [stacks; event:0, hook:0, del:0]
unpackerr_1 | 2023/06/27 09:53:03 Deleted (recursively): /data/downloads/movies/Brooklyn.2015.1080p.BluRay.X264-AMIABLE_unpackerred
unpackerr_1 | 2023/06/27 09:53:03 Deleted (recursively): /data/downloads/movies/Brooklyn.2015.1080p.BluRay.X264-AMIABLE_unpackerred
unpackerr_1 | 2023/06/27 09:53:03 Extraction Error: Brooklyn.2015.1080p.BluRay.X264-AMIABLE: /data/downloads/movies/Brooklyn.2015.1080p.BluRay.X264-AMIABLE/brooklyn.2015.1080p.bluray.x264-amiable.r81: copying io: rardecode: bad file checksum
unpackerr_1 | 2023/06/27 09:53:03 Extraction Error: Brooklyn.2015.1080p.BluRay.X264-AMIABLE: /data/downloads/movies/Brooklyn.2015.1080p.BluRay.X264-AMIABLE/brooklyn.2015.1080p.bluray.x264-amiable.r81: copying io: rardecode: bad file checksum
/mnt/data/downloads/movies/Brooklyn.2015.1080p.BluRay.X264-AMIABLE/
├── brooklyn.2015.1080p.bluray.x264-amiable.jpg
├── brooklyn.2015.1080p.bluray.x264-amiable.nfo
├── brooklyn.2015.1080p.bluray.x264-amiable.r00
├── brooklyn.2015.1080p.bluray.x264-amiable.r01
├── brooklyn.2015.1080p.bluray.x264-amiable.r02
├── brooklyn.2015.1080p.bluray.x264-amiable.r03
├── brooklyn.2015.1080p.bluray.x264-amiable.r04
├── brooklyn.2015.1080p.bluray.x264-amiable.r05
├── brooklyn.2015.1080p.bluray.x264-amiable.r06
├── brooklyn.2015.1080p.bluray.x264-amiable.r07
├── brooklyn.2015.1080p.bluray.x264-amiable.r08
├── brooklyn.2015.1080p.bluray.x264-amiable.r09
├── brooklyn.2015.1080p.bluray.x264-amiable.r10
├── brooklyn.2015.1080p.bluray.x264-amiable.r11
├── brooklyn.2015.1080p.bluray.x264-amiable.r12
├── brooklyn.2015.1080p.bluray.x264-amiable.r13
├── brooklyn.2015.1080p.bluray.x264-amiable.r14
├── brooklyn.2015.1080p.bluray.x264-amiable.r15
├── brooklyn.2015.1080p.bluray.x264-amiable.r16
├── brooklyn.2015.1080p.bluray.x264-amiable.r17
├── brooklyn.2015.1080p.bluray.x264-amiable.r18
├── brooklyn.2015.1080p.bluray.x264-amiable.r19
├── brooklyn.2015.1080p.bluray.x264-amiable.r20
├── brooklyn.2015.1080p.bluray.x264-amiable.r21
├── brooklyn.2015.1080p.bluray.x264-amiable.r22
├── brooklyn.2015.1080p.bluray.x264-amiable.r23
├── brooklyn.2015.1080p.bluray.x264-amiable.r24
├── brooklyn.2015.1080p.bluray.x264-amiable.r25
├── brooklyn.2015.1080p.bluray.x264-amiable.r26
├── brooklyn.2015.1080p.bluray.x264-amiable.r27
├── brooklyn.2015.1080p.bluray.x264-amiable.r28
├── brooklyn.2015.1080p.bluray.x264-amiable.r29
├── brooklyn.2015.1080p.bluray.x264-amiable.r30
├── brooklyn.2015.1080p.bluray.x264-amiable.r31
├── brooklyn.2015.1080p.bluray.x264-amiable.r32
├── brooklyn.2015.1080p.bluray.x264-amiable.r33
├── brooklyn.2015.1080p.bluray.x264-amiable.r34
├── brooklyn.2015.1080p.bluray.x264-amiable.r35
├── brooklyn.2015.1080p.bluray.x264-amiable.r36
├── brooklyn.2015.1080p.bluray.x264-amiable.r37
├── brooklyn.2015.1080p.bluray.x264-amiable.r38
├── brooklyn.2015.1080p.bluray.x264-amiable.r39
├── brooklyn.2015.1080p.bluray.x264-amiable.r40
├── brooklyn.2015.1080p.bluray.x264-amiable.r41
├── brooklyn.2015.1080p.bluray.x264-amiable.r42
├── brooklyn.2015.1080p.bluray.x264-amiable.r43
├── brooklyn.2015.1080p.bluray.x264-amiable.r44
├── brooklyn.2015.1080p.bluray.x264-amiable.r45
├── brooklyn.2015.1080p.bluray.x264-amiable.r46
├── brooklyn.2015.1080p.bluray.x264-amiable.r47
├── brooklyn.2015.1080p.bluray.x264-amiable.r48
├── brooklyn.2015.1080p.bluray.x264-amiable.r49
├── brooklyn.2015.1080p.bluray.x264-amiable.r50
├── brooklyn.2015.1080p.bluray.x264-amiable.r51
├── brooklyn.2015.1080p.bluray.x264-amiable.r52
├── brooklyn.2015.1080p.bluray.x264-amiable.r53
├── brooklyn.2015.1080p.bluray.x264-amiable.r54
├── brooklyn.2015.1080p.bluray.x264-amiable.r55
├── brooklyn.2015.1080p.bluray.x264-amiable.r56
├── brooklyn.2015.1080p.bluray.x264-amiable.r57
├── brooklyn.2015.1080p.bluray.x264-amiable.r58
├── brooklyn.2015.1080p.bluray.x264-amiable.r59
├── brooklyn.2015.1080p.bluray.x264-amiable.r60
├── brooklyn.2015.1080p.bluray.x264-amiable.r61
├── brooklyn.2015.1080p.bluray.x264-amiable.r62
├── brooklyn.2015.1080p.bluray.x264-amiable.r63
├── brooklyn.2015.1080p.bluray.x264-amiable.r64
├── brooklyn.2015.1080p.bluray.x264-amiable.r65
├── brooklyn.2015.1080p.bluray.x264-amiable.r66
├── brooklyn.2015.1080p.bluray.x264-amiable.r67
├── brooklyn.2015.1080p.bluray.x264-amiable.r68
├── brooklyn.2015.1080p.bluray.x264-amiable.r69
├── brooklyn.2015.1080p.bluray.x264-amiable.r70
├── brooklyn.2015.1080p.bluray.x264-amiable.r71
├── brooklyn.2015.1080p.bluray.x264-amiable.r72
├── brooklyn.2015.1080p.bluray.x264-amiable.r73
├── brooklyn.2015.1080p.bluray.x264-amiable.r74
├── brooklyn.2015.1080p.bluray.x264-amiable.r75
├── brooklyn.2015.1080p.bluray.x264-amiable.r76
├── brooklyn.2015.1080p.bluray.x264-amiable.r77
├── brooklyn.2015.1080p.bluray.x264-amiable.r78
├── brooklyn.2015.1080p.bluray.x264-amiable.r79
├── brooklyn.2015.1080p.bluray.x264-amiable.r80
├── brooklyn.2015.1080p.bluray.x264-amiable.r81
├── brooklyn.2015.1080p.bluray.x264-amiable.rar
├── brooklyn.2015.1080p.bluray.x264-amiable.sfv
├── Proof
│ └── brooklyn.2015.1080p.bluray.x264-amiable.proof.jpg
├── Sample
│ └── brooklyn.2015.1080p.bluray.x264-amiable.sample.mkv
└── Subs
├── Brooklyn.2015.1080p.BluRay.X264-AMIABLE.idx
├── Brooklyn.2015.1080p.BluRay.X264-AMIABLE.rar
├── Brooklyn.2015.1080p.BluRay.X264-AMIABLE.sub
├── brooklyn.2015.1080p.bluray.x264-amiable.subs.rar
└── brooklyn.2015.1080p.bluray.x264-amiable.subs.sfv
unpackerr:
image: golift/unpackerr
container_name: jellyfin_unpackerr
volumes:
- /mnt/data/:/data
restart: unless-stopped
user: 1000:1000
environment:
- TZ=Asia/Ho_Chi_Minh
# General config
- UN_DEBUG=false
- UN_LOG_FILE=/dev/stdout
- UN_LOG_FILES=10
- UN_LOG_FILE_MB=10
- UN_INTERVAL=2m
- UN_START_DELAY=1m
- UN_RETRY_DELAY=5m
- UN_MAX_RETRIES=3
- UN_PARALLEL=1
- UN_FILE_MODE=0644
- UN_DIR_MODE=0755
# Sonarr Config
- UN_SONARR_0_URL=http://sonarr:8989
- UN_SONARR_0_API_KEY=$SONARR_API_KEY
- UN_SONARR_0_PATHS_0=/data/downloads
- UN_SONARR_0_PROTOCOLS=torrent
- UN_SONARR_0_TIMEOUT=10s
- UN_SONARR_0_DELETE_ORIG=false
- UN_SONARR_0_DELETE_DELAY=5m
# Radarr Config
- UN_RADARR_0_URL=http://radarr:7878
- UN_RADARR_0_API_KEY=$RADARR_API_KEY
- UN_RADARR_0_PATHS_0=/data/downloads
- UN_RADARR_0_PROTOCOLS=torrent
- UN_RADARR_0_TIMEOUT=10s
- UN_RADARR_0_DELETE_ORIG=false
- UN_RADARR_0_DELETE_DELAY=5m
security_opt:
- no-new-privileges:true
networks:
- proxy
depends_on:
- sonarr
- radarr
davidnewhall commented
Looks like the last file is damaged.
Error: Brooklyn.2015.1080p.BluRay.X264-AMIABLE: /data/downloads/movies/Brooklyn.2015.1080p.BluRay.X264-AMIABLE/brooklyn.2015.1080p.bluray.x264-amiable.r81: copying io: rardecode:
bad file checksum