Closed norbertjoni closed 8 months ago
Folders do not have URLs or API keys. It appears to be respecting your settings correctly based on the [invalid] settings you've provided/shown here.
This was in the unpackerr.conf in the /config folder.. But even if I change the folder to [[sonarr]] or radar nothing is changed.
[INFO] 2023/12/23 17:30:56 => Sonarr Config: 0 servers [INFO] 2023/12/23 17:30:56 => Radarr Config: 0 servers
Instead of include only a few lines from the log, can you attach the log file?
sure, this is the log. my config is up there log.txt
I suspect this add-on is doing weird stuff and you've run into a bug. This output in your log indicated "something weird"
[INFO] 2023/12/23 17:39:37 => Folder Config: 11 paths, event buffer: 20000
[INFO] 2023/12/23 17:39:37 => Path: (delete after:0s, delete orig:false, log file: true, move back:false, isos:false)
[INFO] 2023/12/23 17:39:37 => Path: (delete after:0s, delete orig:false, log file: true, move back:false, isos:false)
[INFO] 2023/12/23 17:39:37 => Path: (delete after:0s, delete orig:false, log file: true, move back:false, isos:false)
[INFO] 2023/12/23 17:39:37 => Path: (delete after:0s, delete orig:false, log file: true, move back:false, isos:false)
[INFO] 2023/12/23 17:39:37 => Path: (delete after:0s, delete orig:false, log file: true, move back:false, isos:false)
[INFO] 2023/12/23 17:39:37 => Path: (delete after:0s, delete orig:false, log file: true, move back:false, isos:false)
[INFO] 2023/12/23 17:39:37 => Path: (delete after:0s, delete orig:false, log file: true, move back:false, isos:false)
[INFO] 2023/12/23 17:39:37 => Path: /share/downloads_unpacked, extract to: /share/downloads_packed (delete after:20m, delete orig:false, log file: true, move back:false, isos:false)
[INFO] 2023/12/23 17:39:37 => Path: /share/downloads_unpacked (delete after:20m, delete orig:false, log file: true, move back:false, isos:false)
[INFO] 2023/12/23 17:39:37 => Path: (delete after:0s, delete orig:false, log file: true, move back:false, isos:false)
[INFO] 2023/12/23 17:39:37 => Path: (delete after:0s, delete orig:false, log file: true, move back:false, isos:false)
...
[INFO] 2023/12/23 17:39:37 [Folder] Watching (fsnotify): /run/s6-rc:s6-rc-init:bjBkHI/servicedirs/service-unpackerr, /run/s6-rc:s6-rc-init:bjBkHI/servicedirs/service-unpackerr, /run/s6-rc:s6-rc-init:bjBkHI/servicedirs/service-unpackerr, /run/s6-rc:s6-rc-init:bjBkHI/servicedirs/service-unpackerr, /run/s6-rc:s6-rc-init:bjBkHI/servicedirs/service-unpackerr, /run/s6-rc:s6-rc-init:bjBkHI/servicedirs/service-unpackerr, /run/s6-rc:s6-rc-init:bjBkHI/servicedirs/service-unpackerr, /share/downloads_unpacked, /share/downloads_unpacked, /run/s6-rc:s6-rc-init:bjBkHI/servicedirs/service-unpackerr, /run/s6-rc:s6-rc-init:bjBkHI/servicedirs/service-unpackerr
[INFO] 2023/12/23 17:39:37 [Folder] Polling @ 1s: /run/s6-rc:s6-rc-init:bjBkHI/servicedirs/service-unpackerr, /run/s6-rc:s6-rc-init:bjBkHI/servicedirs/service-unpackerr, /run/s6-rc:s6-rc-init:bjBkHI/servicedirs/service-unpackerr, /run/s6-rc:s6-rc-init:bjBkHI/servicedirs/service-unpackerr, /run/s6-rc:s6-rc-init:bjBkHI/servicedirs/service-unpackerr, /run/s6-rc:s6-rc-init:bjBkHI/servicedirs/service-unpackerr, /run/s6-rc:s6-rc-init:bjBkHI/servicedirs/service-unpackerr, /share/downloads_unpacked, /share/downloads_unpacked, /run/s6-rc:s6-rc-init:bjBkHI/servicedirs/service-unpackerr, /run/s6-rc:s6-rc-init:bjBkHI/servicedirs/service-unpackerr
I do not know what is happening here and I'm not sure how to fix it. Hopefully a dev on this add-on can chime in.
What I have noticed is if I change the unpackerr.conf file under the conf folder the changed code is reversing back to the original examples sometimes.
Hi, actually the addon is pretty straightforward, it is just a shell around the "hotio" upackerr image (https://github.com/hotio/unpackerr)
The addon contains a single script, that makes the several elements :
Therefore if there is a revert, either 1) you were not using the addon options for watch & extraction path ; 2) there is a bug in the hotio upstream container ; or 3) the config file has changed and the code I was using to automatically set those 2 folders is messing with other things.
Could you please check if you were setting the options in the addon and confirm ? Thanks !
I can confirm that 2) and 3) are not the case. I do not know what 1) means. I suspect the bug is in the script and it's producing an invalid configuration file or environment variables. The snippet I pasted in my previous message is the clear indication of the problem. This is not the first unpackerr user to report this problem to me (the unpackerr author). Let me know if I can help debug.
Thanks for your input and your proposition to help.
I've pushed a new version that touches in no way the hotio/unpackerr upstream image. The main thing it does is add an an S6_STAGE2_HOOK to execute custom scripts allowing an HA-customized log as well as mounting local or smb drives. It also contains a configuration file to allow the container running in HomeAssistant.
In the current (problematic version), a script was modifying the unpackerr.conf file to allow definition of the watch & extraction folders through the addon options. I realize that it is actually counterproductive as can mess with the config file and has little benefit given that anyway the user must access the file to modify the rest of the options.
I would recommend to users to delete the configuration file to allow the default one to be recreated.
Sweet. That sounds like it'll resolve this issue. Thank you for addressing it!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Description
I have set up the conf file under /config folder but it does not reconise my settings: What am I missing?
Reproduction steps
Addon Logs
Architecture
No response
OS
HAos