Closed jclsn closed 1 year ago
Seems to be working. What are you expecting to happen/show up?
Also, wait a minute, how does localhost work in a Docker container? hm, that URL isn't right..
Well, I was hoping that it would find and unpack the zip files in the download directory, so they can be grabbed by Lidarr. The localhost is just a placeholder. I actually have the real host name in its place.
Maybe I am understanding this service wrong.
I was hoping that it would find and unpack the zip files in the download directory,
It picks up things in the Starr app queues. According to the output, there's nothing in the Lidarr queue. Do you see something in the queue in the GUI?
Yeah, there are things in the download queue if you mean that. After the download the zip files are lying in the folder and are not being grabbed. Unpackerr doesn’t recognize any of that though.
Well, I was hoping that it would find and unpack the zip files in the download directory, so they can be grabbed by Lidarr. The localhost is just a placeholder. I actually have the real host name in its place. Maybe I am understanding this service wrong.
If you are not using the *arr applications, you don't need to have them in the config.
Also, I think I understand your problem, since I am facing it as well: There are archives in the watch folder. The archives are not added to the queue and as a consequence are not unpacked.
HI @Mladia thanks for helping out. In your case, Unpackerr only sees "new" items in the watch folder. To make old things new, simply rename them. The easiest way is to make a new folder (after you start unpackerr) in the watch folder, and them move everything you want extracted into that folder. Once unpackerr is done, move the extracted items back, or to wherever you want them. If you still need assistance, please crack open a new issue, or join me on Discord.
@jclsn I feel like we're poorly communicating. Can you go into Lidarr, click on Activity
and then Queue
. The things in this list are what Unpackerr will attempt to extract. According to the logs, the Lidarr that is being checked has nothing in that queue. Can you share a screenshot?
An unrelated-to-this problem is that you have these lines in your compose file and they do not do anything, so your container is running unpackerr as root.
environment:
- PUID=1000
- PGID=1000
Instead of these lines, add a user: 1000:1000
parameter to the compose directives, similar to the example.
Hi @davidnewhall. Thanks for your reply! I understand now and it worked. My initial understanding was that all archives in the watch folder will be unpacked. It turns out, that unpackerr looks for new folders in the watch folder with zips in them. I find this unintuitive, but I still understand that probably the most common use-case fits exactly into this scenario.
Sorry, I lost interest for a while. No idea what I am doing wrong. Lidarr is downloading the files and they are immediately removed from the queue, although they have never been unpacked or grabbed. I really don't understand how this works.
grab
is from an indexer to a download client....not sure what you mean by grabbed here.....imports or upgrades are imports
.Well, I thought to grab means to move the files from the download folder to my music root folder. This never happens. The zip files just remain in the download folder and nothing is ever imported. Unpackerr also doesn't see anything in the queue.
No idea what is wrong here. It works well with Sonarr and Radarr, but those also don't need unpacking.
Figure out why things are vanishing from Lidarr's queue. the possibilities have been provided.
Yeah, all the files land in the history immediately and then never get imported. So I guess the first point is the case. I don't see any settings on what to tell Lidarr to import. Seems like it can't import zip files. I thought unpackerr would come into play here.
I just tried manually extracting the archive and then the files land in the album lands in the queue and gets imported afterwards. Seems like the only step missing is the extracting. I would be happy if unpackerr just blindly extracts all the zip files in the folder, but not even that works, although I have the folder config enabled.
What is weird is that unpackerr is also detecting files after I manually extracted them.
Yeah, all the files land in the history immediately and then never get imported.
Screenshot. This doesn't make sense and if a release is showing in Lidarr history as imported then Lidarr is matching and importing music files in the folder.
First entries are the tracks that got imported after manual extraciton. Everything after that is only zip files, which never get moved anywhere.
Nothing in that screenshot indicates Lidarr is importing anything other than the Kings of Convenience tracks - all of those cloud icons are grabs so the releases were sent to your download client.
That means one of the following must be true for Beck and De La Soul given you indicated that Activity => Queue is empty even with Options => Shown Unknown Enabled.
Okay, it may have something to do with that I am not using torrents directly. I am sending them to a service which then downloads them via aria2 to the download folder. It is configured as a torrent blackhole download client. Then the starr apps monitor that folder and usually import well. Here it doesn't work for some reason. I wouldn't know how the download client would remove the files from the queue though. Is that maybe a sideeffect of the blackhole download client configuration?
I feel like we're poorly communicating. Can you go into Lidarr, click on Activity and then Queue. The things in this list are what Unpackerr will attempt to extract. According to the logs, the Lidarr that is being checked has nothing in that queue. Can you share a screenshot?
Again as captain said originally - if nothing is in Starr's queue then unpackerr will not have anything to unpack. If you're using a blackhole client as you imply then they should still show in Starr Queue with show unknown enabled.
I'd suggest visiting Lidarr's Discord for further support with nothing ever showing in Lidarr's Activity => Queue even with show unknown enabled for a blackhole client. Bring your queue screenshots and lidarr trace logs
edit: Aria2 is also natively supported in Lidarr; so not sure why you're not just using it directly? Remote download client isn't an issue either - https://wiki.servarr.com/lidarr/troubleshooting#remote-path-mapping
Sorry you're dealing with this @jclsn. I read through this conversation and it sounds like Lidarr is doing something strange. Items should not leave the queue unless they get imported, or deleted from your download client (or category changed). Figuring out what's happening with Lidarr should get Unpackerr working. Good luck!
I would be happy if unpackerr would just blindly unzip everything in the folder. That shouldn't be related to Lidarr at all
Extracting everything wouldn't solve the problem because by the time Unpackerr finishes extracting, Lidarr has already decided it's done caring about the thing.
Actually it does solve the problem, as I mentioned above: After extracting the files land in the queue again and get imported.
Your Lidarr works very differently than mine. Not sure what to make of it.
Your Lidarr works very differently than mine. Not sure what to make of it.
it's 100% related to the blackhole client.....but the fact the blackhole client isn't detecting anything at all is the oddity to solve. it may not be looking for archived files to be honest.
but given Arira2 is natively supported in lidarr, hopefully jclsn can remove the blackhole client - which isn't recommended anyway :/ - from the equation
@bakerboy448
No I can't use the aria2 download client. I am using my own service as a bridge between Lidarr and a Debrid service. It basically looks for torrent files, sends them to the Debrid service, waits for the caching to finish and then sends the direct download link to aria2 which downloads the files to the download folder that Lidarr is monitoring.
It is really neat, because I don't have to use torrents directly.
Ah, well best of luck with everything then.
Debrid is unfortunately rather toxic to the torrent community as it is 100% leeching...and torrenting relies on having seeders. Usenet would be better route for Debrid users who cannot for whatever reason seed. :\
I guess that is up to the Debrid service providers.
Anyway, how can I get unpackerr to blindly extract things? This is my current configuration and it doesn't work.
### Unpackerr docker-compose.yml Example
### See this URL for variable descriptions and options:
### https://github.com/Unpackerr/unpackerr#docker-env-variables
##################################################################
version: "3.7"
services:
unpackerr:
image: golift/unpackerr
container_name: unpackerr
volumes:
- /data/aria2/downloads:/downloads
restart: always
user: 1000:1000
environment:
- TZ=Europe/Berlin
# General config
- UN_DEBUG=false
- UN_LOG_FILE=
- 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
# Folder Config
- UN_FOLDER_0_PATH=/downloads
- UN_FOLDER_0_DELETE_AFTER=10m
- UN_FOLDER_0_DELETE_ORIGINAL=false
- UN_FOLDER_0_DELETE_FILES=false
- UN_FOLDER_0_MOVE_BACK=false
security_opt:
- no-new-privileges:true
Does it not support zip files?
Ah what the heck. Gonna write me a shell script...
So I have configured the API keys for Lidarr etc. and mounted the downloads folder. Unpackerr is successfully connecting to Lidarr, but doesn't get any information about any downloads, nor does it detect the zip files and unpack them.
I am also not able to attach to the container with
docker exec -it unpackerr /bin/bash
for some reason. I also tried/bin/ash
, but no luck either. It is not finding the path of the shell, which is weird.File permissions are also correct.
Here is my compose file:
and the logs