Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to unrar multirar files #325

Closed
JordiKing10 opened this issue Aug 3, 2023 · 15 comments · Fixed by #332
Closed

Unable to unrar multirar files #325

JordiKing10 opened this issue Aug 3, 2023 · 15 comments · Fixed by #332

Comments

@JordiKing10
Copy link

Im using it to automate the download stack from jellyfin, it supposed to unrar multirar files or is not planned?

@davidnewhall
Copy link
Collaborator

Yes.

@JordiKing10
Copy link
Author

No, isnt working m8

@davidnewhall
Copy link
Collaborator

How do you know?

@JordiKing10
Copy link
Author

When I review the unpacker log in Portainer, I see the following message:

[INFO] 2023/08/03 20:56:58 [Radarr] Completed item still waiting: Uno de los Nuestros [MicroHD][1080px][AC3][Castellano-Ingles][Sub][Dual], no extractable files found at: /downloads/complete/radarr/Uno de los Nuestros [MicroHD][1080px][AC3][Castellano-Ingles][Sub][Dual] (stat err: stat /downloads/complete/radarr/Uno de los Nuestros [MicroHD][1080px][AC3][Castellano-Ingles][Sub][Dual]: no such file or directory)

However, the specific directory contains the following data:

Uno de los nuestros MicroHD1080px [[www.newpct.com][toni32].part1.rar](http://www.newpct.com][toni32].part1.rar
Uno de los nuestros MicroHD1080px [[www.newpct.com][toni32].part2.rar](http://www.newpct.com][toni32].part2.rar
Uno de los nuestros MicroHD1080px [[www.newpct.com][toni32].part3.rar](http://www.newpct.com][toni32].part3.rar
Uno de los nuestros MicroHD1080px [[www.newpct.com][toni32].part4.rar](http://www.newpct.com][toni32].part4.rar
Uno de los nuestros MicroHD1080px [[www.newpct.com][toni32].part5.rar](http://www.newpct.com][toni32].part5.rar
Uno de los nuestros MicroHD1080px [[www.newpct.com][toni32].part6.rar](http://www.newpct.com][toni32].part6.rar
Uno de los nuestros MicroHD1080px [[www.newpct.com][toni32].part7.rar](http://www.newpct.com][toni32].part7.rar

@davidnewhall
Copy link
Collaborator

This error message says it can't find the folder the rar files are in. This indicates a misconfiguration. Did you mount /downloads the same way in Unpackerr as you did in Radarr? https://unpackerr.zip/docs/unpackerr/troubleshooting

@JordiKing10
Copy link
Author

It only happens to me when they are multi-rar files. It has occurred about 5/6 times, and I have approximately 130 movies.

docker-compose.yml:

unpackerr:
container_name: unpackerr
image: hotio/unpackerr
environment:
- PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
- PGID=1000
- PUID=1000
- TZ=Europe/Madrid
- UN_FOLDER_0_DELETE_AFTER=10m
- UN_FOLDER_0_DELETE_FILES=false
- UN_FOLDER_0_DELETE_ORIGINAL=true
- UN_FOLDER_0_MOVE_BACK=false
- UN_FOLDER_0_PATH=/data/transmission/downloads/complete
- UN_RADARR_0_API_KEY=removed
- UN_RADARR_0_DELETE_DELAY=5m
- UN_RADARR_0_DELETE_ORIG=false
- UN_RADARR_0_PATHS_0=/downloads
- UN_RADARR_0_PROTOCOLS=torrent
- UN_RADARR_0_TIMEOUT=10s
- UN_RADARR_0_URL=http://192.168.1.240:7878
- UN_SONARR_0_API_KEY=removed
- UN_SONARR_0_DELETE_DELAY=5m
- UN_SONARR_0_DELETE_ORIG=false
- UN_SONARR_0_PATHS_0=/downloads
- UN_SONARR_0_PROTOCOLS=torrent
- UN_SONARR_0_TIMEOUT=10s
- UN_SONARR_0_URL=http://192.168.1.240:8989
volumes:
- ./unpackerr:/config
- ./unpackerr/data:/data
- /data/transmission/downloads/complete:/downloads
restart: unless-stopped

It cant be any config mistake?

@davidnewhall
Copy link
Collaborator

It only happens to me when they are multi-rar files.

Attach a log file so I can see what you see.

It cant be any config mistake?

Share the compose for Radarr so I can determine this.

@davidnewhall
Copy link
Collaborator

Change this volume mount

- /data/transmission/downloads/complete:/downloads

to

- /data/transmission/downloads:/downloads

will likely fix your problem. Please let me know if you need additional assistance.

@pando85
Copy link

pando85 commented Aug 20, 2023

I'm experiencing the same problem. Just multi rar files fails. The path is correct int Radarr API and it looks like unpackerr is looking for the title instead of the outputPath:

Radarr API:

      ...
      "title": "[Bitsearch.to] El ultimo duelo (2021) [BluRay Rip][AC3 5.1 Castellano][www.atomixHQ.one]",
      "statusMessages": [
        {
          "title": "Found archive file, might need to be extracted",
          "messages": []
        }
      ],
      "outputPath": "/datasets/peliculas/download/El ultimo duelo (2021) [BluRay Rip][AC3 5.1 Castellano][www.atomixHQ.one]",
      "id": 952822445
    },
    ...

Unpackerr:

[INFO] 2023/08/20 10:20:18 [Radarr] Completed item still waiting: [Bitsearch.to] El ultimo duelo (2021) [BluRay Rip][AC3 5.1 Castellano][www.atomixHQ.one], no
 extractable files found at: /datasets/peliculas/download/[Bitsearch.to] El ultimo duelo (2021) [BluRay Rip][AC3 5.1 Castellano][www.atomixHQ.one] (stat err: 
stat /datasets/peliculas/download/[Bitsearch.to] El ultimo duelo (2021) [BluRay Rip][AC3 5.1 Castellano][www.atomixHQ.one]: no such file or directory)        
[INFO] 2023/08/20 10:20:18 [Radarr] Completed item still waiting: [Bitsearch.to] Plan de escape 3 (2019) [BluRay 720p X264 MKV][AC3 5.1 Castellano][www.nucleo
hd.com], no extractable files found at: /datasets/peliculas/download/[Bitsearch.to] Plan de escape 3 (2019) [BluRay 720p X264 MKV][AC3 5.1 Castellano][www.nuc
leohd.com] (stat err: stat /datasets/peliculas/download/[Bitsearch.to] Plan de escape 3 (2019) [BluRay 720p X264 MKV][AC3 5.1 Castellano][www.nucleohd.com]: n
o such file or directory)   

The directory exists inside unpackerr and it has permissions to read it (it is working with other files):

unpackerr-6dc8b9685b-dq44l:/app$ ls "/datasets/peliculas/download/El ultimo duelo (2021) [BluRay Rip][AC3 5.1 Castellano][www.atomixHQ.one]"
ATOMIXHQ ONE.url
El ultimo duelo (2021) [BluRay Rip][AC3 5.1 Castellano][www.atomixHQ.one].part1.rar
El ultimo duelo (2021) [BluRay Rip][AC3 5.1 Castellano][www.atomixHQ.one].part2.rar
El ultimo duelo (2021) [BluRay Rip][AC3 5.1 Castellano][www.atomixHQ.one].part3.rar
PCTNOTICIAS TELEGRAM.url

@davidnewhall
Copy link
Collaborator

@pando85 Would be helpful for me if you enabled debug, and provided the log file after letting it run for 10 minutes.

@pando85
Copy link

pando85 commented Aug 21, 2023

Nothing new:

[INFO] 2023/08/21 06:54:50.870766 sonarr.go:118: [Sonarr] Updated (https://sonarr.internal.grigri.cloud): 1 Items Queued, 1 Retrieved
[DEBUG] 2023/08/21 06:54:50.871319 handlers.go:217: Radarr: Errors encountered looking for [Bitsearch.to] El ultimo duelo (2021) [BluRay Rip][AC3 5.1 Castellano][www.atomixHQ.one] path: ["stat /datasets/peliculas/download/[Bitsearch.to] El ultimo duelo (2021) [BluRay Rip][AC3 5.1 Castellano][www.atomixHQ.one]: no such file or directory"]
[DEBUG] 2023/08/21 06:54:50.871386 handlers.go:235: Radarr: Configured paths do not exist; could not find alternative path in error message for [Bitsearch.to] El ultimo duelo (2021) [BluRay Rip][AC3 5.1 Castellano][www.atomixHQ.one]
[INFO] 2023/08/21 06:54:50.871444 handlers.go:90: [Radarr] Waiting for Start Delay: [Bitsearch.to] El ultimo duelo (2021) [BluRay Rip][AC3 5.1 Castellano][www.atomixHQ.one] (1m0s remains)
[DEBUG] 2023/08/21 06:54:50.871495 radarr.go:155: Radarr: (https://radarr.internal.grigri.cloud): completed (torrent:100%): [Bitsearch.to] El ultimo duelo (2021) [BluRay Rip][AC3 5.1 Castellano][www.atomixHQ.one]

It seems that it's looking by title not by outputPath.

@davidnewhall
Copy link
Collaborator

Definitely new things there, and that showed me some of what I needed to see. May I have the log file?

@davidnewhall
Copy link
Collaborator

davidnewhall commented Aug 21, 2023

I actually think I found the bug. It's some code that needs refactoring anyway, so guess now's a good time to do it. Thanks for the extra logging!

note to self: search for shoehorn, and remove all of it.

@davidnewhall
Copy link
Collaborator

davidnewhall commented Aug 21, 2023

If you're using in Docker, the golift/unpackerr:unstable tag will be updated in about 35 minutes is available now with a potential fix. Please try it out and let me know. If you're not using Docker, you may grab a binary here.

@pando85
Copy link

pando85 commented Aug 21, 2023

Thank you very much, now extraction started :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

3 participants