Closed SickProdigy closed 1 year ago
So I'm having the same issue and just ssh into the server and used sudo to touch an empty file inside each folder under the downloads/completed folder, music, tv, movies. Just a work around until a proper fix.
So I'm having the same issue and just ssh into the server and used sudo to touch an empty file inside each folder under the downloads/completed folder, music, tv, movies. Just a work around until a proper fix.
Yeah I ended up just creating text files in every folder just in case they happen to clean out. Was hoping someone might have a mount solution I just wasn't thinking about right. But we make do until a proper fix comes along.
this is the expected behavior, I wrote a script that clean the downloads folder as it bothered me to have empty folders there
I added an option to disable this with the environment variable CLEAN_DOWNLOADS=false
Describe the bug Folder in /downloads/ that are empty are automatically removed. I think it is mainly due to deemix. Just wondering if anyone has a workaround.
To Reproduce Steps to reproduce the behavior:
Expected behavior [Error] clean-downloads.sh: Info|Lidarr event: AlbumDownload [Error] clean-downloads.sh: Info|Cleaning empty folders [Error] clean-downloads.sh: /downloads/nzbget/completed/Lidarr-music [Error] clean-downloads.sh: /downloads/deemix/50 Cent/50 Cent - Best Friend (Remix) [Error] clean-downloads.sh: /downloads/_torrent/watched [Error] clean-downloads.sh: find: cannot delete ‘/downloads/_torrent/watched’: Permission denied
Was hoping that folders outside of /downloads/deemix would stay and anything inside would do it's thing. I've changed the folder inside of deemix to this location. Additional information below.
System info (please complete the following information):
docker-compose.yml (please complete the following information):
Additional context I've also tried mounting the deemix folder directly, but it has issues with my other download clients. Can't find their download location if I narrow it too far. Although I guess I wouldn't need them as long as deemix could find everything. Just kind of stuck with what I should do here. It keeps deleting empty folders inside of /downloads/nzbget/completed/ which causes errors with arr clients using nzbget at the moment. If deemix could just not clean all empty folders would be perfect.