[Bug]: QueueCleaner.bash deletes itself after some time (after update?)
Describe the bug Sorry there is not much I can offer since this is the second time I have seen it happen now. The only possible related problem I could think of is that I use Watchtower to automatically update my containers and it might have something to do with that since I'm the only one with this problem? I also don't have an antivirus or anything that might be deleting it.
Log Data
bash: /config/extended/scripts/QueueCleaner.bash: No such file or directory
Docker Info:
-
Docker Version: [e.g. 22] Version: 24.0.2
-
Extended Script Version [e.g. 22] Linuxserver.io version:- 1.2.5.3288-ls95 Build-date:- 2023-06-28T02:44:25+00:00
-
Watchtower Watchtower 1.5.3
Workaround
cd Lidarr/extended/scripts
wget https://github.com/RandomNinjaAtk/docker-lidarr-extended/raw/main/root/scripts/QueueCleaner.bash
chmod +x QueueCleaner.bash
Your issue is probably caused by a network issue because the container startup scripts grab the latest version on container boot.
See here: https://github.com/RandomNinjaAtk/docker-lidarr-extended/blob/9e59001aaaaf406d14746ead8a591e2b9b3370e1/root/etc/cont-init.d/98-script-setup.bash#L31-L37
I can look into improving the process when I have some spare cycles.